Add TFD_TIMER_CANCEL_ON_SET to sys/timerfd.h.
[glibc.git] / ChangeLog
blob0b368089469e54522bb2ec25969932c0fa4df813
1 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4         New enum constant and macro.
6         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7         kernel version to 4.10.
9 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
11         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
13 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
19         * sysdeps/powerpc/tst-set_ppr.c: New file.
20         Implement test cases for __ppc_set_ppr_* functions.
21         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
22         in the list of tests.
24 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
26         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
27         instead of test-skeleton.c.
28         (do_test): Replaced pthread_create and pthread_join with
29         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
30         Removed unneeded status variable.
31         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
32         instead of test-skeleton.c.
33         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
35 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
37         [BZ #20313]
38         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39         201605L, for Unicode 9.
41 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
43         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
44         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
48         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50 2017-02-19  Zack Weinberg  <zackw@panix.com>
52         * rt/tst-mqueue4.c: Include stdint.h.
54 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
56         * sysdeps/arm/libm-test-ulps: Update.
57         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
58         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
59         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
61 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
63         [BZ #21029]
64         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
65         * sysdeps/unix/sysv/linux/i386/Makefile
66         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
67         (uses-6-syscall-arguments): Remove.
68         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
69         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
70         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
71         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
72         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
73         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
74         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
75         [$(subdir) = misc] (cflags-pselect.o): Likewise.
76         [$(subdir) = misc] (cflags-pselect.os): Likewise.
77         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
78         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
79         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
80         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
81         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
82         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
83         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
84         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
85         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
86         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
87         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
88         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
89         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
90         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
91         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
92         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
93         Likewise.
94         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
95         Likewise.
96         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
97         Likewise.
98         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
99         Likewise.
100         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
101         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
102         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
103         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
104         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
105         ebp on inline assembly.
106         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
107         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
108         Set if CAN_USE_REGISTER_ASM_EBP is set.
110 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
112         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
113         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
115 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
117         * math/auto-libm-test-in: Add tests of catan and catanh.
118         * math/auto-libm-test-out-catan: New generated file.
119         * math/auto-libm-test-out-catanh: Likewise.
120         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
121         Move tests with finite inputs, except divide-by-zero cases, to
122         auto-libm-test-in.
123         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
124         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
125         (libm-test-funcs-noauto): Remove catan and catanh.
126         * sysdeps/i386/fpu/libm-test-ulps: Update.
127         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130         * math/auto-libm-test-in: Add tests of casin and casinh.
131         * math/auto-libm-test-out-casin: New generated file.
132         * math/auto-libm-test-out-casinh: Likewise.
133         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
134         Move tests with finite inputs to auto-libm-test-in.
135         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
136         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
137         (libm-test-funcs-noauto): Remove casin and casinh.
138         * sysdeps/i386/fpu/libm-test-ulps: Update.
139         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
142         * math/auto-libm-test-in: Add tests of cacos and cacosh.
143         * math/auto-libm-test-out-cacos: New generated file.
144         * math/auto-libm-test-out-cacosh: Likewise.
145         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
146         Move tests with finite inputs to auto-libm-test-in.
147         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
148         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
149         (libm-test-funcs-noauto): Remove cacos and cacosh.
150         * sysdeps/i386/fpu/libm-test-ulps: Update.
151         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
154         Revert:
155         2017-02-16  Zack Weinberg  <zackw@panix.com>
157         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
158         Don't include init-arch.h.
159         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
160         Don't include init-arch.h.
162 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
164         [BZ #21171]
165         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
166         +Inf and raise divide-by-zero when x is negative.
167         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
168         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
169         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
170         -Inf and raise divide-by-zero when x = +-0.
171         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
172         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
173         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
174         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
175         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
176         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
177         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
179 2017-02-16  Zack Weinberg  <zackw@panix.com>
181         * scripts/build-many-glibcs.py (bot_build_mail): If the
182         bot_config does not contain all of the necessary email-
183         related settings, just print a warning and continue.
185 2017-02-16  Zack Weinberg  <zackw@panix.com>
187         * crypt/md5.h: Test _LIBC with #if defined, not #if.
188         * dirent/opendir-tst1.c: Include sys/stat.h.
189         * dirent/tst-fdopendir.c: Include sys/stat.h.
190         * dirent/tst-fdopendir2.c: Include stdlib.h.
191         * dirent/tst-scandir.c: Include stdbool.h.
192         * elf/tst-auditmod1.c: Include link.h and stddef.h.
193         * elf/tst-tls15.c: Include stdlib.h.
194         * elf/tst-tls16.c: Include stdlib.h.
195         * elf/tst-tls17.c: Include stdlib.h.
196         * elf/tst-tls18.c: Include stdlib.h.
197         * iconv/tst-iconv6.c: Include endian.h.
198         * iconvdata/bug-iconv11.c: Include limits.h.
199         * io/test-utime.c: Include stdint.h.
200         * io/tst-faccessat.c: Include sys/stat.h.
201         * io/tst-fchmodat.c: Include sys/stat.h.
202         * io/tst-fchownat.c: Include sys/stat.h.
203         * io/tst-fstatat.c: Include sys/stat.h.
204         * io/tst-futimesat.c: Include sys/stat.h.
205         * io/tst-linkat.c: Include sys/stat.h.
206         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
207         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
208         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
209         * io/tst-openat.c: Include stdbool.h.
210         * io/tst-readlinkat.c: Include sys/stat.h.
211         * io/tst-renameat.c: Include sys/stat.h.
212         * io/tst-symlinkat.c: Include sys/stat.h.
213         * io/tst-unlinkat.c: Include stdbool.h.
214         * libio/bug-memstream1.c: Include stdlib.h.
215         * libio/bug-wmemstream1.c: Include stdlib.h.
216         * libio/tst-fwrite-error.c: Include stdlib.h.
217         * libio/tst-memstream1.c: Include stdlib.h.
218         * libio/tst-memstream2.c: Include stdlib.h.
219         * libio/tst-memstream3.c: Include stdlib.h.
220         * malloc/tst-interpose-aux.c: Include stdint.h.
221         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
222         * nptl/tst-basic7.c: Include limits.h.
223         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
224         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
225         * nptl/tst-cancel4_1.c: Include stddef.h.
226         * nptl/tst-cancel4_2.c: Include stddef.h.
227         * nptl/tst-cond16.c: Include limits.h.
228         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
229         * nptl/tst-cond18.c: Include limits.h.
230         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
231         * nptl/tst-cond4.c: Include stdint.h.
232         * nptl/tst-cond6.c: Include stdint.h.
233         * nptl/tst-stack2.c: Include limits.h.
234         * nptl/tst-stackguard1.c: Include stddef.h.
235         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
236         * nptl/tst-tls4moda.c: Include stddef.h.
237         Don't include stdio.h, unistd.h, or tls.h.
238         * nptl/tst-tls4modb.c: Include stddef.h.
239         Don't include stdio.h, unistd.h, or tls.h.
240         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
241         * posix/tst-getaddrinfo2.c: Include stdio.h.
242         * posix/tst-getaddrinfo5.c: Include stdio.h.
243         * posix/tst-pathconf.c: Include sys/stat.h.
244         * posix/tst-posix_fadvise-common.c: Include stdint.h.
245         * posix/tst-preadwrite-common.c: Include sys/stat.h.
246         * posix/tst-regex.c: Include stdint.h.
247         Don't include spawn.h or spawn_int.h.
248         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
249         * posix/tst-vfork3.c: Include sys/stat.h.
250         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
251         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
252         * resolv/tst-resolv-search.c: Include stdlib.h.
253         * stdio-common/tst-fmemopen2.c: Include stdint.h.
254         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
255         * stdlib/test-canon.c: Include sys/stat.h.
256         * stdlib/tst-tls-atexit.c: Include stdbool.h.
257         * string/test-memchr.c: Include stdint.h.
258         * string/tst-cmp.c: Include stdint.h.
259         * sysdeps/pthread/tst-timer.c: Include stdint.h.
260         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
261         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
262         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
263         Don't include init-arch.h.
264         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
265         Don't include init-arch.h.
266         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
267         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
268         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
269         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
270         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
271         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
272         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
273         * time/clocktest.c: Include stdint.h.
274         * time/tst-posixtz.c: Include stdint.h.
275         * timezone/tst-timezone.c: Include stdint.h.
277 2017-02-16  Zack Weinberg  <zackw@panix.com>
279         * string/string.h [__USE_MISC]: Include strings.h.
280         (__bzero, bcmp, bcopy, bzero, index, rindex)
281         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
282         (ffs, ffsl, ffsll): Don't declare.
283         * string/strings.h: Do not suppress the file if string.h has
284         already been included.
285         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
286         annotations.
287         (index, rindex): Define inline forwarders even if
288         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
289         (ffs): Use __attribute_const__.
290         (ffsl, ffsll): Declare here.
291         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
292         have now been standardized.
293         * include/string.h (__bzero): Declare here.
295         * bits/types.h: Move to posix/bits.
296         * include/bits/types.h: New wrapper.
298 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
300         * string/bits/string2.h (strcmp): Remove define.
301         (__strcmp_cg): Likewise.
302         (strncmp): Likewise.
304 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
306         * include/string.h: Add __cplusplus check.
308 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
310         [BZ #21134]
311         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
312         "divide by zero" exception when the input is zero.
313         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
314         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
315         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
316         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
317         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
319 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
321         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
322         and include ...
323         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
325         to, and include ...
326         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
327         file.
328         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
329         and include ...
330         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
331         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
332         and include ...
333         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
334         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
335         and include ...
336         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
337         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
338         and include ...
339         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
340         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
341         to, and include ...
342         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
343         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
344         and include ...
345         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
347 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
349         * math/libm-test-support.h: Do not include <math-tests-arch.h>
350         here.
351         * math/libm-test-support.c (libm_test_init): Do not call
352         INIT_ARCH_EXT here.
353         * math/libm-test-driver.c: Include <math-tests-arch.h>.
354         (main): Call INIT_ARCH_EXT.
356 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
358         [BZ #21130]
359         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
360         with the "invalid" exception raised when x is -Inf.
361         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
363 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
365         * string/bits/string2.h (strchr): Remove define.
367 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
369         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
370         tst-avx512.
371         (test-extras): Add tst-avx-aux and tst-avx512-aux.
372         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
373         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
374         ($(objpfx)tst-sse): New rule.
375         ($(objpfx)tst-avx): Likewise.
376         ($(objpfx)tst-avx512): Likewise.
377         (CFLAGS-tst-avx-aux.c): New.
378         (CFLAGS-tst-avxmod.c): Likewise.
379         (CFLAGS-tst-avx512-aux.c): Likewise.
380         (CFLAGS-tst-avx512mod.c): Likewise.
381         * sysdeps/x86_64/tst-avx-aux.c: New file.
382         * sysdeps/x86_64/tst-avx.c: Likewise.
383         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
384         * sysdeps/x86_64/tst-avx512.c: Likewise.
385         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
386         * sysdeps/x86_64/tst-avxmod.c: Likewise.
387         * sysdeps/x86_64/tst-sse.c: Likewise.
388         * sysdeps/x86_64/tst-ssemod.c: Likewise.
390 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
392         * math/auto-libm-test-in: Add more tests of csin and csinh.
393         * math/auto-libm-test-out-csin: Regenerated.
394         * math/auto-libm-test-out-csinh: Likewise.
395         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
396         auto-libm-test-in.
397         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
399 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
401         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
402         libm-compat-calls-auto.
403         (libm-compat-calls): Likewise.
404         (libm-compat-calls-auto): Rename to libm-compat-calls and add
405         w_lgamma_compatF and k_standardF (merged from the items above).
406         (libm-routines): Use libm-compat-calls, instead of
407         libm-compat-calls-auto, with type-foreach.
409 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
411         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
412         macro.
413         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
414         (CFLAGS-test-ifloat.c): ... this.  Remove
415         -U__LIBC_INTERNAL_MATH_INLINES.
416         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
417         (CFLAGS-test-idouble.c): ... this.  Remove
418         -U__LIBC_INTERNAL_MATH_INLINES.
419         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
420         (CFLAGS-test-ildouble.c): ... this.  Remove
421         -U__LIBC_INTERNAL_MATH_INLINES.
423 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
425         * math/libm-test-support.c: New file.  Content from
426         math/libm-test-driver.c.
427         * math/libm-test-support.h: Likewise.
428         * math/libm-test-support-double.c: New file.
429         * math/libm-test-support-float.c: Likewise.
430         * math/libm-test-support-ldouble.c: Likewise.
431         * math/libm-test-driver.c: Remove main comment and header
432         includes.  Include libm-test-support.h.
433         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
434         (flag_test_errno): Remove static.
435         (flag_test_exceptions): Likewise.
436         (flag_test_finite): Likewise.
437         (flag_test_inline): Likewise.
438         (flag_test_mathvec): Likewise.
439         (test_msg): Likewise.
440         (NO_EXCEPTION): Remove.
441         (INVALID_EXCEPTION): Likewise.
442         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
443         (OVERFLOW_EXCEPTION): Likewise.
444         (UNDERFLOW_EXCEPTION): Likewise.
445         (INEXACT_EXCEPTION): Likewise.
446         (INVALID_EXCEPTION_OK): Likewise.
447         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
448         (OVERFLOW_EXCEPTION_OK): Likewise.
449         (UNDERFLOW_EXCEPTION_OK): Likewise.
450         (NO_INEXACT_EXCEPTION): Likewise.
451         (EXCEPTIONS_OK): Likewise.
452         (IGNORE_ZERO_INF_SIGN): Likewise.
453         (TEST_NAN_SIGN): Likewise.
454         (TEST_NAN_PAYLOAD): Likewise.
455         (NO_TEST_INLINE): Likewise.
456         (XFAIL_TEST): Likewise.
457         (ERRNO_UNCHANGED): Likewise.
458         (ERRNO_EDOM): Likewise.
459         (ERRNO_ERANGE): Likewise.
460         (IGNORE_RESULT): Likewise.
461         (NON_FINITE): Likewise.
462         (TEST_SNAN): Likewise.
463         (NO_TEST_MATHVEC): Likewise.
464         (__CONCATX): Likewise.
465         (TYPE_MIN): Likewise.
466         (TYPE_TRUE_MIN): Likewise.
467         (TYPE_MAX): Likewise.
468         (MIN_EXP): Likewise.
469         (MAX_EXP): Likewise.
470         (MANT_DIG): Likewise.
471         (FSTR_MAX): Likewise.
472         (ulp_idx): Likewise.
473         (qtype_str): Remove static.
474         (TEST_COND_binary32): Remove.
475         (TEST_COND_binary64): Likewise.
476         (TEST_COND_binary128): Likewise.
477         (TEST_COND_ibm128): Likewise.
478         (TEST_COND_intel96): Likewise.
479         (TEST_COND_m68k96): Likewise.
480         (TEST_COND_ibm128_libgcc): Likewise.
481         (XFAIL_IBM128_LIBGCC): Likewise.
482         (PAYLOAD_DIG): Likewise.
483         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
484         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
485         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
486         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
487         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
488         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
489         (TEST_COND_long32): Likewise.
490         (TEST_COND_long64): Likewise.
491         (TEST_COND_before_rounding): Likewise.
492         (TEST_COND_after_rounding): Likewise.
493         (ulps_file_name): Likewise.
494         (ulps_file): Likewise.
495         (output_ulps): Likewise.
496         (output_dir): Likewise.
497         (noErrors): Likewise.
498         (noTests): Likewise.
499         (noExcTests): Likewise.
500         (noErrnoTests): Likewise.
501         (verbose): Likewise.
502         (output_max_error): Likewise.
503         (output_points): Likewise.
504         (ignore_max_ulp): Likewise.
505         (max_error): Likewise.
506         (real_max_error): Likewise.
507         (imag_max_error): Likewise.
508         (prev_max_error): Likewise.
509         (prev_real_max_error): Likewise.
510         (prev_imag_max_error): Likewise.
511         (max_valid_error): Likewise.
512         (TYPE_DECIMAL_DIG): Likewise.
513         (TYPE_HEX_DIG): Likewise.
514         (fmt_ftostr): Likewise.
515         (compare_ulp_data): Likewise.
516         (find_ulps): Likewise.
517         (init_max_error): Likewise.
518         (set_max_error): Likewise.
519         (print_float): Likewise.
520         (print_screen): Likewise.
521         (print_screen_max_error): Likewise.
522         (update_stats): Likewise.
523         (print_function_ulps): Likewise.
524         (print_complex_function_ulps): Likewise.
525         (fpstack_test): Likewise.
526         (print_max_error): Likewise.
527         (print_complex_max_error): Likewise.
528         (test_single_exception): Likewise.
529         (test_exceptions): Likewise.
530         (test_single_errno): Likewise.
531         (test_errno): Likewise.
532         (ULPDIFF): Likewise.
533         (ulp): Likewise.
534         (check_float_internal): Likewise.
535         (check_float): Likewise.
536         (check_complex): Likewise.
537         (check_int): Likewise.
538         (check_long): Likewise.
539         (check_bool): Likewise.
540         (check_longlong): Likewise.
541         (check_intmax_t): Likewise.
542         (check_uintmax_t): Likewise.
543         (enable_test): Likewise.
544         (matherr): Likewise.
545         (initialize): Likewise.
546         (options): Likewise.
547         (doc): Remove static.
548         (argp): Likewise.
549         (parse_opt): Remove.
550         (check_ulp): Likewise.
551         (libm_test_init): Likewise.
552         (libm_test_finish): Likewise.
553         * math/Makefile (libm-test-support): New variable.
554         (test-extras): Add libm-test-support files.
555         (extra-test-objs): Likewise.
556         (CFLAGS-libm-test-support-float.c): New variable.
557         (CFLAGS-libm-test-support-double.c): Likewise.
558         (CFLAGS-libm-test-support-ldouble.c): Likewise.
559         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
560         libm-test-support objects.
562 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
564         * math/Makefile (libm-calls): Move w_exp...
565         (libm-compat-calls-auto): Here.
567         * math/w_expl.c: Add suffix "_compat" to filename.
568         * sysdeps/ia64/fpu/w_expl.c: Likewise.
569         * sysdeps/ia64/fpu/w_expf.c: Likewise.
570         * sysdeps/ia64/fpu/w_exp.c: Likewise.
571         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
572         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
573         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
574         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
575         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
577         * math/w_expl_compat.c: New file, copied from above.
578         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
579         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
580         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
581         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
582         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
583         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
584         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
585         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
587         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
588         to filename.
589         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
591         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
592         copied from above and adjusted for the new filenames.
593         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
595 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
597         * math/Makefile (libm-calls): Move w_lgammaF...
598         (libm-compat-calls-auto): Here.
600         * math/w_lgamma.c: Add suffix "_compat2" to filename.
601         * math/w_lgammaf.c: Likewise.
602         * math/w_lgammal.c: Likewise.
604         * math/w_lgamma_compat2.c: New file, copied from above.
605         * math/w_lgammaf_compat2.c: Likewise.
606         * math/w_lgammal_compat2.c: Likewise.
608 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
610         * math/Makefile (libm-calls): Move w_lgammaF_r...
611         (libm-compat-calls-auto): Here.
613         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
614         * math/w_lgammaf_r.c: Likewise.
615         * math/w_lgammal_r.c: Likewise.
616         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
617         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
618         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
620         * math/w_lgamma_r_compat.c: New file, copied from above.
621         * math/w_lgammaf_r_compat.c: Likewise.
622         * math/w_lgammal_r_compat.c: Likewise.
623         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
624         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
625         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
627         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
628         to filename.
629         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
631         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
632         copied from above and adjusted for the new filenames.
633         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
635 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
637         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
638         calculation in SYSCALL_ERROR_HANDLER().
640 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
642         * manual/contrib.texi: Fix typo.
644 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
646         [BZ #21109]
647         * elf/dl-tunable-types.h (tunable_callback_t): Accept
648         tunable_val_t as argument.
649         * elf/dl-tunables.c (__tunable_set_val): Add comment.
650         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
651         argument.
652         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
654 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
656         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
657         Add PTRACE_EVENT_STOP.
658         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
662         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
663         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
665 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
667         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
668         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
669         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
670         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
671         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
672         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
673         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
674         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
675         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
676         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
678         [BZ #21112]
679         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
680         12 bits zero.
681         (cp_l): Update for new value of cp_h.
682         * math/auto-libm-test-in: Add another test of pow.
683         * math/auto-libm-test-out-pow: Regenerated.
685 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
687         * manual/contrib.texi: Fix typo.
689 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
691         [BZ #15998]
692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
693         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
696 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
698         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
699         STRCHR as __strchr_power8.
700         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
701         strlen as __strlen_power8.
703 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
705         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
706         unaligned load for shorter strings.
707         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
709 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
711         * math/libm-test-driver.c (flag_test_errno): New variable.
712         (flag_test_exceptions): Likewise.
713         (flag_test_finite): Likewise.
714         (flag_test_inline): Likewise.
715         (flag_test_mathvec): Likewise.
716         (test_msg): Likewise.
717         (ulp_idx): Likewise.
718         (qtype_str): Likewise.
719         (ULP_IDX): Remove macro.
720         (QTYPE_STR): Likewise.
721         (find_ulps): Use ulp_idx not ULP_IDX.
722         (print_function_ulps): Use qtype_str, printed with %s, not
723         QTYPE_STR, printed with concatentation to format string.
724         (print_complex_function_ulps): Likewise.
725         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
726         (test_errno): Use flag_test_errno not TEST_ERRNO.
727         (enable_test): Use flag_test_inline, flag_test_finite and
728         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
729         TEST_MATHVEC.
730         (libm_test_init): New function.  Factored out of main.
731         (libm_test_finish): Likewise.
732         (main): Call libm_test_init and libm_test_finish and move most
733         code to those functions.
735         * math/libm-test-driver.c (STRX): New macro.
736         (STR): Likewise.
737         (STR_FLOAT): Likewise.
738         (STR_VEC_LEN): Likewise.
739         (TEST_MSG): Likewise.  Define here instead of expecting to be
740         defined by including file.
741         * math/test-double-finite.c (TEST_MSG): Remove macro.
742         * math/test-double-vlen2.h (TEST_MSG): Likewise.
743         * math/test-double-vlen4.h (TEST_MSG): Likewise.
744         * math/test-double-vlen8.h (TEST_MSG): Likewise.
745         * math/test-double.c (TEST_MSG): Likewise.
746         * math/test-float-finite.c (TEST_MSG): Likewise.
747         * math/test-float-vlen16.h (TEST_MSG): Likewise.
748         * math/test-float-vlen4.h (TEST_MSG): Likewise.
749         * math/test-float-vlen8.h (TEST_MSG): Likewise.
750         * math/test-float.c (TEST_MSG): Likewise.
751         * math/test-idouble.c (TEST_MSG): Likewise.
752         * math/test-ifloat.c (TEST_MSG): Likewise.
753         * math/test-ildouble.c (TEST_MSG): Likewise.
754         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
755         * math/test-ldouble.c (TEST_MSG): Likewise.
757         * math/libm-test.inc: Move all tests of individual functions to
758         libm-test-*.inc and #include libm-test-*.c files.
759         (acos_test_data): Remove.
760         (acos_test): Likewise.
761         (acosh_test_data): Likewise.
762         (acosh_test): Likewise.
763         (asin_test_data): Likewise.
764         (asin_test): Likewise.
765         (asinh_test_data): Likewise.
766         (asinh_test): Likewise.
767         (atan_test_data): Likewise.
768         (atan_test): Likewise.
769         (atanh_test_data): Likewise.
770         (atanh_test): Likewise.
771         (atan2_test_data): Likewise.
772         (atan2_test): Likewise.
773         (cabs_test_data): Likewise.
774         (cabs_test): Likewise.
775         (cacos_test_data): Likewise.
776         (cacos_test): Likewise.
777         (cacosh_test_data): Likewise.
778         (cacosh_test): Likewise.
779         (canonicalize_test_data): Likewise.
780         (canonicalize_test): Likewise.
781         (carg_test_data): Likewise.
782         (carg_test): Likewise.
783         (casin_test_data): Likewise.
784         (casin_test): Likewise.
785         (casinh_test_data): Likewise.
786         (casinh_test): Likewise.
787         (catan_test_data): Likewise.
788         (catan_test): Likewise.
789         (catanh_test_data): Likewise.
790         (catanh_test): Likewise.
791         (cbrt_test_data): Likewise.
792         (cbrt_test): Likewise.
793         (ccos_test_data): Likewise.
794         (ccos_test): Likewise.
795         (ccosh_test_data): Likewise.
796         (ccosh_test): Likewise.
797         (ceil_test_data): Likewise.
798         (ceil_test): Likewise.
799         (cexp_test_data): Likewise.
800         (cexp_test): Likewise.
801         (cimag_test_data): Likewise.
802         (cimag_test): Likewise.
803         (clog_test_data): Likewise.
804         (clog_test): Likewise.
805         (clog10_test_data): Likewise.
806         (clog10_test): Likewise.
807         (conj_test_data): Likewise.
808         (conj_test): Likewise.
809         (copysign_test_data): Likewise.
810         (copysign_test): Likewise.
811         (cos_test_data): Likewise.
812         (cos_test): Likewise.
813         (cosh_test_data): Likewise.
814         (cosh_test): Likewise.
815         (cpow_test_data): Likewise.
816         (cpow_test): Likewise.
817         (cproj_test_data): Likewise.
818         (cproj_test): Likewise.
819         (creal_test_data): Likewise.
820         (creal_test): Likewise.
821         (csin_test_data): Likewise.
822         (csin_test): Likewise.
823         (csinh_test_data): Likewise.
824         (csinh_test): Likewise.
825         (csqrt_test_data): Likewise.
826         (csqrt_test): Likewise.
827         (ctan_test_data): Likewise.
828         (ctan_test): Likewise.
829         (ctanh_test_data): Likewise.
830         (ctanh_test): Likewise.
831         (erf_test_data): Likewise.
832         (erf_test): Likewise.
833         (erfc_test_data): Likewise.
834         (erfc_test): Likewise.
835         (exp_test_data): Likewise.
836         (exp_test): Likewise.
837         (exp10_test_data): Likewise.
838         (exp10_test): Likewise.
839         (pow10_test): Likewise.
840         (exp2_test_data): Likewise.
841         (exp2_test): Likewise.
842         (expm1_test_data): Likewise.
843         (expm1_test): Likewise.
844         (fabs_test_data): Likewise.
845         (fabs_test): Likewise.
846         (fdim_test_data): Likewise.
847         (fdim_test): Likewise.
848         (floor_test_data): Likewise.
849         (floor_test): Likewise.
850         (fma_test_data): Likewise.
851         (fma_test): Likewise.
852         (fmax_test_data): Likewise.
853         (fmax_test): Likewise.
854         (fmaxmag_test_data): Likewise.
855         (fmaxmag_test): Likewise.
856         (fmin_test_data): Likewise.
857         (fmin_test): Likewise.
858         (fminmag_test_data): Likewise.
859         (fminmag_test): Likewise.
860         (fmod_test_data): Likewise.
861         (fmod_test): Likewise.
862         (fpclassify_test_data): Likewise.
863         (fpclassify_test): Likewise.
864         (frexp_test_data): Likewise.
865         (frexp_test): Likewise.
866         (fromfp_test_data): Likewise.
867         (fromfp_test): Likewise.
868         (fromfpx_test_data): Likewise.
869         (fromfpx_test): Likewise.
870         (getpayload_test_data): Likewise.
871         (getpayload_test): Likewise.
872         (hypot_test_data): Likewise.
873         (hypot_test): Likewise.
874         (ilogb_test_data): Likewise.
875         (ilogb_test): Likewise.
876         (iscanonical_test_data): Likewise.
877         (iscanonical_test): Likewise.
878         (iseqsig_test_data): Likewise.
879         (iseqsig_test): Likewise.
880         (isfinite_test_data): Likewise.
881         (isfinite_test): Likewise.
882         (finite_test): Likewise.
883         (isgreater_test_data): Likewise.
884         (isgreater_test): Likewise.
885         (isgreaterequal_test_data): Likewise.
886         (isgreaterequal_test): Likewise.
887         (isinf_test_data): Likewise.
888         (isinf_test): Likewise.
889         (isless_test_data): Likewise.
890         (isless_test): Likewise.
891         (islessequal_test_data): Likewise.
892         (islessequal_test): Likewise.
893         (islessgreater_test_data): Likewise.
894         (islessgreater_test): Likewise.
895         (isnan_test_data): Likewise.
896         (isnan_test): Likewise.
897         (isnormal_test_data): Likewise.
898         (isnormal_test): Likewise.
899         (issignaling_test_data): Likewise.
900         (issignaling_test): Likewise.
901         (issubnormal_test_data): Likewise.
902         (issubnormal_test): Likewise.
903         (isunordered_test_data): Likewise.
904         (isunordered_test): Likewise.
905         (iszero_test_data): Likewise.
906         (iszero_test): Likewise.
907         (j0_test_data): Likewise.
908         (j0_test): Likewise.
909         (j1_test_data): Likewise.
910         (j1_test): Likewise.
911         (jn_test_data): Likewise.
912         (jn_test): Likewise.
913         (lgamma_test_data): Likewise.
914         (lgamma_test): Likewise.
915         (gamma_test): Likewise.
916         (llogb_test_data): Likewise.
917         (llogb_test): Likewise.
918         (lrint_test_data): Likewise.
919         (lrint_test): Likewise.
920         (llrint_test_data): Likewise.
921         (llrint_test): Likewise.
922         (log_test_data): Likewise.
923         (log_test): Likewise.
924         (log10_test_data): Likewise.
925         (log10_test): Likewise.
926         (log1p_test_data): Likewise.
927         (log1p_test): Likewise.
928         (log2_test_data): Likewise.
929         (log2_test): Likewise.
930         (logb_test_data): Likewise.
931         (logb_test): Likewise.
932         (lround_test_data): Likewise.
933         (lround_test): Likewise.
934         (llround_test_data): Likewise.
935         (llround_test): Likewise.
936         (modf_test_data): Likewise.
937         (modf_test): Likewise.
938         (nearbyint_test_data): Likewise.
939         (nearbyint_test): Likewise.
940         (nextafter_test_data): Likewise.
941         (nextafter_test): Likewise.
942         (nextup_test_data): Likewise.
943         (nextup_test): Likewise.
944         (nextdown_test_data): Likewise.
945         (nextdown_test): Likewise.
946         (nexttoward_test_data): Likewise.
947         (nexttoward_test): Likewise.
948         (pow_test_data): Likewise.
949         (pow_test): Likewise.
950         (remainder_test_data): Likewise.
951         (remainder_test): Likewise.
952         (drem_test): Likewise.
953         (remquo_test_data): Likewise.
954         (remquo_test): Likewise.
955         (rint_test_data): Likewise.
956         (rint_test): Likewise.
957         (round_test_data): Likewise.
958         (round_test): Likewise.
959         (roundeven_test_data): Likewise.
960         (roundeven_test): Likewise.
961         (scalb_test_data): Likewise.
962         (scalb_test): Likewise.
963         (scalbn_test_data): Likewise.
964         (scalbn_test): Likewise.
965         (ldexp_test): Likewise.
966         (scalbln_test_data): Likewise.
967         (scalbln_test): Likewise.
968         (setpayload_test_data): Likewise.
969         (setpayload_test): Likewise.
970         (setpayloadsig_test_data): Likewise.
971         (setpayloadsig_test): Likewise.
972         (signbit_test_data): Likewise.
973         (signbit_test): Likewise.
974         (sin_test_data): Likewise.
975         (sin_test): Likewise.
976         (sincos_test_data): Likewise.
977         (sincos_test): Likewise.
978         (sinh_test_data): Likewise.
979         (sinh_test): Likewise.
980         (sqrt_test_data): Likewise.
981         (sqrt_test): Likewise.
982         (tan_test_data): Likewise.
983         (tan_test): Likewise.
984         (tanh_test_data): Likewise.
985         (tanh_test): Likewise.
986         (tgamma_test_data): Likewise.
987         (tgamma_test): Likewise.
988         (totalorder_test_data): Likewise.
989         (totalorder_test): Likewise.
990         (totalordermag_test_data): Likewise.
991         (totalordermag_test): Likewise.
992         (trunc_test_data): Likewise.
993         (trunc_test): Likewise.
994         (ufromfp_test_data): Likewise.
995         (ufromfp_test): Likewise.
996         (ufromfpx_test_data): Likewise.
997         (ufromfpx_test): Likewise.
998         (y0_test_data): Likewise.
999         (y0_test): Likewise.
1000         (y1_test_data): Likewise.
1001         (y1_test): Likewise.
1002         (yn_test_data): Likewise.
1003         (yn_test): Likewise.
1004         (significand_test_data): Likewise.
1005         (significand_test): Likewise.
1006         * math/Makefile (auto-libm-test-out-files): Remove variable.
1007         (libm-test-funcs-noauto): New variable.
1008         (libm-test-funcs-all): Likewise.
1009         (libm-test-c-auto): Likewise.
1010         (libm-test-c-noauto): Likewise.
1011         (libm-tests-generated): Add $(libm-test-c-auto) and
1012         $(libm-test-c-noauto).
1013         (generated): Do not add auto-libm-test-out.
1014         (libm-test-c-auto-obj): New variable.
1015         (libm-test-c-noauto-obj): Likewise.
1016         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1017         ($(libm-test-c-noauto-obj)): New static pattern rule.
1018         ($(libm-test-c-auto-obj)): Likewise.
1019         (libm-test-incs): New variable.
1020         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1021         and pass it to gen-libm-have-vector-test.sh.
1022         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1023         be passed on command line.
1024         * math/libm-test-acos.inc: New file.  Content from
1025         math/libm-test.inc.
1026         * math/libm-test-acosh.inc: Likewise.
1027         * math/libm-test-asin.inc: Likewise.
1028         * math/libm-test-asinh.inc: Likewise.
1029         * math/libm-test-atan.inc: Likewise.
1030         * math/libm-test-atan2.inc: Likewise.
1031         * math/libm-test-atanh.inc: Likewise.
1032         * math/libm-test-cabs.inc: Likewise.
1033         * math/libm-test-cacos.inc: Likewise.
1034         * math/libm-test-cacosh.inc: Likewise.
1035         * math/libm-test-canonicalize.inc: Likewise.
1036         * math/libm-test-carg.inc: Likewise.
1037         * math/libm-test-casin.inc: Likewise.
1038         * math/libm-test-casinh.inc: Likewise.
1039         * math/libm-test-catan.inc: Likewise.
1040         * math/libm-test-catanh.inc: Likewise.
1041         * math/libm-test-cbrt.inc: Likewise.
1042         * math/libm-test-ccos.inc: Likewise.
1043         * math/libm-test-ccosh.inc: Likewise.
1044         * math/libm-test-ceil.inc: Likewise.
1045         * math/libm-test-cexp.inc: Likewise.
1046         * math/libm-test-cimag.inc: Likewise.
1047         * math/libm-test-clog.inc: Likewise.
1048         * math/libm-test-clog10.inc: Likewise.
1049         * math/libm-test-conj.inc: Likewise.
1050         * math/libm-test-copysign.inc: Likewise.
1051         * math/libm-test-cos.inc: Likewise.
1052         * math/libm-test-cosh.inc: Likewise.
1053         * math/libm-test-cpow.inc: Likewise.
1054         * math/libm-test-cproj.inc: Likewise.
1055         * math/libm-test-creal.inc: Likewise.
1056         * math/libm-test-csin.inc: Likewise.
1057         * math/libm-test-csinh.inc: Likewise.
1058         * math/libm-test-csqrt.inc: Likewise.
1059         * math/libm-test-ctan.inc: Likewise.
1060         * math/libm-test-ctanh.inc: Likewise.
1061         * math/libm-test-erf.inc: Likewise.
1062         * math/libm-test-erfc.inc: Likewise.
1063         * math/libm-test-exp.inc: Likewise.
1064         * math/libm-test-exp10.inc: Likewise.
1065         * math/libm-test-exp2.inc: Likewise.
1066         * math/libm-test-expm1.inc: Likewise.
1067         * math/libm-test-fabs.inc: Likewise.
1068         * math/libm-test-fdim.inc: Likewise.
1069         * math/libm-test-floor.inc: Likewise.
1070         * math/libm-test-fma.inc: Likewise.
1071         * math/libm-test-fmax.inc: Likewise.
1072         * math/libm-test-fmaxmag.inc: Likewise.
1073         * math/libm-test-fmin.inc: Likewise.
1074         * math/libm-test-fminmag.inc: Likewise.
1075         * math/libm-test-fmod.inc: Likewise.
1076         * math/libm-test-fpclassify.inc: Likewise.
1077         * math/libm-test-frexp.inc: Likewise.
1078         * math/libm-test-fromfp.inc: Likewise.
1079         * math/libm-test-fromfpx.inc: Likewise.
1080         * math/libm-test-getpayload.inc: Likewise.
1081         * math/libm-test-hypot.inc: Likewise.
1082         * math/libm-test-ilogb.inc: Likewise.
1083         * math/libm-test-iscanonical.inc: Likewise.
1084         * math/libm-test-iseqsig.inc: Likewise.
1085         * math/libm-test-isfinite.inc: Likewise.
1086         * math/libm-test-isgreater.inc: Likewise.
1087         * math/libm-test-isgreaterequal.inc: Likewise.
1088         * math/libm-test-isinf.inc: Likewise.
1089         * math/libm-test-isless.inc: Likewise.
1090         * math/libm-test-islessequal.inc: Likewise.
1091         * math/libm-test-islessgreater.inc: Likewise.
1092         * math/libm-test-isnan.inc: Likewise.
1093         * math/libm-test-isnormal.inc: Likewise.
1094         * math/libm-test-issignaling.inc: Likewise.
1095         * math/libm-test-issubnormal.inc: Likewise.
1096         * math/libm-test-isunordered.inc: Likewise.
1097         * math/libm-test-iszero.inc: Likewise.
1098         * math/libm-test-j0.inc: Likewise.
1099         * math/libm-test-j1.inc: Likewise.
1100         * math/libm-test-jn.inc: Likewise.
1101         * math/libm-test-lgamma.inc: Likewise.
1102         * math/libm-test-llogb.inc: Likewise.
1103         * math/libm-test-llrint.inc: Likewise.
1104         * math/libm-test-llround.inc: Likewise.
1105         * math/libm-test-log.inc: Likewise.
1106         * math/libm-test-log10.inc: Likewise.
1107         * math/libm-test-log1p.inc: Likewise.
1108         * math/libm-test-log2.inc: Likewise.
1109         * math/libm-test-logb.inc: Likewise.
1110         * math/libm-test-lrint.inc: Likewise.
1111         * math/libm-test-lround.inc: Likewise.
1112         * math/libm-test-modf.inc: Likewise.
1113         * math/libm-test-nearbyint.inc: Likewise.
1114         * math/libm-test-nextafter.inc: Likewise.
1115         * math/libm-test-nextdown.inc: Likewise.
1116         * math/libm-test-nexttoward.inc: Likewise.
1117         * math/libm-test-nextup.inc: Likewise.
1118         * math/libm-test-pow.inc: Likewise.
1119         * math/libm-test-remainder.inc: Likewise.
1120         * math/libm-test-remquo.inc: Likewise.
1121         * math/libm-test-rint.inc: Likewise.
1122         * math/libm-test-round.inc: Likewise.
1123         * math/libm-test-roundeven.inc: Likewise.
1124         * math/libm-test-scalb.inc: Likewise.
1125         * math/libm-test-scalbln.inc: Likewise.
1126         * math/libm-test-scalbn.inc: Likewise.
1127         * math/libm-test-setpayload.inc: Likewise.
1128         * math/libm-test-setpayloadsig.inc: Likewise.
1129         * math/libm-test-signbit.inc: Likewise.
1130         * math/libm-test-significand.inc: Likewise.
1131         * math/libm-test-sin.inc: Likewise.
1132         * math/libm-test-sincos.inc: Likewise.
1133         * math/libm-test-sinh.inc: Likewise.
1134         * math/libm-test-sqrt.inc: Likewise.
1135         * math/libm-test-tan.inc: Likewise.
1136         * math/libm-test-tanh.inc: Likewise.
1137         * math/libm-test-tgamma.inc: Likewise.
1138         * math/libm-test-totalorder.inc: Likewise.
1139         * math/libm-test-totalordermag.inc: Likewise.
1140         * math/libm-test-trunc.inc: Likewise.
1141         * math/libm-test-ufromfp.inc: Likewise.
1142         * math/libm-test-ufromfpx.inc: Likewise.
1143         * math/libm-test-y0.inc: Likewise.
1144         * math/libm-test-y1.inc: Likewise.
1145         * math/libm-test-yn.inc: Likewise.
1146         * math/README.libm-test: Update.
1148         * math/gen-auto-libm-tests.c: Update comment about use of program.
1149         (generate_output): Add argument FUNCTION.
1150         (main): Require extra argument.  Pass function name to
1151         generate_output.
1152         * math/Makefile (generated): Add auto-libm-test-out.
1153         (libm-test-funcs-auto): New variable.
1154         (auto-libm-test-out-files): New variable.
1155         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1156         Concatenate those files to form $(objpfx)auto-libm-test-out and
1157         use it as input to gen-libm-test.pl.
1158         * math/README.libm-test: Update.
1159         * math/auto-libm-test-out: Remove.
1160         * math/auto-libm-test-out-acos: New generated file.
1161         * math/auto-libm-test-out-acosh: Likewise.
1162         * math/auto-libm-test-out-asin: Likewise.
1163         * math/auto-libm-test-out-asinh: Likewise.
1164         * math/auto-libm-test-out-atan: Likewise.
1165         * math/auto-libm-test-out-atan2: Likewise.
1166         * math/auto-libm-test-out-atanh: Likewise.
1167         * math/auto-libm-test-out-cabs: Likewise.
1168         * math/auto-libm-test-out-carg: Likewise.
1169         * math/auto-libm-test-out-cbrt: Likewise.
1170         * math/auto-libm-test-out-ccos: Likewise.
1171         * math/auto-libm-test-out-ccosh: Likewise.
1172         * math/auto-libm-test-out-cexp: Likewise.
1173         * math/auto-libm-test-out-clog: Likewise.
1174         * math/auto-libm-test-out-clog10: Likewise.
1175         * math/auto-libm-test-out-cos: Likewise.
1176         * math/auto-libm-test-out-cosh: Likewise.
1177         * math/auto-libm-test-out-cpow: Likewise.
1178         * math/auto-libm-test-out-csin: Likewise.
1179         * math/auto-libm-test-out-csinh: Likewise.
1180         * math/auto-libm-test-out-csqrt: Likewise.
1181         * math/auto-libm-test-out-ctan: Likewise.
1182         * math/auto-libm-test-out-ctanh: Likewise.
1183         * math/auto-libm-test-out-erf: Likewise.
1184         * math/auto-libm-test-out-erfc: Likewise.
1185         * math/auto-libm-test-out-exp: Likewise.
1186         * math/auto-libm-test-out-exp10: Likewise.
1187         * math/auto-libm-test-out-exp2: Likewise.
1188         * math/auto-libm-test-out-expm1: Likewise.
1189         * math/auto-libm-test-out-fma: Likewise.
1190         * math/auto-libm-test-out-hypot: Likewise.
1191         * math/auto-libm-test-out-j0: Likewise.
1192         * math/auto-libm-test-out-j1: Likewise.
1193         * math/auto-libm-test-out-jn: Likewise.
1194         * math/auto-libm-test-out-lgamma: Likewise.
1195         * math/auto-libm-test-out-log: Likewise.
1196         * math/auto-libm-test-out-log10: Likewise.
1197         * math/auto-libm-test-out-log1p: Likewise.
1198         * math/auto-libm-test-out-log2: Likewise.
1199         * math/auto-libm-test-out-pow: Likewise.
1200         * math/auto-libm-test-out-sin: Likewise.
1201         * math/auto-libm-test-out-sincos: Likewise.
1202         * math/auto-libm-test-out-sinh: Likewise.
1203         * math/auto-libm-test-out-sqrt: Likewise.
1204         * math/auto-libm-test-out-tan: Likewise.
1205         * math/auto-libm-test-out-tanh: Likewise.
1206         * math/auto-libm-test-out-tgamma: Likewise.
1207         * math/auto-libm-test-out-y0: Likewise.
1208         * math/auto-libm-test-out-y1: Likewise.
1209         * math/auto-libm-test-out-yn: Likewise.
1211         * math/Makefile (generated): Do not include libm-test.stmp.
1212         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1213         on $(objpfx)libm-test.stmp.
1214         ($(objpfx)libm-test.stmp): Remove rule.
1215         ($(objpfx)libm-test-ulps.h): New rule.
1216         ($(objpfx)libm-test.c): Likewise.
1217         ($(objpfx)libm-have-vector-test.h): Likewise.
1218         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1219         individual generated files, not libm-test.stmp.
1221         * math/gen-libm-test.pl ($output_dir): Remove variable.
1222         ($srcdir): Likewise.
1223         ($opt_a): New variable.
1224         ($opt_c): Likewise.
1225         ($opt_C): Likewise.
1226         ($opt_H): Likewise.
1227         (-n): Make option take argument and use it as NewUlps output.
1228         (-a): New option.  Use its argument for auto-libm-test-out input.
1229         (-c): New option.  Use its argument for libm-test.inc input.
1230         (-C): New option.  Use its argument for libm-test.c output.
1231         (-H): New option.  Use its argument for libm-test-ulps.h output.
1232         (top level): Only process inputs needed to generate outputs
1233         specified by command-line options.  Only generate outputs
1234         specified by command-line options.
1235         * math/README.libm-test: Update example gen-libm-test.pl command.
1236         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1237         commands.
1238         (regen-ulps): Likewise.
1240 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1242         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1243         * include/string.h (index): Remove define.
1244         (rindex): Likewise.
1245         * misc/getttyent.c (__getttyent): Rename index to strchr.
1246         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1247         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1249 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1251         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1252         * math/libm-test.inc: Move all contents, other than tests of
1253         individual functions, to libm-test-driver.c.
1254         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1255         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1256         [!FE_UPWARD] (FE_UPWARD): Likewise.
1257         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1258         (NO_EXCEPTION): Likewise.
1259         (INVALID_EXCEPTION): Likewise.
1260         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1261         (OVERFLOW_EXCEPTION): Likewise.
1262         (UNDERFLOW_EXCEPTION): Likewise.
1263         (INEXACT_EXCEPTION): Likewise.
1264         (INVALID_EXCEPTION_OK): Likewise.
1265         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1266         (OVERFLOW_EXCEPTION_OK): Likewise.
1267         (UNDERFLOW_EXCEPTION_OK): Likewise.
1268         (NO_INEXACT_EXCEPTION): Likewise.
1269         (EXCEPTIONS_OK): Likewise.
1270         (IGNORE_ZERO_INF_SIGN): Likewise.
1271         (TEST_NAN_SIGN): Likewise.
1272         (TEST_NAN_PAYLOAD): Likewise.
1273         (NO_TEST_INLINE): Likewise.
1274         (XFAIL_TEST): Likewise.
1275         (ERRNO_UNCHANGED): Likewise.
1276         (ERRNO_EDOM): Likewise.
1277         (ERRNO_ERANGE): Likewise.
1278         (IGNORE_RESULT): Likewise.
1279         (NON_FINITE): Likewise.
1280         (TEST_SNAN): Likewise.
1281         (NO_TEST_MATHVEC): Likewise.
1282         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1283         (__CONCATX): Likewise.
1284         (TYPE_MIN): Likewise.
1285         (TYPE_TRUE_MIN): Likewise.
1286         (TYPE_MAX): Likewise.
1287         (MIN_EXP): Likewise.
1288         (MAX_EXP): Likewise.
1289         (MANT_DIG): Likewise.
1290         (FSTR_MAX): Likewise.
1291         (ULP_IDX): Likewise.
1292         (QTYPE_STR): Likewise.
1293         (TEST_COND_binary32): Likewise.
1294         (TEST_COND_binary64): Likewise.
1295         (TEST_COND_binary128): Likewise.
1296         (TEST_COND_ibm128): Likewise.
1297         (TEST_COND_intel96): Likewise.
1298         (TEST_COND_m68k96): Likewise.
1299         (TEST_COND_ibm128_libgcc): Likewise.
1300         (XFAIL_IBM128_LIBGCC): Likewise.
1301         (PAYLOAD_DIG): Likewise.
1302         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1303         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1304         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1305         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1306         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1307         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1308         (TEST_COND_long32): Likewise.
1309         (TEST_COND_long64): Likewise.
1310         (TEST_COND_before_rounding): Likewise.
1311         (TEST_COND_after_rounding): Likewise.
1312         (lit_pi_3_m_4_d): Likewise.
1313         (lit_pi_3_m_4_ln10_m_d): Likewise.
1314         (lit_pi_2_ln10_m_d): Likewise.
1315         (lit_pi_4_ln10_m_d): Likewise.
1316         (lit_pi_ln10_d): Likewise.
1317         (lit_pi_2_d): Likewise.
1318         (lit_pi_4_d): Likewise.
1319         (lit_pi): Likewise.
1320         (lit_e): Likewise.
1321         (ulps_file_name): Likewise.
1322         (ulps_file): Likewise.
1323         (output_ulps): Likewise.
1324         (output_dir): Likewise.
1325         (noErrors): Likewise.
1326         (noTests): Likewise.
1327         (noExcTests): Likewise.
1328         (noErrnoTests): Likewise.
1329         (verbose): Likewise.
1330         (output_max_error): Likewise.
1331         (output_points): Likewise.
1332         (ignore_max_ulp): Likewise.
1333         (plus_zero): Likewise.
1334         (minus_zero): Likewise.
1335         (plus_infty): Likewise.
1336         (minus_infty): Likewise.
1337         (qnan_value_pl): Likewise.
1338         (qnan_value): Likewise.
1339         (snan_value_pl): Likewise.
1340         (snan_value): Likewise.
1341         (max_value): Likewise.
1342         (min_value): Likewise.
1343         (min_subnorm_value): Likewise.
1344         (snan_value_ld): Likewise.
1345         (max_error): Likewise.
1346         (real_max_error): Likewise.
1347         (imag_max_error): Likewise.
1348         (prev_max_error): Likewise.
1349         (prev_real_max_error): Likewise.
1350         (prev_imag_max_error): Likewise.
1351         (max_valid_error): Likewise.
1352         (TYPE_DECIMAL_DIG): Likewise.
1353         (TYPE_HEX_DIG): Likewise.
1354         (fmt_ftostr): Likewise.
1355         (compare_ulp_data): Likewise.
1356         (find_ulps): Likewise.
1357         (init_max_error): Likewise.
1358         (set_max_error): Likewise.
1359         (print_float): Likewise.
1360         (print_screen): Likewise.
1361         (print_screen_max_error): Likewise.
1362         (update_stats): Likewise.
1363         (print_function_ulps): Likewise.
1364         (print_complex_function_ulps): Likewise.
1365         (fpstack_test): Likewise.
1366         (print_max_error): Likewise.
1367         (print_complex_max_error): Likewise.
1368         (test_single_exception): Likewise.
1369         (test_exceptions): Likewise.
1370         (test_single_errno): Likewise.
1371         (test_errno): Likewise.
1372         (ULPDIFF): Likewise.
1373         (ulp): Likewise.
1374         (check_float_internal): Likewise.
1375         (check_float): Likewise.
1376         (check_complex): Likewise.
1377         (check_int): Likewise.
1378         (check_long): Likewise.
1379         (check_bool): Likewise.
1380         (check_longlong): Likewise.
1381         (check_intmax_t): Likewise.
1382         (check_uintmax_t): Likewise.
1383         (enable_test): Likewise.
1384         (struct test_f_f_data): Likewise.
1385         (struct test_ff_f_data): Likewise.
1386         (struct test_fj_f_data): Likewise.
1387         (struct test_fi_f_data): Likewise.
1388         (struct test_fl_f_data): Likewise.
1389         (struct test_if_f_data): Likewise.
1390         (struct test_fff_f_data): Likewise.
1391         (struct test_fiu_M_data): Likewise.
1392         (struct test_fiu_U_data): Likewise.
1393         (struct test_c_f_data): Likewise.
1394         (struct test_f_f1_data): Likewise.
1395         (struct test_fF_f1_data): Likewise.
1396         (struct test_ffI_f1_data): Likewise.
1397         (struct test_c_c_data): Likewise.
1398         (struct test_cc_c_data): Likewise.
1399         (struct test_f_i_data): Likewise.
1400         (struct test_ff_i_data): Likewise.
1401         (struct test_f_l_data): Likewise.
1402         (struct test_f_L_data): Likewise.
1403         (struct test_fFF_11_data): Likewise.
1404         (struct test_Ff_b1_data): Likewise.
1405         (IF_ROUND_INIT_): Likewise.
1406         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1407         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1408         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1409         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1410         (ROUND_RESTORE_): Likewise.
1411         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1412         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1413         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1414         (ROUND_RESTORE_FE_UPWARD): Likewise.
1415         (RM_): Likewise.
1416         (RM_FE_DOWNWARD): Likewise.
1417         (RM_FE_TONEAREST): Likewise.
1418         (RM_FE_TOWARDZERO): Likewise.
1419         (RM_FE_UPWARD): Likewise.
1420         (COMMON_TEST_SETUP): Likewise.
1421         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1422         (COMMON_TEST_CLEANUP): Likewise.
1423         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1424         (RUN_TEST_f_f): Likewise.
1425         (RUN_TEST_LOOP_f_f): Likewise.
1426         (RUN_TEST_fp_f): Likewise.
1427         (RUN_TEST_LOOP_fp_f): Likewise.
1428         (RUN_TEST_2_f): Likewise.
1429         (RUN_TEST_LOOP_2_f): Likewise.
1430         (RUN_TEST_ff_f): Likewise.
1431         (RUN_TEST_LOOP_ff_f): Likewise.
1432         (RUN_TEST_LOOP_fj_f): Likewise.
1433         (RUN_TEST_fi_f): Likewise.
1434         (RUN_TEST_LOOP_fi_f): Likewise.
1435         (RUN_TEST_fl_f): Likewise.
1436         (RUN_TEST_LOOP_fl_f): Likewise.
1437         (RUN_TEST_if_f): Likewise.
1438         (RUN_TEST_LOOP_if_f): Likewise.
1439         (RUN_TEST_fff_f): Likewise.
1440         (RUN_TEST_LOOP_fff_f): Likewise.
1441         (RUN_TEST_fiu_M): Likewise.
1442         (RUN_TEST_LOOP_fiu_M): Likewise.
1443         (RUN_TEST_fiu_U): Likewise.
1444         (RUN_TEST_LOOP_fiu_U): Likewise.
1445         (RUN_TEST_c_f): Likewise.
1446         (RUN_TEST_LOOP_c_f): Likewise.
1447         (RUN_TEST_f_f1): Likewise.
1448         (RUN_TEST_LOOP_f_f1): Likewise.
1449         (RUN_TEST_fF_f1): Likewise.
1450         (RUN_TEST_LOOP_fF_f1): Likewise.
1451         (RUN_TEST_fI_f1): Likewise.
1452         (RUN_TEST_LOOP_fI_f1): Likewise.
1453         (RUN_TEST_ffI_f1_mod8): Likewise.
1454         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1455         (RUN_TEST_Ff_b1): Likewise.
1456         (RUN_TEST_LOOP_Ff_b1): Likewise.
1457         (RUN_TEST_Ffp_b1): Likewise.
1458         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1459         (RUN_TEST_c_c): Likewise.
1460         (RUN_TEST_LOOP_c_c): Likewise.
1461         (RUN_TEST_cc_c): Likewise.
1462         (RUN_TEST_LOOP_cc_c): Likewise.
1463         (RUN_TEST_f_i): Likewise.
1464         (RUN_TEST_LOOP_f_i): Likewise.
1465         (RUN_TEST_f_i_tg): Likewise.
1466         (RUN_TEST_LOOP_f_i_tg): Likewise.
1467         (RUN_TEST_ff_b): Likewise.
1468         (RUN_TEST_LOOP_ff_b): Likewise.
1469         (RUN_TEST_ff_i_tg): Likewise.
1470         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1471         (RUN_TEST_f_b): Likewise.
1472         (RUN_TEST_LOOP_f_b): Likewise.
1473         (RUN_TEST_f_b_tg): Likewise.
1474         (RUN_TEST_LOOP_f_b_tg): Likewise.
1475         (RUN_TEST_f_l): Likewise.
1476         (RUN_TEST_LOOP_f_l): Likewise.
1477         (RUN_TEST_f_L): Likewise.
1478         (RUN_TEST_LOOP_f_L): Likewise.
1479         (RUN_TEST_fFF_11): Likewise.
1480         (RUN_TEST_LOOP_fFF_11): Likewise.
1481         (VEC_SUFF): Likewise.
1482         (STR_CONCAT): Likewise.
1483         (STR_CON3): Likewise.
1484         (HAVE_VECTOR): Likewise.
1485         (START): Likewise.
1486         (END): Likewise.
1487         (END_COMPLEX): Likewise.
1488         (ALL_RM_TEST): Likewise.
1489         (matherr): Likewise.
1490         (initialize): Likewise.
1491         (options): Likewise.
1492         (doc): Likewise.
1493         (parse_opt): Likewise.
1494         (argp): Likewise.
1495         (check_ulp): Likewise.
1496         (main): Likewise.
1497         (do_test): New function.  Call tests of individual functions
1498         previously called from main.
1500         * math/libm-test.inc: Remove comment listing functions tested and
1501         not tested.
1503 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1505         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1506         (allocate_stack): Remove COLORING_INCREMENT usage.
1507         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1508         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1510 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1512         * manual/libm-err-tab.pl (@all_functions): Change to
1513         %all_functions.  Initialize as empty.
1514         (parse_ulps): Add to %all_functions based on functions found in
1515         ulps files.  Ignore results for non-default rounding modes and
1516         vector functions.
1517         (print_platforms): Use %all_platforms.
1518         * manual/math.texi (Errors in Math Functions): Document omissions
1519         from the table.
1521         * math/Makefile (before-compile): Remove.
1523 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1525         [BZ #21075]
1526         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1527         unused assignment.
1528         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1530 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1532         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1533         Add __glibc_unlikely hint.
1535 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1537         [BZ #16640]
1538         * sysdeps/i386/i686/strtok.S: Remove file.
1539         * sysdeps/i386/i686/strtok_r.S: Likewise.
1540         * sysdeps/i386/strtok.S: Likewise.
1541         * sysdeps/i386/strtok_r.S: Likewise.
1542         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1543         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1544         * sysdeps/x86_64/strtok.S: Likewise.
1545         * sysdeps/x86_64/strtok_r.S: Likewise.
1547         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1548         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1549         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1550         (__ASSUME_FADVISE64_AS_64_64): Define.
1551         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1552         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1553         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1554         __ALIGNMENT_ARG usage.
1555         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1556         __NR_fadvise64_64 if it is not defined.
1558 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1560         * version.h (RELEASE): Set to "development"
1561         (VERSION): Set to 2.25.90.
1562         * NEWS: Add 2.26 section.
1564         * version.h (RELEASE): Set to "stable"
1565         (VERSION): Set to 2.25.
1566         * include/features.h (__GLIBC_MINOR__): Set to 25.
1568         * manual/contrib.texi: Add more contributors from this release
1569         and past releases.
1571         * NEWS (2.25): Add list of bugs fixed.
1573         * NEWS: Add missing news items.
1575 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1577         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1578         parent if child exited in that manner.  Print WEXITSTATUS
1579         instead of the raw status.
1580         (do_test_prep): Rename to do_test.
1581         (do_test): Return the result of run_executable_sgid.
1582         (TEST_FUNCTION_ARGV): Adjust.
1584 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1585             Florian Weimer  <fweimer@redhat.com>
1586             Carlos O'Donell  <carlos@redhat.com>
1588         [BZ #20915]
1589         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1590         Do not initialize DTV.
1591         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1593 2017-02-03  David S. Miller  <davem@davemloft.net>
1595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1603         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1604         (libm-sysdep_routines): Update.
1605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1610         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1611         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1612         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1613         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1615         Likewise.
1616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1618         Likewise.
1619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1621         Likewise.
1622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1624         Likewise.
1625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1627         (libm-sysdep_routines): Update.
1629 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1631         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1632         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1633         against unrelocated shared library.
1634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1636 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1638         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1639         * elf/tst-env-setuid-tunables.c
1640         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1641         GLIBC_TUNABLES is removed in a setgid process.
1643         [BZ #21073]
1644         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1645         * elf/dl-tunables.c (tunables_strdup): Remove.
1646         (get_next_env): Also return the previous envp.
1647         (parse_tunables): Erase tunables of category
1648         TUNABLES_SECLEVEL_SXID_ERASE.
1649         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1650         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1651         (__tunables_init)[TUNABLES_FRONTEND ==
1652         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1653         after parsing.
1654         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1655         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1656         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1657         to security_level.
1658         * elf/dl-tunables.list: Add security_level annotations for all
1659         tunables.
1660         * scripts/gen-tunables.awk: Recognize and generate enum values
1661         for security_level.
1662         * elf/tst-env-setuid.c: New test case.
1663         * elf/tst-env-setuid-tunables: new test case.
1664         * elf/Makefile (tests-static): Add them.
1666 2017-02-01  Richard Henderson  <rth@twiddle.net>
1668         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1669         adjusting the byte count.
1671 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1673         * conform/Makefile (linknamespace-libs): Define.
1675         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1676         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1677         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1678         operands.
1680 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1682         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1684 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1686         [BZ #21081]
1687         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1688         (L(stosb)): Add VZEROUPPER before ret.
1690 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1691             Alexey Makhalov <amakhalov@vmware.com>
1692             Florian Weimer <fweimer@redhat.com>
1694         [BZ #20116]
1695         * nptl/pthread_create.c: Document concurrency notes.
1696         Enhance thread creation notes.
1697         (create_thread): Use bool *stopped_start.
1698         (START_THREAD_DEFN): Comment ownership of PD.
1699         (__pthread_create_2_1): Add local bool stopped_start and use
1700         that instead of pd->stopped_start where appropriate.
1701         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1702         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1703         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1704         * nptl/tst-create-detached.c: New file.
1705         * nptl/Makefile (tests): Add tst-create-detached.
1706         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1707         Reference the enhanced thread creation notes.
1708         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1709         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1710         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1711         (__pthread_current_priority): Likewise.
1712         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1713         xpthread_attr_init, xpthread_attr_setdetachstate, and
1714         xpthread_attr_setstacksize.
1715         * support/xpthread_attr_destroy.c: New file.
1716         * support/xpthread_attr_init.c: New file.
1717         * support/xpthread_attr_setdetachstate.c: New file.
1718         * support/xpthread_attr_setstacksize.c: New file.
1719         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1720         xpthread_attr_init, xpthread_attr_setdetachstate, and
1721         xpthread_attr_setstacksize.
1723 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1725         * nptl/Makefile (tests): Add tst-robust-fork.
1726         * nptl/tst-robust-fork.c: New file.
1727         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1728         xpthread_mutex_consistent, xpthread_mutex_destroy,
1729         xpthread_mutex_init, xpthread_mutexattr_destroy,
1730         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1731         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1732         xpthread_mutexattr_settype.
1733         * support/xmmap.c: New file.
1734         * support/xmunmap.c: Likewise.
1735         * support/xpthread_mutex_consistent.c: Likewise.
1736         * support/xpthread_mutex_destroy.c: Likewise.
1737         * support/xpthread_mutex_init.c: Likewise.
1738         * support/xpthread_mutexattr_destroy.c: Likewise.
1739         * support/xpthread_mutexattr_init.c: Likewise.
1740         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1741         * support/xpthread_mutexattr_setpshared.c: Likewise.
1742         * support/xpthread_mutexattr_setrobust.c: Likewise.
1743         * support/xpthread_mutexattr_settype.c: Likewise.
1744         * support/xthread.h (xpthread_mutexattr_destroy)
1745         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1746         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1747         (xpthread_mutexattr_settype, xpthread_mutex_init)
1748         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1749         * support/xunistd.h (xmmap, xmunmap): Likewise.
1751 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1753         * string/Makefile (xtests): Add comment.
1754         (LOCALES): Add en_GB.UTF-8.
1755         (tst-strcoll-overflow.out): Depend on generated locales.
1756         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1757         (SIZE, TIMEOUT): Update comments.
1758         (do_test): Define as static.  Fail test if setlocale fails.
1759         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1760         messages.
1761         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1762         TIMEOUT at 300 seconds should be enough to run this test
1763         successfully.
1765 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1767         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1768         /* FALLTHRU */ comments.
1770 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1772         [BZ #21053]
1773         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1774         constants instead of the old R* ones.
1775         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1776         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1777         (NGREG): ... to this, to fit in with other architectures.
1778         (gpregset_t): Use new NGREG macro.
1779         [__USE_GNU]: Remove condition; all architectures other than tile
1780         are unconditional.
1781         (R*): Rename to REG_R*.
1783 2017-01-20  DJ Delorie  <dj@redhat.com>
1785         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1786         (tunable_set_val_if_valid_range_signed) ... this, and ...
1787         (tunable_set_val_if_valid_range_unsigned) ... this.
1788         (tunable_initialize): Call the correct one of the above based on type.
1790 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1792         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1793         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1794         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1795         * sysdeps/microblaze/libm-test-ulps: Likewise.
1796         * sysdeps/sh/libm-test-ulps: Likewise.
1798         * math/README.libm-test: Update list of characters for input and
1799         output types.
1801 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1803         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1804         (__lll_unlock_elision): Fix adapt_count decrement.
1806 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1808         * README.pretty-printers (Known issues): Warn about printers not
1809         always covering everything.
1810         * nptl/nptl-printers.py (MutexPrinter): Change output.
1811         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1813 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1815         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1816         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1817         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1818         (__lll_lock_elision): Do not test futex before starting a
1819         transaction.  Use __glibc_likely instead of __builtin_expect.
1820         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1821         (__lll_trylock_elision): Do not test futex before starting a
1822         transaction.  Use __glibc_likely instead of __builtin_expect.
1824 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1826         * po/Makefile (update-translations): New target.
1828 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1830         [BZ #21061]
1831         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1833 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1835         * elf/dl-tunables (get_next_env): Always advance envp.
1836         * stdlib/tst-empty-env.c: New test case.
1837         * stdlib/Makefile (tests): Use it.
1839 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1841         [BZ #21047]
1842         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1843         name for instruction.
1844         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1846 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1848         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1849         for make install.
1851 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1853         * po/bg.po: Merge from Translation Project.
1854         * po/fr.po: Likewise.
1855         * po/ko.po: Likewise.
1856         * po/nl.po: Likewise.
1857         * po/sv.po: Likewise.
1859 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1861         * manual/install.texi (Tools for Compilation): Update GCC version
1862         known to work to build glibc.
1863         * INSTALL: Regenerated.
1865 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1867         [BZ #21006]
1868         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1870 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1872         [BZ #21045]
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1874         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1875         to __sigprocmask.
1877 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1879         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1880         wrap-around.
1881         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1883         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1885 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1887         * NEWS: Fix typo.
1889 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1891         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1892         barriers and comments.
1893         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1894         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1895         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1897 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1899         [BZ #19402]
1900         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1901         mutexes.
1903 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1905         [BZ #20985]
1906         * nptl/Makefile: Adapt.
1907         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1908         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1909         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1910         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1911         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1912         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1913         lll_robust* functions and adapt.
1914         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1915         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1916         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1917         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1918         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1919         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1920         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1921         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1922         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1923         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1924         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1925         * nptl/lowlevelrobustlock.c: Remove file.
1926         * nptl/lowlevelrobustlock.sym: Likewise.
1927         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1928         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1930 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1932         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1934 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1936         * po/cs.po: Merge translations from the Translation Project.
1937         * po/de.po: Likewise.
1938         * po/pl.po: Likewise.
1939         * po/ru.po: Likewise.
1940         * po/tr.po: Likewise.
1941         * po/uk.po: Likewise.
1942         * po/vi.po: Likewise.
1943         * po/zh_CN.po: Likewise.
1945 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1947         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1949         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1950         object.
1952 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1954         [BZ #16458]
1955         * bits/uintn-identity.h: New file.
1956         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1957         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1958         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1959         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1960         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1961         * string/endian.h: Include <bits/uintn-identity.h>.
1962         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1963         __uint16_identity.
1964         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1965         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1966         __uint32_identity.
1967         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1968         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1969         __uint64_identity.
1970         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1971         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1972         __uint16_identity.
1973         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1974         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1975         __uint32_identity.
1976         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1977         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1978         __uint64_identity.
1979         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1980         * string/Makefile (headers): Add bits/uintn-identity.h.
1981         (tests): Add test-endian-types.
1982         * string/test-endian-types.c: New file.
1983         * inet/Makefile (tests): Add test-hnto-types.
1984         * inet/test-hnto-types.c: New file.
1986 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1988         * po/be.po: Update from Translation Project.
1989         * po/bg.po: Likewise.
1990         * po/ca.po: Likewise.
1991         * po/cs.po: Likewise.
1992         * po/da.po: Likewise.
1993         * po/de.po: Likewise.
1994         * po/el.po: Likewise.
1995         * po/eo.po: Likewise.
1996         * po/es.po: Likewise.
1997         * po/fi.po: Likewise.
1998         * po/fr.po: Likewise.
1999         * po/gl.po: Likewise.
2000         * po/hr.po: Likewise.
2001         * po/hu.po: Likewise.
2002         * po/ia.po: Likewise.
2003         * po/id.po: Likewise.
2004         * po/it.po: Likewise.
2005         * po/ja.po: Likewise.
2006         * po/ko.po: Likewise.
2007         * po/lt.po: Likewise.
2008         * po/nb.po: Likewise.
2009         * po/nl.po: Likewise.
2010         * po/pl.po: Likewise.
2011         * po/pt_BR.po: Likewise.
2012         * po/ru.po: Likewise.
2013         * po/rw.po: Likewise.
2014         * po/sk.po: Likewise.
2015         * po/sl.po: Likewise.
2016         * po/sv.po: Likewise.
2017         * po/tr.po: Likewise.
2018         * po/uk.po: Likewise.
2019         * po/vi.po: Likewise.
2020         * po/zh_CN.po: Likewise.
2021         * po/zh_TW.po: Likewise.
2023 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2025         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2026         -Wformat-truncation instead of -Wformat-length.
2027         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2028         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2029         GCC 7.
2030         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2031         (do_test): Ignore -Wformat-truncation for GCC 7.
2033         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2034         buffer used to print long int value.
2036         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2037         one byte.  Print it with %ld, cast to long int.
2039 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2041         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2042         (re.fullmatch, subprocess.run): Likewise.
2044 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2046         * po/libc.pot: Regenerate.
2048 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2050         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2051         (min_strlen): Likewise.
2052         (disable_tunable): Likewise.
2053         (maybe_disable_malloc_check): Rename to
2054         maybe_enable_malloc_check.
2055         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2056         if /etc/suid-debug file exists.
2057         (__tunables_init): Update caller.
2058         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2059         secure.
2061 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2063         * nptl/DESIGN-rwlock.txt: Remove.
2064         * nptl/lowlevelrwlock.sym: Remove.
2065         * nptl/Makefile: Add new tests.
2066         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2067         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2068         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2069         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2070         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2071         PTHREAD_RWLOCK_FUTEX_USED): New.
2072         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2073         implementation.
2074         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2075         (__pthread_rwlock_rdlock): Adapt.
2076         * nptl/pthread_rwlock_timedrdlock.c
2077         (pthread_rwlock_timedrdlock): Adapt.
2078         * nptl/pthread_rwlock_timedwrlock.c
2079         (pthread_rwlock_timedwrlock): Adapt.
2080         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2081         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2082         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2083         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2084         (__pthread_rwlock_wrlock): Adapt.
2085         * nptl/tst-rwlock10.c: Adapt.
2086         * nptl/tst-rwlock11.c: Adapt.
2087         * nptl/tst-rwlock17.c: New file.
2088         * nptl/tst-rwlock18.c: New file.
2089         * nptl/tst-rwlock19.c: New file.
2090         * nptl/tst-rwlock2b.c: New file.
2091         * nptl/tst-rwlock8.c: Adapt.
2092         * nptl/tst-rwlock9.c: Adapt.
2093         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2094         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2095         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2096         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2097         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2098         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2099         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2100         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2101         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2102         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2103         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2104         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2105         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2106         (pthread_rwlock_t): Adapt.
2107         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2108         (pthread_rwlock_t): Adapt.
2109         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2110         * nptl/nptl-printers.py (): Adapt.
2111         * nptl/nptl_lock_constants.pysym: Adapt.
2112         * nptl/test-rwlock-printers.py: Adapt.
2113         * nptl/test-rwlockattr-printers.c: Adapt.
2114         * nptl/test-rwlockattr-printers.py: Adapt.
2116 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2118         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2119         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2120         (fma_test_data): Likewise.
2121         (hypot_test_data): Likewise.
2122         (log1p_test_data): Likewise.
2123         (modf_test_data): Likewise.
2124         (pow_test_data): Likewise.
2125         (remainder_test_data): Likewise.
2126         (remquo_test_data): Likewise.
2127         (scalb_test_data): Likewise.
2128         (scalbn_test_data): Likewise.
2129         (scalbln_test_data): Likewise.
2130         * math/gen-libm-test.pl (parse_args): Transform
2131         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2132         on the rounding mode.
2134 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2136         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2137         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2138         and those that can underflow to zero.
2139         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2140         add others.
2141         * math/auto-libm-test-out: Regenerated.
2143         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2144         supported.
2145         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2146         modes support if not supported.
2148         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2149         Add libc.so PLT entry.
2150         (__tls_get_addr): Make ld.so PLT entry optional.
2152 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2154         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2155         * string/bits/string3.h: ... here.
2157 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2159         [BZ #21028]
2160         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2161         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2162         if EXCEPTION_TESTS returns false.
2164 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2166         [BZ #20558]
2167         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2168         strings_fortified.h.
2169         [__USE_MISC] (bzero): Likewise.
2170         [__USE_MISC] (explicit_bzero): Likewise.
2171         * string/strings.h: Include strings_fortified.h.
2172         * string/Makefile (headers): Add strings_fortified.h.
2173         * string/bits/strings_fortified.h: New file.
2174         * include/bits/strings_fortified.h: Likewise.
2176 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2178         * elf/tst-tls13.c (TIMEOUT): Remove.
2179         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2180         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2181         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2182         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2183         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2185         [BZ #21026]
2186         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2187         (readahead): New syscall entry.
2189 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2191         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2192         around tests of strncat with large sizes.
2194         * malloc/tst-malloc.c: Include <libc-internal.h>.
2195         (do_test): Disable -Walloc-size-larger-than= around tests of
2196         malloc with negative sizes.
2197         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2198         (do_test): Disable -Walloc-size-larger-than= around tests of
2199         malloc and realloc with negative sizes.
2200         * malloc/tst-realloc.c: Include <libc-internal.h>.
2201         (do_test): Disable -Walloc-size-larger-than= around tests of
2202         realloc with negative sizes.
2204         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2205         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2206         allowed to 16 ulps.
2207         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2208         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2209         * math/auto-libm-test-out: Regenerated.
2211 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2213         * math/Makefile (libm-calls): Move wrappers...
2214         (libm-compat-call-auto): Here.
2215         (libm-routines): Add items in libm-compat-calls-auto.
2216         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2217         the filenames of the wrappers that have been renamed.
2218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2221         * math/w_acos.c: Add _compat suffix to filename.
2222         * math/w_acosf.c: Likewise.
2223         * math/w_acosh.c: Likewise.
2224         * math/w_acoshf.c: Likewise.
2225         * math/w_acoshl.c: Likewise.
2226         * math/w_acosl.c: Likewise.
2227         * math/w_asin.c: Likewise.
2228         * math/w_asinf.c: Likewise.
2229         * math/w_asinl.c: Likewise.
2230         * math/w_atan2.c: Likewise.
2231         * math/w_atan2f.c: Likewise.
2232         * math/w_atan2l.c: Likewise.
2233         * math/w_atanh.c: Likewise.
2234         * math/w_atanhf.c: Likewise.
2235         * math/w_atanhl.c: Likewise.
2236         * math/w_cosh.c: Likewise.
2237         * math/w_coshf.c: Likewise.
2238         * math/w_coshl.c: Likewise.
2239         * math/w_exp10.c: Likewise.
2240         * math/w_exp10f.c: Likewise.
2241         * math/w_exp10l.c: Likewise.
2242         * math/w_exp2.c: Likewise.
2243         * math/w_exp2f.c: Likewise.
2244         * math/w_exp2l.c: Likewise.
2245         * math/w_fmod.c: Likewise.
2246         * math/w_fmodf.c: Likewise.
2247         * math/w_fmodl.c: Likewise.
2248         * math/w_hypot.c: Likewise.
2249         * math/w_hypotf.c: Likewise.
2250         * math/w_hypotl.c: Likewise.
2251         * math/w_j0.c: Likewise.
2252         * math/w_j0f.c: Likewise.
2253         * math/w_j0l.c: Likewise.
2254         * math/w_j1.c: Likewise.
2255         * math/w_j1f.c: Likewise.
2256         * math/w_j1l.c: Likewise.
2257         * math/w_jn.c: Likewise.
2258         * math/w_jnf.c: Likewise.
2259         * math/w_jnl.c: Likewise.
2260         * math/w_log10.c: Likewise.
2261         * math/w_log10f.c: Likewise.
2262         * math/w_log10l.c: Likewise.
2263         * math/w_log2.c: Likewise.
2264         * math/w_log2f.c: Likewise.
2265         * math/w_log2l.c: Likewise.
2266         * math/w_log.c: Likewise.
2267         * math/w_logf.c: Likewise.
2268         * math/w_logl.c: Likewise.
2269         * math/w_pow.c: Likewise.
2270         * math/w_powf.c: Likewise.
2271         * math/w_powl.c: Likewise.
2272         * math/w_remainder.c: Likewise.
2273         * math/w_remainderf.c: Likewise.
2274         * math/w_remainderl.c: Likewise.
2275         * math/w_scalb.c: Likewise.
2276         * math/w_scalbf.c: Likewise.
2277         * math/w_scalbl.c: Likewise.
2278         * math/w_sinh.c: Likewise.
2279         * math/w_sinhf.c: Likewise.
2280         * math/w_sinhl.c: Likewise.
2281         * math/w_sqrt.c: Likewise.
2282         * math/w_sqrtf.c: Likewise.
2283         * math/w_sqrtl.c: Likewise.
2284         * math/w_tgamma.c: Likewise.
2285         * math/w_tgammaf.c: Likewise.
2286         * math/w_tgammal.c: Likewise.
2288         * math/w_acos_compat.c: New file copied from above and
2289         adjusted for new #includes path
2290         * math/w_acosf_compat.c: Likewise.
2291         * math/w_acosh_compat.c: Likewise.
2292         * math/w_acoshf_compat.c: Likewise.
2293         * math/w_acoshl_compat.c: Likewise.
2294         * math/w_acosl_compat.c: Likewise.
2295         * math/w_asin_compat.c: Likewise.
2296         * math/w_asinf_compat.c: Likewise.
2297         * math/w_asinl_compat.c: Likewise.
2298         * math/w_atan2_compat.c: Likewise.
2299         * math/w_atan2f_compat.c: Likewise.
2300         * math/w_atan2l_compat.c: Likewise.
2301         * math/w_atanh_compat.c: Likewise.
2302         * math/w_atanhf_compat.c: Likewise.
2303         * math/w_atanhl_compat.c: Likewise.
2304         * math/w_cosh_compat.c: Likewise.
2305         * math/w_coshf_compat.c: Likewise.
2306         * math/w_coshl_compat.c: Likewise.
2307         * math/w_exp10_compat.c: Likewise.
2308         * math/w_exp10f_compat.c: Likewise.
2309         * math/w_exp10l_compat.c: Likewise.
2310         * math/w_exp2_compat.c: Likewise.
2311         * math/w_exp2f_compat.c: Likewise.
2312         * math/w_exp2l_compat.c: Likewise.
2313         * math/w_fmod_compat.c: Likewise.
2314         * math/w_fmodf_compat.c: Likewise.
2315         * math/w_fmodl_compat.c: Likewise.
2316         * math/w_hypot_compat.c: Likewise.
2317         * math/w_hypotf_compat.c: Likewise.
2318         * math/w_hypotl_compat.c: Likewise.
2319         * math/w_j0_compat.c: Likewise.
2320         * math/w_j0f_compat.c: Likewise.
2321         * math/w_j0l_compat.c: Likewise.
2322         * math/w_j1_compat.c: Likewise.
2323         * math/w_j1f_compat.c: Likewise.
2324         * math/w_j1l_compat.c: Likewise.
2325         * math/w_jn_compat.c: Likewise.
2326         * math/w_jnf_compat.c: Likewise.
2327         * math/w_jnl_compat.c: Likewise.
2328         * math/w_log10_compat.c: Likewise.
2329         * math/w_log10f_compat.c: Likewise.
2330         * math/w_log10l_compat.c: Likewise.
2331         * math/w_log2_compat.c: Likewise.
2332         * math/w_log2f_compat.c: Likewise.
2333         * math/w_log2l_compat.c: Likewise.
2334         * math/w_log_compat.c: Likewise.
2335         * math/w_logf_compat.c: Likewise.
2336         * math/w_logl_compat.c: Likewise.
2337         * math/w_pow_compat.c: Likewise.
2338         * math/w_powf_compat.c: Likewise.
2339         * math/w_powl_compat.c: Likewise.
2340         * math/w_remainder_compat.c: Likewise.
2341         * math/w_remainderf_compat.c: Likewise.
2342         * math/w_remainderl_compat.c: Likewise.
2343         * math/w_scalb_compat.c: Likewise.
2344         * math/w_scalbf_compat.c: Likewise.
2345         * math/w_scalbl_compat.c: Likewise.
2346         * math/w_sinh_compat.c: Likewise.
2347         * math/w_sinhf_compat.c: Likewise.
2348         * math/w_sinhl_compat.c: Likewise.
2349         * math/w_sqrt_compat.c: Likewise.
2350         * math/w_sqrtf_compat.c: Likewise.
2351         * math/w_sqrtl_compat.c: Likewise.
2352         * math/w_tgamma_compat.c: Likewise.
2353         * math/w_tgammaf_compat.c: Likewise.
2354         * math/w_tgammal_compat.c: Likewise.
2356         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
2357         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2358         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2359         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2360         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2361         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2362         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2363         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2364         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2365         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
2366         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
2367         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
2368         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2369         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2370         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2371         * sysdeps/ia64/fpu/w_powl.c: Likewise.
2372         * sysdeps/ia64/fpu/w_powf.c: Likewise.
2373         * sysdeps/ia64/fpu/w_pow.c: Likewise.
2374         * sysdeps/ia64/fpu/w_logl.c: Likewise.
2375         * sysdeps/ia64/fpu/w_logf.c: Likewise.
2376         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2377         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2378         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2379         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2380         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2381         * sysdeps/ia64/fpu/w_log10.c: Likewise.
2382         * sysdeps/ia64/fpu/w_log.c: Likewise.
2383         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2384         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2385         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2386         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2387         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2388         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2389         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2390         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2391         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2392         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2393         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2394         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2395         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2396         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2397         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2398         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2399         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2400         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2401         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2402         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2403         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2404         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2405         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2406         * sysdeps/ia64/fpu/w_asin.c: Likewise.
2407         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2408         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2409         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2410         * sysdeps/ia64/fpu/w_acos.c: Likewise.
2411         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2412         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2413         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2414         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
2415         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
2416         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
2417         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
2419         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
2421         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2422         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2423         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2424         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2425         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2426         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2427         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2428         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2429         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2430         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2431         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2432         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2433         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2434         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2435         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2436         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2437         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2439         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2440         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2441         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2442         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2443         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2445         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2446         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2447         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2448         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2449         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2451         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2453         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2455         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2457         Likewise.
2458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2459         Likewise.
2460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2462         Likewise.
2463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2464         Likewise.
2465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2467         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2470         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2471         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2476         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2477         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2478         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2479         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2481         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2482         and adjusted for new #includes path
2483         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2484         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2485         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2486         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2487         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2488         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2489         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2490         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2491         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2492         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2493         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2494         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2495         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2496         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2497         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2498         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2499         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2500         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2501         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2502         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2503         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2504         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2505         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2506         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2507         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2508         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2509         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2510         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2511         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2512         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2513         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2514         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2515         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2516         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2517         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2518         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2519         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2520         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2521         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2522         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2523         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2524         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2525         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2526         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2527         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2528         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2529         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2530         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2531         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2532         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2533         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2534         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2535         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2536         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2537         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2538         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2539         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2540         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2541         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2542         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2543         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2544         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2545         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2546         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2547         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2548         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2549         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2550         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2551         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2552         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2553         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2554         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2555         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2556         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2557         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2558         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2559         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2560         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2561         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2562         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2563         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2564         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2565         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2566         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2567         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2568         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2569         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2570         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2571         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2572         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2573         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2574         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2575         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2576         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2577         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2578         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2579         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2580         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2581         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2583         Likewise.
2584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2585         Likewise.
2586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2587         Likewise.
2588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2589         Likewise.
2590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2591         Likewise.
2592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2593         Likewise.
2594         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2595         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2596         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2597         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2598         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2599         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2601         Likewise.
2602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2603         Likewise.
2604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2605         Likewise.
2606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2607         Likewise.
2608         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2610         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2611         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2613 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2615         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2616         __jmp_buf_internal_tag.
2618         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2619         preserve NaN payload if [__mips_nan2008].
2620         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2622         [BZ #21022]
2623         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2625 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2627         * sysdeps/i386/fpu/libm-test-ulps: Update.
2629 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2631         * sysdeps/ia64/strcat.c: Remove file.
2632         * sysdeps/powerpc/strcat.c: Likewise.
2633         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2634         C implementation.
2635         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2636         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2638 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2639             Steven Munroe  <sjmunroe@us.ibm.com>
2640             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2642         [BZ #20822]
2643         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2644         (__lll_lock_elision): Access adapt_count via C11 atomics.
2645         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2646         (__lll_trylock_elision): Likewise.
2647         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2648         (__lll_unlock_elision):  Update adapt_count variable inside the
2649         critical section using C11 atomics.
2651 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2653         * math/test-fenvinline.c (do_test): Disable tests of raised
2654         exceptions if !EXCEPTION_TESTS (FLOAT).
2656 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2658         [BZ #19390]
2659         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2660         maximum string size.
2661         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2662         in pointer addition.
2663         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2664         Likewise.
2666 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2668         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2669         passed to tst-ldconfig-X.sh.
2671 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2673         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2675 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2677         [BZ #21019]
2678         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2679         New syscall entry.
2680         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2681         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2682         lseek.
2684         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2685         power4 glibc for powerpc-linux-gnu.
2687 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2689         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2690         semctl.
2692 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2694         * math/test-nearbyint-except.c: Include <stdbool.h>.
2695         (any_supported): New variable.
2696         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2697         set any_supported.
2698         (do_test): Return 77 if no floating-point type supported
2699         exceptions.
2701         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2702         condition on [__mips_hard_float].
2704 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2706         [BZ #21014]
2707         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2708         in pointer addition.
2709         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2711 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2713         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2714         new condvar.
2716 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2718         * scripts/build-many-glibcs.py (Context.checkout): Default
2719         binutils version to 2.28 branch.
2721 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2723         * support/support_format_netent.c (support_format_netent): Work
2724         around alpha struct netent definition difference.
2726 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2728         * support/xwrite.c (xwrite): Use %td for pointer difference.
2730 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2732         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2733         have-tunables only.
2734         (tests-static): Add tst-malloc-usable-static-tunables for
2735         have-tunables only.
2737 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2739         * scripts/config.guess: Update to version 2017-01-01.
2740         * scripts/config.sub: Update to version 2017-01-01.
2742         * NEWS: Update copyright dates.
2743         * catgets/gencat.c (print_version): Likewise.
2744         * csu/version.c (banner): Likewise.
2745         * debug/catchsegv.sh: Likewise.
2746         * debug/pcprofiledump.c (print_version): Likewise.
2747         * debug/xtrace.sh (do_version): Likewise.
2748         * elf/ldconfig.c (print_version): Likewise.
2749         * elf/ldd.bash.in: Likewise.
2750         * elf/pldd.c (print_version): Likewise.
2751         * elf/sotruss.sh: Likewise.
2752         * elf/sprof.c (print_version): Likewise.
2753         * iconv/iconv_prog.c (print_version): Likewise.
2754         * iconv/iconvconfig.c (print_version): Likewise.
2755         * locale/programs/locale.c (print_version): Likewise.
2756         * locale/programs/localedef.c (print_version): Likewise.
2757         * login/programs/pt_chown.c (print_version): Likewise.
2758         * malloc/memusage.sh (do_version): Likewise.
2759         * malloc/memusagestat.c (print_version): Likewise.
2760         * malloc/mtrace.pl: Likewise.
2761         * manual/libc.texinfo: Likewise.
2762         * nptl/version.c (banner): Likewise.
2763         * nscd/nscd.c (print_version): Likewise.
2764         * nss/getent.c (print_version): Likewise.
2765         * nss/makedb.c (print_version): Likewise.
2766         * posix/getconf.c (main): Likewise.
2767         * scripts/test-installation.pl: Likewise.
2768         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2770         * All files with FSF copyright notices: Update copyright dates
2771         using scripts/update-copyrights.
2772         * intl/plural.c: Regenerated.
2773         * locale/programs/charmap-kw.h: Likewise.
2774         * locale/programs/locfile-kw.h: Likewise.
2776 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2778         [BZ #20593]
2779         Update DNS RR type definitions.
2780         * scripts/gen-rrtypes.py: New file.
2781         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2782         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2783         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2784         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2785         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2786         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2787         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2788         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2789         ns_t_ta, ns_t_dlv.
2790         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2791         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2792         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2793         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2794         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2795         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2796         Define.
2797         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2798         entry for ns_t_zxfr.
2800 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2802         [BZ #18784]
2803         CVE-2015-5180
2804         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2805         T_UNSPEC.  Adjust value.
2806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2807         * resolv/res_query.c (__libc_res_nquery): Likewise.
2808         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2809         QTYPEs.
2810         * resolv/tst-resolv-qtypes.c: New file.
2811         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2812         (tst-resolv-qtypes): Link against libresolv and libpthread.
2814 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2816         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2818 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2820         * manual/tunables.texi: New chapter.
2821         * manual/Makefile (chapters): Add it.
2822         * manual/probes.texi (@node): Point to the Tunables chapter.
2824         * Makeconfig (have-tunables): Check for non-negative instead
2825         of positive.
2826         * configure.ac: Add 'valstring' as a valid value for
2827         --enable-tunables.
2828         * configure: Regenerate.
2829         * elf/Makefile (have-tunables): Check for non-negative instead
2830         of positive.
2831         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2832         dl-tunables.c.
2833         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2834         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2835         (tunables_strdup): Likewise.
2836         (disable_tunables): Likewise.
2837         (parse_tunables): Likewise.
2838         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2839         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2840         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2841         (TUNABLES_FRONTEND_yes): New macro, define as
2842         TUNABLES_FRONTEND_valstring by default.
2843         * manual/install.texi: Document new acceptable values for
2844         --enable-tunables.
2845         * INSTALL: Regenerate.
2847         * config.make.in (have-loop-to-function): Define.
2848         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2849         -fno-tree-loop-distribute-patterns.
2850         * elf/dl-tunables.c: Include libc-internals.h.
2851         (GLIBC_TUNABLES): New macro.
2852         (tunables_strdup): New function.
2853         (parse_tunables): New function.
2854         (min_strlen): New function.
2855         (__tunables_init): Use the new functions and macro.
2856         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2857         * malloc/tst-malloc-usable-tunables.c: New test case.
2858         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2859         * malloc/Makefile (tests, tests-static): Add tests.
2861         * manual/install.texi: Add --enable-tunables option.
2862         * INSTALL: Regenerate.
2863         * README.tunables: New file.
2864         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2865         (before-compile): Generate dl-tunable-list.h early.
2866         * config.h.in: Add HAVE_TUNABLES.
2867         * config.make.in: Add have-tunables.
2868         * configure.ac: Add --enable-tunables option.
2869         * configure: Regenerate.
2870         * csu/init-first.c (__libc_init_first): Move
2871         __libc_init_secure earlier...
2872         * csu/init-first.c (LIBC_START_MAIN):... to here.
2873         Include dl-tunables.h, libc-internal.h.
2874         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2875         binaries.
2876         * elf/Makefile (dl-routines): Add dl-tunables.
2877         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2878         namespace.
2879         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2880         only when !HAVE_TUNABLES.
2881         * elf/rtld.c (process_envvars): Likewise.
2882         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2883         (_dl_sysdep_start): Call __tunables_init.
2884         * elf/dl-tunable-types.h: New file.
2885         * elf/dl-tunables.c: New file.
2886         * elf/dl-tunables.h: New file.
2887         * elf/dl-tunables.list: New file.
2888         * malloc/tst-malloc-usable-static.c: New test case.
2889         * malloc/Makefile (tests-static): Add it.
2890         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2891         Define TUNABLE_NAMESPACE.
2892         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2893         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2894         callback functions.
2895         (ptmalloc_init): Set tunable values.
2896         * scripts/gen-tunables.awk: New file.
2897         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2898         (_dl_sysdep_start): Call __tunables_init.
2900 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2902         * resolv/resolv.h (RES_BLAST): Deprecate.
2903         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2904         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2905         to RES_BLAST.
2907 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2909         [BZ #19582]
2910         Deprecate RES_USE_INET6.
2911         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2912         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2913         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2914         RES_USE_INET6.
2915         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2916         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2917         (_nss_nisplus_gethostbyaddr_r): Likewise.
2918         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2919         of res_use_inet6.
2920         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2921         instead of RES_USE_INET6.
2922         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2923         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2924         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2925         Likewise.
2926         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2927         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2928         Likewise.
2929         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2930         (_nss_dns_gethostbyname_r): Likewise.
2931         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2932         alternate RES_USE_INET6 handling.
2933         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2934         instead of RES_USE_INET6.
2935         * resolv/res_init.c (res_setoptions): Likewise.
2936         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2937         * resolv/resolv-internal.h: New file.
2938         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2939         make the deprecation warning non-fatal.
2940         * resolv/README (Using the resolver in multi-threaded code): Drop
2941         reference to RES_USE_INET6.
2942         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2943         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2945 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2947         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2948         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2949         tst-resolv-search.
2950         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2951         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2952         with libresolv and libpthread.
2953         * resolv/tst-bug18665.c: New file.
2954         * resolv/tst-bug18665-tcp: Likewise.
2955         * resolv/tst-res_use_inet6: Likewise.
2956         * resolv/tst-resolv-basic: Likewise.
2957         * resolv/tst-resolv-network: Likewise.
2958         * resolv/tst-resolv-search: Likewise.
2959         * support/Makefile (libsupport-routines): Add check_addrinfo,
2960         check_dns_packet, check_hostent, check_netent, resolv_test,
2961         support_format_address_family, support_format_addrinfo,
2962         support_format_dns_packet, support_format_herrno,
2963         support_format_hostent, support_format_netent, support_run_diff,
2964         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2965         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2966         xstrdup, xwrite.
2967         * support/check_addrinfo.c: New file.
2968         * support/check_dns_packet.c: Likewise.
2969         * support/check_hostent.c: Likewise.
2970         * support/check_netent.c: Likewise.
2971         * support/check_nss.h: Likewise.
2972         * support/format_nss.h: Likewise.
2973         * support/resolv_test.c: Likewise.
2974         * support/resolv_test.h: Likewise.
2975         * support/run_diff.h: Likewise.
2976         * support/support_format_address_family.c: Likewise.
2977         * support/support_format_addrinfo.c: Likewise.
2978         * support/support_format_dns_packet.c: Likewise.
2979         * support/support_format_herrno.c: Likewise.
2980         * support/support_format_hostent.c: Likewise.
2981         * support/support_format_netent.c: Likewise.
2982         * support/support_run_diff.c: Likewise.
2983         * support/xaccept.c: Likewise.
2984         * support/xbind.c: Likewise.
2985         * support/xconnect.c: Likewise.
2986         * support/xfclose.c: Likewise.
2987         * support/xfopen.c: Likewise.
2988         * support/xgetsockname.c: Likewise.
2989         * support/xlisten.c: Likewise.
2990         * support/xmemstream.c: Likewise.
2991         * support/xmemstream.h: Likewise.
2992         * support/xpoll.c: Likewise.
2993         * support/xpthread_once.c: Likewise.
2994         * support/xrecvfrom.c: Likewise.
2995         * support/xsendto.c: Likewise.
2996         * support/xsetsockopt.c: Likewise.
2997         * support/xstdio.h: Likewise.
2998         * support/xstrdup.c: Likewise.
2999         * support/support.h (xstrdup): Declare.
3000         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
3001         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
3002         * support/xthread.h (xpthread_once): Likwise.
3003         * support/xunistd.h (xwrite): Declare.
3005 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3007         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3008         (test_verbose): Declare.
3009         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3010         * support/support_test_main.c (default_options): Likewise.
3011         (usage, support_test_main): Handle 'v'.
3012         (test_verbose): Define.
3013         * support/tst-support_record_failure.c (do_test): Use
3014         test_verbose.
3015         * support/tst-support_record_failure-2.sh (different_status): Add
3016         --verbose test.
3018 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3020         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3021         test failures are recorded.
3022         * support/check.c (support_print_failure_impl): Call
3023         support_record_failure.
3024         (support_exit_failure_impl): Call support_record_failure if status
3025         indicates failure.
3026         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3027         * support/xasprintf.c (xasprintf): Likewise.
3028         * support/xfork.c (xfork): Likewise.
3029         * support/xpthread_check_return.c (xpthread_check_return):
3030         Likewise.
3031         * support/xsocket.c (xsocket): Likeweise.
3032         * support/xwaitpid.c (xwaitpid): Likewise.
3033         * support/support_record_failure.c (struct test_failures): Adjust
3034         to coding style.
3035         * support/support_test_verify_impl.c (support_test_verify_impl):
3036         Adjust error messages.
3037         * support/tst-support_record_failure-2.sh (different_status):
3038         Adjust error messages.
3040 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3042         * support/namespace.h: New file.
3043         * support/support_become_root.c: Likewise.
3044         * support/support_enter_network_namespace.c: Likewise.
3045         * support/tst-support-namespace.c: Likewise.
3046         * support/xsocket.c: Likewise.
3047         * support/xsocket.h: Likewise.
3048         * support/Makefile (libsupport-routines): Add support_become_root,
3049         support_enter_network_namespace, xsocket.
3050         (tests): Add tst-support-namespace.
3052 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3054         [BZ #17252]
3055         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3056         __USE_GNU.
3058 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3060         [BZ #13165]
3061         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3062         use new algorithm.
3063         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3064         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3065         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3066         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3067         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3068         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3069         __condvar_cleanup_waiting, __condvar_dec_grefs,
3070         __pthread_cond_wait_common): New.
3071         (__condvar_cleanup): Remove.
3072         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3073         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3074         Likewise.
3075         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3076         Likewise.
3077         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3078         * nptl/tst-cond1.c: Add comment.
3079         * nptl/tst-cond20.c (do_test): Adapt.
3080         * nptl/tst-cond22.c (do_test): Likewise.
3081         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3082         structure.
3083         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3084         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3085         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3086         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3087         Likewise.
3088         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3089         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3090         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3091         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3092         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3093         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3094         Likewise.
3095         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3096         Likewise.
3097         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3098         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3099         (COND_CLOCK_BITS): Adapt.
3100         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3101         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3102         __PTHREAD_COND_SHARED_MASK): New.
3103         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3104         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3105         * nptl/nptl_lock_constants.pysym: Adapt.
3106         * nptl/test-cond-printers.py: Adapt.
3107         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3108         cond_compat_check_and_clear): Adapt.
3109         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3110         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3111         (__pthread_cond_timedwait): ... and move here.
3112         * nptl/DESIGN-condvar.txt: Remove file.
3113         * nptl/lowlevelcond.sym: Likewise.
3114         * nptl/pthread_cond_timedwait.c: Likewise.
3115         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3116         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3117         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3118         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3119         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3120         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3121         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3122         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3123         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3124         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3126         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3127         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3128         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3129         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3130         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3132 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3134         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3135         (fromfp): New declaration.
3136         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3139         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3144         * math/math.h: Include <bits/types.h>.
3145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3146         constant and macro.
3147         (FP_INT_DOWNWARD): Likewise.
3148         (FP_INT_TOWARDZERO): Likewise.
3149         (FP_INT_TONEARESTFROMZERO): Likewise.
3150         (FP_INT_TONEAREST): Likewise.
3151         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3152         (fromfpf): Likewise.
3153         (fromfpl): Likewise.
3154         (ufromfp): Likewise.
3155         (ufromfpf): Likewise.
3156         (ufromfpl): Likewise.
3157         (fromfpx): Likewise.
3158         (fromfpxf): Likewise.
3159         (fromfpxl): Likewise.
3160         (ufromfpx): Likewise.
3161         (ufromfpxf): Likewise.
3162         (ufromfpxl): Likewise.
3163         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3164         s_fromfpxF and s_ufromfpxF.
3165         * math/gen-fromfp-tests.py: New file.
3166         * math/gen-fromfp-tests-inputs: Likewise.
3167         * math/libm-test.inc: Include <stdint.h>
3168         (check_intmax_t): New function.
3169         (check_uintmax_t): Likewise.
3170         (struct test_fiu_M_data): New type.
3171         (struct test_fiu_U_data): Likewise.
3172         (RUN_TEST_fiu_M): New macro.
3173         (RUN_TEST_LOOP_fiu_M): Likewise.
3174         (RUN_TEST_fiu_U): Likewise.
3175         (RUN_TEST_LOOP_fiu_U): Likewise.
3176         (fromfp_test_data): New array.
3177         (fromfp_test): New function.
3178         (fromfpx_test_data): New array.
3179         (fromfpx_test): New function.
3180         (ufromfp_test_data): New array.
3181         (ufromfp_test): New function.
3182         (ufromfpx_test_data): New array.
3183         (ufromfpx_test): New function.
3184         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3185         ufromfpx_test.
3186         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3187         characters.
3188         * math/test-tgmath-ret.c: Include <stdint.h>.
3189         (rm): New variable.
3190         (width): Likewise.
3191         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3192         called function.
3193         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3194         CHECK_RET_CONST_TYPE.
3195         (CHECK_RET_CONST_DOUBLE): Likewise.
3196         (CHECK_RET_CONST_LDOUBLE): Likewise.
3197         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3198         macros.
3199         (fromfp): New CHECK_RET_CONST call.
3200         (ufromfp): Likewise.
3201         (fromfpx): Likewise.
3202         (ufromfpx): Likewise.
3203         (do_test): Call check_return_fromfp, check_return_ufromfp,
3204         check_return_fromfpx and check_return_ufromfpx.
3205         * math/test-tgmath.c: Include <stdint.h>
3206         (NCALLS): Increase to 138.
3207         (F(compile_test)): Initialize i.  Call fromfp functions.
3208         (F(fromfp)): New function.
3209         (F(fromfpx)): Likewise.
3210         (F(ufromfp)): Likewise.
3211         (F(ufromfpx)): Likewise.
3212         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3213         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3214         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3215         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3216         ufromfpxl.
3217         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3218         ufromfp and ufromfpx.
3219         * math/fromfp.h: New file.
3220         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3221         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3222         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3223         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3224         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3225         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3226         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3227         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3228         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3229         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3230         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3231         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3232         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3233         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3234         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3235         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3236         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3237         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3238         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3239         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3240         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3241         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3242         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3243         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3244         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3245         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3246         ufromfp, fromfpx and ufromfpx.
3247         (CFLAGS-nldbl-fromfp.c): New variable.
3248         (CFLAGS-nldbl-fromfpx.c): Likewise.
3249         (CFLAGS-nldbl-ufromfp.c): Likewise.
3250         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3251         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3252         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3253         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3254         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3255         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3256         * sysdeps/nacl/libm.abilist: Update.
3257         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3258         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3259         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3260         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3261         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3262         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3263         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3264         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3265         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3266         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3267         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3268         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3270         Likewise.
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3272         Likewise.
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3274         Likewise.
3275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3278         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3280         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3281         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3283         Likewise.
3284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3285         Likewise.
3286         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3287         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3288         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3290 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3292         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3293         compat-gethnamaddr.
3294         (CPPFLAGS): Remove.
3295         * resolv/gethnamaddr.c: Rename ...
3296         * resolv/compat-gethnamaddr.c: ... to this file.
3297         (_endhtent): Make static.
3298         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3299         symbol.
3300         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3301         compat symbol.
3302         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3303         symbol.
3304         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3305         Turn into compat symbol.
3306         * include/resolv.h (_endhtent): Remove declaration.
3308 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3310         * bits/types.h (__intmax_t): New typedef.
3311         (__uintmax_t): Likewise.
3312         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3313         (intmax_t): Define using __intmax_t.
3314         (uintmax_t): Define using __uintmax_t.
3316         * support/Makefile (tests-special): Make definition conditional on
3317         [$(run-built-tests) = yes].
3318         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3319         on [$(run-built-tests) = yes].
3321 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3323         * Rules (tests): Add tests-printers-programs to tests to be
3324         built.
3326 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3328         * sysvipc/Makefile (tests): Add test-sysvshm.
3329         * sysvipc/test-sysvshm.c: New file.
3331         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3332         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3333         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3334         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3335         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3336         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3337         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3338         Likewise.
3339         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3340         Likewise.
3341         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3342         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3343         is defined.
3345         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
3346         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
3347         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
3348         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
3349         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
3350         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
3351         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
3352         Likewise.
3353         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
3354         Likewise.
3355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
3356         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
3357         defined.
3359         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3360         oldshmctl.
3361         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
3362         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
3363         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
3364         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
3365         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
3366         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
3367         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
3368         Likewise.
3369         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
3370         Likewise.
3371         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
3372         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
3373         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
3374         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
3375         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
3376         implementation.
3377         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
3378         if it is defined.
3380         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
3381         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
3382         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
3383         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
3384         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
3385         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
3386         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
3389         Likewise.
3390         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
3391         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3392         Define to __NR_osf_shmat.
3393         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
3394         defined.
3396         * sysvipc/Makefile (tests): Add test-sysvsem.
3397         * sysvipc/test-sysvsem.c: New file.
3399         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
3400         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
3401         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
3402         Likewise.
3403         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
3404         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
3405         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
3406         Likewise.
3407         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
3408         Likewise.
3409         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
3410         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
3411         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
3412         add a comment about s390 syscall difference from default one.
3413         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
3414         syscall if it is defined.
3416         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
3417         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
3418         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
3419         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
3420         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
3421         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3422         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3423         Likewise.
3424         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3425         Likewise.
3426         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3427         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3428         defined.
3430         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3431         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3432         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3433         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3434         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3435         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3436         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3437         Likewise.
3438         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3439         Likewise.
3440         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3441         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3442         if it is defined.
3444         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3445         oldsemctl.
3446         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3447         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3448         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3449         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3450         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3451         implementation.
3452         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3453         syscall if it is defined.
3454         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3455         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3456         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3457         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3458         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3459         Likewise.
3460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3462         * sysvipc/Makefile (tests): Add test-sysvmsg.
3463         * sysvipc/test-sysvmsg.c: New file.
3464         * support/check.h (FAIL_UNSUPPORTED): New define.
3466         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3467         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3468         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3469         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3470         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3471         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3472         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3473         Likewise.
3474         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3475         Likewise.
3476         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3477         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3478         define.
3480         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3481         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3482         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3483         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3484         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3485         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3486         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3487         Likewise.
3488         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3489         Likewise.
3490         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3491         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3492         if defined.
3494         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3495         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3496         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3497         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3498         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3499         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3500         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3501         Likewise.
3502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3503         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3504         Likewise.
3505         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3506         if defined.
3507         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3509         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3510         oldmsgctl.
3511         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3512         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3513         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3514         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3515         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3516         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3517         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3518         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3519         Likewise.
3520         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3521         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3522         implementation.
3523         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3524         if defined.
3526         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3527         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3528         definition and define its own.
3529         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3530         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3531         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3532         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3533         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3534         definitions to common header.
3535         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3536         operation from ipc_ops.h.
3538         * sysdeps/unix/sysv/linux/kernel-features.h
3539         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3540         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3541         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3542         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3543         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3545         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3546         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3547         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3548         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3549         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3550         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3551         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3552         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3553         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3555 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3557         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3558         overflow in pointer addition.
3560 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3562         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3563         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3565         (strchr): Add __strchr_power8 to list of strchr functions.
3566         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3567         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3568         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3569         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3570         (strchr): Add __strchr_power8 to ifunc list.
3571         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3572         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3573         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3574         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3576 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3578         * support/Makefile (libsupport-routines): Add
3579         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3580         (tests): Add tst-support_record_failure.
3581         (tests-special): tst-support_record_failure-2.
3582         (tst-support_record_failure-2.out): Depend on
3583         tst-support_record_failure-2.sh and tst-support_record_failure.
3584         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3585         (support_test_verify_impl, support_record_failure)
3586         (support_report_failure, support_report_failure_reset): Declare.
3587         * support/support_test_main.c (adjust_exit_status): New function.
3588         (support_test_main): Call it to incorporate record test failures.
3589         * support/support_test_verify_impl.c: New file.
3590         * support/support_record_failure.c: Likewise.
3591         * support/tst-support_record_failure.c: Likewise.
3592         * support/tst-support_record_failure-2.sh: Likewise.
3593         * support/xunistd.h: Likewise.
3594         * support/xfork.c: Likewise.
3595         * support/xwaitpid.c: Likewise.
3597 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3599         * scripts/check-c++-types.sh: Add comments.
3601 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3603         [BZ #19514]
3604         * resolv/res_send.c: Fix typo in comment.
3605         * sysdeps/i386/i386-mcount.S: Likewise.
3606         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3607         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3608         * sysdeps/sparc/sparc-mcount.S: Likewise.
3610 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3612         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3613         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3614         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3615         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3616         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3617         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3618         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3619         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3621 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3623         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3625 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3627         [BZ #17252]
3628         * posix/unistd.h (getentropy): Declare.
3630 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3632         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3633         Remove.
3634         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3635         (cmd): Remove spoof, nospoof, spoofalert.
3636         (parse_line): Ignore spoof-related lines.
3637         (do_init): Do not process RESOLV_SPOOF_CHECK.
3639 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3641         [BZ #20964]
3642         sunrpc: Always obtain AF_INET addresses from NSS.
3643         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3644         * sunrpc/rpc_gethostbyname.c: New file.
3645         * sunrpc/Makefile (routines): Add it.
3646         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3647         * sunrpc/clnt_simp.c (callrpc): Likewise.
3648         * sunrpc/getrpcport.c (getrpcport): Likewise.
3650 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3652         * sunrpc/rpcinfo.c: Remove.
3653         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3655 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3657         [BZ# 19387]
3658         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3659         addition.
3660         * string/test-memchr.c (do_test): Remove alignment limitation.
3661         (test_main): Add test that trigger BZ# 19387.
3663 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3665         [BZ #7065]
3666         Enable stack protectore if requested by ./configure.
3667         * Makeconfig (+stack-protector): New variable.
3668         (+cflags): Use it.
3670 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3672         [BZ #7065]
3673         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3674         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3675         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3676         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3677         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3679 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3681         [BZ #7065]
3682         * login/Makefile (pt_chown-cflags): Remove.
3683         * nscd/Makefile (CFLAGS-nscd): Likewise.
3684         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3686 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3688         [BZ #7065]
3689         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3690         non-libc-linking testcase.
3692 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3693             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3694             Florian Weimer  <fweimer@redhat.com>
3696         [BZ #7065]
3697         PLT avoidance for __stack_chk_fail*.
3698         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3699         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3700         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3701         __stack_chk_fail_local alias.
3702         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3703         (__stack_chk_fail): Turn into hidden reference to
3704         __stack_chk_fail_local.
3706 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3708         [BZ #7065]
3709         * configure.ac: Add check for unsupported stack-protection level.
3710         (libc_cv_predef_stack_protector): Remove.
3711         (no_ssp): New variable.
3712         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3713         (stack_protector): Set to -fno-stack-protector similarly.
3714         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3715         (libc_cv_asm_set_directive): Likewise.
3716         (libc_cv_protected_data): Likewise.
3717         (libc_cv_z_combreloc): Likewise.
3718         (libc_cv_hashstyle): Likewise.
3719         (libc_cv_has_glob_dat): Likewise.
3720         (libc_cv_output_format): Likewise.
3721         (libc_cv_output_format): Likewise.
3722         (libc_cv_ehdr_start): Likewise.
3723         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3724         (LIBC_LINKER_FEATURE): Likewise.
3725         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3727 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3729         [BZ #7065]
3730         * elf/Makefile (dummy-stack-chk-fail): New.
3731         (librtld.map): Use it.
3733 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3735         [BZ #7065]
3736         Compile the dynamic linker without stack protection.
3737         * elf/Makefile (elide-stack-protector): New.
3738         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3739         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3740         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3741         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3743 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3745         [BZ #7065]
3746         * config.make.in (have-ssp, no-stack-protector): New.
3747         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3748         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3749         (CFLAGS-sbrk.op): Likewise.
3750         (CFLAGS-brk.o): Likewise.
3751         (CFLAGS-brk.op): Likewise.
3752         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3753         (CFLAGS-wordcopy.c): Likewise.
3755 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3757         [BZ #7065]
3758         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3759         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3760         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3761         (__ifunc_resolver): Use it.
3762         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3763         inhibit_stack_protector.
3764         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3765         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3766         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3767         (foo_protected_ifunc): Likewise.
3768         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3769         (foo_protected_ifunc): Likewise.
3770         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3771         * sysdeps/nacl/nacl_interface_query.c
3772         (nacl_interface_query_ifunc): Likewise.
3773         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3774         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3775         Likewise.
3776         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3777         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3778         the generated vDSO syscall resolver.
3780 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3781             Florian Weimer  <fweimer@redhat.com>
3783         [BZ #7065]
3784         Initialize the stack guard earlier when linking statically.
3785         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3786         (__pthread_initialize_minimal): Declare.
3787         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3788         declaration.
3789         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3790         stack canary and apply_irel initialization up.  Call
3791         __pthread_initialize_minimal only if linked in.
3792         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3793         constant values.
3794         (__pthread_initialize_minimal): Remove.
3795         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3796         (__pthread_initialize_minimal_internal): Do not call
3797         __libc_setup_tls.
3799 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3801         [BZ #7065]
3802         * configure.ac (libc_cv_ssp): Move up.
3803         (libc_cv_ssp_strong): Likewise.
3804         (libc_cv_ssp_all): New.
3805         (stack_protector): Augment, adding -fstack-protector-all.
3806         (no_stack_protector): New.
3807         (STACK_PROTECTOR_LEVEL): New.
3808         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3809         * manual/install.texi (--enable-stack-protector): Document it.
3810         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3812 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3814         * README.pretty-printers: Must specify CPPFLAGS-* also.
3815         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3816         (CPPFLAGS-test-mutex-printers.c): Define.
3817         (CPPFLAGS-test-condattr-printers.c): Define.
3818         (CPPFLAGS-test-cond-printers.c): Define.
3819         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3820         (CPPFLAGS-test-rwlock-printers.c): Define.
3822         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3823         (tests): Add tst-cancel-getpwuid_r.
3824         * nss/tst-cancel-getpwuid_r.c: New file.
3826         [BZ #11941]
3827         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3828         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3829         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3830         tst-nodelete-dlclose.
3831         (modules-names): Add tst-nodelete-dlclose-dso and
3832         tst-nodelete-dlclose-plugin.
3833         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3834         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3835         ($(objpfx)tst-nodelete-dlclose): Define.
3836         ($(objpfx)tst-nodelete-dlclose.out): Define.
3838 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3840         * scripts/test_printers_common.py: Log GDB output in case of
3841         Python detection failure.
3843 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3845         * configure.ac: Check for python3 or python.
3846         * configure: Regenerated.
3847         * config.make.in (PYTHON): New variable.
3848         * benchtests/Makefile: Don't define PYTHON.
3849         (bench): Define target only if PYTHON was defined.
3850         * Rules: Don't define PYTHON.
3851         Define pretty printer targets only if PYTHON was defined.
3852         (tests-printers): Add to tests-unsupported if PYTHON is not
3853         found.
3854         (python-flags, python-invoke): Remove.
3855         (tests-printers-out): Use PYTHON instead of python-invoke.
3857 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3859         [BZ #20978]
3860         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3861         Compare name == NULL, not name != NULL.
3863         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3864         trailing whitespace removed.
3865         * scripts/config.guess: Update to version 2016-10-02.
3866         * scripts/config.sub: Update to version 2016-11-19.
3867         * scripts/install-sh: Update to version 2016-01-11.22.
3868         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3869         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3871 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3873         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3874         (do_one_test) Restore original string so iteration works.
3875         * string/string-inlines.c (do_test): Create better input strings.
3876         (test_main) Reduce number of testruns.
3877         * string/string-inlines.c (__old_strsep_1c): New function.
3878         (__old_strsep_2c): Likewise.
3879         (__old_strsep_3c): Likewise.
3880         * string/strsep.c (__strsep): Remove case of small delim string.
3881         Call strcspn directly rather than strpbrk.
3882         * string/bits/string2.h (__strsep): Remove define.
3883         (__strsep_1c): Remove.
3884         (__strsep_2c): Remove.
3885         (__strsep_3c): Remove.
3886         (strsep): Remove.
3887         * sysdeps/unix/sysv/linux/internal_statvfs.c
3888         (__statvfs_getflags): Rename to __strsep.
3890 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3892         * csu/libc-tls.c (_dl_tls_setup): Remove.
3893         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3894         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3895         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3897 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3899         [BZ #7065]
3900         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3901         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3903 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3904             Florian Weimer  <fweimer@redhat.com>
3906         [BZ #7065]
3907         * csu/Makefile (tests): Empty assignment and document it.
3908         (tests-static): Remove.
3909         * csu/tst-empty.c: Move to...
3910         * misc/tst-empty.c: ... here.  Switch to new test driver.
3911         * csu/tst-atomic.c: Move to...
3912         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3913         * csu/tst-atomic-long.c: Move to...
3914         * misc/tst-atomic-long.c: ... here.
3915         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3916         tst-atomic-long.
3917         (tests-static): Add tst-empty.
3919 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3921         * manual/nss.texi: Change incorrect @vtable to @table.
3922         * manual/arith.texi: Convert @tables of variables to @vtables
3923         and remove unnecessary indexing.
3924         * manual/filesys.texi: Likewise.
3925         * manual/llio.texi: Likewise.
3926         * manual/memory.texi: Likewise.
3927         * manual/process.texi: Likewise.
3928         * manual/resource.texi: Likewise.
3929         * manual/search.texi: Likewise.
3930         * manual/signal.texi: Likewise.
3931         * manual/socket.texi: Likewise.
3932         * manual/stdio.texi: Likewise.
3933         * manual/sysinfo.texi: Likewise.
3934         * manual/syslog.texi: Likewise.
3935         * manual/terminal.texi: Likewise.
3936         * manual/time.texi: Likewise.
3937         * manual/users.texi: Likewise.
3939 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3941         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3942         (roundeven): New declaration.
3943         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3944         macro.
3945         * math/Versions (roundeven): New libm symbol at version
3946         GLIBC_2.25.
3947         (roundevenf): Likewise.
3948         (roundevenl): Likewise.
3949         * math/Makefile (libm-calls): Add s_roundevenF.
3950         * math/libm-test.inc (roundeven_test_data): New array.
3951         (roundeven_test): New function.
3952         (main): Call roundeven_test.
3953         * math/test-tgmath.c (NCALLS): Increase to 134.
3954         (F(compile_test)): Call roundeven.
3955         (F(roundeven)): New function.
3956         * manual/arith.texi (Rounding Functions): Document roundeven,
3957         roundevenf and roundevenl.
3958         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3959         * include/math.h (roundeven): Use libm_hidden_proto.
3960         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3961         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3962         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3963         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3964         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3965         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3966         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3967         roundeven.
3968         (CFLAGS-nldbl-roundeven.c): New variable.
3969         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3970         * sysdeps/nacl/libm.abilist: Update.
3971         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3972         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3974         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3975         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3976         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3977         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3978         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3979         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3980         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3981         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3982         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3984         Likewise.
3985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3986         Likewise.
3987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3988         Likewise.
3989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3990         Likewise.
3991         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3992         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3993         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3994         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3995         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3997         Likewise.
3998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3999         Likewise.
4000         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4001         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4002         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4004 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4006         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
4007         preprocessor indentation inside #if.
4009 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4011         * math/libm-test.inc (fmt_ftostr): New function.
4012         (print_float, check_float_internal): Replace some uses of
4013         FTOSTR with uses of fmt_ftostr.
4014         (print_max_error, print_complex_max_error, print_function_ulps)
4015         (print_complex_function_ulps): Remove uses of the macros
4016         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4017         * math/test-double.h (FTOSTR): Define to strfromd.
4018         (PRINTF_EXPR): Delete.
4019         (PRINTF_XEXPR): Likewise.
4020         (PRINTF_NEXPR): Likewise.
4021         * math/test-float.h (FTOSTR): Define to strfromf.
4022         (PRINTF_EXPR): Delete.
4023         (PRINTF_XEXPR): Likewise.
4024         (PRINTF_NEXPR): Likewise.
4025         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4026         (PRINTF_EXPR): Delete.
4027         (PRINTF_XEXPR): Likewise.
4028         (PRINTF_NEXPR): Likewise.
4030 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4032         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4033         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4034         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4035         (__lll_lock_elision): Decrement adapt_count while unlocking
4036         instead of before locking.
4037         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4038         (__lll_trylock_elision): Likewise.
4039         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4040         (__lll_unlock_elision): Likewise.
4042 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4044         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4045         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4046         Use __libc_tbegin_retry macro.
4048 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4050         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4051         Add -msoft-float.
4052         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4053         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4054         Use __libc_t* transaction macros instead of __builtin_t*.
4055         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4056         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4058 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4060         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4061         (__lll_lock_elision): Use atomics to load / store adapt_count.
4062         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4063         (__lll_trylock_elision): Likewise.
4065 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4067         Do not require memset elimination in explicit_bzero test.
4068         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4069         (enum test_expectation): Add NO_EXPECTATIONS.
4070         (subtests): NO_EXPECTATIONS for ordinary clear.
4071         (check_test_buffer): Handle NO_EXPECTATIONS.
4072         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4074 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4076         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4077         (fmaxmag): New declaration.
4078         (fminmag): Likewise.
4079         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4080         macro.
4081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4082         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4083         (fmaxmagf): Likewise.
4084         (fmaxmagl): Likewise.
4085         (fminmag): Likewise.
4086         (fminmagf): Likewise.
4087         (fminmagl): Likewise.
4088         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4089         * math/s_fmaxmag_template.c: New file.
4090         * math/s_fminmag_template.c: Likewise.
4091         * math/libm-test.inc (fmaxmag_test_data): New array.
4092         (fmaxmag_test): New function.
4093         (fminmag_test_data): New array.
4094         (fminmag_test): New function.
4095         (main): Call fmaxmag_test and fminmag_test.
4096         * math/test-tgmath.c (NCALLS): Increase to 132.
4097         (F(compile_test)): Call fmaxmag and fminmag.
4098         (F(fminmag)): New function.
4099         (F(fmaxmag)): Likewise.
4100         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4101         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4102         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4103         fminmag.
4104         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4105         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4106         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4107         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4108         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4109         and fminmag.
4110         (CFLAGS-nldbl-fmaxmag.c): New variable.
4111         (CFLAGS-nldbl-fminmag.c): Likewise.
4112         * sysdeps/nacl/libm.abilist: Update.
4113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4117         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4119         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4120         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4121         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4122         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4123         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4124         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4126         Likewise.
4127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4128         Likewise.
4129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4130         Likewise.
4131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4132         Likewise.
4133         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4134         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4135         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4136         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4137         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4139         Likewise.
4140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4141         Likewise.
4142         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4146 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4148         [BZ #20973]
4149         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4150         wake-up in robust mutexes.
4151         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4153 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4155         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4156         (CFLAGS-bench-fmaxf.c): New rule.
4157         (CFLAGS-bench-fminf.c): Likewise.
4158         * benchtests/fmaxf-inputs: New file.
4159         * benchtests/fminf-inputs: Likewise.
4161         * benchtests/Makefile (bench-math): Add fmin and fmax.
4162         (CFLAGS-bench-fmax.c): New rule.
4163         (CFLAGS-bench-fmin.c): Likewise.
4164         * benchtests/fmax-inputs: New file.
4165         * benchtests/fmin-inputs: Likewise.
4167         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4168         parenthesis.
4169         (CMDLINE_PROCESS): Define using function instead of macro.
4170         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4171         of test-skeleton.
4172         * benchtests/bench-memchr.c: Likewise.
4173         * benchtests/bench-memcmp.c: Likewise.
4174         * benchtests/bench-memcpy-large.c: Likewise.
4175         * benchtests/bench-memcpy.c: Likewise.
4176         * benchtests/bench-memmem.c: Likewise.
4177         * benchtests/bench-memmove-large.c: Likewise.
4178         * benchtests/bench-memmove.c: Likewise.
4179         * benchtests/bench-memset-large.c: Likewise.
4180         * benchtests/bench-memset.c: Likewise.
4181         * benchtests/bench-rawmemchr.c: Likewise.
4182         * benchtests/bench-strcasecmp.c: Likewise.
4183         * benchtests/bench-strcasestr.c: Likewise.
4184         * benchtests/bench-strcat.c: Likewise.
4185         * benchtests/bench-strchr.c: Likewise.
4186         * benchtests/bench-strcmp.c: Likewise.
4187         * benchtests/bench-strcpy.c: Likewise.
4188         * benchtests/bench-strcpy_chk.c: Likewise.
4189         * benchtests/bench-strlen.c: Likewise.
4190         * benchtests/bench-strncasecmp.c: Likewise.
4191         * benchtests/bench-strncmp.c: Likewise.
4192         * benchtests/bench-strncpy.c: Likewise.
4193         * benchtests/bench-strnlen.c: Likewise.
4194         * benchtests/bench-strpbrk.c: Likewise.
4195         * benchtests/bench-strrchr.c: Likewise.
4196         * benchtests/bench-strsep.c: Likewise.
4197         * benchtests/bench-strspn.c: Likewise.
4198         * benchtests/bench-strstr.c: Likewise.
4199         * benchtests/bench-strtok.c: Likewise.
4201 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4203         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4204         stepping identification.
4205         (init_cpu_features): Add handle of Haswell.
4207 2016-11-25  Jim Meyering  <meyering@fb.com>
4209         [BZ #20386]
4210         Let gcc detect assert(a = 1) errors.
4211         * assert/assert.h (assert): Rewrite, retaining the old definintion
4212         when required, but otherwise putting the expression as-is in an "if"
4213         expression (hence, with no added parentheses) within a statement
4214         expression.
4216 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4218         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4219         DSO.
4221 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4223         * Rules (python-flags, python-invoke): New.
4224         ($(test-printers-out)): Use $(python-flags).
4226 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4228         * manual/arith.texi (Math Error Reporting): Document that sNaN
4229         arguments are not considered domain errors.
4231 2016-12-16  Zack Weinberg <zackw@panix.com>
4232             Florian Weimer <fweimer@redhat.com>
4233             Nick Mathewson <nickm@torproject.org>
4235         * string/explicit_bzero.c: New routine.
4236         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4237         * string/Makefile (routines, strop-tests, tests): Add them.
4238         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4239         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4241         * debug/explicit_bzero_chk.c: New routine.
4242         * debug/Makefile (routines): Add it.
4243         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4244         * string/bits/string3.h: Fortify explicit_bzero.
4246         * manual/string.texi: Document explicit_bzero.
4247         * NEWS: Mention addition of explicit_bzero.
4249         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4250         data before returning, using explicit_bzero.
4251         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4252         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4253         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4255         * include/string.h: Redirect internal uses of explicit_bzero
4256         to __explicit_bzero_chk[_internal].
4257         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4258         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4259         * sysdeps/arm/nacl/libc.abilist
4260         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4261         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4262         * sysdeps/unix/sysv/linux/arm/libc.abilist
4263         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4264         * sysdeps/unix/sysv/linux/i386/libc.abilist
4265         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4266         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4267         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4268         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4269         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4270         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4271         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4272         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4273         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4278         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4279         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4280         * sysdeps/unix/sysv/linux/sh/libc.abilist
4281         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4282         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4285         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4286         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4287         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4288         Add entries for explicit_bzero and __explicit_bzero_chk.
4290 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4292         * math/fenv.h
4293         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4294         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4295         * math/test-fe-snans-always-signal.c: New file.
4296         * math/Makefile (tests): Add test-fe-snans-always-signal.
4297         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4298         * manual/arith.texi (Infinity and NaN): Document
4299         FE_SNANS_ALWAYS_SIGNAL.
4301 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4303         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4304         bracket.
4306 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4308         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4309         before calling execv.
4311 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4313         [BZ# 20971]
4314         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4315         overflow in pointer addition.
4316         * string/test-memchr.c (do_test): Add an argument to pass as
4317         the size on memchr.
4318         (test_main): Add check for SIZE_MAX.
4320 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4322         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4323         (libm-calls): Add w_scalblnF.
4324         * math/w_scalbln.c: Remove.
4325         * math/w_scalblnf.c: Likewise.
4326         * math/w_scalblnl.c: Likewise.
4327         * math/w_scalbln_template.c: New file with type-generic
4328         implementation based on math/w_scalbln.c.
4329         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4330         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4332 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4334         [BZ #20947]
4335         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4336         either is a signaling NaN.
4337         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4338         follow fmaxl more closely.
4339         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4340         when either is a signaling NaN.
4341         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4342         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4343         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4344         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
4345         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
4346         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
4347         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
4348         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
4349         (fmin_test_data): Likewise.
4351 2016-12-15  Andreas Schwab  <schwab@suse.de>
4353         * support/support_test_main.c (support_test_main): Don't shadow
4354         file-local variable test_pid.
4356 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4358         [BZ #20947]
4359         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
4360         either is a signaling NaN.
4361         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
4363 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4365         [BZ #20947]
4366         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
4367         when either is a signaling NaN.
4368         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
4370         * bits/long-double.h: New file.
4371         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
4372         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
4373         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
4374         * sysdeps/mips/bits/long-double.h: Likewise.
4375         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
4376         * math/Makefile (headers): Add bits/long-double.h.
4377         * misc/sys/cdefs.h: Include <bits/long-double.h>.
4378         * stdlib/strtold.c: Include <bits/long-double.h> instead of
4379         <bits/wordsize.h>.
4380         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
4381         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
4382         * math/math.h: Do not include <bits/mathdef.h>.
4383         * sysdeps/aarch64/bits/mathdef.h: Remove file.
4384         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
4385         inclusion.
4386         * sysdeps/ia64/bits/mathdef.h: Remove file.
4387         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
4388         * sysdeps/mips/bits/mathdef.h: Likewise.
4389         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4390         * sysdeps/s390/bits/mathdef.h: Likewise.
4391         * sysdeps/sparc/bits/mathdef.h: Likewise.
4392         * sysdeps/x86/bits/mathdef.h: Likewise.
4393         * sysdeps/s390/s390-32/bits/wordsize.h
4394         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
4395         conditional code.
4396         * sysdeps/s390/s390-64/bits/wordsize.h
4397         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4398         Likewise.
4399         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
4400         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4401         Likewise.
4402         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
4403         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4404         Likewise.
4405         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4406         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4407         Likewise.
4409         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
4410         <linux/falloc.h>.
4411         (FALLOC_FL_KEEP_SIZE): Remove.
4412         (FALLOC_FL_PUNCH_HOLE): Likewise.
4413         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
4414         (FALLOC_FL_ZERO_RANGE): Likewise.
4416 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4418         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
4420 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4422         * sysdeps/unix/sysv/linux/renameat.c: New file.
4423         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4425         * sysdeps/unix/sysv/linux/rename.c: New file.
4426         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4428 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4430         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4431         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4432         * string/strtok_r.c (__strtok_r): Optimize for performance.
4433         * string/string-inlines.c (__old_strtok_r_1c): New function.
4434         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4436 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4438         * math/Makefile (gen-libm-calls): Add w_log1pF.
4439         (libm-calls): Remove w_log1pF.
4440         * math/w_log1p.c: Remove.
4441         * math/w_log1pf.c: Likewise.
4442         * math/w_log1pl.c: Likewise.
4443         * math/w_log1p_template.c: New file with type-generic
4444         implementation based on math/w_log1p.c.
4445         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4446         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4448 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4450         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4452 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4454         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4455         kernel version to 4.9.
4457 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4459         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4460         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4462 2016-12-13  Andreas Schwab  <schwab@suse.de>
4464         * sysdeps/powerpc/dl-procinfo.c: Don't define
4465         _dl_powerpc_platforms.
4466         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4467         constants instead of referencing _dl_powerpc_platforms.
4468         (_dl_platform_string): Remove.
4470 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4472         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4474 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4476         * Rules (binaries-shared-tests, binaries-pie-tests)
4477         (binaries-static-tests): Link with $(link-extra-libs-tests).
4478         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4479         Remove $(link-extra-libs-tests).
4481 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4483         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4484         (sysdep_routines): Add strncmp_power9.
4485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4486         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4487         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4488         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4489         (strncmp): Add __strncmp_power9 to ifunc list.
4490         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4492 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4494         [BZ #17252]
4495         Add getentropy, getrandom.
4496         * stdlib/sys/random.h: New file.
4497         (headers): Add it.
4498         * stdlib/Makefile (routines): Add getentropy, getrandom.
4499         (tests): Add tst-getrandom.
4500         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4501         * stdlib/getentropy.c: New file.
4502         * stdlib/getrandom.c: Likewise.
4503         * stdlib/tst-getrandom.c: Likewise.
4504         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4505         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4506         * manual/crypt.texi (Unpredictable Bytes): New section.
4507         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4508         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4509         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4510         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4511         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4512         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4513         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4514         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4515         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4516         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4517         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4519         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4520         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4521         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4522         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4524         Likewise.
4525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4526         Likewise.
4527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4529         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4530         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4531         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4532         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4533         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4536         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4537         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4538         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4540 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4542         [BZ #20956]
4543         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4544         as additional compiler barriers.
4545         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4546         (fn2, do_test): Declare with external linkage.
4547         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4548         (do_test): Declare with external linkage.
4549         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4550         (do_test): Declare with external linkage.
4551         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4552         (do_test): Declare with external linkage.
4554 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4556         * support/support_test_main.c (support_test_main): Use correct
4557         timeout.
4559 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4560             Florian Weimer  <fweimer@redhat.com>
4562         [BZ #16421]
4563         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4564         and __u6_addr32 members.
4565         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4566         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4567         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4568         Use __u6_addr32.
4569         * inet/tst-checks.c: Use <support/test-driver.c>
4570         * inet/tst-checks-posix.c: New file.
4571         * inet/Makefile (tests): Add it.
4572         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4574 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4576         New subdirectory support for build and test infrastructure.
4577         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4578         setting install-lib.
4579         * Makeconfig (link-extra-libs-tests): Define.
4580         (+link-pie-tests, +link-static-tests, +link-tests): Use
4581         link-extra-libs-tests.
4582         (rpath-dirs, all-subdirs): Add support.
4583         (built-modules): Add libsupport.
4584         (libsupport): Define.
4585         * support: New directory.
4586         * support/Makefile: New file.
4587         * support/check.c: Likewise.
4588         * support/check.h: Likewise.
4589         * support/delayed_exit.c: Likewise.
4590         * support/ignore_stderr.c: Likewise.
4591         * support/oom_error.c: Likewise.
4592         * support/set_fortify_handler.c: Likewise.
4593         * support/support.h: Likewise.
4594         * support/temp_file-internal.h: Likewise.
4595         * support/temp_file.c: Likewise.
4596         * support/test-driver.c: Likewise.
4597         * support/test-driver.h: Likewise.
4598         * support/test_main.c: Likewise.
4599         * support/write_message.c: Likewise.
4600         * support/xasprintf.c: Likewise.
4601         * support/xcalloc.c: Likewise.
4602         * support/xmalloc.c: Likewise.
4603         * support/xpthread_barrier_destroy.c: Likewise.
4604         * support/xpthread_barrier_init.c: Likewise.
4605         * support/xpthread_barrier_wait.c: Likewise.
4606         * support/xpthread_cancel.c: Likewise.
4607         * support/xpthread_check_return.c: Likewise.
4608         * support/xpthread_cond_wait.c: Likewise.
4609         * support/xpthread_create.c: Likewise.
4610         * support/xpthread_detach.c: Likewise.
4611         * support/xpthread_join.c: Likewise.
4612         * support/xpthread_mutex_lock.c: Likewise.
4613         * support/xpthread_mutex_unlock.c: Likewise.
4614         * support/xpthread_sigmask.c: Likewise.
4615         * support/xpthread_spin_lock.c: Likewise.
4616         * support/xpthread_spin_unlock.c: Likewise.
4617         * support/xrealloc.c: Likewise.
4618         * support/xsignal.h: Likewise.
4619         * support/xthread.h: Likewise.
4620         * support_tempfile.h: Likewise.
4621         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4622         (TEST_DATA_LIMIT): Remove unused macro.
4623         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4624         <support/check.h>.
4625         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4626         (ignore_stderr, set_fortify_handler): Remove.  Now in
4627         <support/support.h>.
4628         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4629         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4630         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4631         (xpthread_join): Remove.  Now in <support/xthread.h>.
4632         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4633         Introduce legacy wrappers.
4634         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4635         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4636         (write_message): Remove.
4637         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4638         test-skeleton.c.
4639         * io/test-open-tmpfile: Likewise.
4640         * io/tst-posix_fallocate-common.c: Likewise.
4641         * libio/tst-fseek.c: Likewise.
4642         * malloc/tst-malloc-backtrace.c: Likewise.
4643         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4644         * malloc/tst-malloc-thread-exit.c: Likewise.
4645         * nptl/tst-cancel7.c: Likewise.
4646         * nptl/tst-cleanup0.c: Likewise.
4647         * posix/tst-posix_fadvise-common.c: Likewise.
4648         * rt/tst-shm.c: Likewise.
4649         * time/bug-getdate1.c: Likewise.
4650         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4651         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4652         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4654 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4656         * Rules [$(run-built-tests) != no] (tests-expected): Add
4657         $(tests-printers).
4658         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4660 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4662         [BZ #20539]
4663         * math/Makefile (install-lib-ldscripts): Add libm.a.
4664         (install_subdir): Remove.
4665         (install-others): Add.
4666         ($(inst_libdir)/libm.a): Add rule for installation as
4667         linker script.
4668         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4670 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4672         * INSTALL: Regenerated.
4673         * Makeconfig: Add comments and whitespace to make the control flow
4674         clearer.
4675         (+link-printers-tests, +link-pie-printers-tests,
4676         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4677         built-rtld-LDFLAGS, link-libc-rpath,
4678         link-libc-tests-after-rpath-link,
4679         link-libc-printers-tests): New.
4680         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4681         link-libc-tests): Use the new variables as required.
4682         * Makerules ($(py-const)): New rule.
4683         generated: Add $(py-const).
4684         * README.pretty-printers: New file.
4685         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4686         (others): Depend on $(py-const).
4687         (tests): Depend on $(tests-printers-programs) or
4688         $(tests-printers-out),
4689         as required.  Pass $(tests-printers) to merge-test-results.sh.
4690         * manual/install.texi: Add requirements for testing the pretty
4691         printers.
4692         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4693         tests-printers, CFLAGS-test-mutexattr-printers.c
4694         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4695         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4696         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4697         * nptl/nptl-printers.py: New file.
4698         * nptl/nptl_lock_constants.pysym: Likewise.
4699         * nptl/test-cond-printers.c: Likewise.
4700         * nptl/test-cond-printers.py: Likewise.
4701         * nptl/test-condattr-printers.c: Likewise.
4702         * nptl/test-condattr-printers.py: Likewise.
4703         * nptl/test-mutex-printers.c: Likewise.
4704         * nptl/test-mutex-printers.py: Likewise.
4705         * nptl/test-mutexattr-printers.c: Likewise.
4706         * nptl/test-mutexattr-printers.py: Likewise.
4707         * nptl/test-rwlock-printers.c: Likewise.
4708         * nptl/test-rwlock-printers.py: Likewise.
4709         * nptl/test-rwlockattr-printers.c: Likewise.
4710         * nptl/test-rwlockattr-printers.py: Likewise.
4711         * scripts/gen-py-const.awk: Likewise.
4712         * scripts/test_printers_common.py: Likewise.
4713         * scripts/test_printers_exceptions.py: Likewise.
4715 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4717         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4718         argument.
4719         (Glibc.build_glibc): Strip installed shared libraries if
4720         requested.
4721         (get_parser): Add --strip option.
4722         (main): Update Context call.
4724 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4725             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4727         [BZ #20847]
4728         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4729         array bounds for else branch.
4730         (__execvpe): Style fixes.
4731         * posix/tst-vfork3.c (run_script): New function.
4732         (create_script): Likewise.
4733         (do_test): Use run_script internal function.
4734         (do_prepare): Use create_script internal function.
4736 2016-12-07  Andreas Schwab  <schwab@suse.de>
4738         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4739         (__elision_available): Don't declare.
4740         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4741         (__elision_available): Don't define.
4742         (elision_init): Don't set __elision_available.
4744 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4746         [BZ #20940]
4747         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4748         return Inf for arguments Inf and sNaN.
4749         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4750         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4751         Likewise.
4752         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4753         Likewise.
4754         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4755         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4756         for arguments Inf and sNaN.  When returning a NaN, compute it by
4757         arithmetic on the arguments.
4758         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4759         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4760         arguments.
4762 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4764         [BZ #20916]
4765         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4766         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4767         to compute result.
4768         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4769         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4771 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4773         * include/atomic.h (__atomic_check_size_ls): New.
4774         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4775         atomic_store_release): Use it.
4776         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4777         (elision_adapt, ELIDE_LOCK): Use atomics.
4778         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4779         atomics and improve code comments.
4780         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4781         (__lll_trylock_elision): Likewise.
4783 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4785         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4786         programs.
4788 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4790         [BZ #20916]
4791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4792         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4793         arguments to compute result.
4794         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4795         1 for arguments (sNaN, 0) or (1, sNaN).
4796         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4797         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4799         [BZ #20919]
4800         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4801         NaN first argument when raised to power 0.
4802         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4803         raising to power zero.
4804         * math/w_powf.c (__powf): Likewise.
4805         * math/w_powl.c (__powl): Likewise.
4806         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4807         pow (0, 0) or pow (NaN, 0).
4809 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4811         [BZ #20918]
4812         * configure.ac: Test for static NSS cryptographic libraries and set
4813         libc_cv_static_nss_crypt.
4814         * configure: Regenerate.
4815         * config.make.in (static-nss-crypt): Define.
4816         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4817         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4818         (CFLAGS-tst-linkall-static.c): Define.
4819         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4820         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4821         ($(objpfx)tst-linkall-static): Define.
4822         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4823         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4825 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4827         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4828         (one-hundred, tst-tls-many-dynamic-modules): Define.
4829         (modules-names): Add $(tst-tls-many-dynamic-modules).
4830         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4831         macros.
4832         (tst-tls-manydynamic): Link against libdl, libpthread.
4833         (tst-tls-manydynamic.out): The test needs the test modules at run
4834         time.
4835         * elf/tst-tls-manydynamic.c: New file.
4836         * elf/tst-tls-manydynamic.h: Likewise.
4837         * elf/tst-tls-manydynamicmod.c: Likewise.
4839 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4841         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4842         (TLS_DTV_UNALLOCATED): Add.
4843         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4844         offsets.
4846 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4848         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4850 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4852         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4853         Add -fno-optimize-sibling-calls.
4855 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4857         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4858         New declaration.
4859         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4860         macro.
4861         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4862         New macro.
4863         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4865         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4866         (llogbf): Likewise.
4867         (llogbl): Likewise.
4868         * math/Makefile (gen-libm-calls): Add w_llogbF.
4869         (tests): Add test-fp-llogb-constants.
4870         * math/w_llogb_template.c: New file.  Based on
4871         math/w_ilogb_template.c.
4872         * math/libm-test.inc (llogb_test_data): New array.
4873         (llogb_test): New function.
4874         (main): Call llogb_test.
4875         * math/test-fp-llogb-constants.c: New file.  Based on
4876         math/test-fp-ilogb-constants.c.
4877         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4878         (do_test): Call check_return_llogb.
4879         * math/test-tgmath.c (NCALLS): Increase to 126.
4880         (F(compile_test)): Call llogb.
4881         (F(llogb)): New function.
4882         * manual/math.texi (Exponents and Logarithms): Document llogb,
4883         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4884         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4885         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4886         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4887         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4888         (CFLAGS-nldbl-llogb.c): New variable.
4889         * sysdeps/nacl/libm.abilist: Update.
4890         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4891         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4892         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4893         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4894         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4895         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4896         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4897         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4898         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4899         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4900         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4901         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4903         Likewise.
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4905         Likewise.
4906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4907         Likewise.
4908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4909         Likewise.
4910         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4911         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4912         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4913         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4914         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4916         Likewise.
4917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4918         Likewise.
4919         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4920         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4921         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4923 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4925         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4926         _Float128 instead of long double.
4927         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4929         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4930         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4931         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4932         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4933         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4934         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4935         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4936         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4937         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4938         Likewise.
4940 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4942         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4943         Remove redirection to __strrchr_ppc.
4945 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4947         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4948         (sysdep_routines): Add strcmp_power9.
4949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4950         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4951         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4952         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4953         (strcmp): Add __strcmp_power9 to ifunc list.
4954         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4956 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4958         * bits/fp-logb.h: New file.
4959         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4960         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4961         * sysdeps/x86/bits/fp-logb.h: Likewise.
4962         * math/Makefile (headers): Add bits/fp-logb.h.
4963         * math/math.h: Include <bits/fp-logb.h>.
4964         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4965         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4966         * bits/mathdef.h (FP_ILOGB0): Remove.
4967         (FP_ILOGBNAN): Likewise.
4968         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4969         (FP_ILOGBNAN): Likewise.
4970         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4971         (FP_ILOGBNAN): Likewise.
4972         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4973         (FP_ILOGBNAN): Likewise.
4974         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4975         (FP_ILOGBNAN): Likewise.
4976         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4977         (FP_ILOGBNAN): Likewise.
4978         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4979         (FP_ILOGBNAN): Likewise.
4980         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4981         (FP_ILOGBNAN): Likewise.
4982         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4983         (FP_ILOGBNAN): Likewise.
4984         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4985         (FP_ILOGBNAN): Likewise.
4987         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4988         time module.
4989         (Context.__init__): Initialize self.logsdir_old.
4990         (Context.run_builds): Handle bot action.
4991         (Context.bot_cycle): Copy logs directory before running builds.
4992         (Context.bot_run_self): Take argument for whether to check
4993         subprocess result.  Flush stdout before running subprocess.
4994         (Context.bot): New function.
4995         (get_parser): Allow bot action.
4997 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4999         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
5000         Import email.mime.text, email.utils and smtplib modules.
5001         (Context.__init__): Initialize self.bot_config_json.
5002         (Context.run_builds): Handle bot-cycle action.
5003         (Context.load_bot_config_json): New function.
5004         (Context.part_build_old): Likewise.
5005         (Context.bot_cycle): Likewise.
5006         (Context.bot_build_mail): Likewise.
5007         (Context.bot_run_self): Likewise.
5008         (get_parser): Allow bot-cycle action.
5010 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5013         Remove redirection to __stpcpy_ppc.
5015 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5017         Remove __libc_memalign from ld.so because it is unused.
5018         * elf/dl-minimal.c: Update comment on the malloc implementation.
5019         (malloc): Renamed from __libc_memalign, replacing the original
5020         malloc implementation.  Replace the align parameter with
5021         MALLOC_ALIGNMENT.
5022         * elf/Versions (ld): Update comment and remove __libc_memalign.
5023         * sysdeps/nacl/ld.abilist: Likewise.
5024         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5025         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5026         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5027         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5028         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5029         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5030         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5031         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5032         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5033         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5034         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5035         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5036         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5040         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5041         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5042         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5043         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5044         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5047         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5048         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5049         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5050         * sysdeps/generic/localplt.data (ld.so): Likewise.
5051         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5052         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5053         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5054         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5055         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5056         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5057         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5058         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5059         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5061         (ld.so): Likewise.
5062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5063         (ld.so): Likewise.
5064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5065         Likewise.
5066         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5067         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5068         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5069         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5070         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5072 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5074         [BZ #16628]
5075         Implement _dl_catch_error, _dl_signal_error in libc.so.
5076         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5077         (catch_hook): Define as thread-local or regular variable,
5078         depending on DL_ERROR_BOOTSTRAP.
5079         (CATCH_HOOK): Remove.
5080         (dl_signal_error, _dl_catch_error): Use
5081         catch_hook.  Add hidden definition for libc.
5082         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5083         for DL_ERROR_BOOTSTRAP only.
5084         * elf/dl-error.c: New file.
5085         * elf/dl-error-minimal.c: Likewise.
5086         * elf/tst-latepthread.c: Likewise.
5087         * elf/tst-latepthreadmod.c: Likewise.
5088         * elf/Makefile (routines): Add dl-error.
5089         (dl-routines): Remove dl-error.
5090         (rtld-routines): Add dl-error-minimal.
5091         [build-shared] (tests): Add tst-latepthread.
5092         (module-names): Add tst-latepthreadmod.
5093         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5094         symbol.
5095         (tst-latepthreadmod.so): Link against libpthread.
5096         (tst-latepthread): Link against libdbl.
5097         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5098         _dl_catch_error.
5099         [ld] (GLIBC_PRIVATE): Likewise.
5100         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5101         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5102         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5103         directly.
5104         * elf/dl-tsd.c: Remove file.
5105         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5106         _dl_catch_error, _dl_signal_error.
5107         (_dl_initial_error_catch_tsd): Remove definition.
5108         (do_preload): Remove initialization of dl_error_catch_tsd.
5109         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5110         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5111         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5112         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5113         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5114         set dl_error_catch_tsd.
5115         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5116         _dl_error_catch_tsd member.
5117         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5118         members.
5119         (_dl_initial_error_catch_tsd): Remove declaration.
5120         (_dl_dprintf): Provide definition for use outside of ld.so.
5121         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5122         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5123         prototype for libc.
5124         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5125         _dl_catch_error.
5126         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5127         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5128         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5129         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5130         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5131         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5132         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5133         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5134         Likewise.
5135         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5137         (ld.so): Likewise.
5138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5139         (ld.so): Likewise.
5140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5141         Likewise.
5142         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5143         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5144         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5145         Likewise.
5146         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5147         Likewise.
5148         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5150 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5152         [BZ #4099]
5153         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5154         _IO_BUFSIZ (8192).
5156 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5158         * PROJECTS: Remove file.
5160 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5162         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5164 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5165             Steve Ellcey  <sellcey@caviumnetworks.com>
5167         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5168         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5169         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5170         fxstatat.
5171         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5172         lxstat.
5173         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5174         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5175         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5176         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5177         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5178         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5179         __xstat.
5181 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5183         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5184         Define.
5185         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5186         definition.
5188 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5190         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5191         version and turn into strong alias.  Remove compat symbol.
5193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5194         (__longjmp): Remove.
5196 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5198         * bits/fp-fast.h: New file.
5199         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5200         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5201         * math/Makefile (headers): Add bits/fp-fast.h.
5202         * math/math.h: Include <bits/fp-fast.h>.
5203         * bits/mathdef.h (FP_FAST_FMA): Remove.
5204         (FP_FAST_FMAF): Likewise.
5205         (FP_FAST_FMAL): Likewise.
5206         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5207         (FP_FAST_FMAF): Likewise.
5208         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5209         (FP_FAST_FMAF): Likewise.
5210         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5211         (FP_FAST_FMAF): Likewise.
5212         (FP_FAST_FMAL): Likewise.
5213         * sysdeps/arm/bits/mathdef.h: Remove file.
5214         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5215         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5216         * sysdeps/tile/bits/mathdef.h: Likewise.
5218 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5220         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5221         * math/w_ilogb.c: Remove.
5222         * math/w_ilogbf.c: Likewise.
5223         * math/w_ilogbl.c: Likewise.
5224         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5225         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5226         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5227         (libm-calls): Remove w_ilogbF.
5228         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5229         (LDOUBLE_ilogbl_libm_version): New macro.
5231         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5233         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5234         [!__STRICT_ANSI__ && !__cplusplus].
5236 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5238         [BZ #20750]
5239         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5240         of PIC.
5242 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5243             Yury Norov  <ynorov@caviumnetworks.com>
5244             Steve Ellcey  <sellcey@caviumnetworks.com>
5246         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5247         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5248         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5249         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5250         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5251         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5252         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5253         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5254         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5255         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5256         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5257         to get correct reg name for ILP32.
5258         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5259         (RELA_SIZE): New Macro.
5260         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5261         to support ILP32.
5262         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5263         cast for ILP32 mode.
5264         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5265         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5266         * sysdeps/aarch64/memset.S (__memset): Ditto.
5267         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5268         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5269         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5270         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5271         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5272         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5273         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5274         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5275         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5276         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5277         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5278         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5279         change PTR_MANGLE call to use register numbers instead of names.
5280         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5281         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5282         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5283         * sysdeps/aarch64/start.S (_start): Ditto.
5284         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5285         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5286         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5287         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5288         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5289         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5290         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5291         Make defined values dependent on __ILP32__.
5292         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5293         (sem_t): Change __align type.
5294         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5295         PTR_SIZE): New Macros.
5296         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5297         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5298         Set when in ILP32 mode.
5299         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5300         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5301         Set elf flags for ILP32.
5302         (add_system_dir): Set ILP32 library directories.
5303         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5304         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5305         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5306         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5307         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5308         New Macros.
5309         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5311 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5313         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5314         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5315         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5317 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5319         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5320         <asm/cachectl.h>.
5322 2016-11-27  Zack Weinberg  <zackw@panix.com>
5324         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5325         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5327 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5329         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5330         error_t to fix usage in C++ programs.
5332 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5334         * scripts/build-many-glibcs.py: Import datetime module.
5335         (Context.__init__): Load JSON build state.  Initialize list of
5336         status logs.
5337         (Context.run_builds): Update saved build state.
5338         (Context.add_makefile_cmdlist): Update list of status logs.
5339         (Context.load_build_state_json): New function.
5340         (Context.store_build_state_json): Likewise.
5341         (Context.clear_last_build_state): Likewise.
5342         (Context.update_build_state): Likewise.
5343         (CommandList.status_logs): Likewise.
5345 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
5347         * scripts/build-many-glibcs.py (Context.__init__): Save text of
5348         script being executed.
5349         (Context.get_script_text): New function.
5350         (Context.exec_self): Likewise.
5351         (Context.checkout): Re-exec script if changed by checkout process.
5353 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5355         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5356         (setpayloadsig): New declaration.
5357         * math/Versions (setpayloadsig): New libm symbol at version
5358         GLIBC_2.25.
5359         (setpayloadsigf): Likewise.
5360         (setpayloadsigl): Likewise.
5361         * math/Makefile (libm-calls): Add s_setpayloadsigF.
5362         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
5363         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
5364         (setpayloadsig_test_data): New array.
5365         (setpayloadsig_test): New function.
5366         (main): Call setpayloadsig_test.
5367         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
5368         setpayloadsigf and setpayloadsigl.
5369         * manual/libm-err-tab.pl: Update comment on interfaces without
5370         ulps tabulated.
5371         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
5372         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
5373         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
5374         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
5375         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
5376         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
5377         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5378         setpayloadsig.
5379         (CFLAGS-nldbl-setpayloadsig.c): New variable.
5380         * sysdeps/nacl/libm.abilist: Update.
5381         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5382         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5384         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5385         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5386         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5387         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5388         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5389         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5390         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5391         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5392         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5394         Likewise.
5395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5396         Likewise.
5397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5398         Likewise.
5399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5400         Likewise.
5401         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5402         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5403         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5404         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5405         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5407         Likewise.
5408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5409         Likewise.
5410         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5411         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5412         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5414         * scripts/build-many-glibcs.py: Import json module.
5415         (Context.__init__): Take replace_sources argument.  Load
5416         versions.json.
5417         (Context.load_versions_json): New function.
5418         (Context.store_json): Likewise.
5419         (Context.store_versions_json): Likewise.
5420         (Context.set_component_version): Likewise.
5421         (Context.checkout): Update versions.json.  Check for and handle
5422         changes of version.  Prefer previously explicitly specified
5423         version to default version.
5424         (Context.checkout_vcs): Return a revision identifier.
5425         (Context.git_checkout): Likewise.
5426         (Context.gcc_checkout): Likewise.
5427         (get_parser): Add --replace-sources option.
5428         (main): Pass replace_sources argument to Context call.
5430 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5432         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5433         * nptl/allocatestack.c (allocate_stack): Likewise.
5434         (__reclaim_stacks): Likewise.
5435         (setxid_signal_thread): Obtain pid through syscall.
5436         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5437         (sighandle_setxid): Likewise.
5438         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5439         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5440         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5443         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5444         comment.
5445         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5446         * nptl/descr.h (struct pthread): Change comment about pid value.
5447         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5448         pid assert.
5449         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5450         Do not set pid value.
5451         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5452         pid cache check.
5453         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5454         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5455         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5456         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5457         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5458         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5459         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5460         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5461         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5462         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5463         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5464         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5465         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5466         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5467         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5468         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5469         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5470         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5471         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5472         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5473         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5474         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5475         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5476         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5477         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5480         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5481         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5482         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5483         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5484         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5485         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5486         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5487         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5488         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5489         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5490         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5491         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5492         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5493         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5494         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5495         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5498         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5499         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5500         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5501         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5502         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5503         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5504         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5505         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5506         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5507         struct access.
5508         (clone_test): Remove function.
5509         (do_test): Rewrite to take in consideration pid is not cached anymore.
5511 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5513         * bits/flt-eval-method.h: New file.
5514         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5515         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5516         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5517         * math/Makefile (headers): Add bits/flt-eval-method.h.
5518         * math/math.h: Include <bits/flt-eval-method.h>.
5519         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5520         [__USE_ISOC99] (double_t): Likewise.
5521         * bits/mathdef.h (float_t): Remove.
5522         (double_t): Likewise.
5523         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5524         (double_t): Likewise.
5525         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5526         (double_t): Likewise.
5527         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5528         (double_t): Likewise.
5529         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5530         (double_t): Likewise.
5531         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5532         (double_t): Likewise.
5533         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5534         (double_t): Likewise.
5535         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5536         (double_t): Likewise.
5537         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5538         (double_t): Likewise.
5539         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5540         (double_t): Likewise.
5541         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5542         (double_t): Likewise.
5543         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5544         (double_t): Likewise.
5545         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5546         (double_t): Likewise.
5547         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5548         (double_t): Likewise.
5550 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5552         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5553         instead of PIC.
5555 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5557         [BZ #20859]
5558         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5559         (-0x7fffffff) instead of 0x80000001.
5560         * math/test-fp-ilogb-constants.c: New file.
5561         * math/Makefile (tests): Add test-fp-ilogb-constants.
5563 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5565         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5566         (_init): Use it in place of hardcoded R_MIPS_JALR.
5567         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5568         (_init): Use it in place of hardcoded R_MIPS_JALR.
5569         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5570         (_init): Use it in place of hardcoded R_MIPS_JALR.
5572 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5574         [BZ #20787]
5575         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5576         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5577         (double_t): Do not define to double if [__x86_64__] when
5578         __FLT_EVAL_METHOD__ is nonzero.
5579         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5580         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5581         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5582         test-flt-eval-method-387 and test-flt-eval-method-sse.
5583         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5584         variable.
5585         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5587 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5589         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5590         use of -fno-isolate-erroneous-paths options for tilepro.
5592 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5594         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5595         structure initialization is no longer needed.
5597 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5599         [BZ #20855]
5600         * bits/mathdef.h (float_t): Define to float.
5601         * math/test-flt-eval-method.c: New file.
5602         * math/Makefile (tests): Add test-flt-eval-method.
5603         (CFLAGS-test-flt-eval-method.c): New variable.
5605 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5607         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5608         and __fstatfs.  Make them aliases of __fstatfs64 if
5609         STATFS_IS_STATFS64 is set to non-zero.
5610         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5611         and __statfs64.
5612         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5613         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5614         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5615         for __statfs and statfs.
5616         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5617         to 0.
5618         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5619         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5620         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
5621         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5622         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5623         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
5626         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5627         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5628         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5629         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5631 2016-11-22  Andreas Schwab  <schwab@suse.de>
5633         * misc/mkstemp.c: Include <fcntl.h>.
5634         * misc/mkstemps.c: Likewise.
5635         * misc/mkostemp.c: Likewise.
5636         * misc/mkostemps.c: Likewise.
5638 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5640         [BZ #20847]
5641         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5642         array bounds.
5643         (__execvpe): Likewise.
5645 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5647         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5648         -fno-isolate-erroneous-paths options for tilepro.
5650 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5652         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5653         to 0 when in 32 bit mode.
5654         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5655         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5656         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5657         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5659         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5660         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5661         XSTAT_IS_XSTAT64 test.
5662         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5663         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5664         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5665         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5666         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5667         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5668         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5669         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5670         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5671         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5672         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5674 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5676         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5677         (setpayload): New declaration.
5678         * math/Versions (setpayload): New libm symbol at version
5679         GLIBC_2.25.
5680         (setpayloadf): Likewise.
5681         (setpayloadl): Likewise.
5682         * math/Makefile (libm-calls): Add s_setpayloadF.
5683         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5684         test_Ff_b1_data.
5685         (RUN_TEST_Ff_b1): New macro.
5686         (RUN_TEST_LOOP_Ff_b1): Likewise.
5687         (canonicalize_test_data): Update type.
5688         (setpayload_test_data): New array.
5689         (setpayload_test): New function.
5690         (main): Call setpayload_test.
5691         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5692         setpayloadf and setpayloadl.
5693         * manual/libm-err-tab.pl: Update comment on interfaces without
5694         ulps tabulated.
5695         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5696         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5697         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5698         Likewise.
5699         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5700         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5701         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5702         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5703         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5704         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5705         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5706         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5707         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5708         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5709         setpayload.
5710         (CFLAGS-nldbl-setpayload.c): New variable.
5711         * sysdeps/nacl/libm.abilist: Update.
5712         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5713         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5714         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5715         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5716         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5717         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5718         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5719         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5720         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5721         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5722         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5723         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5725         Likewise.
5726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5727         Likewise.
5728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5729         Likewise.
5730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5731         Likewise.
5732         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5733         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5734         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5736         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5738         Likewise.
5739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5740         Likewise.
5741         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5742         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5745 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5747         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5748         * include/unistd.h: Extend comment about __access_noerrno return
5749         semantics.
5750         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5751         (access_common): Correct typo for EACCES.
5753 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5755         * sysdeps/tile/math-tests.h: New file.
5757         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5758         (__old_set_dataplane): Rename from set_dataplane and make a
5759         compatibility symbol.
5760         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5761         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5762         sys/dataplane.h.
5764 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5766         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5767         script quote words in command output to log suitably for input to
5768         the shell.
5770 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5771             Maciej W. Rozycki  <macro@imgtec.com>
5773         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5774         `.Lno_weak_fn' label.
5775         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5776         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5778 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5779             Yury Norov  <ynorov@caviumnetworks.com>
5781         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5782         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5783         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5784         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5785         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5786         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5787         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5788         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5789         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5790         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5791         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5792         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5793         (sysdep_routines): Remove oldgetrlimit64.
5794         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5795         (sysdep_routines): Likewise.
5796         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5797         (sysdep_routines): Likewise.
5798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5799         [$(subdir) = resource] (sysdep_routines): Likewise.
5800         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5801         [$(subdir) = resource] (sysdep_routines): Likewise.
5802         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5803         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5804         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5805         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5806         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5807         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5808         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5809         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5810         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5811         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5812         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5813         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5814         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5815         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5816         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5817         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5818         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5819         setrlimit and getrlimit.
5820         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5821         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5822         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5826         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5827         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5828         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5829         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5830         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5831         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5832         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5833         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5834         (__old_getrlimit64): Add compatibility symbol.
5835         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5837 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5839         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5840         newly built gmp, mpfr and mpc.
5842         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5844 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5846         * conform/Makefile (linknamespace-libs): Rename to
5847         linknamespace-libs-thr.
5848         (linknamespace-libs-posix): New variable.
5849         (linknamespace-libs-xsi): Likewise.
5850         (linknamespace-libs-XPG3): Include libcrypt.a.
5851         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5852         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5853         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5854         (linknamespace-libs-XOPEN2K): Likewise.
5855         (linknamespace-libs-XOPEN2K8): Likewise.
5856         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5858         [BZ #20829]
5859         * stdio-common/Versions (__snprintf): Add to version
5860         GLIBC_PRIVATE.
5861         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5862         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5863         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5864         of snprintf.
5865         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5867 2016-11-16  Zack Weinberg  <zackw@panix.com>
5869         * string/string.h: Remove obsolete comment stating that
5870         strcoll_l and strxfrm_l have not yet been standardized.
5872 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5874         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5875         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5876         __access_noerrno.
5877         * io/access.c (__access_noerrno): New function.
5878         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5879         (hurd_fail_seterrno): Likewise.
5880         (access_common): Likewise.
5881         (__access_noerrno): Likewise.
5882         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5883         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5884         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5885         macro.
5887 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5889         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5890         Only declare fpregs if [__SH_FPU_ANY__].
5892 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5894         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5895         Make code unconditional.
5896         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5898 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5900         * manual/sysinfo.texi (S_APPEND): Delete.
5901         (S_IMMUTABLE): Likewise.
5903 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5904             Magnus Granberg  <zorry@gentoo.org>
5905             Mike Frysinger  <vapier@gentoo.org>
5907         [BZ #20662]
5908         * configure.ac (libc_cv_predef_stack_protector): Also check for
5909         __stack_chk_fail_local symbols.
5910         * configure: Regenerated.
5912 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5914         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5915         (libc_hidden_def): Remove redefinition.
5916         (__sigsetjmp): Add hidden definition.
5917         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5918         (libc_hidden_def): Remove redefinition.
5919         (__sigsetjmp): Add hidden definition.
5921 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5923         * scripts/build-many-glibcs.py (os.path): Do not import.
5924         (Context): Inherit explicitly from object.  Remove blank line
5925         between class and docstring.
5926         (Config): Likewise.
5927         (Glibc): Likewise.
5928         (Command): Likewise.
5929         (CommandList): Likewise.
5930         (Context.write_files): Store chmod mode in a variable.
5932         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5933         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5934         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5936 2016-11-14  Zack Weinberg  <zackw@panix.com>
5938         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5939         creating or re-creating it.
5941         * string/bits/string2.h: Fix typo in comment.
5943 2016-11-14  Zack Weinberg  <zackw@panix.com>
5945         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5946         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5947         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5948         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5949         of redirected function names.
5951         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5952         as well.  Document that MESSAGE must be a single string literal.
5954 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5956         * scripts/build-many-glibcs.py: New file.
5958         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5959         (do_test): Disable -Wmaybe-uninitialized around uses of
5960         except_mask.
5962         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5964 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5966         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5967         (atomic_store_release): Provide tilepro-specific implementations.
5969 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5971         * math/math.h (__MATH_TG): New macro.
5972         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5973         [__USE_ISOC99] (signbit): Likewise.
5974         [__USE_ISOC99] (isfinite): Likewise.
5975         [__USE_ISOC99] (isnan): Likewise.
5976         [__USE_ISOC99] (isinf): Likewise.
5977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5980         __MATH_TG and __MATH_EVAL_FMT2.
5981         * sysdeps/generic/math_private.h (fabs_tg): Define using
5982         __MATH_TG.
5983         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5984         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5985         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5986         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5987         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5988         macro.
5989         (__iscanonical): Likewise.
5990         (iscanonical): Define using __MATH_TG.
5992 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5994         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5995         guards.
5997         * sysdeps/unix/sysv/linux/access.c: New file.
5998         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6000 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
6002         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
6003         and __WORDSIZE32_PTRDIFF_LONG.
6005 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6007         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6009 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6011         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6012         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6013         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6014         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6015         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6017         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6018         * sysdeps/unix/sysv/linux/truncate.c: New file.
6019         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6020         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6021         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6022         Remove.
6023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6024         Likewise.
6026         * posix/tst-truncate-common.c: New file.
6027         * posix/tst-truncate.c: Use tst-truncate-common.c.
6028         * posix/tst-truncate64.c: Likewise and add LFS tests.
6029         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6030         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6031         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6032         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6033         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6035         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6036         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6037         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6038         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6039         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6040         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6041         Remove.
6042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6043         Likewise.
6045 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6047         [BZ #20790]
6048         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6049         to MAXLINESIZE.
6050         * sunrpc/bug20790.x: New file.
6051         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6052         variable.
6053         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6054         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6056         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6058         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6060         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6061         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6062         calloc, realloc, free, memalign and __libc_memalign rather than
6063         making them optional.
6065         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6066         for libc.so.
6068 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6070         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6071         ptw-lseek64.
6072         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6073         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6074         Likewise.
6075         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6076         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6077         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6078         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6079         * sysdeps/unix/sysv/linux/lseek.c: New file.
6080         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6081         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6082         __libc_lseek64 from auto-generation.
6083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6084         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6086 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6088         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6089         * nptl/tst-cleanup1.c (do_test): Likewise.
6090         * nptl/tst-cleanup3.c (do_test): Likewise.
6091         * nptl/tst-key1.c (do_test): Likewise.
6092         * nptl/tst-key2.c (tf, do_test): Likewise.
6093         * nptl/tst-key3.c (tf, do_test): Likewise.
6094         * nptl/tst-stdio1.c (do_test): Likewise.
6095         * nptl/tst-stdio2.c (do_test): Likewise.
6097         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6098         * nptl/tst-kill6.c (handler): Likewise.
6099         * nptl/tst-tls2.c (CB): Likewise.
6100         * nptl/tst-tls3.c (CB): Likewise.
6102 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6104         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6106 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6107             Steve Ellcey  <sellcey@caviumnetworks.com>
6109         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6110           __ASSUME_ST_INO_64_BIT as 0
6111         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6112         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6113           over the code where __ASSUME_ST_INO_64_BIT is used.
6114         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6115         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6116         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6118 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6120         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6121         Document ABI exposure of the __kind offset.
6122         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6123         Mention reason for the __kind offset exposure in the ABI.
6124         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6125         Likewise.
6126         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6127         Likewise.
6128         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6129         Likewise.
6130         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6131         (struct __pthread_mutex_s): Likewise.
6132         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6133         Likewise.
6134         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6135         Likewise.
6136         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6137         Likewise.
6138         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6139         Likewise.
6140         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6141         Likewise.
6142         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6143         Likewise.
6144         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6145         (struct __pthread_mutex_s): Likewise.
6146         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6147         (struct __pthread_mutex_s): Likewise.
6148         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6149         Likewise.
6151 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6153         * test-skeleton.c: Document do_test usage.
6155 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6157         * iconv/gconv.h (__gconv_info): Define __data element using a
6158         zero-length array.
6160 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6162         * math/test-tgmath2.c: Split up test function.
6164 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6166         * Rules (tests-expected): New variable, depending on
6167         $(run-built-tests).
6168         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6169         $(tests).
6171         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6172         $(tests-unsupported).
6174 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6176         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6177         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6179 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6181         [BZ #20768]
6182         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6183         __fegetenv instead of fegetenv.
6185         [BZ #14139]
6186         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6187         (find_files): Obtain platform name from libm-test-ulps-name and
6188         store in %pplatforms.
6189         (canonicalize_platform): Remove.
6190         (print_platforms): Use $pplatforms directly.
6191         (by_platforms): Do not allow for platforms missing from
6192         %pplatforms.
6193         * sysdeps/aarch64/libm-test-ulps-name: New file.
6194         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6195         * sysdeps/arm/libm-test-ulps-name: Likewise.
6196         * sysdeps/generic/libm-test-ulps-name: Likewise.
6197         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6198         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6199         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6200         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6201         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6202         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6203         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6204         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6205         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6206         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6207         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6208         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6209         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6210         * sysdeps/sh/libm-test-ulps-name: Likewise.
6211         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6212         * sysdeps/tile/libm-test-ulps-name: Likewise.
6213         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6215         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6217         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6218         (test-xfail-check-execstack): New variable.
6220         * sysdeps/mips/localplt.data: New file.
6222 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6223             Steve Ellcey  <sellcey@caviumnetworks.com>
6225         * bits/wordsize.h: Add documentation.
6226         * sysdeps/aarch64/bits/wordsize.h : New file
6227         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6228         definitions.
6229         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6230         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6231         with #if instead of #ifdef.
6232         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6233         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6234         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6235         Add or change defines.
6236         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6237         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6238         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6239         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6240         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6241         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6242         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6243         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6244         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6245         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6246         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6247         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6248         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6249         * sysdeps/x86/bits/wordsize.h: Likewise.
6251 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6252             Kevin Petit  <kevin.petit@arm.com>
6254         * sysdeps/aarch64/memchr.S (__memchr): New file.
6256 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6258         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6260 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #19398]
6263         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6264         $(linknamespace-symlists-tests).
6266 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6268         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6270 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6271             Carlos O'Donell  <carlos@redhat.com>
6273         [Bug #20729]
6274         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6275         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6276         for -Os related change.
6278 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6280         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6282 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6284         [BZ #19673]
6285         * manual/math.texi (Exponents and Logarithms): Correct description
6286         of clog10.
6288 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6290         [Bz #20729]
6291         * locale/weight.h: Include libc-internal.h.
6292         * locale/weightwc.h: Likewise.
6293         * nptl/nptl_dbP.h: Likewise.
6295 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6297         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6298         when it is MACH_PORT_NULL.
6300 2016-10-31  Andreas Schwab  <schwab@suse.de>
6302         [BZ #20707]
6303         * posix/glob.c (glob): Initialize pglob before checking for
6304         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6305         valid brace expression despite GLOB_BRACE.
6306         * posix/globtest.sh: Test it.
6308 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6310         [BZ #20729]
6311         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6312         Define.
6313         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6314         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6315         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6316         for seq2.back_us and seq1.back_us only for -Os compiles.
6317         * locale/weightwc.h (findix): Likewise.
6318         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6319         DB_GET_FIELD_ADDRESS only for -Os compiles.
6320         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6321         for slen only for -Os compiles.
6322         * string/strcoll_l.c (get_next_seq): Ignore
6323         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6324         for -Os compiles.
6326         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6327         * include/crypt.h: New file.
6329 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6331         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6332         from test-skeleton.c.
6333         (statclass): Replace calls to write with calls to write_message.
6335 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6337         * math/math.h
6338         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6339         New macro.
6340         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6341         Likewise.
6342         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6343         Likewise.
6344         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
6345         SNANL.
6346         * math/test-double.h (snan_value_MACRO): New macro.
6347         * math/test-float.h (snan_value_MACRO): Likewise.
6348         * math/test-ldouble.h (snan_value_MACRO): Likewise.
6349         * math/libm-test.inc (issignaling_test_data): Add tests of
6350         snan_value_MACRO.
6352 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6354         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
6355         behavior when eliding a lock not held by the current thread.
6356         * sysdeps/powerpc/nptl/elide.h: Likewise.
6358 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6360         [BZ #20728]
6361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
6362         branch to _exit() by a function call.
6364 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6366         * malloc/malloc.c: Update chunk layout comments.
6367         (chunk_main_arena): Update comment.
6369 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6371         * crypt/sha256.c, crypt/sha256-block.c,
6372         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
6373         sha256_process_block to __sha256_process_block.
6374         * crypt/sha512.c, crypt/sha512-block.c,
6375         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
6376         sha512_process_block to __sha512_process_block.
6378 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6380         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
6382         * math/test-nan-overflow.c: Include stdlib.h for malloc.
6384 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
6386         [BZ #20019]
6387         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
6388         definition in unrelocated shared library.
6389         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6391 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6393         [BZ #20729]
6394         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
6395         * sysdeps/unix/sysv/linux/i386/Makefile
6396         (uses-6-syscall-arguments): Define.
6397         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
6398         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
6399         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
6400         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
6401         Likewise.
6402         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
6403         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
6404         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
6405         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
6406         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
6407         (CFLAGS-fallocate64.os): Likewise.
6408         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
6409         (CFLAGS-pthread_rwlock_timedrdlock.os)
6410         (CFLAGS-pthread_rwlock_timedwrlock.o)
6411         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
6412         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
6413         (CFLAGS-sem_timedwait.os): Likewise.
6415 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6417         * elf/tst-linkall-static.c: New file.
6418         * elf/Makefile (tests-static): Add tst-linkall-static.
6419         (tst-linkall-static): Link against static libraries.
6421 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6423         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6424         mmaped chunks.
6426 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6428         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6429         members to mchunk_prev_size, mchunk_size.
6430         (chunk_main_arena): Reverse sense and rename from
6431         chunk_non_main_arena.
6432         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6433         mchunk_size instead of size.
6434         (set_non_main_arena): Define.
6435         (chunksize): Use chunksize_nomask instead of direct member access.
6436         (chunksize_nomask): Define.
6437         (next_chunk): Use chunksize instead of direct member access.
6438         (prev_size, set_prev_size): Define.
6439         (prev_chunk): Use prev_size instead of direct member access.
6440         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6441         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6442         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6443         (mchunk_prev_size, mchunk_size): Poison tokens.
6444         (unlink): Use chunksize_nomask, prev_size accessors.
6445         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6446         (do_check_free_chunk): Use prev_size accessor.
6447         (sysmalloc): Use set_prev_size, set_head accessors.
6448         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6449         (__libc_free): Use chunksize_nomask accessor.
6450         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6451         chunk_main_arena accessors.
6452         (_int_free): Use chunksize_nomask, prev_size accessors.
6453         (malloc_consolidate): Use chunksize, prev_size accessors.
6454         (_int_realloc): Use chunksize_nomask accessor.
6455         (_int_memalign): Use set_prev_size accessor.
6456         (__malloc_info): Use chunksize_nomask accessor.
6457         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6458         accessors.
6459         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6460         (heap_trim): Use chunksize_nomask, prev_size accessors.
6462 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6464         [BZ #19380]
6465         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6466         for inexact results.
6467         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6468         of inexact result where mpfr_subnormalize is the only inexact
6469         step.
6470         * stdlib/tst-strtod-round-data.h: Regenerated.
6471         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6472         Define to 0.
6473         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6475 2016-10-27  David S. Miller  <davem@davemloft.net>
6477         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6479 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6481         * malloc/malloc.c (do_set_mallopt_check): New function.
6482         (do_set_mmap_threshold): Likewise.
6483         (do_set_mmaps_max): Likewise.
6484         (do_set_top_pad): Likewise.
6485         (do_set_perturb_byte): Likewise.
6486         (do_set_trim_threshold): Likewise.
6487         (do_set_arena_max): Likewise.
6488         (do_set_arena_test): Likewise.
6489         (__libc_mallopt): Use them.
6491 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6493         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6494         (canonicalize): New declaration.
6495         * math/Versions (canonicalize): New libm symbol at version
6496         GLIBC_2.25.
6497         (canonicalizef): Likewise.
6498         (canonicalizel): Likewise.
6499         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6500         * math/s_canonicalize_template.c: New file.
6501         * math/libm-test.inc: Update comment on functions tested and
6502         testing of NaN payloads.
6503         (TEST_NAN_PAYLOAD): New macro.
6504         (NO_TEST_INLINE): Update value.
6505         (XFAIL_TEST): Likewise.
6506         (ERRNO_UNCHANGED): Likewise.
6507         (ERRNO_EDOM): Likewise.
6508         (ERRNO_ERANGE): Likewise.
6509         (IGNORE_RESULT): Likewise.
6510         (NON_FINITE): Likewise.
6511         (TEST_SNAN): Likewise.
6512         (NO_TEST_MATHVEC): Likewise.
6513         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6514         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6515         (struct test_Ffp_b1_data): New type.
6516         (RUN_TEST_Ffp_b1): New macro.
6517         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6518         (canonicalize_test_data): New array.
6519         (canonicalize_test): New function.
6520         (main): Call canonicalize_test.
6521         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6522         canonicalizef and canonicalizel.
6523         * manual/libm-err-tab.pl: Update comment on interfaces without
6524         ulps tabulated.
6525         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6526         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6527         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6528         canonicalize.
6529         (CFLAGS-nldbl-canonicalize.c): New variable.
6530         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6531         to ...
6532         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6533         ... here.
6534         (do_test): Also test canonicalizel.
6535         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6536         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6537         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6538         file.
6539         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6540         Use libm_hidden_def.
6541         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6542         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6543         (do_test): Also test canonicalizel.
6544         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6545         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6546         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6547         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6548         libm_hidden_def.
6549         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6550         macro.
6551         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6552         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6553         * sysdeps/nacl/libm.abilist: Update.
6554         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6559         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6560         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6561         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6562         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6563         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6564         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6565         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6569         Likewise.
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6571         Likewise.
6572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6575         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6578         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6582         Likewise.
6583         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6584         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6585         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6587         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6588         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6589         getpayload.
6590         (CFLAGS-nldbl-getpayload.c): New variable.
6592 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6594         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6595         integer from the format string.
6597 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6599         [BZ #19473]
6600         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6601         declarations.
6602         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6603         weak aliases.
6604         * malloc/hooks.c (__malloc_get_state): Remove definition.
6605         (malloc_get_state): New stub implementation as
6606         compatibility symbol.
6607         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6608         compat symbol.
6609         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6610         malloc_set_state.
6611         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6613 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6615         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6616         (names): Turn into concatenation of strings.
6617         (gconv_init): Adapt iteration over names.
6619 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6621         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6622         make const.
6623         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6624         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6625         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6626         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6627         character in sbconv.
6628         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6629         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6630         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6632 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6634         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6636         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6637         (M_TRIM_THRESHOLD): Likewise.
6639         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6640         (M_ARENA_MAX): Likewise.
6641         * malloc/malloc.c: Remove obsolete comment.
6643         * manual/memory.texi: Add environment variable alternatives to
6644         setting mallopt parameters.
6646 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6648         * include/atomic.h
6649         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6650         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6652 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6654         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6655         * stdlib/tst-strfrom.h: New file.
6656         * stdlib/tst-strfrom.c: New file.
6657         * stdlib/tst-strfrom-locale.c: New file.
6659         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6660         * stdlib/bug-strtod2.c: Likewise.
6661         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6662         * stdlib/tst-strtod6.c: Likewise.
6663         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6665 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6667         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6668         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6669         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6670         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6671         * stdlib/stdlib.h (strfromd): New declaration.
6672         (strfromf): Likewise.
6673         (strfroml): Likewise.
6674         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6675         strfrom.
6676         * stdlib/strfromd.c: New file.
6677         * stdlib/strfromf.c: Likewise.
6678         * stdlib/strfroml.c: Likewise.
6679         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6680         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6681         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6682         * sysdeps/arm/nacl/libc.abilist: Update.
6683         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6684         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6685         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6686         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6687         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6688         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6691         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6693         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6703         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6705         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6712 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6714         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6715         instead of cmpli.
6716         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6717         instead of cmpli.
6719 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6721         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6722         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6723         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6724         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6725         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6726         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6728 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6730         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6731         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6732         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6733         SYSCALL_LL64_PRW.
6734         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6735         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6736         __ASSUME_PRW_DUMMY_ARG.
6737         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6738         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6739         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6740         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6741         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6742         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6744 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6746         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6748 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6750         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6751         "C++", to override a potential extern "C" directive around the
6752         header file inclusion.
6754 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6756         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6758 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6760         * sysdeps/powerpc/fpu/fenv_private.h:
6761         (_FPU_MASK_ALL): Rename to...
6762         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6763         XE FPSCR bits.
6765         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6767         (_FPU_MASK_ROUNDING): Rename to...
6768         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6769         NI bits.
6771         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6772         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6773         bits and rounding bits.
6775         (__libc_feholdbits_ppc): New inline function to mask, set,
6776         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6777         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6778         (libc_feholdexcept_setround_ppc): Likewise.
6780         (__libc_femergeenv_ppc): New function to dynamically mask both
6781         old and new FP environments and merge.
6782         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6783         (libc_feresetround_ppc): Likewise.
6784         (libc_feupdateenv_test_ppc): Likewise.
6785         (libc_feupdateenv_ppc): Likewise.
6787         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6788         of ISA RN bits, and update macro names.
6789         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6790         effectively the same as the previously mentioned function.
6792         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6793         usage with fe_resetround_ppc.
6795         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6796         to be used.
6797         (libc_feholdexcept_setround_ctxf): Likewise.
6798         (libc_feholdexcept_setround_ctxl): Likewise.
6800 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6802         [BZ #20715]
6803         * math/math.h [__cplusplus] (iszero): Define as function template.
6804         * math/Makefile [CXX] (tests): Add test-math-iszero.
6805         (CFLAGS-test-math-iszero.cc): Set.
6806         * math/test-math-iszero.cc: New file.
6808 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6810         [BZ #20660]
6811         * sysdeps/arm/e_sqrt.c: New file.
6812         * sysdeps/arm/e_sqrtf.c: Likewise.
6814 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6816         [BZ #20718]
6817         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6818         not use floating-point comparisons to test sign.
6819         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6820         Likewise.
6822         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6823         (getpayload): New declaration.
6824         * math/Versions (getpayload): New libm symbol at version
6825         GLIBC_2.25.
6826         (getpayloadf): Likewise.
6827         (getpayloadl): Likewise.
6828         * math/Makefile (libm-calls): Add s_getpayloadF.
6829         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6830         (struct test_f_f_data): Add comment.
6831         (RUN_TEST_fp_f): New macro.
6832         (RUN_TEST_LOOP_fp_f): Likewise.
6833         (getpayload_test_data): New array.
6834         (getpayload_test): New function.
6835         (main): Call getpayload_test.
6836         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6837         descriptor.
6838         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6839         getpayloadf and getpayloadl.
6840         * manual/libm-err-tab.pl: Update comment on interfaces without
6841         ulps tabulated.
6842         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6843         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6844         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6845         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6846         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6847         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6848         * sysdeps/nacl/libm.abilist: Update.
6849         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6850         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6852         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6853         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6854         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6855         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6856         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6857         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6858         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6859         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6860         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6864         Likewise.
6865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6866         Likewise.
6867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6868         Likewise.
6869         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6870         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6871         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6872         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6873         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6875         Likewise.
6876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6877         Likewise.
6878         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6879         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6880         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6882 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6884         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6885         tst-fallocate{64}.
6886         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6887         on syscall return.
6889 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6891         [BZ #20689]
6892         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6893         usable.
6895 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6897         * sysdeps/generic/nan-high-order-bit.h: New file.
6898         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6899         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6900         * sysdeps/hppa/math_private.h: Remove file.
6901         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6902         not define here.
6903         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6904         <nan-high-order-bit.h>.
6905         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6906         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6907         <nan-high-order-bit.h>.
6908         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6909         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6910         <nan-high-order-bit.h>.
6911         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6912         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6913         <nan-high-order-bit.h>.
6914         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6915         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6916         <nan-high-order-bit.h>.
6917         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6918         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6919         <nan-high-order-bit.h>.
6920         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6921         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6922         <nan-high-order-bit.h>.
6923         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6924         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6925         <nan-high-order-bit.h>.
6926         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6927         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6928         <nan-high-order-bit.h>.
6929         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6930         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6931         <nan-high-order-bit.h>.
6932         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6933         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6934         <nan-high-order-bit.h>.
6935         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6936         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6937         <nan-high-order-bit.h>.
6938         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6939         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6940         <nan-high-order-bit.h>.
6941         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6942         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6943         <nan-high-order-bit.h>.
6944         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6945         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6946         <nan-high-order-bit.h>.
6947         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6948         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6949         <nan-high-order-bit.h>.
6950         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6951         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6952         <nan-high-order-bit.h>.
6953         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6954         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6955         <nan-high-order-bit.h>.
6956         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6958 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6960         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6962 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6964         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6965         abort-instr.h.
6966         (EFAULT): Remove conditional define.
6967         (ENOSYS): Likewise.
6968         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6969         instead of conditional branch instructions.
6971 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6973         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6974         (totalordermag): New declaration.
6975         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6976         New macro.
6977         * math/Versions (totalordermag): New libm symbol at version
6978         GLIBC_2.25.
6979         (totalordermagf): Likewise.
6980         (totalordermagl): Likewise.
6981         * math/Makefile (libm-calls): Add s_totalordermagF.
6982         * math/libm-test.inc (totalordermag_test_data): New array.
6983         (totalordermag_test): New function.
6984         (main): Call totalordermag_test.
6985         * math/test-tgmath.c (NCALLS): Increase to 125.
6986         (F(compile_test)): Call totalordermag.
6987         (F(totalordermag)): New function.
6988         * manual/arith.texi (FP Comparison Functions): Document
6989         totalordermag, totalordermagf and totalordermagl.
6990         * manual/libm-err-tab.pl: Update comment on interfaces without
6991         ulps tabulated.
6992         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6993         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6994         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6995         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6996         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6997         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6998         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6999         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7000         totalordermag.
7001         (CFLAGS-nldbl-totalordermag.c): New variable.
7002         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
7003         (do_test): Also test totalordermagl.
7004         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
7005         Likewise.
7006         * sysdeps/nacl/libm.abilist: Update.
7007         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7008         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7009         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7010         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7011         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7012         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7013         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7014         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7015         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7016         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7017         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7018         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7020         Likewise.
7021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7022         Likewise.
7023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7024         Likewise.
7025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7026         Likewise.
7027         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7028         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7029         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7030         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7031         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7033         Likewise.
7034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7035         Likewise.
7036         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7037         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7038         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7040 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7042         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7043         boolean.
7045 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7047         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7048         raising FE_INVALID with feraisexcept in case where part of
7049         argument is infinite, subtract that part of argument from itself.
7050         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7051         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7052         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7054 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7056         * math/libm-test.inc (totalorder_test_data): Add more tests.
7058 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7060         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7061         Undefine weak_alias and add a comment why mips64 require
7062         versioning.
7064 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7066         [BZ #20647]
7067         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7068         maximum CPUID level is less than 2.
7070 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7072         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7073         (totalorder): New declaration.
7074         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7075         New macro.
7076         * math/Versions (totalorder): New libm symbol at version
7077         GLIBC_2.25.
7078         (totalorderf): Likewise.
7079         (totalorderl): Likewise.
7080         * math/Makefile (libm-calls): Add s_totalorderF.
7081         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7082         string.
7083         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7084         (qnan_value_pl): Likewise.
7085         (snan_value_pl): Likewise.
7086         (qnan_value): Define using qnan_value_pl.
7087         (snan_value): Define using snan_value_pl.
7088         (struct test_ff_i_data): Add comment about which tests use this
7089         structure.
7090         (RUN_TEST_ff_b): New macro.
7091         (RUN_TEST_LOOP_ff_b): Likewise.
7092         (totalorder_test_data): New array.
7093         (totalorder_test): New function.
7094         (main): Call totalorder_test.
7095         * math/test-tgmath.c (NCALLS): Increase to 122.
7096         (F(compile_test)): Call totalorder.
7097         (F(totalorder)): New function.
7098         * manual/arith.texi (FP Comparison Functions): Document
7099         totalorder, totalorderf and totalorderl.
7100         * manual/libm-err-tab.pl: Update comment on interfaces without
7101         ulps tabulated.
7102         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7103         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7104         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7105         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7106         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7107         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7108         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7109         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7110         totalorder.
7111         (CFLAGS-nldbl-totalorder.c): New variable.
7112         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7113         file.
7114         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7115         Add test-totalorderl-ldbl-128ibm.
7116         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7117         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7118         test-totalorderl-ldbl-96.
7119         * sysdeps/nacl/libm.abilist: Update.
7120         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7121         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7122         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7123         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7124         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7125         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7126         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7127         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7128         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7129         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7130         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7131         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7133         Likewise.
7134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7135         Likewise.
7136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7137         Likewise.
7138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7139         Likewise.
7140         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7141         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7142         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7143         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7144         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7146         Likewise.
7147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7148         Likewise.
7149         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7150         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7151         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7153 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7155         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7156         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7157         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7158         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7159         remove ENOSYS implementation.
7160         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7161         Consolidate all Linux implementations.
7163 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7165         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7166         * resolv/herror.c (herror): Cast away const-ness.
7167         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7168         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7170 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7172         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7173         instead of M_NAN + M_NAN.
7174         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7176 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7178         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7179         unused variable 'p'.
7181 2016-10-09  Alan Modra  <amodra@gmail.com>
7182             Andreas Schwab  <schwab@linux-m68k.org>
7184         [BZ #20554]
7185         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7186         [PIC && !SHARED]: Set up PIC register for PLT call.
7188 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7190         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7191         conditional on value of [__FLT_EVAL_METHOD__].
7192         * math/test-iseqsig-excess-precision.c: New file.
7193         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7195 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7197         * math/s_iseqsig_template.c: Include math-private.h.
7199         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7200         * posix/tst-posix_fadvise.c: New file.
7201         * posix/tst-posix_fadvise64.c: Likewise.
7202         * posix/tst-posix_fadvise-common.c: Likewise.
7203         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7204         (__ASSUME_FADVISE64_64_6ARG): Define.
7205         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7206         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7207         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7208         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7209         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7210         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7211         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7212         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7213         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7214         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7215         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7216         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7219         Likewise.
7220         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7221         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7222         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7223         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7224         Alias to __posix_fadvise64_l32.
7225         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7226         Add compat definition to posix_fadvise64.
7227         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7228         Add versioned definition to posix_fadvise64.
7229         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7230         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7231         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7232         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7233         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7235         * io/Makefile (tests): Add tst-posix_fallocate and
7236         tst-posix_fallocate64.
7237         * io/tst-posix_fallocate-common.c: New file.
7238         * io/tst-posix_fallocate.c: Likewise.
7239         * io/tst-posix_fallocate64.c: Likewise.
7240         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7241         file.
7242         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7243         Likewise.
7244         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7245         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7246         Likewise.
7247         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7248         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7249         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7250         SYSCALL_LL to pass both offset and len arguments.
7251         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7252         Likewise.
7253         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7254         __libc_pwrite64 alias used by posix_fallocate64.
7256         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7257         tst-fallocate64.
7258         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7259         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7260         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7261         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7262         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7263         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7264         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7265         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7266         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7267         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7268         macro on offset argument.
7269         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7270         SYSCALL_LL64 on offset argument.
7272         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7273         tst-fallocate64.
7274         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7275         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7276         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7277         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7278         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7279         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7280         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7281         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7282         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7283         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7284         macro on offset argument.
7285         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7286         SYSCALL_LL64 on offset argument.
7287         * test-skeleton.c (FAIL_RET): Add macro.
7288         (FAIL_EXIT): Likewise.
7289         (FAIL_EXIT1): Likewise.
7290         (_FAIL): Likewise.
7292 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7294         [BZ #20629]
7295         resolv: Remove RES_USEBSTRING and its implementation.
7296         * resolv/resolv.h (RES_USEBSTRING): Remove.
7297         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7298         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7299         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7300         (labellen): Remove extended label types support.
7301         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7302         * resolv/res_init.c (res_setoptions): Likewise.
7303         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7305 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7307         resolv: Remove RES_NOIP6DOTINT and its implementation.
7308         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7309         (RES_NOIP6DOTINT): Remove.
7310         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7311         handling.
7312         * resolv/res_debug.c (p_option): Likewise.
7313         * resolv/res_init.c (res_setoptions): Likewise.
7314         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7316 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7318         resolv: Deprecate unimplemented flags.
7319         * misc/sys/cdefs.h (__glibc_macro_warning1)
7320         (__glibc_macro_warning): Define.
7321         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7322         (RES_KEEPTSIG): Mark as deprecated.
7323         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7324         RES_NOCHECKNAME, RES_KEEPTSIG.
7325         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7327 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7329         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7330         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7331         Use strong_alias to create symbols for glibc verison 2.19.
7333 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7335         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7337 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7339         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7341 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7343         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
7345 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7347         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7348         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
7349         in header for using it as type for ifunc function because __GI_* symbols
7350         for ppc32 do not target the ifunc symbols.
7351         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7353 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7355         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
7356         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
7357         libc_ifunc_hidden_def.
7358         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7359         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
7360         Redirect ifunced function in header for using it as type of ifunc'ed
7361         function. Redefine libc_hidden_def to use fallback non ifunc'ed
7362         function for __GI_* symbol.
7363         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
7364         * include/libc-symbols.h
7365         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
7367 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7369         [BZ #20478]
7370         * sysdeps/s390/multiarch/ifunc-resolve.h
7371         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
7372         to create ifunc symbols.
7373         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
7374         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
7375         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
7376         for using it as type for ifunc function.
7377         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7378         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7379         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7380         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7381         * sysdeps/s390/multiarch/strcat.c: Likewise.
7382         * sysdeps/s390/multiarch/strchr.c: Likewise.
7383         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7384         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7385         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7386         * sysdeps/s390/multiarch/strlen.c: Likewise.
7387         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7388         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7389         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7390         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7391         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7392         * sysdeps/s390/multiarch/strspn.c: Likewise.
7393         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7394         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7395         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7396         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7397         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7398         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7399         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7400         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
7401         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
7402         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7403         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
7404         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
7406 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7408         * include/libc-symbols.h (__ifunc_resolver):
7409         New macro is used by __ifunc* macros.
7410         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
7411         depending on HAVE_GCC_IFUNC.
7412         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
7413         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
7414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7415         Redirect ifunced function in header for using as type for ifunc function.
7416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
7417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
7418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
7419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
7420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7421         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7422         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7424         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7425         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7426         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7427         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7428         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7429         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7435         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7436         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7437         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7438         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7439         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7440         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7441         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7442         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7443         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7444         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7445         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7446         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7447         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7448         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7450         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7451         instead of libc_ifunc() macro.
7452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7453         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7455 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7457         * config.h.in (HAVE_GCC_IFUNC): New undef.
7458         * configure.ac: Add check if gcc supports attribute ifunc feature.
7459         * configure: Regenerated.
7460         * manual/install.texi: Add recommendation for gcc with
7461         indirect-function support.
7462         * INSTALL: Regenerated.
7464 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7466         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7467         macro.
7468         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7469         (__iseqsig): New declaration.
7470         * math/s_iseqsig_template.c: New file.
7471         * math/Versions (__iseqsigf): New libm symbol at version
7472         GLIBC_2.25.
7473         (__iseqsig): Likewise.
7474         (__iseqsigl): Likewise.
7475         * math/libm-test.inc (iseqsig_test_data): New array.
7476         (iseqsig_test): New function.
7477         (main): Call iseqsig_test.
7478         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7479         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7480         * manual/libm-err-tab.pl: Update comment on interfaces without
7481         ulps tabulated.
7482         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7483         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7484         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7485         * sysdeps/nacl/libm.abilist: Update.
7486         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7487         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7488         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7489         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7490         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7491         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7492         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7493         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7494         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7495         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7496         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7497         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7499         Likewise.
7500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7501         Likewise.
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7503         Likewise.
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7505         Likewise.
7506         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7507         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7508         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7509         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7510         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7512         Likewise.
7513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7514         Likewise.
7515         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7517         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7519 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7521         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7522         do_sincos_2, sloww, sloww1): Update comments.
7524         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7525         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7527         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7528         K boolean and rename it.
7529         (__sin): Adjust.
7530         (__cos): Adjust.
7532 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7533             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7535         * manual/nss.texi: Fix typos in the manual.
7537 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7539         * manual/contrib.texi: Fix typos in the manual.
7541         * manual/maint.texi: Fix typos in the manual.
7543         * manual/install.texi: Fix typos in the manual.
7544         * INSTALL: Regenerated.
7546         * manual/lang.texi: Fix typos in the manual.
7548         * manual/probes.texi: Fix typos in the manual.
7550         * manual/threads.texi: Fix typos in the manual.
7552         * manual/debug.texi: Fix typos in the manual.
7554         * manual/crypt.texi: Fix typos in the manual.
7556         * manual/conf.texi: Fix typos in the manual.
7558         * manual/sysinfo.texi: Fix typos in the manual.
7560         * manual/users.texi: Fix typos in the manual.
7562         * manual/job.texi: Fix typos in the manual.
7564         * manual/process.texi: Fix typos in the manual.
7566         * manual/argp.texi: Fix typos in the manual.
7567         * manual/getopt.texi: Likewise.
7568         * manual/startup.texi: Likewise.
7570         * manual/signal.texi: Fix typos in the manual.
7572         * manual/setjmp.texi: Fix typos in the manual.
7574         * manual/resource.texi: Fix typos in the manual.
7576         * manual/time.texi: Fix typos in the manual.
7578         * manual/arith.texi: Fix typos in the manual.
7580         * manual/math.texi: Fix typos in the manual.
7582         * manual/syslog.texi: Fix typos in the manual.
7584         * manual/terminal.texi: Fix typos in the manual.
7586         * manual/socket.texi: Fix typos in the manual.
7588         * manual/filesys.texi: Fix typos in the manual.
7590         * manual/llio.texi: Fix typos in the manual.
7592         * manual/stdio.text: Fix typos in the manual.
7594 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7596         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7597         instead of K1.
7599         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7600         SHIFT_QUADRANT and make it bool.
7601         (do_sincos_2): Likewise.
7602         (sloww): Likewise.
7603         (sloww1): Likewise.
7604         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7605         (__cos): Likewise.
7607 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7609         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7611 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7613         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7614         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7615         0x7fffffffL].
7616         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7618 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7620         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7621         inline by __inline__.
7622         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7623         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7624         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7625         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7626         sigset_t from signal.h.
7627         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7628         which is already required.
7630 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7632         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7634 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7636         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7637         (struct tcp_repair_window): New type.
7639 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7641         * libio/tst-memstream3.c: Include string.h.
7643 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7645         [BZ #18241]
7646         [BZ #20181]
7647         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7648         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7649         write position is at the end the buffer.
7650         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7651         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7652         (_IO_str_seekoff): Set correct offset from negative displacement and
7653         set EINVAL for invalid ones.
7654         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7655         buffer length.
7656         (_IO_wstr_switch_to_get_mode): New function.
7657         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7658         set EINVAL for invalid ones.
7659         * libio/tst-memstream3.c: New file.
7660         * libio/tst-wmemstream3.c: Likewise.
7661         * manual/examples/memstrm.c: Remove warning when priting size_t.
7663 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7665         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7666         macro to use __builtin_fma.
7667         * sysdeps/x86_64/fpu/dla.h: Remove file.
7669         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7670         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7671         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7673 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7675         [BZ #20292]
7676         * elf/Makefile (routines): Add dl-addr-obj.
7677         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7678         tst-_dl_addr_inside_object.
7679         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7680         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7681         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7682         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7683         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7684         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7685         * elf/dl-open.c: Likewise.
7686         * elf/dl-addr-obj.c: New file.
7687         * elf/tst-_dl_addr_inside_object.c: New file.
7689 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7691         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7692         <bits/iscanonical.h>.
7693         * bits/iscanonical.h: New file.
7694         * math/s_iscanonicall.c: Likewise.
7695         * math/Versions (__iscanonicall): New libm symbol at version
7696         GLIBC_2.25.
7697         * math/libm-test.inc (iscanonical_test_data): New array.
7698         (iscanonical_test): New function.
7699         (main): Call iscanonical_test.
7700         * math/Makefile (headers): Add bits/iscanonical.h.
7701         (type-ldouble-routines): Add s_iscanonicall.
7702         * manual/arith.texi (Floating Point Classes): Document
7703         iscanonical.
7704         * manual/libm-err-tab.pl: Update comment on interfaces without
7705         ulps tabulated.
7706         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7707         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7708         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7709         Likewise.
7710         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7711         test-iscanonical-ldbl-128ibm.
7712         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7713         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7714         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7715         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7716         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7717         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7718         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7720         Likewise.
7721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7722         Likewise.
7723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7724         Likewise.
7725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7726         Likewise.
7727         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7730 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7732         * string/bits/string3.h: Remove C++ style comments.
7734 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7736         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7737         instead of ternary condition.
7738         (do_sincos_2): Likewise.
7739         (__sin): Likewise.
7740         (__cos): Likewise.
7741         (slow): Likewise.
7742         (sloww): Likewise.
7743         (sloww1): Likewise.
7744         (bsloww): Likewise.
7745         (bsloww1): Likewise.
7747         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7748         instead of ternary condition.
7749         (do_sin_slow): Likewise.
7750         (do_sincos_1): Likewise.
7751         (do_sincos_2): Likewise.
7752         (__cos): Likewise.
7753         (sloww): Likewise.
7754         (sloww1): Likewise.
7755         (sloww2): Likewise.
7756         (bsloww): Likewise.
7757         (bsloww1): Likewise.
7758         (bsloww2): Likewise.
7760         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7761         check from here...
7762         (slow2): ... and here...
7763         (__sin): ... to here.
7765 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7767         * math/math.h
7768         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7769         Cast argument to its own type.
7770         * math/test-iszero-excess-precision.c: New file.
7771         * math/Makefile (tests): Add test-iszero-excess-precision.
7772         (CFLAGS-test-iszero-excess-precision.c): New variable.
7774 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7776         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7777         field, add err field.
7778         (__spawni_child): Report error through err member instead of pipe.
7779         (__spawnix): Likewise.
7781 2016-09-28  Zack Weinberg  <zackw@panix.com>
7783         * scripts/check-installed-headers.sh: Generalize treatment of
7784         sys/elf.h to all target architectures.
7786         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7787         deleted typedef ucontext_t.
7789 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7791         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7792         (__INTERNAL_SYSCALL1): Likewise.
7793         (__INTERNAL_SYSCALL2): Likewise.
7794         (__INTERNAL_SYSCALL3): Likewise.
7795         (__INTERNAL_SYSCALL4): Likewise.
7796         (__INTERNAL_SYSCALL5): Likewise.
7797         (__INTERNAL_SYSCALL6): Likewise.
7798         (__INTERNAL_SYSCALL7): Likewise.
7799         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7800         (__INTERNAL_SYSCALL_NARGS): Likewise.
7801         (__INTERNAL_SYSCALL_DISP): Likewise.
7802         (INTERNAL_SYSCALL_CALL): Likewise.
7803         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7804         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7805         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7806         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7807         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7808         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7809         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7810         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7811         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7812         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7813         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7814         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7815         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7817 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7819         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7820         macro.
7821         * math/libm-test.inc (iszero_test_data): New array.
7822         (iszero_test): New function.
7823         (main): Call iszero_test.
7824         * manual/arith.texi (Floating Point Classes): Document iszero.
7825         * manual/libm-err-tab.pl: Update comment on interfaces without
7826         ulps tabulated.
7828 2016-09-23  Zack Weinberg  <zackw@panix.com>
7830         * scripts/check-installed-headers.sh: New script.
7831         * Rules: In each directory that defines header files to be installed,
7832         run check-installed-headers.sh on them as a special test.
7833         * Makefile: Likewise for the headers installed at top level.
7835         * include/aliases.h, include/alloca.h, include/argz.h
7836         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7837         * include/elf.h, include/envz.h, include/err.h
7838         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7839         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7840         * include/link.h, include/malloc.h, include/mcheck.h
7841         * include/mntent.h, include/netinet/ether.h
7842         * include/nss.h, include/obstack.h, include/printf.h
7843         * include/pty.h, include/resolv.h, include/rpc/auth.h
7844         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7845         * include/rpc/clnt.h, include/rpc/des_crypt.h
7846         * include/rpc/key_prot.h, include/rpc/netdb.h
7847         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7848         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7849         * include/rpc/rpc_msg.h, include/rpc/svc.h
7850         * include/rpc/svc_auth.h, include/rpc/xdr.h
7851         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7852         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7853         * include/rpcsvc/ypupd.h, include/shadow.h
7854         * include/stdio_ext.h, include/sys/epoll.h
7855         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7856         * include/sys/prctl.h, include/sys/profil.h
7857         * include/sys/statfs.h, include/sys/sysctl.h
7858         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7859         * sysdeps/arm/nacl/include/bits/setjmp.h
7860         * sysdeps/mips/include/sys/asm.h
7861         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7862         * sysdeps/unix/sysv/linux/include/sys/timex.h
7863         * sysdeps/x86/fpu/include/bits/fenv.h:
7864         Add #ifndef _ISOMAC guard around internal declarations.
7865         Add multiple-inclusion guard if not already present.
7867 2016-09-23  Zack Weinberg  <zackw@panix.com>
7869         * sysdeps/generic/sys/ucontext.h
7870         * sysdeps/arm/sys/ucontext.h
7871         * sysdeps/i386/sys/ucontext.h
7872         * sysdeps/m68k/sys/ucontext.h
7873         * sysdeps/mips/sys/ucontext.h
7874         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7875         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7876         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7877         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7878         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7879         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7880         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7881         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7882         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7883         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7884         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7885         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7886         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7887         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7888         Include both bits/sigcontext.h and bits/sigstack.h.
7889         Fix grammar error in comment, if present.
7891         * bits/sigstack.h
7892         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7893         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7894         * sysdeps/unix/sysv/linux/bits/sigstack.h
7895         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7896         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7897         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7898         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7899         * bits/sigcontext.h
7900         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7901         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7902         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7903         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7904         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7905         as well as signal.h, if this was not already allowed.  Request
7906         definition of size_t if necessary.  Minimize semantically-null
7907         differences across files.
7909 2016-09-23  Zack Weinberg  <zackw@panix.com>
7911         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7912         Remove all logic conditional on __need macros.  Move all the
7913         conditionally defined types to their own headers...
7914         * time/bits/types/clock_t.h: Define clock_t here.
7915         * time/bits/types/clockid_t.h: Define clockid_t here.
7916         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7917         * time/bits/types/struct_timespec.h: Define struct timespec here.
7918         * time/bits/types/struct_timeval.h: Define struct timeval here.
7919         * time/bits/types/struct_tm.h: Define struct tm here.
7920         * time/bits/types/time_t.h: Define time_t here.
7921         * time/bits/types/timer_t.h: Define timer_t here.
7922         * time/Makefile: Install the new headers.
7924         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7925         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7926         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7927         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7928         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7929         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7930         * sysdeps/unix/sysv/linux/bits/resource.h
7931         * sysdeps/unix/sysv/linux/bits/timex.h
7932         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7933         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7934         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7935         * sysdeps/unix/sysv/linux/sys/acct.h
7936         * sysdeps/unix/sysv/linux/sys/timerfd.h
7937         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7938         * time/sys/time.h, time/sys/timeb.h
7939         Use the new bits/types headers.
7941         * include/time.h: Remove __need logic.
7942         * include/bits/time.h
7943         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7944         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7945         * include/bits/types/struct_itimerspec.h
7946         * include/bits/types/struct_timespec.h
7947         * include/bits/types/struct_timeval.h
7948         * include/bits/types/struct_tm.h:
7949         New wrapper headers.
7951 2016-09-23  Zack Weinberg  <zackw@panix.com>
7953         * sysdeps/mach/hurd/net/if_ppp.h
7954         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7955         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7956         if __USE_MISC is defined, to ensure struct ifreq is declared.
7958         * inet/netinet/ether.h: Condition all function prototypes
7959         on __USE_MISC, to ensure struct ether_addr is declared.
7961         * socket/bits/types/struct_osockaddr.h: New header.
7962         * include/bits/types/struct_osockaddr.h: New wrapper.
7963         * socket/Makefile: Install the new header.
7964         * socket/sys/socket.h, inet/protocols/talkd.h:
7965         Refer to bits/types/struct_osockaddr.h for the definition of
7966         struct osockaddr.
7968 2016-09-23  Zack Weinberg  <zackw@panix.com>
7970         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7971         * inet/protocols/routed.h, inet/protocols/talkd.h
7972         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7973         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7974         * sysdeps/generic/netinet/if_ether.h
7975         * sysdeps/generic/netinet/in_systm.h
7976         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7977         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7978         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7979         * sysdeps/mach/hurd/net/if_arp.h
7980         * sysdeps/mach/hurd/net/if_ppp.h
7981         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7982         * sysdeps/unix/sysv/linux/bits/in.h
7983         * sysdeps/unix/sysv/linux/net/ethernet.h
7984         * sysdeps/unix/sysv/linux/net/if_arp.h
7985         * sysdeps/unix/sysv/linux/net/if_ppp.h
7986         * sysdeps/unix/sysv/linux/net/if_shaper.h
7987         * sysdeps/unix/sysv/linux/net/route.h
7988         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7989         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7990         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7991         * sysdeps/unix/sysv/linux/netipx/ipx.h
7992         * sysdeps/unix/sysv/linux/sys/acct.h
7993         * include/arpa/nameser.h, include/resolv.h:
7994         Change all uses of u_char to unsigned char,
7995         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7996         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7997         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7998         and u_int64_t and u_quad_t to uint64_t.
8000         * mach/sys/reboot.h: Remove two casts of integer literals
8001         to the types they already have.
8003         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
8004         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8005         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
8006         from referring to 'unsigned char' to 'uint8_t' for consistency with
8007         the macro definition below.
8009         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8010         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8011         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8012         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8013         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8014         * sysdeps/unix/sysv/linux/sys/acct.h
8015         * include/arpa/nameser.h, include/resolv.h:
8016         Fix indentation disrupted by mechanical edits.
8018         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8019         * sysdeps/generic/netinet/in_systm.h
8020         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8021         * sysdeps/gnu/netinet/udp.h
8022         * sysdeps/unix/sysv/linux/net/ethernet.h
8023         * sysdeps/unix/sysv/linux/net/if_arp.h
8024         * sysdeps/unix/sysv/linux/net/if_ppp.h
8025         * sysdeps/unix/sysv/linux/net/if_shaper.h
8026         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8027         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8028         * sysdeps/unix/sysv/linux/netipx/ipx.h
8029         * sysdeps/unix/sysv/linux/sys/acct.h
8030         Include stdint.h for uintNN_t definitions.
8031         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8033 2016-09-23  Zack Weinberg  <zackw@panix.com>
8035         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8036         * sysdeps/unix/sysv/linux/netrose/rose.h:
8037         Include sys/socket.h and netax25/ax25.h.
8039         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8040         * resolv/arpa/nameser_compat.h:
8041         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8043         * sysdeps/unix/sysv/linux/sys/quota.h:
8044         Use __caddr_t instead of caddr_t.
8045         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8046         Use __clockid_t instead of clockid_t.
8048         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8050         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8051         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8052         expanding it.
8054         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8055         Define __glibc_c99_flexarr_available to 1 when the compiler
8056         supports C99-compatible flexible array members, 0 otherwise.
8057         * sysdeps/unix/sysv/linux/bits/socket.h
8058         * sysdeps/mach/hurd/bits/socket.h
8059         * bits/socket.h: Use __glibc_c99_flexarr_available in
8060         definitions of struct cmsghdr and CMSG_DATA.
8062 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8064         * manual/nss.texi (NSS Modules Interface): Adjust function return
8065         type to enum nss_status.  Document errnop argument.  Clarify
8066         h_errnop semantics.  Fix cross-reference formatting.
8067         (NSS Module Function Internals): Mention that *errnop needs to be
8068         set on failure, but not to zero.
8070 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8072         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8073         (get_random_name): New functions.
8074         (check_wrapper_flags_mode): Use linkat to give the new file a name
8075         determined by get_random_name.
8076         (do_test): Add calls to test open64 and openat64.
8078 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8080         * test-skeleton.c: Remove #include <stdarg.h>.
8082 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8084         [BZ #19826]
8085         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8086         initialization of static TLS entries.
8087         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8088         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8090 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8092         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8093         _hurd_malloc_fork_prepare.
8094         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8095         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8096         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8097         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8098         (_hurd_fork_child_hook): Drop malloc_fork_child.
8099         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8100         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8101         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8102         after locking locks (notably hurd_dtable_lock). Call
8103         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8104         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8105         __malloc_fork_unlock_child.
8106         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8108 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8110         * soft-fp/extendhftf2.c: New.
8111         * soft-fp/fixhfti.c: Likewise.
8112         * soft-fp/fixunshfti.c: Likewise.
8113         * soft-fp/floattihf.c: Likewise.
8114         * soft-fp/floatuntihf.c: Likewise.
8115         * soft-fp/half.h: Likewise.
8116         * soft-fp/trunctfhf2.c: Likewise.
8118 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8120         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8121         macro.
8122         * math/libm-test.inc (issubnormal_test_data): New array.
8123         (issubnormal_test): New function.
8124         * manual/arith.texi (Floating Point Classes): Document
8125         issubnormal.
8126         * manual/libm-err-tab.pl: Update comment on interfaces without
8127         ulps tabulated.
8129         * sysdeps/generic/stdint.h: Define
8130         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8131         <bits/libc-header-start.h> instead of including <features.h>.
8132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8136         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8139         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8165         * manual/arith.texi (Integers): Document these macros for types
8166         specified by width properties.
8167         * manual/lang.texi (Width of Type): Document these macros for
8168         other standard typedefs.
8169         * stdlib/tst-width-stdint.c: New file.
8170         * stdlib/Makefile (tests): Add tst-width-stdint.
8172 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8174         [BZ #20016]
8175         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8176         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8177         Move ...
8178         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8179         ... here, as compatibility symbols in a new file.
8180         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8181         * resolv/res_init.c (__res_vinit): Adjust member names.
8182         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8183         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8184         (res_send_rhook): Remove.
8185         (struct __res_state): Rename qhook, rhook members.
8187 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8189         malloc: Use __libc_lock wrappers.
8190         * malloc/arena.c (list_lock, free_list_lock): Define using
8191         __libc_lock_define_initialized.
8192         (arena_lock): Adjust formatting.
8193         * malloc/malloc.c (struct malloc_state): Define mutex using
8194         __libc_lock_define.
8195         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8196         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8197         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8198         (mutex_unlock, mutex_trylock): Remove.
8199         (__pthread_initialize): Remove unused macro.
8200         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8201         (mutex_unlock, mutex_trylock): Remove.
8203 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8205         [BZ #20592]
8206         Remove RR type classification macros.
8207         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8208         (ns_t_udp_p, ns_t_xfr_p): Remove.
8210 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8212         Remove misleading version information.
8213         * resolv/arpa/nameser.h (__NAMESER): Remove.
8214         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8216 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8218         Remove the always-defined BIND_4_COMPAT macro.
8219         * resolv/arpa/nameser.h: Unconditionally include
8220         <arpa/nameser_compat.h>.
8221         (BIND_4_COMPAT): Remove.
8222         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8224 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8226         [BZ #20591]
8227         Remove obsolete DNSSEC support.
8228         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8229         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8230         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8231         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8232         (ns_cert_types): Add comment.
8233         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8234         separately.
8235         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8236         (dst_s_dns_key_id): Remove.
8237         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8238         variables.
8240 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8242         [BZ #20524]
8243         * manual/string.texi (String/Array Comparison): Clarify the
8244         strverscmp behavior.
8246 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8248         * test-skeleton.c (xasprintf): Add function.
8249         * io/tst-open-tmpfile.c: New test.
8250         * io/Makefile (tests): Add it.
8252 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8254         Avoid running $(CXX) during build to obtain header file paths.
8255         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8256         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8257         * Makerules (cstdlib, cmath): Remove variables.  Use
8258         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8259         * configure: Regenerate.
8261 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8263         * Makeconfig (all-object-suffixes): Include .op only if
8264         $(build-profile).
8266 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8268         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8269         conditionals.  Do not define PATH_MAX.
8271 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8273         * posix/Makefile (tests): Add tst-spawn3.
8274         * posix/tst-spawn3.c: New file.
8275         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8276         if it is already opened for open action.
8278         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8279         all signals when executing the clone vfork child.
8280         (SIGALL_SET): Remove macro.
8282         * nptl/Makefile (tests): Add tst-exec5.
8283         * nptl/tst-exec5.c: New file.
8284         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8285         asynchronous cancellation.
8287 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8289         * hurd/exc2signal.c: #include <hurd/signal.h>
8290         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8291         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8292         accordingly.
8293         * mach/mach_error.c (mach_error): Fix old-style function definition.
8294         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8296 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8298         * math/Makefile (libm-calls): Remove s_nanF.
8299         (gen-libm-calls): Add s_nanF.
8301         * math/s_nan.c: Refactor into ...
8302         * math/s_nan_template.c: New file.
8304         * math/s_nanf.c: Removed.
8305         * math/s_nanl.c: Removed.
8306         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8307         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8309         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8310         (LDOUBLE_nanl_libm_version): New macro.
8312         * sysdeps/generic/math-type-macros-double.h:
8313         (M_STRTO_NAN): New macro.
8314         * sysdeps/generic/math-type-macros-float.h: Likewise.
8315         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8317         * sysdeps/generic/math-type-macros.h: Document
8318         M_STRTO_NAN.
8320 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8322         * math/s_nanf.c: Remove __nanf undef.
8323         * math/s_nan.c: Remove __nan undef.
8324         * math/s_nanl.c: Remove __nanl undef.
8326         * sysdeps/generic/math_private.h (__nan): Remove macro
8327         override.
8328         (__nanf): Likewise.
8329         (__nanl): Likewise.
8331 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8333         * math/Makefile (gen-all-calls): New variable.
8334         (generated): Replace gen-libm-calls with gen-all-calls.
8335         (gen-libm-templates.stmp): Likewise.  Also, ensure
8336         the output directory exists or is created and add
8337         dependency on the Makefile.
8338         (calls): Move s_ldexpF into gen-calls.
8339         (gen-calls): New variable.
8341         * math/s_ldexpf.c: Removed.
8342         * math/s_ldexpl.c: Removed.
8343         * math/s_ldexp.c: Refactored into ...
8344         * math/s_ldexp_template.c: New file.
8346         * sysdeps/generic/math-type-macros-double.h: Remove
8347         redundant fall-through definition of declare_mgen_alias.
8348         (declare_mgen_alias_2): New macro.
8350         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
8351         New macro for function aliased to two exported symbols.
8353         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
8354         new template file.
8355         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8357 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8359         * Makeconfig (all-object-suffixes): Remove .og.
8360         * Makerules (elide-routines.og): Remove.
8361         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
8362         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
8363         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
8365 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8367         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
8368         .os objects.
8370 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8372         [BZ #20615]
8373         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
8374         fpu directory by non-fpu.
8375         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
8376         on non-fpu directory from a fpu directory.
8378 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
8380         * include/limits.h: Define
8381         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8382         <bits/libc-header-start.h> instead of including <features.h>.
8383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
8384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
8385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
8386         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
8387         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
8388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
8389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
8390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
8391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
8393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
8394         * manual/lang.texi (Width of Type): Document these macros.
8395         * stdlib/tst-width.c: New file.
8396         * stdlib/Makefile (tests): Add tst-width.
8398 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8400         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
8401         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
8403 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8405         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8406         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8407         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8409 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8411         [BZ #18243]
8412         * rt/Makefile (test): Add tst-shm-cancel.
8413         * rt/tst-shm-cancel.c: New file.
8414         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
8416         [BZ #18243]
8417         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
8418         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
8419         definition.
8420         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
8421         uncontended case.
8422         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8423         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8424         (tf): Fix check for uncontended case.
8425         (do_test): Likewise.
8426         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8427         (tf): Fix check for uncontended case.
8428         (do_test): Likewise.
8429         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8430         (tf): Fix check for uncontended case.
8431         (do_test): Likewise.
8432         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8433         (tf): Fix check for uncontended case.
8434         (do_test): Likewise.
8436         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8437         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8439         [BZ #15765]
8440         * nptl/Makefile (tests): Add tst-sem16.
8441         * nptl/tst-sem16.c: New file.
8442         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8444         * nptl/sem_open.c (sem_open): Init pad value to 0.
8445         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8446         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8448 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8450         [BZ #20611]
8451         * inet/Makefile (routines): Add inet6_scopeid_pton.
8452         (tests): Add tst-inet6_scopeid_pton.
8453         * inet/inet6_scopeid_pton.c: New file.
8454         * inet/net-internal.h: Likewise.
8455         * inet/tst-inet6_scopeid_pton.c: New test.
8456         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8457         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8460 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8462         Remove support for compiling wrappers with PTW.
8463         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8464         * nptl/Makefile (pthread-compat-wrappers): Define.
8465         (libpthread-routines): Use pthread-compat-wrappers.
8466         * sysdeps/unix/sysv/linux/alpha/Makefile
8467         (libpthread-routines, libpthread-shared-only-routines): Remove
8468         ptw- prefix.
8469         * sysdeps/s390/nptl/Makefile
8470         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8471         * sysdeps/ia64/nptl/Makefile
8472         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8473         * sysdeps/nacl/Makefile (libpthread-routines): Use
8474         pthread-compat-wrappers to filter the routines list instead of the
8475         ptw- prefix.
8477 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8479         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8480         with L() and remove explicit suffix, convert real literals
8481         which can be equivalentally substituted with integers, and
8482         transform -L(x) to L(-x).
8484         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8485         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8486         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8487         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8488         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8489         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8490         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8491         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8492         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8493         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8494         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8495         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8496         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8497         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8498         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8499         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8500         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8501         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8502         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8503         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8504         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8505         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8506         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8507         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8508         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8509         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8510         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8511         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8512         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8513         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8514         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8515         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8516         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8517         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8518         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8519         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8520         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8521         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8522         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8524         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8525         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8526         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8527         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8528         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8529         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8530         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8531         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8532         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8533         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8535 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8537         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8539 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8541         * malloc/Makefile (tests): Remove individual static test names
8542         and just add all of tests-static.
8544         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8546 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8548         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8549         file.
8551         * sysdeps/sparc/fpu/fegetmode.c: New file.
8552         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8554         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8555         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8557         * sysdeps/s390/fpu/fegetmode.c: New file.
8558         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8560         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8561         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8562         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8563         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8564         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8565         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8567         * sysdeps/mips/fpu/fegetmode.c: New file.
8568         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8570         * sysdeps/m68k/fpu/fegetmode.c: New file.
8571         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8573         * sysdeps/ia64/fpu/fegetmode.c: New file.
8574         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8576         * sysdeps/hppa/fpu/fegetmode.c: New file.
8577         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8579         * sysdeps/arm/fegetmode.c: New file.
8580         * sysdeps/arm/fesetmode.c: Likewise.
8582         * sysdeps/alpha/fpu/fegetmode.c: New file.
8583         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8585         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8586         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8588         * math/fegetmode.c: New file.
8589         * math/fesetmode.c: Likewise.
8590         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8591         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8592         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8593         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8594         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8596         declaration.
8597         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8598         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8599         typedef.
8600         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8601         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8602         (femode_t): New typedef.
8603         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8604         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8605         (femode_t): New typedef.
8606         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8607         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8608         (femode_t): New typedef.
8609         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8610         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8611         (femode_t): New typedef.
8612         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8613         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8614         (femode_t): New typedef.
8615         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8616         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8617         (femode_t): New typedef.
8618         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8619         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8620         (femode_t): New typedef.
8621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8622         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8623         (femode_t): New typedef.
8624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8625         * sysdeps/nios2/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/powerpc/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 variable
8631         declaration.
8632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8633         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8634         (femode_t): New typedef.
8635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8636         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8637         (femode_t): New typedef.
8638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8639         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8640         (femode_t): New typedef.
8641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8642         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8643         (femode_t): New typedef.
8644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8645         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8646         (femode_t): New typedef.
8647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8648         * manual/arith.texi (FE_DFL_MODE): Document macro.
8649         (fegetmode): Document function.
8650         (fesetmode): Likewise.
8651         * math/Versions (fegetmode): New libm symbol at version
8652         GLIBC_2.25.
8653         (fesetmode): Likewise.
8654         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8655         (tests): Add test-femode and test-femode-traps.
8656         * math/test-femode-traps.c: New file.
8657         * math/test-femode.c: Likewise.
8658         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8659         alias for __fe_dfl_env.
8660         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8661         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8662         (__fe_dfl_mode): Likewise.
8663         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8664         version GLIBC_2.25.
8665         * sysdeps/nacl/libm.abilist: Update.
8666         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8667         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8668         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8669         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8670         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8671         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8672         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8673         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8674         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8675         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8679         Likewise.
8680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8681         Likewise.
8682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8683         Likewise.
8684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8685         Likewise.
8686         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8687         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8688         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8689         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8690         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8692         Likewise.
8693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8694         Likewise.
8695         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8696         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8697         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8699 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8701         [BZ #20495]
8702         [BZ #20508]
8703         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8704         processors, set Use_dl_runtime_resolve_slow and set
8705         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8706         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8707         New.
8708         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8709         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8710         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8711         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8712         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8713         if Use_dl_runtime_resolve_opt is set.  Use
8714         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8715         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8716         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8717         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8718         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8719         New.
8720         (_dl_runtime_resolve_opt): Likewise.
8721         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8722         defined.
8724 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8726         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8727         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8729 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8731         Convert malloc to __libc_lock.  Automated part, using this Perl
8732         s/// command:
8733           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8734             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8735         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8736         conversion.
8738 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8740         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8741         (linknamespace-symlists-tests): Likewise.
8742         (linknamespace-header-tests): Likewise.
8744 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8746         [BZ #19810]
8747         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8748         * elf/tst-noload.c: New test case.
8749         * elf/Makefile (tests): Add tst-noload.
8751 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8753         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8755         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8756         not any more.
8758         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8760 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8762         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8763         (do_cos_slow): Likewise.
8764         (do_sin): Likewise.
8765         (do_sin_slow): Likewise.
8766         (slow): Likewise.
8767         (slow1): Likewise.
8768         (slow2): Likewise.
8769         (sloww): Likewise.
8770         (sloww1): Likewise.
8771         (sloww2): Likewise.
8772         (bsloww): Likewise.
8773         (bsloww1): Likewise.
8774         (bsloww2): Likewise.
8775         (cslow2): Likewise.
8777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8779         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8780         arguments.  Consolidate input partitioning from callers here.
8781         (do_cos_slow): Likewise.
8782         (do_sin): Likewise.
8783         (do_sin_slow): Likewise.
8784         (do_sincos_1): Remove the no longer necessary input partitioning.
8785         (do_sincos_2): Likewise.
8786         (__sin): Likewise.
8787         (__cos): Likewise.
8788         (slow1): Likewise.
8789         (slow2): Likewise.
8790         (sloww1): Likewise.
8791         (sloww2): Likewise.
8792         (bsloww1): Likewise.
8793         (bsloww2): Likewise.
8794         (cslow2): Likewise.
8796 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8798         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8799         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8800         outside of allocated array.
8802 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8804         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8805         instead of MB_CUR_MAX to avoid variable-length array.
8807 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8809         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8810         (type-double-routines): Add k_rem_pio2.
8811         (type-float-routines): Add k_rem_pio2f.
8813         * sysdeps/generic/math_private.h:
8814         (__kernel_rem_pio2l): Removed.
8816         * math/k_rem_pio2l.c: Removed.
8817         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8818         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8819         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8820         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8822 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8824         * math/Makefile (gen-libm-calls): Add s_fmin
8825         (libm-calls): Remove above.
8827         * math/s_fmin.c: Refactor into ...
8828         * math/s_fmin_template.c: New file.
8830         * math/s_fminf.c: Removed.
8831         * math/s_fminl.c: Removed.
8832         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8833         (LDOUBLE_fmin_libm_version): New macro.
8835         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8836         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8838 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8840         * math/Makefile: (gen-libm-calls): Add s_fmax.
8841         (libm-calls): Remove above.
8843         * math/s_fmax.c: Refactor into ...
8844         * math/s_fmax_template.c: New file.
8845         * math/s_fmaxf.c: Removed.
8846         * math/s_fmaxl.c: Removed.
8848         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8849         (LDOUBLE_fmaxl_libm_version): New macro.
8851         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8852         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8854         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8855         s_fmin.c to pick the aarch64 version of the file.
8856         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8857         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8859 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8861         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8862         (libm-calls): Remove above.
8864         * math/s_nextdown.c: Refactor into ...
8865         * math/s_nextdown_template.c: New file.
8866         * math/s_nextdownf.c: Removed.
8867         * math/s_nextdownl.c: Removed.
8869         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8871 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8873         * math/Makefile (gen-libm-calls): Add s_fdim.
8874         (libm-calls): Move to above.
8876         * math/s_fdim.c: Renamed and refactored into to ...
8877         * math/s_fdim_template.c: New file.
8878         * math/s_fdiml.c: Removed.
8879         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8880         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8882         * sysdeps/generic/math-type-macros-double.h:
8883         (declare_mgen_alias): Don't declare if already declared.
8884         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8885         Likewise.
8887         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8888         (declare_mgen_alias): Don't declare if already declared.
8889         (M_LIBM_NEED_COMPAT): Likewise.
8890         (declare_mgen_libm_compat): Likewise.
8891         (LDOUBLE_fdiml_libm_version): New macro.
8893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8894         Include math/s_fdim.c now that ldbl-opt version is not needed.
8895         (declare_mgen_alias): New macro to disable aliasing.
8897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8898         (declare_mgen_alias): Likewise.
8899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8900         (declare_mgen_alias): Likewise.
8901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8902         (declare_mgen_alias): Likewise.
8903         (M_LIBM_NEED_COMPAT): Likewise.
8905 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8907         [BZ #20525]
8908         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8909         Include <linux/quota.h>.
8910         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8911         and btodb.
8912         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8913         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8914         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8915         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8916         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8917         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8918         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8919         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8920         types.
8921         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8922         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8924 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8926         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8927         (gammal_positive): Fix spacing.
8928         (__ieee754_gammal_r): Likewise.
8930 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8932         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8933         (_Float128): Define as long double, always.
8934         (L): Apply long double type suffix, always.
8936         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8937         _Float128, excepting comments.
8939         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8942         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8943         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8944         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8945         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8946         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8947         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8948         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8949         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8950         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8951         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8953         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8954         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8955         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8956         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8957         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8958         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8959         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8960         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8961         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8962         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8963         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8964         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8965         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8966         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8967         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8968         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8969         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8970         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8971         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8972         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8973         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8974         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8975         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8976         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8977         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8978         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8979         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8980         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8981         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8982         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8983         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8984         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8985         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8986         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8987         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8988         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8989         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8990         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8991         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8992         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8993         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8994         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8995         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8996         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8999         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9000         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9001         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9002         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9003         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9004         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9005         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9006         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9008         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9009         _Float128, and include math_private.h.
9010         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9012         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9013         long double semantics.
9014         (_Float128): Likewise.
9015         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9016         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9017         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9018         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9020 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9022         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9023         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9024         * sysdeps/s390/configure: Regenerated.
9025         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9026         instruction for raising over-/underflow if z196 zarch is supported
9027         by default.
9028         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9030 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9032         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9033         it point to a dumb buffer for RPC to fill it.
9035 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9037         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9038         instead of if/else.
9039         (do_sin_slow): Likewise.
9040         (do_sincos_1): Use fabs instead of if/else.
9041         (do_sincos_2): Likewise.
9042         (__sin): Likewise.
9043         (__cos): Likewise.
9044         (slow2): Likewise.
9045         (sloww): Likewise.
9046         (sloww1): Likewise.  Drop argument M.
9047         (sloww2): Use fabs instead of if/else.
9048         (bsloww): Likewise.
9049         (bsloww1): Likewise.
9050         (bsloww2): Likewise.
9052         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9053         fall through comment.
9054         (do_sincos_1): Likewise.
9056         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9057         Consolidate switch cases 0 and 2.
9059 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9061         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9062         (libm-calls): Remove the above.
9064         * math/s_cexp_template.c: Update using type-generic macros.
9065         * math/s_clog10_template.c: Likewise.
9066         * math/s_cpow_template.c: Likewise.
9067         * math/s_clog_template.c: Likewise.
9068         * math/s_cproj_template.c: Likewise.
9069         * math/s_csqrt_template.c: Likewise.
9071         * math/s_cexp.c: Removed.
9072         * math/s_cexpf.c: Removed.
9073         * math/s_cexpl.c: Removed.
9074         * math/s_clog10.c: Removed.
9075         * math/s_clog10f.c: Removed.
9076         * math/s_clog10l.c: Removed.
9077         * math/s_cpow.c: Removed.
9078         * math/s_cpowf.c: Removed.
9079         * math/s_cpowl.c: Removed.
9080         * math/s_clog.c: Removed.
9081         * math/s_clogf.c: Removed.
9082         * math/s_clogl.c: Removed.
9083         * math/s_cproj.c: Removed.
9084         * math/s_cprojf.c: Removed.
9085         * math/s_cprojl.c: Removed.
9086         * math/s_csqrt.c: Removed.
9087         * math/s_csqrtf.c: Removed.
9088         * math/s_csqrtl.c: Removed.
9090         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9091         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9092         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9093         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9094         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9095         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9097         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9098         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9099         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9100         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9101         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9102         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9103         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9104         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9105         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9106         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9107         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9109         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9110         version.
9112         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9113         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9114         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9115         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9117 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9119         * s_cexp_template.c: Copy of s_cexp.c.
9120         * s_clog_template.c: Copy of s_clog.c.
9121         * s_clog10_template.c: Copy of s_clog10.c.
9122         * s_cpow_template.c: Copy of s_cpow.c.
9123         * s_cproj_template.c: Copy of s_cproj.c.
9124         * s_csqrt_template.c: Copy of s_csqrt.c.
9126 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9128         [BZ #20517]
9129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9130         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9131         exported.
9133 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9135         * math/fetestexceptflag.c: New file.
9136         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9137         Stefan Liebler.
9138         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9139         (fetestexceptflag): New function declaration.
9140         * manual/arith.texi (fetestexceptflag): Document function.
9141         * math/Versions (fetestexceptflag): New libm symbol at version
9142         GLIBC_2.25.
9143         * math/Makefile (libm-support): Add fetestexceptflag.
9144         (tests): Add test-fetestexceptflag.
9145         * math/test-fetestexceptflag.c: New file.
9146         * sysdeps/nacl/libm.abilist: Update.
9147         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9148         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9152         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9153         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9154         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9160         Likewise.
9161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9162         Likewise.
9163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9164         Likewise.
9165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9166         Likewise.
9167         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9168         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9169         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9170         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9171         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9173         Likewise.
9174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9175         Likewise.
9176         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9177         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9180 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9182         [BZ #20432]
9183         Avoid strong references to malloc-internal symbols when linking
9184         statically, to support statically interposed mallocs.
9185         * include/libc-symbols.h (call_function_static_weak): New macro.
9186         * malloc/Makefile (tests): Add tst-interpose-nothread,
9187         tst-interpose-thread, tst-interpose-static-nothread,
9188         tst-interpose-static-thread.
9189         (tests-static): Add tst-interpose-static-nothread,
9190         tst-interpose-static-thread.
9191         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9192         tst-interpose-aux-thread.o.
9193         (test-extras): Add tst-interpose-aux-nothread,
9194         tst-interpose-aux-thread.
9195         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9196         tst-interpose-aux-nothread.o.
9197         (tst-interpose-thread, tst-interpose-static-thread): Link with
9198         tst-interpose-aux-thread.o and libthread.
9199         * malloc/tst-interpose-aux-nothread.c: New file.
9200         * malloc/tst-interpose-aux-thread.c: Likewise.
9201         * malloc/tst-interpose-aux.c: Likewise.
9202         * malloc/tst-interpose-aux.h: Likewise.
9203         * malloc/tst-interpose-nothread.c: Likewise.
9204         * malloc/tst-interpose-skeleton.c: Likewise.
9205         * malloc/tst-interpose-static-nothread.c: Likewise.
9206         * malloc/tst-interpose-static-thread.c: Likewise.
9207         * malloc/tst-interpose-thread.c: Likewise.
9208         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9209         * sysdeps/mach/hurd/fork.c (__fork): Only call
9210         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9211         __malloc_fork_unlock_child if defined.
9212         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9214 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9216         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9217         timespec C99 designated initialization.
9219 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9221         [BZ #19946]
9222         Avoid expected SIGALRM signals.
9223         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9224         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9225         (xpthread_create, xpthread_detach, xpthread_join)
9226         (delayed_exit_thread, delayed_exit): New functions.
9227         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9228         (tf): Use xpthread_cond_wait.
9229         (do_test): Likewise.  Replace alarm with delayed_exit.
9230         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9231         (do_test): Call delayed_exit.  Report failure.
9232         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9233         (do_test): Call delayed_exit.
9234         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9235         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9236         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9237         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9238         error.
9239         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9240         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9241         error.
9242         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9243         (do_test): Call delayed_exit.
9244         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9245         (do_test): Call delayed_exit.
9246         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9247         (do_test): Call delayed_exit instead of alarm.  Use
9248         xpthread_mutex_lock.
9249         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9250         (do_test): Call delayed_exit instead of alarm.  Use
9251         xpthread_mutex_lock.
9252         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9253         (do_test): Call delayed_exit instead of alarm.
9254         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9255         (do_test): Call delayed_exit instead of alarm.  Use
9256         xpthread_spin_lock.
9257         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9258         (do_test): Call delayed_exit instead of alarm.  Use
9259         xpthread_join.
9261 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9263         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9264         adjust CFA when allocating register save area on re-aligned
9265         stack.
9267 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9269         * string/tst-cmp.c: New test.
9270         * string/Makefile (tests): Add it.
9272 2016-08-25  Mark Wielaard  <mark@klomp.org>
9274         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9275         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9276         (check_tree_recurse): Use newly defined accessors.
9277         (check_tree): Likewise.
9278         (maybe_split_for_insert): Likewise.
9279         (__tfind): Likewise.
9280         (__tdelete): Likewise.
9281         (trecurse): Likewise.
9282         (tdestroy_recurse): Likewise.
9283         (__tsearch): Likewise. And add asserts for malloc alignment.
9284         (__twalk): Cast root to node in case CHECK_TREE is defined.
9286 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9288         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9290 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9292         * math/Makefile (libm-gen-calls): Add
9293         catan, catanh, ctan, ctanh.
9294         (libm-calls): Remove the above.
9296         * math/s_catan_template.c: Update using type-generic macros.
9297         * math/s_catanh_template.c: Likewise.
9298         * math/s_ctan_template.c: Likewise.
9299         * math/s_ctanh_template.c: Likewise.
9301         * math/s_catanf.c: Removed.
9302         * math/s_catan.c: Removed.
9303         * math/s_catanl.c: Removed.
9304         * math/s_catanhf.c: Removed.
9305         * math/s_catanh.c: Removed.
9306         * math/s_catanhl.c: Removed.
9307         * math/s_ctanf.c: Removed.
9308         * math/s_ctan.c: Removed.
9309         * math/s_ctanl.c: Removed.
9310         * math/s_ctanhf.c: Removed.
9311         * math/s_ctanh.c: Removed.
9312         * math/s_ctanhl.c: Removed.
9314         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9315         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9316         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9317         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9318         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9319         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9321         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9322         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9323         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9324         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9326 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9328         * s_catan_template.c: Copy of s_catan.c.
9329         * s_catanh_template.c: Copy of s_catanh.c.
9330         * s_ctan_template.c: Copy of s_ctan.c.
9331         * s_ctanh_template.c: Copy of s_ctanh.c.
9333 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9335         * math/Makefile (gen-libm-calls): Move
9336         casin, casinh, csin, csinh here.
9337         (libm-calls): Remove the above.
9339         * math/s_casin_template.c: Update using type-generic macros.
9340         * math/s_casinh_template.c: Likewise.
9341         * math/s_csin_template.c: Likewise.
9342         * math/s_csinh_template.c: Likewise.
9343         * math/k_casinh_template.c: Likewise.
9345         * math/s_casinf.c: Removed.
9346         * math/s_casin.c: Removed.
9347         * math/s_casinl.c: Removed.
9348         * math/s_casinh.c: Removed.
9349         * math/s_casinhf.c: Removed.
9350         * math/s_casinhl.c: Removed.
9351         * math/s_csin.c: Removed.
9352         * math/s_csinf.c: Removed.
9353         * math/s_csinl.c: Removed.
9354         * math/s_csinh.c: Removed.
9355         * math/s_csinhf.c: Removed.
9356         * math/s_csinhl.c: Removed.
9357         * math/k_casinh.c: Removed.
9358         * math/k_casinhf.c: Removed.
9359         * math/k_casinhl.c: Removed.
9361         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
9362         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9363         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9364         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9366         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
9367         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
9368         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
9369         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
9370         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
9371         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
9372         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
9373         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
9375         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
9376         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
9377         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
9378         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
9380         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
9381         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
9382         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
9383         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
9385 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9387         * s_casin_template.c: Copy of s_casin.c.
9388         * s_casinh_template.c: Copy of s_casinh.c.
9389         * s_csin_template.c: Copy of s_csin.c.
9390         * s_csinh_template.c: Copy of s_csinh.c.
9391         * k_casinh_template.c: Copy of k_casinh.c.
9393 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9395         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
9397 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9399         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
9400         (mul_split) Remove, rename as mul_splitl, remove
9401         redundant float.h include, and include via mul_splitl.h
9403         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9404         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9405         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9406         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9407         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9409         * math/mul_splitl.h: New file.
9411         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
9412         Move into mul_split.h, and remove redundant float.h include.
9414         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9415         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9416         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9417         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
9419         * math/mul_split.h: New file.
9421 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9423         * math/Makefile (libm-gen-calls): Move
9424         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9425         (libm-calls): Remove above.
9427         * math/s_cacos_template.c: Update using type-generic macros.
9428         * math/s_cacosh_template.c: Likewise.
9429         * math/s_ccos_template.c: Likewise.
9430         * math/s_ccosh_template.c: Likewise.
9432         * math/s_cacosf.c: Removed.
9433         * math/s_cacos.c: Removed.
9434         * math/s_cacosl.c: Removed.
9435         * math/s_cacoshf.c: Removed.
9436         * math/s_cacosh.c: Removed.
9437         * math/s_cacoshl.c: Removed.
9438         * math/s_ccosf.c: Removed.
9439         * math/s_ccos.c: Removed.
9440         * math/s_ccosl.c: Removed.
9441         * math/s_ccoshf.c: Removed.
9442         * math/s_ccosh.c: Removed.
9443         * math/s_ccoshl.c: Removed.
9445         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9446         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9447         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9448         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9449         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9450         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9452         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9453         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9454         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9455         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9457         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9458         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9459         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9460         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9462 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9464         * s_cacos_template.c: Copy of s_cacos.c.
9465         * s_cacosh_template.c: Copy of s_cacosh.c.
9466         * s_ccos_template.c: Copy of s_ccos.c.
9467         * s_ccosh_template.c: Copy of s_ccosh.c.
9469 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9471         * stdlib/tst-strtod-round-skeleton.c:
9472         Refactored from tst-strtod-round.c.
9474         (L_): New macro to apply literal modifier.
9475         (FNPFX): New macro to select str or wcs prefix.
9476         (CHAR): New macro to choose wchar_t or char.
9477         (STRM): New macro to choose printf for tested character type.
9479         (STRTO): New macro to choose appropriate string -> real function.
9480         (FNPFXS): Stringitized version of FNPFX.
9481         (STR): Support for above macro.
9482         (STRX): Likewise.
9484         (TEST): Update with above macros.
9485         (test): Likewise.
9486         (GEN_ONE_TEST): Likewise.
9487         (test_in_one_mode): Likewise.
9489         * stdlib/tst-strtod-round.c: New file.
9490         * wcsmbs/tst-wcstod-round.c: New file.
9492         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9493         (tst-wcstod-round): Add libm depencency for fesetround.
9495 2016-08-19  Zack Weinberg  <zackw@panix.com>
9497         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9499 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9501         [BZ #20477]
9502         * resolv/res_hconf.c (do_init): Use atomic access.
9503         * resolv/res_hconf.h: Add comments.
9504         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9505         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9508 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9510         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9511         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9512         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9513         Likewise.
9515 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9517         [BZ #16907]
9518         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9519         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9520         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9521         (__attribute__): Remove definition.
9523 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9525         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9526         Remove unused sqrtl declaration.
9528 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9530         * math/Makefile: (gen-libm-templates.stmp): New rule.
9531         (libm-calls): Move carg conj cimag and cabs into ...
9532         (gen-libm-calls): New variable.
9533         (generated): Inform Make objects from gen-libm-calls
9534         may be generated.
9536         * sysdeps/generic/math-type-macros.h: New file.
9537         * sysdeps/generic/math-type-macros-float.h: Likewise.
9538         * sysdeps/generic/math-type-macros-double.h: Likewise.
9539         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9540         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9541         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9543         * math/cabs.c: Refactor into
9544         * math/cabs_template.c: new file.
9545         * math/cabsf.c: Removed.
9546         * math/cabsl.c: Removed.
9547         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9548         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9550         * math/carg.c: Refactor into
9551         * math/carg_template.c: new file.
9552         * math/cargf.c: Removed.
9553         * math/cargl.c: Removed.
9554         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9555         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9557         * math/conj.c: Refactor into
9558         * math/conj_template.c: new file.
9559         * math/conjf.c: Removed.
9560         * math/conjl.c: Removed.
9561         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9562         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9564         * math/cimag.c: Refactor into
9565         * math/cimag_template.c: new file.
9566         * math/cimagf.c: Removed.
9567         * math/cimagl.c: Removed.
9568         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9569         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9571         * math/cimag.c: Refactor into
9572         * math/cimag_template.c: new file.
9573         * math/cimagf.c: Removed.
9574         * math/cimagl.c: Removed.
9575         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9576         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9578 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9580         Reduce time to expected nptl/tst-once5 failure.
9581         * nptl/tst-once5.cc (TIMEOUT): Define.
9583 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9585         [BZ #20452]
9586         Avoid additional copies of objects in libc.a in static libraries.
9587         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9588         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9589         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9590         rt-sysdep.
9591         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9592         Add nptl-sysdep.
9593         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9594         Add ptw-sysdep.
9595         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9596         rt-sysdep.
9597         * sysdeps/unix/sysv/linux/alpha/Makefile
9598         (libpthread-shared-only-routines): Add ptw-sysdep,
9599         ptw-sigprocmask, ptw-rt_sigaction.
9600         * sysdeps/unix/sysv/linux/ia64/Makefile
9601         (librt-shared-only-routines): Add rt-sysdep.
9602         * sysdeps/unix/sysv/linux/i386/Makefile
9603         (libpthread-shared-only-routines): Add libc-do-syscall.
9604         * sysdeps/unix/sysv/linux/microblaze/Makefile
9605         (libpthread-shared-only-routines): Add sysdep.
9606         * sysdeps/unix/sysv/linux/powerpc/Makefile
9607         (librt-shared-only-routines): Add rt-sysdep.
9608         (libpthread-shared-only-routines): Add sysdep.
9609         * sysdeps/unix/sysv/linux/s390/Makefile
9610         (librt-shared-only-routines): Add rt-sysdep.
9611         * sysdeps/unix/sysv/linux/sparc/Makefile
9612         (librt-shared-only-routines): Add rt-sysdep.
9613         (libpthread-shared-only-routines): Add sysdep.
9614         * sysdeps/unix/sysv/linux/tile/Makefile
9615         (libpthread-shared-only-routines): Likewise.
9617 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9619         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9620         Mask implicit bit out of unpacked value.
9621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9625         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9627         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9629         * sysdeps/s390/fpu/fesetexcept.c: New file.
9631         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9632         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9633         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9635         * sysdeps/mips/fpu/fesetexcept.c: New file.
9637         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9639         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9641         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9643         * sysdeps/arm/fesetexcept.c: New file.
9645         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9647         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9649         * math/fesetexcept.c: New file.
9650         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9651         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9652         * math/fenv.h: Define
9653         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9654         <bits/libc-header-start.h> instead of including <features.h>.
9655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9656         declaration.
9657         * manual/arith.texi (fesetexcept): Document function.
9658         * math/Versions (fesetexcept): New libm symbol at version
9659         GLIBC_2.25.
9660         * math/Makefile (libm-support): Add fesetexcept.
9661         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9662         * math/test-fesetexcept.c: New file.
9663         * math/test-fesetexcept-traps.c: Likewise.
9664         * sysdeps/nacl/libm.abilist: Update.
9665         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9666         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9667         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9668         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9671         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9672         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9674         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9675         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9676         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9678         Likewise.
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9680         Likewise.
9681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9682         Likewise.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9684         Likewise.
9685         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9686         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9687         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9691         Likewise.
9692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9693         Likewise.
9694         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9695         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9698 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9700         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9701         New.
9702         (do_test): Apply default_stack_size_in_mb if not set.
9703         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9705 2016-08-15  Andreas Schwab  <schwab@suse.de>
9707         [BZ #20435]
9708         CVE-2016-6323
9709         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9710         as .cantunwind.
9712 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9714         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9715         comment from fraiseexcpt.c.
9717         * math/test-fexcept.c (feraiseexcept_exact): New function.
9718         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9719         (test_except): Likewise.
9721 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9723         [BZ #20455]
9724         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9725         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9726         to be restored.
9728         * math/test-fexcept-traps.c: New file.
9729         * math/test-fexcept.c: Likewise.
9730         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9731         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9732         macro.
9733         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9734         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9736 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9738         * include/atomic.h (atomic_fetch_and_relaxed,
9739         atomic_fetch_and_release, atomic_fetch_or_release,
9740         atomic_fetch_xor_release): New.
9742 2016-08-06  Christian Seiler  <christian@iwakd.de>
9744         [BZ #20444]
9745         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9746         MACH_PORT_NULL.
9748 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9750         * math/s_fdim.c: Avoid alias renamed.
9751         * math/s_fdimf.c: Likewise.
9752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9753         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9754         Add s_fdimf-vis3, s_fdim-vis3.
9755         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9756         (CFLAGS-s_fdim-vis3.c): Likewise.
9757         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9758         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9760 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9763         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9764         Remove s_fdimf-vis3, s_fdim-vis3.
9765         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9766         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9773         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9774         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9776 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9778         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9779         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9780         -Wa,-Av9a -mvis.
9782 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9784         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9785         LIT() to individual constants in simple expressions
9786         after splitting on spaces.
9787         (_apply_lit): Rename replaced version, and use it to
9788         apply to what appears to be a token.
9790         * math/libm-test.inc: Fix many, many issues with
9791         spacing.
9793 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9795         * math/math.h: Move comment about <bits/mathdef.h> definitions
9796         above inclusion of <bits/mathdef.h>.  Do not mention
9797         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9799 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9801         * include/atomic.h (atomic_exchange_relaxed): New.
9803 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9805         * math/e_scalb.c: Do not include <fenv.h>.
9806         (invalid_fn): Do calculation resulting in NaN instead of raising
9807         FE_INVALID and returning a NaN explicitly.
9808         * math/e_scalbf.c: Do not include <fenv.h>.
9809         (invalid_fn): Do calculation resulting in NaN instead of raising
9810         FE_INVALID and returning a NaN explicitly.
9811         * math/e_scalbl.c: Do not include <fenv.h>.
9812         (invalid_fn): Do calculation resulting in NaN instead of raising
9813         FE_INVALID and returning a NaN explicitly.
9815 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9817         * po/de.po: Updated from Translation Project.
9818         * po/fi.po: Likewise.
9819         * po/sv.po: Likewise.
9821 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9823         [BZ #20452]
9824         Use sysdep.o from libc.a in static libraries.
9825         * sysdeps/unix/sysv/linux/i386/Makefile
9826         (libpthread-shared-only-routines): Add sysdep.
9827         (librt-shared-only-routines): Likewise.
9829 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9831         * math/tgmath.h (nextdown): Define if
9832         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9833         (nextup): Likewise.
9835         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9836         macro.
9837         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9838         Document.
9839         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9840         Document macro.
9841         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9842         (exp10f): Likewise.
9843         (exp10l): Likewise.
9844         * math/bits/mathcalls.h (exp10): Declare if
9845         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9847         * manual/arith.texi (nextup): Fix typo in last change.
9849 2016-08-03  Zack Weinberg  <zackw@panix.com>
9851         [BZ #19239]
9852         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9853         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9854         define major, minor, and makedev to issue deprecation warnings on use.
9855         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9856         previously-activated deprecation warnings for these macros and prevent
9857         subsequent inclusions of this header from having any effect.
9858         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9859         including <sys/sysmacros.h>, and undefine it again afterward.
9861 2016-08-03  Zack Weinberg  <zackw@panix.com>
9863         * sysdeps/generic/sys/sysmacros.h: Delete file.
9864         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9865         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9866         * bits/sysmacros.h: ... here; this encoding is now the generic
9867         encoding.  Now defines only the following macros:
9868         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9869         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9870         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9872         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9873         bits/sysmacros.h and the above new macros to generate the
9874         public implementations of major, minor, and makedev.
9875         * misc/tst-makedev.c: New test.
9876         * include/sys/sysmacros.h: New wrapper.
9878         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9879         (routines): Add makedev.
9880         (tests): Add tst-makedev.
9881         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9882         gnu_dev_makedev.
9883         * posix/Makefile (headers): Remove sys/sysmacros.h.
9884         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9886         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9887         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9888         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9889         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9890         * sysdeps/unix/sysv/linux/arm/libc.abilist
9891         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9892         * sysdeps/unix/sysv/linux/i386/libc.abilist
9893         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9894         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9895         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9896         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9897         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9898         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9899         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9900         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9901         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9906         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9907         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9908         * sysdeps/unix/sysv/linux/sh/libc.abilist
9909         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9910         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9913         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9914         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9915         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9916         Add GLIBC_2.25.
9918         * include/features.h (__glibc_clang_prereq): New macro.
9919         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9920         (__attribute_deprecated_msg__): New macros.
9922 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9924         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9925         macro.
9926         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9927         * manual/arith.texi (issignaling): Document as ISO from TS
9928         18661-1:2014.
9929         (nextup): Likewise.
9930         (nextupf): Likewise.
9931         (nextupl): Likewise.
9932         (nextdown): Likewise.
9933         (nextdownf): Likewise.
9934         (nextdownl): Likewise.
9935         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9936         macro.
9937         * math/math.h: Define
9938         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9939         <bits/libc-header-start.h> instead of including <features.h>.
9940         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9941         [__USE_GNU].
9942         * math/bits/mathcalls.h (nextdown): Declare if
9943         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9944         (nextup): Likewise.
9945         (__issignaling): Likewise.
9947 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9949         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9950         check, and remove __glibc_likely hint
9951         from FP_INFINITE check.
9952         * s_csinhf.c (__csinhf): Likewise.
9954         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9955         hint from FP_INFINITE check.
9956         * s_csinhl.c (__csinhl): Likewise.
9958 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9960         * math/Makefile (libm-calls): Insert F placeholder into
9961         object names.  Move w_lgamma_compat* routines into
9962         (libm-compat-calls): New variable.
9963         (libm-compat-calls-ldouble-yes): New variable.
9964         (calls): Insert F placeholder.
9965         (generated): Redefine using new type-foreach macro call.
9966         (routines): Likewise.
9968         (types): New variable to hold a list of symbolic names
9969         for each type supported by the target machine.
9970         (libm-routines): Redefine using new types variable.
9971         (type-foreach): macro to replace fooF with the
9972         appropriately suffixed foo for each types.
9974         (type-ldouble-suffix): New variable.
9975         (type-ldouble-routines): Likewise.
9976         (type-ldouble-yes): Likewise.
9977         (type-double-suffix): Likewise.
9978         (type-double-routines): Likewise.
9979         (type-float-suffix): Likewise.
9980         (type-float-routines): Likewise.
9982         (dbl-only-routines): Remove.
9983         (long-c-yes): Likewise.
9984         (long-m-routines): Likewise.
9985         (long-m-support): Likewise.
9986         (long-m-yes): Likewise.
9987         (test-longdouble-yes): Likewise.
9989         (test-float.o): Simplify by increasing the scope of the
9990         recipe which adds libm-test.stmp to the vector types.
9991         (test-ifloat.o): Likewise.
9992         (test-float-finite.o): Likewise.
9993         (test-double.o): Likewise
9994         (test-idouble.o): Likewise.
9995         (test-double-finite.o): Likewise.
9996         (test-ldouble.o): Likewise
9997         (test-ildoubl.o): Likewise.
9998         (test-ldouble-finite.o): Likewise.
10000         (libm-tests): Redefine type tests using foreach and the
10001         list of types in types.
10003         (CPPFLAGS-test-ildoubl.c): Rename to
10004         (CPPFLAGS-test-ildouble.c): New variable
10006         * math/test-ildoubl.c: Rename to
10007         * math/test-ildouble.c: New file.
10009 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10011         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10012         Use fabsl instead of fabs.
10013         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10014         Likewise.
10015         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10016         Add long double suffix to constant to ensure proper
10017         promotion to long double.
10019 2016-08-03  Tom Tromey  <tom@tromey.com>
10021         [BZ #20311]
10022         * nptl_db/Makefile (headers): Add proc_service.h.
10023         * nptl_db/proc_service.h: Add include guard.  Use
10024         __BEGIN/__END_DECLS.
10025         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10026         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10027         arguments.
10030 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10032         [BZ #17730]
10033         Avoid using memalign for TCB allocations.
10034         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10035         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10036         Avoid alignment gap in the TLS_DTV_AT_TP case.
10037         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10038         determine the pointer to free.
10039         * nptl/tst-tls3-malloc.c: New test.
10040         * nptl/Makefile (tests): Add it.
10041         (tst-tls3-malloc): Link with libdl, libpthread.
10042         (LDFLAGS-tst-tls3-malloc): Set.
10043         (tst-tls3-malloc.out): Depend on DSO used in test.
10045 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10047         [BZ #17730]
10048         Avoid using memalign for TLS allocations.
10049         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10050         is_static member with to_free member.
10051         (union dtv): Use struct dtv_pointer.
10052         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10053         dtv_pointer instead of is_static.
10054         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10055         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10056         instead of val.
10057         (allocate_dtv_entry): New function.
10058         (allocate_and_init): Return struct dtv_pointer.  Call
10059         allocate_dtv_entry instead of __libc_memalign.
10060         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10061         instead of val.
10062         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10063         instead of is_static.  Adjust call to allocate_and_init.
10064         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10065         struct dtv_pointer instead of val.
10067 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10069         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10070         (MALLOC_ALIGN_MASK): Move ...
10071         * malloc/malloc-internal.h: ... to here.
10072         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10074 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10076         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10077         (UDP_ENCAP_GTP1U): Likewise.
10079         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10080         (PF_MAX): Update value.
10081         (AF_QIPCRTR): New macro.
10083 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10085         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10086         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10087         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10089         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10090         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10091         s_truncf-vis3, s_trunc-vis3.
10092         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10093         (CFLAGS-s_ceil-vis3.c): Likewise.
10094         (CFLAGS-s_floorf-vis3.c): Likewise.
10095         (CFLAGS-s_floor-vis3.c): Likewise.
10096         (CFLAGS-s_truncf-vis3.c): Likewise.
10097         (CFLAGS-s_trunc-vis3.c): Likewise.
10098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10106         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10107         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10108         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10109         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10111 2016-08-02  David S. Miller  <davem@davemloft.net>
10113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10114         (__nearbyint_vis3): Don't check for sNaN before float register is
10115         loaded with the incoming argument.
10116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10117         (__nearbyintf_vis3): Likewise.
10118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10119         Likewise.
10120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10121         Likewise.
10123         * string/test-strncmp.c (do_test_limit): Make sure the test data
10124         stream is aligned as required for the type "CHAR".
10125         (do_test): Likewise.
10127 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10129         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10130         by beq instructions jumping to the end of the function.
10131         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10132         clobber list. Use "i" constraint instead of "X".
10133         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10134         of "X".
10136 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10138         * bits/libc-header-start.h: New file.
10139         * Makefile (headers): Add bits/libc-header-start.h.
10140         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10141         (__GLIBC_USE): New macro.
10142         * libio/stdio.h: Define
10143         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10144         <bits/libc-header-start.h> instead of including <features.h>.
10145         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10146         (open_memstream): Likewise.
10147         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10148         (__asprintf): Likewise.
10149         (asprintf): Likewise.
10150         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10151         (getdelim): Likewise.
10152         (getline): Likewise.
10153         * string/string.h: Define
10154         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10155         <bits/libc-header-start.h> instead of including <features.h>.
10156         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10157         (strndup): Likewise.
10158         * wcsmbs/wchar.h: Define
10159         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10160         <bits/libc-header-start.h> instead of including <features.h>.
10161         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10162         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10164 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10166         Support linking against compatibility symbols, for use in tests.
10167         * include/libc-symbols.h (symbol_version_reference): New macro.
10168         (symbol_version): Use it.
10169         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10170         (compat_symbol): Use compat_symbol_reference.
10171         (compat_symbol_1, compat_symbol_2): Remove.
10172         (compat_symbol_reference, compat_symbol_reference_1)
10173         (compat_symbol_reference_2): New macro.  Use
10174         symbol_version_reference.
10176 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10178         [BZ #19469]
10179         * malloc/Makefile (CPPFLAGS): Compile tests with
10180         -DTEST_NO_MALLOPT.
10181         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10183 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10185         [BZ #20033]
10186         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10187         finite version.
10188         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10189         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10190         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10191         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10192         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10193         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10194         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10195         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10196         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10197         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10199         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10200         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10201         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10202         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10204         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10205         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10206         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10207         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10208         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10209         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10210         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10211         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10212         in zero power.
10214 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10216         [BZ #20370]
10217         * malloc/arena.c (get_free_list): Update comment.  Assert that
10218         arenas on the free list have no attached threads.
10219         (remove_from_free_list): New function.
10220         (reused_arena): Call it.
10222 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10224         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10225         when it is a NaN.
10226         [_IEEE_FP_INEXACT] Remove.
10227         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10228         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10229         when it is a NaN.
10230         [_IEEE_FP_INEXACT] Remove.
10231         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10232         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10233         when it is a NaN.
10234         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10235         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10236         when its absolute value is greater than 0x1.0p52.
10237         [_IEEE_FP_INEXACT] Remove.
10238         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10239         when its absolute value is greater than 0x1.0p23.
10240         [_IEEE_FP_INEXACT] Remove.
10242 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10244         * version.h (RELEASE): Set to "development"
10245         (VERSION): Set to 2.24.90.
10246         * NEWS: Add 2.25 section.
10248         * version.h (RELEASE): Set to "stable"
10249         (VERSION): Set to 2.24.
10250         * include/features.h (__GLIBC_MINOR__): Set to 24.
10252         * NEWS: Add 2.24 fixed bugs.
10253         * po/libc.pot: Regenerate.
10255 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10258         [$(subdir) = math] (libm-sysdep_routines): Remove.
10259         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10260         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10261         s_truncf-vis3, s_trunc-vis3.
10262         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10264         file.
10265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10288         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10289         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10298         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10299         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10300         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10301         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10302         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10303         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10304         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10305         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10306         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10307         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10309 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10311         [BZ #20384]
10312         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10313         test-double-libmvec-sincos-avx-main.o,
10314         test-double-libmvec-sincos-avx2-main.o,
10315         test-double-libmvec-sincos-main.o,
10316         test-float-libmvec-sincosf-avx-main.o,
10317         test-float-libmvec-sincosf-avx2-main.o and
10318         test-float-libmvec-sincosf-main.o.
10319         test-float-libmvec-sincosf-avx512-main.o.
10320         ($(objpfx)test-double-libmvec-sincos): Also link with
10321         $(objpfx)test-double-libmvec-sincos-main.o.
10322         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10323         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10324         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10325         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10326         ($(objpfx)test-float-libmvec-sincosf): Also link with
10327         $(objpfx)test-float-libmvec-sincosf-main.o.
10328         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10329         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10330         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10331         test-double-libmvec-sincos-avx512-main.o and
10332         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10333         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10334         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10335         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10336         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10337         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10338         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10339         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10340         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10341         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10342         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10343         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10344         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
10345         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
10346         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
10347         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
10348         -DREQUIRE_AVX2.
10349         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
10350         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
10351         -DREQUIRE_AVX512F.
10352         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
10353         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
10354         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10355         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
10356         file.
10357         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
10358         Likewise.
10359         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
10360         Likewise.
10361         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
10362         Likewise.
10363         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
10364         Likewise.
10365         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
10366         Likewise.
10367         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
10368         Likewise.
10369         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
10370         Likewise.
10372 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
10374         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
10376 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
10378         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
10379         and typo in a comment about AT_HWCAP entry.
10381 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10383         * sysdeps/aarch64/libm-test-ulps: Updated.
10385 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10387         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
10388         of r13 as it is not restored in mvcle case.
10390 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
10392         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
10393         Rename "ret" to "__ret".
10394         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
10395         inline_syscall5, inline_syscall6): Likewise.
10397 2016-07-19   Will Newton  <will.newton@gmail.com>
10399         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
10400         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
10401         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
10402         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
10403         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
10405 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
10407         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
10408         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
10409         -mfpmath=387 with $(rtld-CFLAGS).
10410         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
10411         $(rtld-CFLAGS).
10413 2016-07-18   Ross Burton  <ross.burton@intel.com>
10414              Khem Raj  <raj.khem@gmail.com>
10416         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
10417         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
10418         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
10419         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
10420         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
10421         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10422         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10423         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10424         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10425         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10426         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10427         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10428         R_METAG_TLS_DTPOFF): New.
10430 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10431             Matt Clay  <mclay@lycos.com>
10433         [BZ #20357]
10434         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10435         to call __mpsin/__mpcos and to negate values.
10436         * math/auto-libm-test-in: Add test.
10437         * math/auto-libm-test-out: Regenerate.
10439 2016-07-18  Zack Weinberg  <zackw@panix.com>
10441         * grp/Makefile: Don't install the internal header grp-merge.h.
10443 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10445         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10447 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10449         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10451 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10453         [BZ #15368]
10454         * sysdeps/unix/sysv/linux/nptl-signals.h
10455         (__nptl_clear_internal_signals): New function.
10456         (__libc_signal_block_all): Likewise.
10457         (__libc_signal_block_app): Likewise.
10458         (__libc_signal_restore_set): Likewise.
10459         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10460         implementation.
10461         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10462         the cached pid/tid value in pthread structure.
10464 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10466         [BZ #20347]
10467         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10469 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10471         [BZ #20348]
10472         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10473         preadv64, pwrite64 and pwritev64.
10475 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10477         [BZ #20350]
10478         * posix/tst-preadwrite.c: Renamed to ...
10479         * posix/tst-preadwrite-common.c: This.
10480         (PREAD): Removed.
10481         (PWRITE): Likewise.
10482         (STRINGIFY): Likewise.
10483         (STRINGIFY2): Likewise.
10484         (do_prepare): Make it static and remove function arguments.
10485         (do_test): Likewise.
10486         (PREPARE): Updated.
10487         (TEST_FUNCTION): New.
10488         (name): Make it static.
10489         (fd): Likewise.
10490         (do_prepare): Use create_temp_file.
10491         (do_test): Renamed to ...
10492         (do_test_with_offset): This.  Make it static and accept offset.
10493         Properly check return value of PWRITE and PREAD.  Return bytes
10494         read.  Don't close fd nor unlink name.
10495         * posix/tst-preadwrite.c: Rewrite.
10496         * posix/tst-preadwrite64.c: Likewise.
10498 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10500         [BZ #20309]
10501         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10502         -mtls-dialect=gnu2 works.
10503         * configure: Regenerated.
10504         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10505         (tests): Add tst-gnu2-tls1.
10506         (modules-names): Add tst-gnu2-tls1mod.
10507         ($(objpfx)tst-gnu2-tls1): New.
10508         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10509         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10510         * elf/tst-gnu2-tls1.c: New file.
10511         * elf/tst-gnu2-tls1mod.c: Likewise.
10512         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10513         bytes for push in the PLT entry to align the stack.
10515 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10517         [BZ #20349]
10518         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10520 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10522         [BZ #18707]
10523         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10524         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10526 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10528         * sysdeps/unix/sysv/linux/sysdep.h
10529         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10530         guards.
10531         * misc/tst-preadvwritev-common.c: New file.
10532         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10533         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10534         a check for files larger than 2GB.
10536         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10537         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10538         * sysdeps/unix/sysv/linux/pread.c
10539         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10540         __OFF_T_MATCHES_OFF64_T.
10541         * sysdeps/unix/sysv/linux/pread64.c
10542         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10543         * sysdeps/unix/sysv/linux/preadv.c
10544         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10545         * sysdeps/unix/sysv/linux/preadv64.c
10546         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10547         * sysdeps/unix/sysv/linux/pwrite.c
10548         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10549         * sysdeps/unix/sysv/linux/pwrite64.c
10550         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10551         * sysdeps/unix/sysv/linux/pwritev.c
10552         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10553         * sysdeps/unix/sysv/linux/pwritev64.c
10554         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10556 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10558         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10559         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10561 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10563         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10565 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10567         [BZ #20240]
10568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10569         (CFLAGS-s_modf-ppc32.c): New variable.
10570         (CFLAGS-s_modff-ppc32.c): Likewise.
10571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10572         (CFLAGS-s_modf-ppc64.c): Likewise.
10573         (CFLAGS-s_modff-ppc64.c): Likewise.
10575 2016-07-07  Andreas Schwab  <schwab@suse.de>
10577         [BZ #20263]
10578         * nptl/tst-robust10.c: New test.
10579         * nptl/Makefile (tests): Add tst-robust10.
10581 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10583         [BZ #20263]
10584         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10586 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10588         * sysdeps/s390/linkmap.h (struct link_map_machine):
10589         Remove member gotplt and add member jmprel.
10590         * sysdeps/s390/s390-32/dl-machine.h
10591         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10592         instead of gotplt with &got[3].
10593         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10594         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10596 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10598         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10600 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10602         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10603         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10604         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10605         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10606         * libio/vtables.c (_IO_vtable_check)
10607         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10608         * libio/libioP.h (IO_set_accept_foreign_vtables)
10609         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10611 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10613         [BZ #20314]
10614         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10615         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10616         $(common-objpfx)cmath.
10617         ($(common-objpfx)cstdlib): New target.
10618         ($(common-objpfx)cmath): Likewise.
10620 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10622         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10624 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10626         [BZ #20327]
10627         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10628         are not part of the string.
10630 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10632         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10633         * nptl/tst-cancel4-common.h (fifoname): New variable.
10634         (fifofd): Likewise.
10635         (cl_fifo): New function.
10636         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10637         SIGINT.
10638         (tf_open): Add early cancel test.
10640 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10642         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10644 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10646         * sysdeps/generic/ldsodefs.h
10647         (dl_symbol_visibility_binds_local_p): New inline function.
10648         * elf/dl-addr.c (determine_info): Treat hidden and internal
10649         symbols as local.
10650         * elf/dl-lookup.c (do_lookup_x): Likewise.
10651         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10653 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10655         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10656         invalid exception for a sNaN input.
10657         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10658         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10659         (__nearbyint_vis3): Likewise
10660         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10661         (__nearbyintf_vis3): Likewise
10662         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10663         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10664         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10665         Likewise.
10666         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10667         Likewise.
10669 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10671         [BZ #20139]
10672         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10673         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10674         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10675         2.24 or above.
10676         (HAVE_AVX512_ASM_SUPPORT): Removed.
10677         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10678         * sysdeps/x86_64/configure: Regenerated.
10679         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10680         check unconditional.
10681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10682         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10683         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10684         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10685         Likewise.
10686         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10687         Likewise.
10688         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10689         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10690         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10691         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10692         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10693         Likewise.
10694         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10695         Likewise.
10696         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10697         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10698         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10699         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10700         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10701         Likewise.
10702         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10703         Likewise.
10704         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10705         Likewise.
10706         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10707         Likewise.
10708         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10709         Likewise.
10710         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10711         Likewise.
10712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10713         Likewise.
10714         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10715         Likewise.
10716         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10717         Likewise.
10718         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10719         Likewise.
10720         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10721         Likewise.
10723 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10725         [BZ #20024]
10726         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10727         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10728         of this implementation of vector function.
10729         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10730         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10731         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10732         Likewise.
10733         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10734         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10735         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10736         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10737         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10738         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10739         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10740         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10741         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10742         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10743         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10744         for testing vector sincos with fixed ABI.
10745         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10746         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10747         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10748         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10749         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10750         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10751         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10752         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10753         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10754         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10755         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10756         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10757         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10758         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10759         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10760         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10762 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10764         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10766 2016-06-30  Anton Blanchard  <anton@samba.org>
10768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10769         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10770         s_sinf-ppc64.
10771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10774         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10776 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10780         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10781         e_expf-ppc64.
10782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10784         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10785         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10787 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10789         [BZ #20277]
10790         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10791         when SHARED is defined.
10793 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10795         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10796         (index_arch_Prefer_ERMS): Likewise.
10797         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10798         __memcpy_erms for Prefer_ERMS.
10799         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10800         (__memmove_erms): Enabled for libc.a.
10801         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10802         __memmove_erms or Prefer_ERMS.
10803         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10804         __mempcpy_erms for Prefer_ERMS.
10805         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10806         __memset_erms for Prefer_ERMS.
10808 2016-06-30  Andreas Schwab  <schwab@suse.de>
10810         [BZ #20262]
10811         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10812         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10813         of memory.
10815 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10817         [BZ #18645]
10818         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10819         (test-extras): Add tst-cleanupx4aux.
10820         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10821         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10822         tst-cleanupx4aux.o.
10823         * nptl/tst-cleanupx4aux.c: New file.
10825 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10827         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10829 2016-06-29  Andreas Schwab  <schwab@suse.de>
10831         [BZ #20260]
10832         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10833         address before the beginning of the string as an integer to avoid
10834         array-bounds warning.
10836 2016-06-28  Richard Henderson  <rth@redhat.com>
10838         * elf/elf.h (EM_BPF): New.
10839         (EM_NUM): Update.
10840         (R_BPF_NONE, R_BPF_MAP_FD): New.
10842         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10843         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10844         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10845         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10846         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10847         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10848         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10849         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10850         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10851         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10852         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10853         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10854         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10855         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10856         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10857         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10858         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10859         (EM_NUM): Update.
10861 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10863         [BZ #18960]
10864         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10865         Set _nl_current_LC_CATEGORY_used to two instead of one.
10867 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10869         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10870         (do_test): ... this.
10871         (TEST_FUNCTION): New macro.
10872          Include test-skeleton.c.
10873         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10874         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10876 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10878         [BZ #15479]
10879         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10880         floating-point environment rather than just control word.
10881         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10882         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10883         floating-point environment, with "invalid" exceptions merged in,
10884         rather than just control word.
10885         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10886         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10887         "inexact" exceptions.
10889         [BZ #15479]
10890         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10891         floating-point environment rather than just control word.
10892         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10893         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10894         floating-point environment, with "invalid" exceptions merged in,
10895         rather than just control word.
10896         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10897         * math/libm-test.inc (floor_test_data): Do not allow spurious
10898         "inexact" exceptions.
10900         [BZ #15479]
10901         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10902         floating-point environment rather than just control word.
10903         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10904         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10905         floating-point environment, with "invalid" exceptions merged in,
10906         rather than just control word.
10907         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10908         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10909         "inexact" exceptions.
10911 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10913         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10914         __libc_vfork.
10915         (__vfork) [IS_IN (libc)]: Remove alias.
10916         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10917         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10918         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10920 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10922         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10923         of atomic_compare_and_exchange_bool_rel.
10924         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10925         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10926         catomic_compare_and_exchange_bool_rel): Remove.
10927         * sysdeps/aarch64/atomic-machine.h
10928         (atomic_compare_and_exchange_bool_rel): Likewise.
10929         * sysdeps/alpha/atomic-machine.h
10930         (atomic_compare_and_exchange_bool_rel): Likewise.
10931         * sysdeps/arm/atomic-machine.h
10932         (atomic_compare_and_exchange_bool_rel): Likewise.
10933         * sysdeps/mips/atomic-machine.h
10934         (atomic_compare_and_exchange_bool_rel): Likewise.
10935         * sysdeps/microblaze/atomic-machine.h
10936         ( __arch_compare_and_exchange_bool_8_rel,
10937         __arch_compare_and_exchange_bool_16_rel): Likewise.
10938         * sysdeps/powerpc/atomic-machine.h
10939         ( __arch_compare_and_exchange_bool_8_rel,
10940         __arch_compare_and_exchange_bool_16_rel): Likewise.
10941         * sysdeps/powerpc/powerpc32/atomic-machine.h
10942         ( __arch_compare_and_exchange_bool_32_rel,
10943         __arch_compare_and_exchange_bool_64_rel): Likewise.
10944         * sysdeps/powerpc/powerpc64/atomic-machine.h
10945         ( __arch_compare_and_exchange_bool_32_rel,
10946         __arch_compare_and_exchange_bool_64_rel): Likewise.
10947         * sysdeps/tile/atomic-machine.h
10948         (atomic_compare_and_exchange_bool_rel): Likewise.
10950 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10952         [BZ #20296]
10953         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10954         when either argument is a NaN.
10955         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10956         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10958         * math/libm-test.inc (snan_value_ld): New macro.
10959         (isgreater_test_data): Add sNaN tests.
10960         (isgreaterequal_test_data): Likewise.
10961         (isless_test_data): Likewise.
10962         (islessequal_test_data): Likewise.
10963         (islessgreater_test_data): Likewise.
10964         (isunordered_test_data): Likewise.
10965         (nextafter_test_data): Likewise.
10966         (nexttoward_test_data): Likewise.
10967         (remainder_test_data): Likewise.
10968         (remquo_test_data): Likewise.
10969         (significand_test_data): Likewise.
10970         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10972 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10974         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10975         environment macros are defined.
10976         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10978 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10980         [BZ #20191]
10981         Implement vtable verification in libio.
10982         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10983         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10984         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10985         _IO_new_file_init_internal instead of _IO_file_init.
10986         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10987         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10988         * libio/Makefile (routines): Add vtables.
10989         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10990         (_IO_init): Remove, not for internal use.
10991         (_IO_init_internal): Declare, internal replacement for _IO_init.
10992         (_IO_file_init): Remove, not for internal use.
10993         (_IO_new_file_init): Remove, not for internal use.
10994         (_IO_new_file_init_internal): Declare, internal replacement for
10995         _IO_new_file_init.
10996         (_IO_old_file_init): Remove, not for internal use.
10997         (_IO_old_file_init_internal): Declare, internal replacement for
10998         _IO_old_file_init.
10999         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
11000         internal use.
11001         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
11002         Declare.
11003         (libio_vtable): New macro.
11004         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
11005         functions.
11006         * libio/fileops.c (_IO_new_file_init_internal): Rename from
11007         _IO_new_file_init.
11008         (_IO_new_file_init): New externally visible wrapper which disables
11009         vtable verification.
11010         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11011         Define as vtables.
11012         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11013         (_IO_init): New externally visible wrapper which disables
11014         vtable verification.
11015         * libio/iofdopen.c (_IO_new_fdopen): Call
11016         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11017         comment.
11018         * libio/iofopen.c (__fopen_internal): Call
11019         _IO_new_file_init_internal instead of _IO_file_init.
11020         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11021         Define as vtables.
11022         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11023         _IO_new_file_init_internal instead of _IO_file_init.
11024         * libio/iopopen.c (_IO_new_popen): Likewise.
11025         (_IO_proc_jumps): Define as vtable.
11026         * libio/iovdprintf.c (_IO_vdprintf): Call
11027         _IO_new_file_init_internal instead of _IO_file_init.
11028         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11029         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11030         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11031         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11032         _IO_old_file_init.
11033         (_IO_old_file_init): New externally visible wrapper which disables
11034         vtable verification.
11035         (_IO_old_file_jumps): Define as vtable.
11036         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11037         _IO_old_file_init_internal instead of _IO_old_file_init.
11038         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11039         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11040         (_IO_old_proc_jumps): Define as vtable.
11041         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11042         Define as vtables.
11043         * libio/vtables.c: New file.
11044         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11045         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11046         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11047         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11048         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11049         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11050         instead of _IO_init.
11052 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11054         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11056 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11058         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11059         potentially unused.
11061 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11063         * test-skeleton.c (write_message): New function.
11064         * malloc/tst-mallocfork2.c (write_message): Remove.
11065         * debug/tst-longjmp_chk2.c (write_indented): New function.
11066         (write_message): Remove.
11067         (stackoverflow_handler): Call write_indented.
11069 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11071         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11072         "inexact" exceptions after fnstenv.
11073         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11074         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11075         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11077 2015-06-22  Zack Weinberg  <zackw@panix.com>
11079         * sysdeps/generic/bits/hwcap.h: Moved to ...
11080         * bits/hwcap.h: Here.
11082 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11084         * sysdeps/aarch64/memcpy.S (memcpy):
11085         Further tuning for performance.
11087 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11089         [BZ #20284]
11090         * malloc/arena.c (reused_arena): Do not return NULL if we start
11091         out with a non-corrupted arena.
11093 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11095         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11096         * misc/tst-preadvwritev.c: New file.
11097         * misc/tst-preadvwritev64.c: Likewise.
11098         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11099         usage.
11100         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11101         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11102         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11103         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11105 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11107         [BZ #19654]
11108         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11109         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11110         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11111         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11112         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11113         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11114         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11115         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11116         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11117         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11118         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11119         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11120         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11121         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11122         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11123         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11124         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11125         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11126         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11127         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11128         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11129         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11130         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11131         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11132         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11133         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11135 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11137         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11138         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11140 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11142         * sysdeps/aarch64/memcpy.S (memcpy):
11143         Rewrite of optimized memcpy and memmove.
11144         * sysdeps/aarch64/memmove.S (memmove): Remove
11145         memmove code (merged into memcpy.S).
11147 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11149         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11150         * sysdeps/generic/dl-dtv.h: New file.
11151         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11152         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11153         (dtv_t): Remove.
11154         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11155         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11156         (dtv_t): Remove.
11157         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11158         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11159         (dtv_t): Remove.
11160         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11161         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11162         (dtv_t): Remove.
11163         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11164         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11165         (dtv_t): Remove.
11166         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11167         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11168         (dtv_t): Remove.
11169         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11170         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11171         (dtv_t): Remove.
11172         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11173         (dtv_t): Remove.
11174         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11175         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11176         (dtv_t): Remove.
11177         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11178         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11179         (dtv_t): Remove.
11180         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11181         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11182         (dtv_t): Remove.
11183         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11184         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11185         (dtv_t): Remove.
11186         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11187         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11188         (dtv_t): Remove.
11189         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11190         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11191         (dtv_t): Remove.
11192         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11193         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11194         (dtv_t): Remove.
11195         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11196         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11197         (dtv_t): Remove.
11199 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11201         Revert symbol poisoning of  __malloc_initialize_hook.
11202         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11203         poisoning.
11204         * malloc/Makefile: Remove un-poisoning.
11205         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11206         instead of old__malloc_initialize_hook.
11207         * malloc/malloc-hooks.h: Likewise.
11208         * malloc/malloc.c: Likewise.
11209         * malloc/mcheck-init.c: Likewise.
11211 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11213         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11215 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11217         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11218         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11219         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11220         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11222 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11224         * NEWS: Mention addition of nextup and nextdown.
11225         * manual/arith.texi: Document nextup and nextdown.
11226         * manual/libm-err-tab.pl: Add nextup and nextdown.
11227         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11228         * math/Versions (libm): Add GLIBC_2.24.
11229         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11230         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11231         Add new test.
11232         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11233         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11234         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11235         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11236         (nextup_test_data): Likewise.
11237         (nextdown_test_data): Likewise.
11238         * math/s_nextdown.c: New file.
11239         * math/s_nextdownf.c: Likewise.
11240         * math/s_nextdownl.c: Likewise.
11241         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11242         F(nextup): New function.
11243         F(nextdown): Likewise.
11244         * math/tgmath.h: Add nextup and nextdown.
11245         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11246         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11247         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11248         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11249         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11250         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11251         Add nextup and nextdown.
11252         (CFLAGS-nldbl-nextup.c): New variable.
11253         (CFLAGS-nldbl-nextdown.c): Likewise.
11254         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11255         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11256         * sysdeps/nacl/libm.abilist: Update.
11257         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11258         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11259         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11260         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11261         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11262         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11263         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11264         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11265         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11266         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11267         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11268         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11271         Likewise.
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11274         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11275         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11276         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11277         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11278         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11281         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11282         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11283         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11284         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11286 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11288         * manual/pattern.texi: Fix typos & grammar errors.
11290 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11292         * manual/search.texi: Fix typos & grammar errors.
11294 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11296         * manual/message.texi: Fix typos & grammar errors.
11298 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11300         * manual/contrib.texi: Fix spelling typos.
11301         * manual/crypt.texi: Likewise.
11302         * manual/filesys.texi: Likewise.
11303         * manual/locale.texi: Likewise.
11304         * manual/message.texi: Likewise.
11305         * manual/nss.texi: Likewise.
11306         * manual/string.texi: Likewise.
11308 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11310         * manual/locale.texi: Fix typos & grammar errors.
11312 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11314         * manual/charset.texi: Fix typos & grammar errors.
11316 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11318         * manual/string.texi: Fix typos.
11320 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11322         * manual/ctype.texi: Fix typos.
11324 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11326         * manual/memory.texi: Fix various typos & grammar errors.
11328 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11330         [BZ #20255]
11331         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11332         * math/libm-test.inc (fdim_test_data): Add another test.
11334         [BZ #6796]
11335         [BZ #20255]
11336         [BZ #20256]
11337         * math/s_fdim.c: Include <math_private.h>.
11338         (__fdim): Use math_narrow_eval on result.
11339         * math/s_fdimf.c: Include <math_private.h>.
11340         (__fdimf): Use math_narrow_eval on result.
11341         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11342         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11343         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11344         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
11345         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
11346         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
11347         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
11348         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
11349         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
11350         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
11351         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
11352         * math/libm-test.inc (fdim_test_data): Expect errno setting on
11353         overflow.  Add sNaN tests.
11355         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
11356         fpclassify.
11357         * math/s_fdimf.c (__fdimf): Likewise.
11358         * math/s_fdiml.c (__fdiml): Likewise.
11360 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11362         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11363         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
11364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11365         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11366         ifunc'ed strcasecmp/strncasecmp.
11367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
11368         [EALIGN]: Removed.
11369         [END]: Likewise.
11370         [__strcasecmp]: Define instead of the above to control symbol name.
11371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
11372         for __strcasecmp_power8.
11373         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
11374         for __strncasecmp_power8.
11375         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
11376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
11377         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11378         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
11379         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
11380         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
11382 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
11384         [BZ #20252]
11385         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
11386         arguments when second argument is a NaN.
11387         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
11388         qNaN tests.
11390         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
11391         (conj_test_data): Likewise.
11392         (copysign_test_data): Likewise.
11393         (creal_test_data): Likewise.
11394         (fma_test_data): Likewise.
11395         (fmod_test_data): Likewise.
11397         [BZ #20250]
11398         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
11399         itself.
11400         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
11401         zero input to itself.
11402         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
11403         Likewise.
11404         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
11405         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11406         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11407         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11408         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
11410 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11412         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
11413         * nptl/tst-cancel4-common.c: New file.
11414         * nptl/tst-cancel4-common.h: Likewise.
11415         * nptl/tst-cancel4.c: Move common definitions to
11416         tst-cancel4-common.{c,h} file.
11417         * nptl/tst-cancel4_1.c: New test.
11418         * nptl/tst-cancel4_2.c: New test.
11420 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11422         [BZ #20248]
11423         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11424         (write_message): New function.
11425         (stackoverflow_handler): Call it instead of printf, to avoid
11426         excessive stack usage by printf.
11427         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11429 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11431         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11432         (prio_inherit_missing): Remove define.
11433         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11434         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11436         Likewise.
11437         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11438         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11439         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11440         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11441         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11442         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11444 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11446         [BZ #19670]
11447         [BZ #19672]
11449         * io/test-lfs.c (do_prepare): Use xmalloc.
11450         * io/tst-fcntl.c (do_prepare): Likewise.
11451         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11452         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11453         * login/tst-utmp.c (do_prepare): Likewise.
11454         * posix/tst-exec.c (do_prepare): Likewise.
11455         * posix/tst-pathconf.c (prepare): Likewise.
11456         * posix/tst-spawn.c (do_prepare): Likewise.
11457         * posix/tst-truncate.c (do_prepare): Likewise.
11458         * rt/tst-aio.c (do_prepare): Likewise.
11459         * rt/tst-aio64.c (do_prepare): Likewise.
11461 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11463         [BZ #20237]
11464         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11465         (get*ent): Set entidx to NULL during initialization.  If entidx is
11466         NULL, start iteration from the beginning.
11468 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11470         * malloc/malloc.c (musable): Return correct size for dumped fake
11471         mmapped chunk.
11473 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11475         [BZ #20222]
11476         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11477         (_IO_cookie_write): Likewise.
11478         (_IO_cookie_seek): Likewise.
11479         (_IO_cookie_close): Likewise.
11480         (_IO_old_cookie_seek): Likewise.
11481         (set_callbacks): New function.
11482         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11484 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11486         * locale/programs/localedef.c (oldstyle_tables): Remove.
11487         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11489 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11491         [BZ #20240]
11492         * math/Makefile (CFLAGS-s_modf.c): New variable.
11493         (CFLAGS-s_modff.c): Likewise.
11494         (CFLAGS-s_modfl.c): Likewise.
11495         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11497 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11499         [BZ #20215]
11500         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11501         [!__GNUC_PREREQ (3,2)]: Likewise.
11503 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11505         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11506         (msghdr.msg_controllen): Likewise.
11507         (cmsghdr.cmsg_len): Likewise.
11508         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11509         ptw-oldsendmsg.
11510         (CFLAGS-oldrecvmsg.c): Remove rule.
11511         (CFLAGS-oldsendmsg.c): Likewise.
11512         (CFLAGS-recvmsg.c): Add rule.
11513         (CFLAGS-sendmsg.c): Likewise.
11514         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11515         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11516         (CFLAGS-recvmsg.c): Remove rule.
11517         (CFLAGS-sendmsg.c): Likewise.
11518         (CFLAGS-oldrecvmsg.c): Likewise.
11519         (CFLAGS-oldsendmsg.c): Likewise.
11520         (CFLAGS-recvmmsg.c): Likewise.
11521         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11522         to kernel defined interfaces.
11523         (msghdr.msg_controllen): Likewise.
11524         (cmsghdr.cmsg_len): Likewise.
11525         (msghdr.__glibc_reserved1): Remove member.
11526         (msghdr.__glibc_reserved2): Likewise.
11527         (cmsghdr.__glibc_reserved1): Likewise.
11528         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11529         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11530         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11531         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11532         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11533         version.
11534         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11535         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11536         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11537         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11538         Remove recvmsg and sendmsg.
11539         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11540         Likewise.
11541         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11542         Likewise.
11543         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11544         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11545         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11546         Likewise.
11547         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11548         Likewise.
11549         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11550         [libc] (GLIBC_2.24): Likewise.
11551         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11552         Likewise.
11553         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11554         Likewise.
11555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11556         [libc] (GLIBC_2.24): Likewise.
11557         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11558         Likewise.
11559         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11560         Likewise.
11561         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11562         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11563         Likewise.
11564         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11565         Likewise.
11566         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11567         Likewise.
11568         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11569         Likewise.
11570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11571         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11572         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11573         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11574         version for {recv,send,recm,sendm}msg.
11575         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11577         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11578         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11579         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11580         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11581         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11582         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11583         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11588         Likewise.
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11590         Likewise.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11593         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11594         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11595         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11596         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11597         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11598         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11605 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11607         [BZ #19564]
11608         Remove __malloc_initialize_hook from the API.
11609         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11610         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11611         #pragma GCC poison.
11612         * malloc/malloc-hooks.h: New file.
11613         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11614         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11615         (old__malloc_initialize_hook): Rename from
11616         __malloc_initialize_hook to evade poisoning.  Turn into compat
11617         symbol.
11618         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11619         __malloc_initialize_hook.
11620         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11621         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11622         * manual/memory.texi (Hooks for Malloc): Remove
11623         __malloc_initialize_hook.  Adjust hook example.
11625 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11627         [BZ #20235]
11628         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11629         itself.
11630         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11631         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11633         [BZ #20234]
11634         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11635         infinity or NaN input to itself.
11637         [BZ #20233]
11638         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11639         to itself.
11641         [BZ #20232]
11642         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11643         itself.
11645 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11647         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11648         __libc_start_main via GOT.
11650 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11652         * sysdeps/x86_64/memcopy.h: New file.
11653         * sysdeps/x86_64/wordcopy.c: Likewise.
11655 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11657         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11658         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11659         <cstdlib>.
11660         (optimization_barrier): New.
11661         (do_test): Use it.  Call quick_exit in the global namespace.
11662         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11663         instead of <cstdlib>, <thread>.
11664         (optimization_barrier): New.
11665         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11666         Call quick_exit in the global namespace.
11667         (do_test): Call optimization_barrier.  Use pthread_create,
11668         pthread_join instead of std::thread.
11670 2016-06-09  Andreas Schwab  <schwab@suse.de>
11672         [BZ #19755]
11673         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11674         new entries in auto-propagate mode.
11675         * nscd/grpcache.c (cache_addgr): Likewise.
11677 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11679         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11680         New functions.
11681         (add_temp_file): Use them.
11683 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11685         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11687 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11689         [BZ #20229]
11690         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11691         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11692         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11694         [BZ #20228]
11695         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11696         itself.
11697         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11698         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11700         [BZ #20227]
11701         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11702         itself.
11703         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11704         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11705         * math/libm-test.inc (log_test_data): Add sNaN tests.
11707         [BZ #20226]
11708         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11709         itself.
11710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11711         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11712         (exp10_test_data): Likewise.
11713         (expm1_test_data): Likewise.
11715         [BZ #20225]
11716         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11717         itself.
11718         * math/s_ldexpf.c (__ldexpf): Likewise.
11719         * math/s_ldexpl.c (__ldexpl): Likewise.
11720         * math/w_scalbln.c (__w_scalbln): Likewise.
11721         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11722         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11723         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11724         (scalbln_test_data): Likewise.
11726         [BZ #20224]
11727         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11728         argument to itself.
11729         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11731 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11733         [BZ #19776]
11734         * sysdeps/x86_64/memcpy.S: Make it dummy.
11735         * sysdeps/x86_64/mempcpy.S: Likewise.
11736         * sysdeps/x86_64/memmove.S: New file.
11737         * sysdeps/x86_64/memmove_chk.S: Likewise.
11738         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11739         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11740         * sysdeps/x86_64/memmove.c: Removed.
11741         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11742         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11743         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11744         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11745         Likewise.
11746         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11747         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11749         memcpy-sse2-unaligned, memmove-avx-unaligned,
11750         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11752         (__libc_ifunc_impl_list): Replace
11753         __memmove_chk_avx512_unaligned_2 with
11754         __memmove_chk_avx512_unaligned.  Remove
11755         __memmove_chk_avx_unaligned_2.  Replace
11756         __memmove_chk_sse2_unaligned_2 with
11757         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11758         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11759         with __memmove_avx512_unaligned.  Replace
11760         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11761         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11762         with __memcpy_chk_avx512_unaligned.  Remove
11763         __memcpy_chk_avx_unaligned_2.  Replace
11764         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11765         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11766         Replace __memcpy_avx512_unaligned_2 with
11767         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11768         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11769         with __mempcpy_chk_avx512_unaligned.  Remove
11770         __mempcpy_chk_avx_unaligned_2.  Replace
11771         __mempcpy_chk_sse2_unaligned_2 with
11772         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11773         Replace __mempcpy_avx512_unaligned_2 with
11774         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11775         Replace __mempcpy_sse2_unaligned_2 with
11776         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11777         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11778         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11779         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11780         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11781         (ENTRY): Removed.
11782         (END): Likewise.
11783         (ENTRY_CHK): Likewise.
11784         (libc_hidden_builtin_def): Likewise.
11785         Don't include ../memcpy.S.
11786         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11787         __memcpy_chk_avx512_unaligned_erms and
11788         __memcpy_chk_avx512_unaligned.  Use
11789         __memcpy_chk_avx_unaligned_erms and
11790         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11791         Default to __memcpy_chk_sse2_unaligned.
11792         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11793         Change function suffix from unaligned_2 to unaligned.
11794         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11795         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11796         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11797         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11798         (ENTRY): Removed.
11799         (END): Likewise.
11800         (ENTRY_CHK): Likewise.
11801         (libc_hidden_builtin_def): Likewise.
11802         Don't include ../mempcpy.S.
11803         (mempcpy): New.  Add a weak alias.
11804         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11805         __mempcpy_chk_avx512_unaligned_erms and
11806         __mempcpy_chk_avx512_unaligned.  Use
11807         __mempcpy_chk_avx_unaligned_erms and
11808         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11809         Default to __mempcpy_chk_sse2_unaligned.
11811 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11813         [BZ #19881]
11814         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11815         into ...
11816         * sysdeps/x86_64/memset.S: This.
11817         (__bzero): Removed.
11818         (__memset_tail): Likewise.
11819         (__memset_chk): Likewise.
11820         (memset): Likewise.
11821         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11822         defined.
11823         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11824         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11825         (__memset_zero_constant_len_parameter): Check SHARED instead of
11826         PIC.
11827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11828         memset-avx2 and memset-sse2-unaligned-erms.
11829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11830         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11831         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11832         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11833         (__bzero): Enabled.
11834         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11835         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11836         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11837         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11838         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11839         (memset): Removed.
11840         (__memset_chk): Likewise.
11841         (MEMSET_SYMBOL): New.
11842         (libc_hidden_builtin_def): Replace __memset_sse2 with
11843         __memset_sse2_unaligned.
11844         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11845         __memset_chk_sse2 and __memset_chk_avx2 with
11846         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11847         Use __memset_chk_sse2_unaligned_erms or
11848         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11849         __memset_chk_avx512_unaligned_erms and
11850         __memset_chk_avx512_unaligned.
11852 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11854         * math/gen-auto-libm-test.c (fp_format_desc): remove
11855         suffix member.
11856         (output_generic_value): Remove usage of suffix member,
11857         and the resulting unuse of the fp_format argument.
11858         (output_for_one_input_case): Remove unused fp_format
11859         parameter.
11861         * math/auto-libm-test-out: Regenerate.
11863         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11864         usage with TEST_COND_ibm128.
11865         (TEST_COND_flt_32): Remove.
11866         (TEST_COND_dbl_64): Remove.
11867         (TEST_COND_ldbl_96_intel): Remove.
11868         (TEST_COND_ldbl_96_m68k): Remove.
11869         (TEST_COND_ldbl_128): Remove.
11871 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11873         * auto-libm-test-in:
11874         Replace flt-32 usage with binary32.
11875         Replace dbl-64 usage with binary64.
11876         Replace ldbl-intel-96 usage with intel96.
11877         Replace ldbl-m68k-96 usage with m68k96.
11878         Replace ldbl-128ibm usage with ibm128.
11879         Replace ldbl-128 usage with binary128.
11881         * auto-libm-test-out: Regenerate.
11883 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11885         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11886         (parse_ulps): Dynamically generate type name matching
11887         string from all_floats.
11888         (get_ulps): Generate the ulps as an array instead.
11889         (output_ulps): Dynamically compose the type based
11890         on the number of supported formats, and print
11891         the indices as type specific helper macros.
11893         * math/libm-test.inc: Remove comment about CHOOSE.
11894         (ulp_data): Generate the type in libm-test-ulps.h.
11895         (ULP_IDX): New macro.
11896         (find_ulps): Update usage of max_ulp.
11898         * math/test-double-vlen2.h (CHOOSE): Remove.
11899         * math/test-double-vlen4.h (CHOOSE): Likewise.
11900         * math/test-double-vlen8.h (CHOOSE): Likewise.
11901         * math/test-float.c (CHOOSE): Likewise.
11902         * math/test-float-finite.c (CHOOSE): Likewise.
11903         * math/test-double.c (CHOOSE): Likewise.
11904         * math/test-double-finite.c (CHOOSE): Likewise.
11905         * math/test-idouble.c (CHOOSE): Likewise.
11906         * math/test-ifloat.c (CHOOSE): Likewise.
11907         * math/test-ildoubl.c (CHOOSE): Likewise.
11908         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11909         * math/test-ldouble.c (CHOOSE): Likewise.
11911         * math/test-float.h (TEST_FLOAT): Remove.
11912         * math/test-double.h (TEST_DOUBLE): Likewise.
11913         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11915 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11917         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11918         (parse_args): Strip C suffix from floating point literals
11919         typed with 'f' and wrap them with LIT().
11921         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11922         (test_ff_f_data_nexttoward): Rename to
11923         (test_fj_f_data): New struct.
11924         (nexttoward_test_data): Relabel tests as
11925         TEST_fj_f instead of TEST_ff_f.
11927 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11929         Emacs bug 23726.
11930         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11931         (__libc_realloc): Correct size computation for dumped fake mmapped
11932         chunks.
11934 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11936         [BZ #20219]
11937         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11938         to itself.
11939         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11941         [BZ #20218]
11942         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11943         to itself.
11944         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11946 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11948         [BZ #20195]
11949         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11950         check to ...
11951         (init_cpu_features): Here.
11953 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11955         [BZ #20214]
11956         * sysdeps/unix/sysv/linux/bits/in.h
11957         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11958          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11959         Define to 1.
11960         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11961          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11962         Define to 0.
11963         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11964         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11966 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11968         [BZ #20198]
11969         * stdlib/Makefile (tests): Add tst-quick_exit, and
11970         tst-thread-quick_exit.
11971         [ifeq ($(have-cxx-thread_local),yes)]
11972         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11973         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11974         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11975         (LDLIBS-tst-thread-quick_exit): Likewise.
11976         [ifneq ($(have-cxx-thread_local),yes)]
11977         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11978         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11979         If run_dtors is true call __call_tls_dtors.
11980         (exit): Call __run_exit_handlers with run_dtors set to true.
11981         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11982         definition.
11983         * stdlib/quick_exit.c (quick_exit): Remove function.
11984         (__new_quick_exit): New function.
11985         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11986         function.
11987         * stdlib/tst-quick_exit.cc: New file.
11988         * stdlib/tst-thread-quick_exit.cc: New file.
11989         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11990         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11991         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11992         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11993         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11994         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11995         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11996         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11997         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11998         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11999         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
12000         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
12001         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
12002         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
12003         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
12004         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
12006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
12007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12009         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12010         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12011         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12012         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12013         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12016         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12017         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12018         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12020 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12022         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12023         a typo in comments.
12025 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12027         [BZ #20213]
12028         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12029         argument to itself.
12030         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12032 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12034         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12035         required flags.
12036         (CFLAGS-pwritev64.c): Likewise.
12037         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12038         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12039         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12040         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12041         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12042         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12043         syscall from auto-generation.
12044         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12045         [WORDSIZE == 64] (pwritev64): Remove macro.
12046         [!PWRITEV] (PWRITEV): Likewise.
12047         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12048         [!PWRITEV] (PWRITE): Likewise.
12049         [!PWRITEV] (OFF_T): Likewise.
12050         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12051         (LO_HI_LONG): Remove macro.
12052         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12053         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12054         (PWRITEV): Remove macro.
12055         (PWRITEV_REPLACEMENTE): Likewise.
12056         (PWRITE): Likewise.
12057         (OFF_T): Likewise.
12058         (pwritev64): New function.
12059         * nptl/tst-cancel4.c (tf_writev): Add test.
12061         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12062         required flags.
12063         (CFLAGS-preadv64.c): Likewise.
12064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12065         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12066         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12067         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12068         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12069         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12070         syscall from auto-generation.
12071         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12072         [WORDSIZE == 64] (preadv64): Remove macro.
12073         [!PREADV] (PREADV): Likewise.
12074         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12075         [!PREADV] (PREAD): Likewise.
12076         [!PREADV] (OFF_T): Likewise.
12077         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12078         (LO_HI_LONG): Remove macro.
12079         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12080         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12081         (PREADV): Remove macro.
12082         (PREADV_REPLACEMENTE): Likewise.
12083         (PREAD): Likewise.
12084         (OFF_T): Likewise.
12085         (preadv64): New function.
12086         * nptl/tst-cancel4.c (tf_preadv): Add test.
12088 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12090         [BZ #20212]
12091         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12092         argument to itself.
12093         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12095 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12097         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12098         New symbol defined as libc_hidden_def.
12099         (strcasestr): Became a weak alias to __strcasestr.
12100         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12101         according to multi-arch support.  Move __stpncpy hidden
12102         definition from here to...
12103         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12104         symbol stpncpy.
12105         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12106         libc_hidden_builtin_def.
12107         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12108         memset symbol to use when multi-arch support is available.
12110 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12112         * dlfcn/tst-rec-dlopen.c: Include string.h.
12114 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12116         * manual/install.texi: Remove mention of --without-tls
12117         * INSTALL: Regenerate.
12119 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12121         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12122         Remove.
12123         (call_function, interposed_malloc_called): New variables.
12124         (malloc): New function.
12125         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12126         and clear call_function as needed.
12128 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12130         * include/wchar.h (__wmemset): Use __typeof.
12132 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12134         * include/wchar.h (__wmemset): Declare function without typeof.
12136 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12138         [BZ #20205]
12139         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12140         exponent when incrementing negative subnormal with low mantissa
12141         word zero.
12142         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12143         Add another test.
12145 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12147         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12148         __wmemset instead of wmemset.
12150 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12152         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12153         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12154         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12155         __USE_KERNEL_IPV6_DEFS to 0.
12156         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12157         Update comment.
12159 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12161         [BZ #19861]
12162         Do not use IFUNC resolver with potentially unrelocated symbol.
12163         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12164         (DEFINE_FORK): Remove macro and inline definition.
12165         (fork_alias): Renamed from fork_ifunc.
12166         (__fork_alias): Renamed from __fork_ifunc.
12168 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12170         [BZ 19653]
12171         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12172         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12174 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12176         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12177         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12178         i386-linux-gnu).
12179         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12180         Set to no.
12181         * sysdeps/mach/hurd/configure: Refresh.
12183 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12185         [BZ #20178]
12186         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12187         on failure instead of exit.
12189 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12191         [BZ #3629]
12192         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12193         of POSIX.1-2008.
12195 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12197         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12198           Use PLT entry for calling _hurd_self_sigstate.
12200 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12202         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12203         available logical processors with SMT level type sharing L2
12204         cache for Intel processors.
12206 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12208         [BZ #20160]
12209         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12210         argument to itself before returning the result.
12211         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12212         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12213         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12214         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12215         Likewise.
12216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12217         Likewise.
12218         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12219         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12220         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12221         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12222         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12223         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12225         [BZ #20160]
12226         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12227         argument to itself before returning the result.
12228         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12229         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12230         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12231         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12232         Likewise.
12233         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12234         Likewise.
12235         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12236         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12237         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12238         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12239         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12240         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12242 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12244         * libm-test.inc: Replace usage of M_El with
12245         (lit_e): New macro.
12247 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12249         * libm-test.inc: Replace usage of M_PI_4l with
12250         (lit_pi_4_d): New macro.
12252 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12254         * libm-test.inc: Replace usage of M_PIl with
12255         (lit_pi): New macro.
12257 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12259         * libm-test.inc: Replace usage of M_PI2l with
12260         (lit_pi_2_d): New macro.
12262         * math/test-double.h (LITM): New macro.
12263         * math/test-float.h (LITM): Likewise.
12264         * math/test-ldouble.h (LITM): Likewise.
12266 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12268         * libm-test.inc (M_PI_34l): Rename to
12269         (lit_pi_3_m_4_d): New Macro.
12270         (M_PI_34_LOG10El): Rename to
12271         (lit_pi_3_m_4_ln10_m_d): New Macro.
12272         (M_PI2_LOG10El): Rename to
12273         (lit_pi_2_ln10_m_d):  New Macro.
12274         (M_PI4_LOG10El): Rename to
12275         (lit_pi_4_ln10_m_d):  New Macro.
12276         (M_PI_LOG10El): Rename to
12277         (lit_pi_ln10_d):  New Macro.
12279 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12281         [BZ #20157]
12282         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12283         determine whether to negate low half if [_ARCH_PPCGR], and integer
12284         comparison otherwise.
12285         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12286         determine whether to negate low half.
12288         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12289         (NO_TEST_INLINE_DOUBLE): Likewise.
12290         (TEST_COND_x86_64): Likewise.
12291         (TEST_COND_x86): Likewise.
12292         (M_PI_6l): Likewise.
12294 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12296         * math/libm-test.inc:
12297         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12298         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12299         (TEST_LDOUBLE): Update usage to evaluate as true if
12300         the guarded tests match the property being tested.
12301         (LDBL_MAX_EXP): Change to MAX_EXP.
12302         (LDBL_MIN_EXP): Change to MIN_EXP.
12303         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12304         nexttoward tests.
12306 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12308         * math/libm-test.inc:
12309         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12310         (TYPE_MIN): Likewise.
12311         (TYPE_TRUE_MIN): Likewise.
12312         (TYPE_MAX): Likewise.
12313         (MIN_EXP): Likewise.
12314         (MAX_EXP): Likewise.
12315         (MANT_DIG): Likewise.
12317         (FSTR_MAX): New macro.
12318         (__CONCATX): Likewise.
12319         (QTYPE_STR): Likewise.
12320         (TEST_COND_binary32): Likewise.
12321         (TEST_COND_binary64): Likewise.
12322         (TEST_COND_binary128): Likewise.
12323         (TEST_COND_ibm128): Likewise.
12324         (TEST_COND_intel96): Likewise.
12325         (TEST_COND_m68k96): Likewise.
12327         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12328         (TEST_COND_dbl_64): Likewise.
12329         (TEST_COND_ldbl_96_intel): Likewise.
12330         (TEST_COND_ldbl_96_m68k): Likewise.
12331         (TEST_COND_ldbl_128): Likewise.
12332         (TEST_COND_ldbl_128ibm): Likewise.
12334         (plus_zero): Redefine using LIT macro.
12335         (minus_zero): Likewise.
12336         (plus_infty): Redefine as (INF).
12337         (minux_infty): Redefine as (-INF).
12338         (max_value): Redefine as TYPE_MAX.
12339         (min_value): Redefine as TYPE_MIN.
12340         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12342         (print_float): Refactor to use snprintf to convert FLOAT values
12343         to string. This brings it closer to dropin replacement of strtof
12344         for the TS 18661 defined types.
12345         (update_stats): Likewise.
12346         (print_complex_function_ulps): Likewise.
12347         (print_max_error): Likewise.
12348         (print_complex_max_error): Likewise.
12349         (check_float_internal): Likewise.
12351         * math/test-float.h (PREFIX): New macro.
12352         (LIT): Likewise.
12353         (TYPE_STR): Likewise.
12354         (FTOSTR): Likewise.
12356         * math/test-double.h (PREFIX): New macro.
12357         (LIT): Likewise.
12358         (TYPE_STR): Likewise.
12359         (FTOSTR): Likewise.
12361         * math/test-ldouble.h (PREFIX): New macro.
12362         (LIT): Likewise.
12363         (TYPE_STR): Likewise.
12364         (FTOSTR): Likewise.
12366 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12368         [BZ #20156]
12369         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
12370         to itself when zero or not finite.
12371         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
12372         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12373         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
12374         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12376 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
12378         [BZ #20153]
12379         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
12380         x * x + x for infinities and NaNs.
12382         [BZ #20151]
12383         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
12384         argument to itself before returning result.
12385         (__ieee754_y0l): Likewise.
12386         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12387         (__ieee754_y1l).
12389         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
12390         (atan_test_data): Likewise.
12391         (ceil_test_data): Likewise.
12392         (cos_test_data): Likewise.
12393         (cosh_test_data): Likewise.
12394         (erf_test_data): Likewise.
12395         (exp2_test_data): Likewise.
12396         (fabs_test_data): Likewise.
12397         (floor_test_data): Likewise.
12398         (ilogb_test_data): Likewise.
12399         (j0_test_data): Likewise.
12400         (j1_test_data): Likewise.
12401         (jn_test_data): Likewise.
12402         (lgamma_test_data): Likewise.
12403         (lrint_test_data): Likewise.
12404         (llrint_test_data): Likewise.
12405         (logb_test_data): Likewise.
12406         (lround_test_data): Likewise.
12407         (llround_test_data): Likewise.
12408         (nearbyint_test_data): Likewise.
12409         (rint_test_data): Likewise.
12410         (round_test_data): Likewise.
12411         (sin_test_data): Likewise.
12412         (sincos_test_data): Likewise.
12413         (sinh_test_data): Likewise.
12414         (sqrt_test_data): Likewise.
12415         (tan_test_data): Likewise.
12416         (tanh_test_data): Likewise.
12417         (tgamma_test_data): Likewise.
12418         (trunc_test_data): Likewise.
12419         (y0_test_data): Likewise.
12420         (y1_test_data): Likewise.
12421         (yn_test_data): Likewise.
12423         * math/libm-test.inc: Update comment about NaN testing.
12424         (TEST_SNAN): New macro.
12425         (snan_value): Likewise.
12426         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12427         (fpclassify_test_data): Add sNaN tests.
12428         (isfinite_test_data): Likewise.
12429         (isinf_test_data): Likewise.
12430         (isnan_test_data): Likewise.
12431         (isnormal_test_data): Likewise.
12432         (issignaling_test_data): Likewise.
12433         (signbit_test_data): Likewise.
12434         * math/gen-libm-test.pl (%beautify): Add snan_value.
12435         (show_exceptions): Add argument $test_snan.
12436         (parse_args): Handle snan_value as non-finite.  Update call to
12437         show_exceptions.
12438         * math/Makefile (libm-test-no-inline-cflags): Add
12439         -fsignaling-nans.
12441 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12443         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12444         (CFLAGS-oldsendmsg.c): Add rule.
12445         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12446         Correct recvmsg symbol name.
12447         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12448         Likewise.
12450 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12452         * sysdeps/unix/sysv/linux/Makefile
12453         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12454         oldsendmmsg.
12455         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12456         sendmmsg.
12457         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12460         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12465         Likewise.
12466         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12468         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12469         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12470         iovlen and controllen fields to adjust to POSIX specification.
12471         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12473         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12474         and change to correct expected type.
12475         (msghdr.msg_controllen): Likewise.
12476         (cmsghdr.cmsg_len): Likewise.
12477         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12478         expected POSIX assumption about the size.
12479         (msghdr.msg_controllen): Likewise.
12480         (msghdr.__glibc_reserved1): Likewise.
12481         (msghdr.__glibc_reserved2): Likewise.
12482         (cmsghdr.cmsg_len): Likewise.
12483         (cmsghdr.__glibc_reserved1): Likewise.
12484         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12485         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12486         (CFLAGS-sendmsg.c): Remove rule.
12487         (CFLAGS-recvmsg.c): Likewise.
12488         (CFLAGS-oldsendmsg.c): Add rule.
12489         (CFLAGS-oldrecvmsg.c): Likewise.
12490         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12491         recvmsg and sendmsg.
12492         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12493         Likewise.
12494         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12495         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12496         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12497         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12498         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12499         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12500         Likewise.
12501         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12502         Likewise.
12503         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12504         Likewise.
12505         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12506         Likewise.
12507         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12508         Likewise.
12509         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12510         Likewise.
12511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12512         (GLIBC_2.24): Likewise.
12513         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12514         Likewise.
12515         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12516         Likewise.
12517         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12518         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12519         Likewise.
12520         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12521         Likewise.
12522         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12523         Likewise.
12524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12525         (GLIBC_2.24): Likewise.
12526         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12527         Likewise.
12528         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12529         Likewise.
12530         * sysdeps/unix/sysv/linux/Makefile
12531         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12532         (CFLAGS-sendmsg.c): Add rule.
12533         (CFLAGS-recvmsg.c): Likewise.
12534         (CFLAGS-oldsendmsg.c): Likewise.
12535         (CFLAGS-oldrecvmsg.c): Likewise.
12536         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12537         initialization.
12538         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12539         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12540         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12541         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12542         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12543         iovlen and controllen fields to adjust to POSIX specification.
12544         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12545         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12546         added recvmsg and sendmsg.
12547         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12548         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12549         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12550         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12551         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12552         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12553         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12554         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12555         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12556         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12557         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12558         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12560         Likewise.
12561         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12563         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12564         Likewise.
12565         Likewise.
12566         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12567         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12568         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12569         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12570         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12571         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12573         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12575         Likewise.
12576         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12577         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12579         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12580         from auto-generation.
12581         (sendmsg): Likewise.
12582         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12583         (sendmsg): Likewise.
12584         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12585         (sendmsg): Likewise.
12586         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12587         (sendmsg): Likewise.
12588         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12589         (sendmsg): Likewise.
12590         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12591         (sendmsg): Likewise.
12592         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12593         Likewise.
12594         (sendmsg): Likewise.
12595         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12596         (sendmsg): Likewise.
12597         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12598         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12599         Remove.
12600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12601         Likewise.
12602         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12603         Undefine.
12604         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12605         Likewise.
12606         * sysdeps/unix/sysv/linux/kernel-features.h
12607         (__ASSUME_SENDMSG_SYSCALL): Define.
12608         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12609         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12611         Remove.
12612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12613         Likewise.
12614         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12615         Undefine.
12616         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12617         Likewise.
12618         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12620         Remove.
12621         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12622         Likewise.
12623         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12624         Undefine.
12625         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12626         Likewise.
12627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12628         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12629         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12630         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12631         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12632         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12633         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12634         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12635         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12637 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12639         * stdlib/gen-tst-strtod-round.c: Add backslash to
12640         compile command in comment.
12641         (printfp): Remove the literal suffix, and define an infinite
12642         value as INF to avoid expansion clash with INFINITY.
12643         (round_str): Remove the literal suffix.
12644         (round_for_all): Likewise, remove the now duplicate ldbl-64
12645         entry, and remove some magic constants.
12647         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12648         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12649         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12650         (_CONCAT): New macro.
12651         (CONCAT): Likewise.
12652         (CHOOSE_ld): Likewise.
12653         (CHOOSE_f): Likewise.
12654         (CHOOSE_d): Likewise.
12655         (FTYPE_MEMBER): Likewise.
12656         (BOOL_MEMBER): Likewise.
12657         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12658         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12659         (_XNTRY): Likewise.
12660         (XNTRY): Likewise.
12661         (_ENTRY): Likewise.
12662         (ENTRY): Likewise.
12663         (test_exactness): Generate members via macro.
12664         (test_results): Likewise.
12665         (test): Update members.
12666         (TEST): Redefine using new macros.
12667         (INF): New macro.
12668         (fetestmodes): New structure.
12669         (do_test): Refactor to be type generic.
12670         (test_in_one_mode): Refactor duplicate code into
12671         (GEN_ONE_TEST): New macro.
12673         * stdlib/tst-strtod-round-data.h: Regenerate.
12675         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12676         Extend to pass additional arbitrary parameters to
12677         generators.
12679 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12681         [BZ #15479]
12682         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12683         floating-point state after first floating-point operation on
12684         input.  Restore full floating-point state instead of just rounding
12685         mode.
12686         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12687         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12688         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12689         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12690         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12692         [BZ #15479]
12693         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12694         floating-point state after first floating-point operation on
12695         input.  Restore full floating-point state instead of just rounding
12696         mode.
12697         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12698         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12699         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12700         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12701         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12703 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12705         [BZ #19727]
12706         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12707         valid high surrogate.
12708         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12709         of an utf16 surrogate.
12710         * iconv/gconv_simple.c (BODY): Likewise.
12711         * iconvdata/bug-iconv12.c: New file.
12712         * iconvdata/Makefile (tests): Add bug-iconv12.
12714 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12716         [BZ #19726]
12717         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12718         outptrp in case of an illegal input.
12719         * iconv/tst-iconv6.c: New file.
12720         * iconv/Makefile (tests): Add tst-iconv6.
12722 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12724         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12725         an error in case of a value in range of an utf16 low surrogate.
12727 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12729         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12730         an error in case of a value in range of an utf16 low surrogate.
12732 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12734         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12735         Move to ...
12736         * sysdeps/s390/Makefile: ... here.
12737         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12738         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12739         (BRANCH_ON_COUNT): New define.
12740         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12741         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12742         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12743         run on s390-32, too.
12744         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12745         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12746         run on s390-32, too.
12747         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12748         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12749         run on s390-32, too.
12751 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12753         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12754         etf3eh or new vector loop-variant.
12756 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12758         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12759         etf3eh or new vector loop-variant.
12761 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12763         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12764         or new vector loop-variant.
12766 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12768         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12769         Rename to TR_LOOP and usage of tr instead of troo instruction.
12771 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12773         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12774         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12776 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12778         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12779         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12780         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12781         New override define.
12782         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12784 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12786         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12787         * sysdeps/s390/configure.ac: Add test for S390 vector register
12788         support in gcc.
12789         * sysdeps/s390/configure: Regenerated.
12791 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12793         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12794         Install file from $(objpfx)gconv-modules.
12795         ($(objpfx)gconv-modules): Concatenate architecture specific file
12796         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12797         * sysdeps/s390/gconv-modules: New file.
12798         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12799         Deleted.
12800         ($(objpfx)gconv-modules-s390): Deleted.
12801         (sysdeps-gconv-modules): New variable.
12803 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12805         [BZ #15479]
12806         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12807         of immediate operand to rounding instruction.
12808         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12809         Likewise.
12810         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12811         Likewise.
12812         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12813         Likewise.
12815 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12817         * math/libm-test.inc (MIN_EXP): Directly define as
12818         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12820 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12822         * math/libm-test.inc (MANT_DIG): Directly define as
12823         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12825 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12827         * stdlib/gen-tst-strtod-round.c (main):
12828           Change usage to more closely match the generated
12829           output.  Add usage and compilation instructions.
12830           (string_to_fp): Add and use FILE* parameter as
12831           output target.
12832           (print_fp): Likewise.
12833           (round_str): Likewise.
12834           (round_for_all): Likewise.
12835         * stdlib/tst-strtod-round.c (tests): Move into
12836         * stdlib/tst-strtod-round-data.h: New file.
12838 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12840         [BZ #15479]
12841         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12842         (__round): Do not force "inexact" exception.
12843         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12844         variable.
12845         (__round): Do not force "inexact" exception.
12846         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12847         (__roundf): Do not force "inexact" exception.
12848         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12849         (__roundl): Do not force "inexact" exception.
12850         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12851         (__roundl): Do not force "inexact" exception.
12852         * math/libm-test.inc (round_test_data): Do not allow spurious
12853         "inexact" exceptions.
12855         [BZ #15479]
12856         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12857         exception in comment.
12858         (huge): Remove variable.
12859         (__floor): Do not force "inexact" exception.
12860         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12861         "inexact" exception in comment.
12862         (huge): Remove variable.
12863         (__floor): Do not force "inexact" exception.
12864         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12865         exception in comment.
12866         (huge): Remove variable.
12867         (__floorf): Do not force "inexact" exception.
12868         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12869         exception in comment.
12870         (huge): Remove variable.
12871         (__floorl): Do not force "inexact" exception.
12873         [BZ #15479]
12874         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12875         exception in comment.
12876         (huge): Remove variable.
12877         (__ceil): Do not force "inexact" exception.
12878         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12879         "inexact" exception in comment.
12880         (huge): Remove variable.
12881         (__ceil): Do not force "inexact" exception.
12882         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12883         (__ceilf): Do not force "inexact" exception.
12884         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12885         exception in comment.
12886         (huge): Remove variable.
12887         (__ceill): Do not force "inexact" exception.
12889 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12891         * config.h.in (BIND_NOW): New.
12892         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12893         * configure: Regenerated.
12894         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12895         indirect branch via the GOT slot.
12897 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12899         [BZ #19765]
12900         * sysdeps/s390/mempcpy.S: New File.
12901         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12902         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12903         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12904         Add mempcpy variants.
12905         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12906         (memcpy): Adjust to be usable from mempcpy entry point.
12907         (__memcpy_mvcle): Likewise.
12908         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12909         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12910         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12911         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12912         (__memcpy_z10): Likewise.
12913         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12915 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12917         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12918         Remove __GI_ symbol.
12919         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12920         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12921         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12922         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12923         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12924         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12926 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12928         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12929         Use cghi instead of chi to compare 64bit value.
12931 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12933         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12934         Jump to 1MB check before executing mvc-loop.
12936 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12938         [BZ #6527]
12939         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12940         unconditionally.
12941         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12943 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12945         * stdlib/tst-strtod6.c (do_test): Use new type generic
12946         invocation of the test function.
12947         (test): Refactor into ...
12948         (TEST_STRTOD): New macro base function.
12950 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12952         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12953         (TEST_STRTOD): New macro.
12954         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12956 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12958         * stdlib/tst-strtod6.c (do_test): Use new type generic
12959         invocation of the test function.
12960         (test): Refactor into ...
12961         (TEST_STRTOD): New macro base function.
12963 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12965         CVE-2016-4429
12966         [BZ #20112]
12967         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12968         payload.
12970 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12972         [BZ #20111]
12973         * bits/sockaddr.h (_SS_SIZE): Define.
12974         * bits/socket.h (_SS_SIZE): Remove.
12975         (_SS_PADSIZE): Adjust to account for all padding.
12976         (struct sockaddr_storage): Update comment.  Avoid implicit
12977         padding.
12978         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12979         (_SS_PADSIZE): Adjust to account for all padding.
12980         (struct sockaddr_storage): Update comment.  Avoid implicit
12981         padding.
12982         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12983         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12984         (_SS_PADSIZE): Adjust to account for all padding.
12985         (struct sockaddr_storage): Update comment.  Avoid implicit
12986         padding.
12987         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12988         __SS_SIZE is 126 in this version.
12989         * inet/tst-sockaddr.c: New file.
12990         * inet/Makefile (tests): Add tst-sockaddr.c
12991         (tst-sockaddr.c): Compile with non-strict aliasing.
12993 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12995         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12996         [XPG3 || XPG4].
12997         (NL_ARGMAX): Also expect for [XPG3].
12998         (NL_LANGMAX): Likewise.
12999         (NL_MSGMAX): Likewise.
13000         (NL_NMAX): Likewise.
13001         (NL_SETMAX): Likewise.
13002         (NL_TEXTMAX): Likewise.
13003         (NZERO): Likewise.
13004         (TMP_MAX): Likewise.
13005         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
13006         variable.
13008         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13009         (PF_MAX): Update value.
13010         (AF_KCM): New macro.
13011         (SOL_NETBEUI): Likewise.
13012         (SOL_LLC): Likewise.
13013         (SOL_DCCP): Likewise.
13014         (SOL_NETLINK): Likewise.
13015         (SOL_TIPC): Likewise.
13016         (SOL_RXRPC): Likewise.
13017         (SOL_PPPOL2TP): Likewise.
13018         (SOL_BLUETOOTH): Likewise.
13019         (SOL_PNPIPE): Likewise.
13020         (SOL_RDS): Likewise.
13021         (SOL_IUCV): Likewise.
13022         (SOL_CAIF): Likewise.
13023         (SOL_ALG): Likewise.
13024         (SOL_NFC): Likewise.
13025         (SOL_KCM): Likewise.
13026         (MSG_BATCH): New enum value and macro.
13028 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13030         [BZ #18185]
13031         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13032         sharing L2 cache to 2 for Knights Landing.
13034 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13036         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13037         (FTW_DP): Do not expect for [XPG3 || XPG4].
13038         (FTW_SL): Do not expect for [XPG3].
13039         (FTW_SLN): Likewise.
13040         (FTW_PHYS): Likewise.
13041         (FTW_MOUNT): Likewise.
13042         (FTW_DEPTH): Likewise.
13043         (FTW_CHDIR): Likewise.
13044         (nftw): Likewise.
13045         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13046         variable.
13048 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13050         * manual/errno.texi: Fix various typos & grammar errors.
13052 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13054         * manual/intro.texi: Fix duplicated typo.
13056 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13058         [BZ #13304]
13059         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13060         <float.h>, <math_private.h> and <stdlib.h>.
13061         (add_split): New function.
13062         (mul_split): Likewise.
13063         (ext_val): New typedef.
13064         (store_ext_val): New function.
13065         (mul_ext_val): New function.
13066         (compare): New function.
13067         (add_split_ext): New function.
13068         (__fmal): After checking for Inf, NaN and zero, compute result as
13069         an exact sum of scaled double values in round-to-nearest before
13070         adding those up and adjusting for other rounding modes.
13071         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13072         tests of fma.
13073         * math/auto-libm-test-out: Regenerated.
13075 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13077         [BZ #20119]
13078         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13079         processor level type mask for CPUID with EAX == 11.
13081 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13083         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13084         logical threads if the HTT bit is 0.
13085         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13086         (index_cpu_HTT): Likewise.
13087         (reg_HTT): Likewise.
13089 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13091         [BZ #20115]
13092         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13093         Remove alignments on jump targets.
13095 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13097         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13098         (getpwent): Likewise.
13099         (setpwent): Likewise.
13100         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13101         variable.
13103         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13104         (remque): Likewise.
13105         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13106         variable.
13108 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13110         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13111         not being tested.
13113 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13115         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13116         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13117         call.
13118         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13119         (__condvar_cleanup1): Likewise.
13121 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13123         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13124         New
13125         (__pthread_unwind): Renamed to ...
13126         (PTHREAD_UNWIND): This.
13127         (__pthread_enable_asynccancel): Replace
13128         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13130 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13132         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13133         (CLONE_NEWCGROUP): New macro.
13135         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13136         (Q_GETNEXTQUOTA): New macro.
13138 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13140         [BZ #19907]
13141         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13142         buffer updated by the previous run.
13143         * string/test-memcpy.c (do_one_test): Likewise.
13144         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13145         * string/test-memmove.c (do_one_test): Likewise.
13147 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13149         [BZ #20094]
13150         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13151         not [__USE_XOPEN].
13152         (unlockpt): Likewise.
13153         (ptsname): Likewise.
13154         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13155         variable.
13157         [BZ #20076]
13158         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13159         instead of [__USE_UNIX98].
13160         (S_ISSOCK): Likewise.
13161         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13162         variable.
13164         [BZ #20074]
13165         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13166         [__USE_POSIX].
13167         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13168         variable.
13170         [BZ #20051]
13171         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13172         (ttyslot): Do not declare.
13173         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13174         (ttyslot): New prototype.
13175         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13176         variable.
13177         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13179 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13181         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13183 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13185         Fix race condition in tst-mallocfork2, use fewer resources.
13186         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13187         to current process group.
13188         (signal_sender): Yield in the non-sleeping case.
13190 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13192         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13193         (ecvt): Likewise.
13194         (fcvt): Likewise.
13195         (gcvt): Likewise.
13196         (getsubopt): Likewise.
13197         (grantpt): Likewise.
13198         (initstate): Likewise.
13199         (l64a): Likewise.
13200         (mktemp): Likewise.
13201         (mkstemp): Likewise.
13202         (ptsname): Likewise.
13203         (random): Likewise.
13204         (realpath): Likewise.
13205         (setstate): Likewise.
13206         (srandom): Likewise.
13207         (ttyslot): Likewise.
13208         (unlockpt): Likewise.
13209         (valloc): Likewise.
13211         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13212         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13213         variable.
13215 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13217         [BZ #20072]
13218         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13219         init_cpu_features only if SHARED is defined.
13220         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13222 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13224         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13225         non-inclusive caches on Intel processors.
13227 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13229         * malloc/malloc.c (dumped_main_arena_start)
13230         (dumped_main_arena_end): New variables.
13231         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13232         (do_check_chunk): Skip dumped fake mmapped chunks.
13233         (munmap_chunk): Likewise.
13234         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13235         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13236         mmapped chunks.
13237         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13238         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13239         and dumped_main_arena_end to cover the dumped heap.
13241 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13243         * conform/data/time.h-data (getdate_err): Do not expect for
13244         [XPG3].
13245         (getdate): Likewise.
13246         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13247         variable.
13249         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13250         (F_ULOCK): Likewise.
13251         (F_TEST): Likewise.
13252         (F_TLOCK): Likewise.
13253         (useconds_t): Likewise.
13254         (intptr_t): Do not expect for [XPG3] or [XPG4].
13255         (brk): Do not expect for [XPG3]
13256         (fchown): Likewise.
13257         (fchdir): Likewise.
13258         (ftruncate): Likewise.
13259         (getdtablesize): Likewise.
13260         (gethostid): Likewise.
13261         (getpagesize): Likewise.
13262         (getpgid): Likewise.
13263         (getsid): Likewise.
13264         (getwd): Likewise.
13265         (lchown): Likewise.
13266         (lockf): Likewise.
13267         (readlink): Likewise.
13268         (sbrk): Likewise.
13269         (setpgrp): Likewise.
13270         (setregid): Likewise.
13271         (setreuid): Likewise.
13272         (symlink): Likewise.
13273         (sync): Likewise.
13274         (truncate): Likewise.
13275         (ualarm): Likewise.
13276         (usleep): Likewise.
13277         (vfork): Likewise.
13278         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13279         variable.
13281         [BZ #20054]
13282         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13283         not [__USE_UNIX98].
13284         * conform/data/unistd.h-data (gethostname): Do not expect for
13285         [XPG3].
13287         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13288         [!POSIX] (S_IFBLK): Likewise.
13289         [!POSIX] (S_IFCHR): Likewise.
13290         [!POSIX] (S_IFIFO): Likewise.
13291         [!POSIX] (S_IFREG): Likewise.
13292         [!POSIX] (S_IFDIR): Likewise.
13293         [!POSIX] (S_IFLNK): Likewise.
13294         [!POSIX] (S_IFSOCK): Likewise.
13295         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13296         variable.
13297         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13299 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13301         * sysdeps/aarch64/memset.S (__memset):
13302         Rewrite of optimized memset.
13304 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13306         [BZ #19703]
13307         Partially async-signal-safe fork for single-threaded processes.
13308         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13309         variable.  Do not acquire and reset/release malloc and libio locks
13310         in single-threaded processes.
13311         * malloc/tst-mallocfork2.c: New file.
13312         * malloc/Makefile (tests): Add it.
13314 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13316         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13317         argument.  Use scratch buffer instead of extend_alloca.
13318         (gethosts): Use scratch buffer instead of extend_alloca.
13319         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13320         extend_alloca.
13321         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13323 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13325         [BZ #20055]
13326         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13327         instead of [__USE_UNIX98].
13328         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13329         [__USE_UNIX98].
13330         * conform/data/termios.h-data (tcgetsid): Do not expect for
13331         [XPG3].
13332         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13333         variable.
13334         (test-xfail-XPG4/termios.h/conform): Likewise.
13336 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13338         Do not use mcheck in localedef.
13339         * locale/programs/localedef.c (turn_on_mcheck)
13340         (__malloc_initialize_hook): Remove.
13342 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13344         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
13345         * sysdeps/s390/s390-64/Makefile: Likewise.
13347 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13349         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
13350         Remove ifunc-defines.sym.
13351         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
13352         Likewise.
13353         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
13354         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13355         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
13356         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
13357         rtld-global-offsets.sym.
13358         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
13359         * sysdeps/x86/cpu-features-offsets.sym: This.
13360         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
13361         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
13363 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
13365         [BZ #20073]
13366         * io/sys/stat.h (fchmod): Declare for
13367         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
13368         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
13369         variable.
13371         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
13372         [XPG3] (S_IFSOCK): Likewise.
13373         [XPG3] (S_ISVTX): Likewise.
13374         [XPG3] (S_ISLNK): Likewise.
13375         [XPG3] (S_ISSOCK): Likewise.
13376         [XPG3] (fchmod): Likewise.
13377         [XPG3] (lstat): Likewise.
13378         [XPG3] (mknod): Likewise.
13380         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13381         [XPG3].  Expect type long and XFAIL for [XPG4].
13382         (st_blocks): Likewise.
13384         [BZ #20044]
13385         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
13386         (pthread_atfork): New prototype.
13387         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
13388         variable.
13390         [BZ #20043]
13391         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
13392         prototype.
13394 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13396         [BZ #20017]
13397         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
13398         gmtime.
13400 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13402         [BZ #19994]
13403         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
13404         flag in _res.options.
13406 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
13408         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
13409         [XPG3 || XPG4].
13410         (blksize_t): Likewise.
13411         (clockid_t): Likewise.
13412         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
13413         variable.
13414         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13416 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13418         * sysdeps/unix/sysv/linux/s390/init-first.c:
13419         Add VDSO_SYMBOL(getcpu).
13420         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
13421         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13422         Add VDSO_SYMBOL(getcpu).
13423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13424         New define HAVE_GETCPU_VSYSCALL.
13425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13427 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13429         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13430         instead of <sysdeps/x86_64/cacheinfo.c>.
13431         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13432         * sysdeps/x86/cacheinfo.c: Here.
13434 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13436         * malloc/malloc-internal.h: Adjust header file guard.
13438 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13440         [BZ #19787]
13441         * inet/getnameinfo.c (check_sprintf_result): New function.
13442         (CHECKED_SNPRINTF): New macro.
13443         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13444         to the host buffer.
13445         (gni_host_local): Use checked_copy to copy the host name.
13446         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13447         (gni_serv_local): Use checked_copy to copy the service name.
13448         (getnameinfo): Remove unnecessary truncation of result buffers.
13450 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13452         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13453         in case of inet_ntop failure.
13455 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13457         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13458         avoid long lines.
13459         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13460         variables.
13461         (gni_host_inet, gni_host_local): Add comment.
13462         (gni_host): Add comment.  Use temporary to avoid long lines.
13464 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13466         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13467         registers specifiers where general purpose registers specifiers should
13468         have been used.
13470 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13472         [BZ #19779]
13473         CVE-2016-1234
13474         Avoid copying names of directory entries.
13475         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13476         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13477         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13478         (struct readdir_result): New type.
13479         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13480         (GL_READDIR): New macros.
13481         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13482         (convert_dirent, convert_dirent64): New functions.
13483         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13484         convert_dirent64.  Adjust references to the readdir result.
13485         * sysdeps/unix/sysv/linux/i386/glob64.c:
13486         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13487         * posix/bug-glob2.c (LONG_NAME): Define.
13488         (filesystem): Add LONG_NAME.
13489         (my_DIR): Increase the size of room_for_dirent.
13491 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13493         [BZ #20041]
13494         * misc/sys/select.h (__need_timespec): Only define if
13495         [__USE_XOPEN2K].
13496         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13497         variable.
13498         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13499         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13500         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13502 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13503             Segher Boessenkool  <segher@gcc.gnu.org>
13505         [BZ #20004]
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13507         (__novec_swapcontext): Add missing load.
13509 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13511         [BZ #20023]
13512         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13513         <time.h>.
13514         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13515         variable.
13516         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13518 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13521         flags CLONE_VM compare.
13523 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13525         [BZ #20031]
13526         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13527         completely empty.
13529 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13531         [BZ #19573]
13532         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13533         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13534         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13535         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13536         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13537         (hesiod_free_list): Mark as hidden.
13538         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13539         res_set, res_get.
13540         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13541         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13542         (hesiod_init): Remove obsolete res_ninit call.
13543         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13544         (hesiod_bind): Do not call init.
13545         (get_txt_records): Use res_mkquery, res_send instead of
13546         res_nmkquery, res_nsend.
13547         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13548         instead of _nss_hesiod_init.
13549         (_nss_hesiod_initgroups_dyn): Likewise.
13550         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13551         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13552         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13554 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13556         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13557         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13559 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13561         * hesiod/hesiod.h: Remove RCS keyword.
13562         * hesiod/hesiod_p.h: Likewise.
13564         * hesiod/hesiod.c: Likewise.
13566 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13568         [BZ #12450]
13569         * locale/iso-639.def: Add Samogitian/sgs.
13571 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13573         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13575         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13577 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13578             Carlos O'Donell  <carlos@redhat.com>
13580         [BZ #19072]
13581         * grp/Makefile (headers): Add grp-merge.h
13582         (routines): Add grp-merge.
13583         * grp/getgrgid_r.c: Include grp-merge.h.
13584         (DEEPCOPY_FN): Define.
13585         (MERGE_FN): Define.
13586         * grp/getgrname_r.c: Include grp-merge.h.
13587         (DEEPCOPY_FN): Define.
13588         (MERGE_FN): Define.
13589         * grp/grp-merge.c: New file.
13590         * grp/grp-merge.h: New file.
13591         * include/grp-merge.h: New file.
13592         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13593         __copy_grp@GLIBC_PRIVATE.
13594         * manual/nss.texi (Actions in the NSS configuration): Describe
13595         return, continue, and merge.
13596         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13597         (DEEPCOPY_FN): Define.
13598         (MERGE_FN): Define.
13599         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13600         (DEEPCOPY_FN): Define.
13601         (MERGE_FN): Define.
13602         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13603         [!MERGE_FN]: Define __merge_einval.
13604         (CHECK_MERGE): Define.
13605         (REENTRANT_NAME): Process merge if do_merge is true.
13606         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13607         (__nss_getent_r): Likewise.
13608         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13609         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13611 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13613         [BZ #20012]
13614         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13615         length to calculate the buffer to read.
13616         (fmemopen_write): Set the buffer position based on bytes written.
13617         (fmemopen_seek): Return EINVAL for invalid whence modes.
13619         [BZ #19957]
13620         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13621         tst-getpid2.
13622         (test): Add tst-clone2.
13623         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13624         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13625         pid/tid fields for CLONE_VM.
13626         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13627         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13628         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13629         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13630         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13631         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13632         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13633         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13635         Likewise.
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13637         Likewise.
13638         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13639         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13640         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13641         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13642         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13643         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13644         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13645         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13647 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13649         [BZ #19642]
13650         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13651         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13652         (gni_serv_local, gni_serv): New functions extracted from
13653         getnameinfo.
13654         (getnameinfo): Call gni_host and gni_serv to perform the
13655         processing.  Always free scratch buffer.
13657 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13659         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13660         remaining bytes in the dest string, with zeros.
13662 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13664         [BZ #20010]
13665         CVE-2016-3706
13666         * sysdeps/posix/getaddrinfo.c
13667         (convert_hostent_to_gaih_addrtuple): New function.
13668         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13669         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13670         AF_INET data.
13672 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13674         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13675         callback function gl_readdir.
13676         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13677         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13678         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13679         memcpy to copy the name.
13680         * manual/pattern.texi (Calling Glob): Document requirements for
13681         implementations of the gl_readdir callback function.
13682         * manual/examples/mkdirent.c: New example.
13683         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13684         per the manual guidance.
13685         * posix/tst-gnuglob.c (my_readdir): Likewise.
13687 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13689         [BZ #20014]
13690         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13691         not [__USE_POSIX].
13692         (getchar_unlocked): Likewise.
13693         (putc_unlocked): Likewise.
13694         (putchar_unlocked): Likewise.
13695         (flockfile): Likewise.
13696         (ftrylockfile): Likewise.
13697         (funlockfile): Likewise.
13698         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13699         variable.
13700         (test-xfail-XPG4/stdio.h/conform): Likewise.
13702         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13703         Expect constant.
13704         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13705         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13706         variable.
13707         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13708         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13710         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13711         [__USE_LARGEFILE64] (off64_t): Likewise.
13712         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13713         variable.
13715 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13717         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13719 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13721         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13722         * resolv/res_init.c: Likewise.
13723         * resolv/res_mkquery.c: Likewise.
13725 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13727         * resolv/res_init.c (isascii): Do not define.  Use definition in
13728         <ctype.h>.
13729         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13730         (LOG_AUTH): Remove.
13731         (SPRINTF): Remove, adjust caller.
13732         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13734 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13736         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13737         SUNSECURITY conditional.
13738         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13740 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13742         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13743         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13744         Remove BSD-related preprocessor conditionals.
13745         * conf/portability.h: Remove.
13747 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13749         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13750         * resolv/res_data.c: Likewise.
13752 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13754         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13755         * resolv/res_data.c: Remove code conditional on ultrix.
13757 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13759         * resolv/res_init.c (RFC1535): Do not define.  Remove
13760         RFC1535 preprocessor conditionals.
13761         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13762         because there configuration options which make the resolver
13763         behavior different.
13765 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13767         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13768         RESOLVSORT preprocessor conditionals.
13769         * resolv/nss_dns/dns-host.c: Likewise.
13770         * resolv/res_init.c: Likewise.
13772 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13774         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13775         is never defined.
13777 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13779         * inet/inet_lnaof.c: Remove SCSS keyword.
13780         * inet/inet_mkadr.c: Likewise.
13781         * inet/inet_net.c: Likewise.
13782         * inet/inet_netof.c: Likewise.
13783         * inet/rcmd.c: Likewise.
13784         * inet/rexec.c: Likewise.
13785         * inet/ruserpass.c: Likewise.
13787 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13789         * resolv/inet_addr.c: Remove _LIBC conditionals.
13790         * resolv/res_data.c: Likewise.
13791         * resolv/res_init.c: Likewise.
13792         * resolv/res_mkquery.c: Likewise.
13793         * resolv/res_libc.c: Update comment.
13794         * resolv/README: Update.
13796 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13798         * resolv/gethnamaddr.c: Remove SCSS keyword.
13799         * resolv/herror.c: Likewise.
13800         * resolv/inet_addr.c: Likewise.
13801         * resolv/inet_net_ntop.c: Likewise.
13802         * resolv/inet_net_pton.c: Likewise.
13803         * resolv/inet_neta.c: Likewise.
13804         * resolv/inet_ntop.c: Likewise.
13805         * resolv/inet_pton.c: Likewise.
13806         * resolv/ns_date.c: Remove RCS keyword.
13807         * resolv/ns_name.c: Likewise.
13808         * resolv/ns_netint.c: Likewise.
13809         * resolv/ns_parse.c: Likewise.
13810         * resolv/ns_print.c: Likewise.
13811         * resolv/ns_samedomain.c: Likewise.
13812         * resolv/ns_ttl.c: Likewise.
13813         * resolv/nsap_addr.c: Likewise.
13814         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13815         * resolv/res_data.c: Remove RCS keyword.
13816         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13817         * resolv/res_init.c: Likewise.
13818         * resolv/res_mkquery.c: Likewise.
13819         * resolv/res_query.c: Likewise.
13820         * resolv/res_send.c: Likewise.
13822 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13824         * conform/data/stdio.h-data (fdopen): Expect also for
13825         [XPG3 || XPG4].
13827         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13828         (fseeko): Likewise.
13829         (ftello): Likewise.
13830         (ftrylockfile): Likewise.
13831         (funlockfile): Likewise.
13832         (getc_unlocked): Likewise.
13833         (getchar_unlocked): Likewise.
13834         (putc_unlocked): Likewise.
13835         (putchar_unlocked): Likewise.
13837 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13839         [BZ #19868]
13840         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13841         DNS packet syntax checks (which were not needed before).  Skip
13842         over non-PTR records.
13844 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13846         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13847         definition.  Include <stddef.h> instead.
13849 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13851         [BZ #19831]
13852         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13853         function.
13854         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13855         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13857 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13859         [BZ #19862]
13860         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13861         (getanswer_r): Do not call syslog.
13862         (gaih_getanswer_slice): Likewise.
13863         * resolv/gethnamaddr.c (AskedForGot): Remove.
13864         (getanswer): Do not call syslog.
13865         (gethostbyaddr): Likewise.
13867 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13869         * conform/data/signal.h-data (union sigval): Expect also if
13870         [XOPEN2K].
13871         (struct sigevent): Likewise.
13872         (SIGEV_NONE): Likewise.
13873         (SIGEV_SIGNAL): Likewise.
13874         (SIGEV_THREAD): Likewise.
13875         (SIGRTMIN): Likewise.
13876         (SIGRTMAX): Likewise.
13877         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13878         variable.
13879         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13881 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13883         [BZ #19830]
13884         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13885         (gaih_getanswer_slice): Likewise.
13886         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13887         Also check for availability of RR metadata.
13889 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13891         [BZ #19825]
13892         * resolv/res_send.c (send_vc): Remove early *resplen2
13893         initialization.  Set *resplen2 on socket error.  Call
13894         close_and_return_error for other errors.
13896 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13898         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13899         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13900         (SCM_IUCV_TRGCLS): New define.
13902 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13904         [BZ #20005]
13905         * libio/fmemopen.c (fmemopen_write): Update internal position after
13906         write.
13907         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13908         * stdio-common/tst-fmemopen4.c: New file..
13910 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13912         [BZ #19996]
13913         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13914         not [__USE_XOPEN2K].
13915         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13916         variable.
13918         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13919         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13920         variable.
13922         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13923         [__USE_XOPEN2K8].
13924         [__USE_LARGEFILE64] (off64_t): Likewise.
13925         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13926         variable.
13928 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13930         [BZ #19989]
13931         * libio/stdio.h (cuserid): Do not declare if
13932         [__USE_XOPEN2K && !__USE_GNU].
13933         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13934         variable.
13936 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13938         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13939         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13941         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13942         ifunc'ed strcspn.
13943         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13944         [EALIGN]: Removed.
13945         [END]: Likewise
13946         [STRSPN]: Define instead of the above to control symbol name.
13947         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13948         New file.
13949         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13950         Likewise.
13951         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13952         Likewise.
13953         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13954         Likewise.
13955         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13956         [INITIAL_MASK]: New macro.
13957         [STRCSPN]: Likewise.
13958         [UPDATE_MASK]: Likewise.
13959         [USE_AS_STRCSPN]: Likewise.
13961 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13963         [BZ #19931]
13964         * stdio-common/tst-vfprintf-width-prec.c: New file.
13965         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13966         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13967         (generated): Add mtrace-related files.
13968         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13969         (tst-%-mem.out): New pattern rule, replaces
13970         tst-printf-bz18872-mem.out.
13971         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13972         specifier, deallocate any previously allocated work buffer.
13974 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13976         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13977         Add nop before __startcontext, add explaining comments.
13979 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13981         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13982         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13983         completely different API.
13985         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13986         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13987         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13988         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13989         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13990         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13991         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13992         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13993         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13994         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13996 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13998         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
14000 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
14002         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
14003         when it is the default of 0.
14005 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14007         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14008         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14009         (sysdep_routines): Add new strcasestr targets.
14010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14011         (__libc_ifunc_impl_list): Likewise.
14012         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14013         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14014         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14015         * sysdeps/powerpc/powerpc64/power8/Makefile:
14016         New file to add strcasestr-ppc64 to sysdep_routines.
14017         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14018         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14020 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14022         * benchtests/Makefile (wcsmbs-benchset): Include only for
14023         native builds and runs.
14024         (LOCALES): Likewise.
14025         (bench-build): Build timing-type here instead of the bench
14026         target.  Generate locale only for native builds.
14027         * benchtests/README: Add note for cross-building.
14029         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14031         * benchtests/README: Update README to include instructions on
14032         using bench-build.
14034         * Makefile.in (bench-build): New target.
14035         * Rules (PHONY): Add bench-build target.
14036         * benchtests/Makefile (bench): Depend on bench-build.
14037         (bench-build): New target.
14039 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14041         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14042         profil_reply_port.
14043         (profile_waiter): Do not initialize profil_reply_port.
14044         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14045         frequency instead of tick length in us.
14047 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14049         [BZ #18712]
14050         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14051         (__old_mempcpy_small): Likewise.
14052         (__old_strcpy_small): Likewise.
14053         (__old_stpcpy_small): Likewise.
14054         (__old_strpbrk_c2): Fix compat symbol name.
14055         (__old_strpbrk_c3): Likewise.
14056         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14057         (__mempcpy_small): Remove.
14058         (__strcpy_small): Remove.
14059         (__stpcpy_small): Remove.
14061 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14063         [BZ #19400]
14064         * locale/iso-639.def: Add the Talossan/tzl language.
14066 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14068         [BZ #16983]
14069         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14070         comment.  Add "ln" to strchr check on postal_fmt.
14072 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14074         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14075         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14076         tel_dom_fmt.
14078 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14080         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14081         (sysdep_routines): Added __strlen_power8.
14082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14083         __strlen_power8 entry.
14084         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14085         Implementation for POWER8.
14086         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14087         for __strlen_power8.
14088         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14089         Implementation for POWER8.
14091 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14093         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14095 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14097         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14098         Goldmont and Airmont processors.
14100 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14102         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14103         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14104         (__STRING2_SMALL_GET32): Remove.
14105         (memset): Remove.
14106         (__memset_1): Remove.
14107         (__memset_gc): Remove.
14108         (__mempcpy): Remove.
14109         (mempcpy): Remove.
14110         (__mempcpy_args): Remove.
14111         (strchr): Remove.
14112         (strcpy): Remove.
14113         (strcpy_args): Remove.
14114         (__stpcpy_args): Remove.
14115         (__strcmp_cc): Remove.
14116         (__strcmp_gc): Remove.
14117         (strstr): Remove.
14119 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14121         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14122         * nis/nis_call.c (nis_server_cache_add): Likewise.
14124 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14126         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14128 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14130         * malloc/arena.c (__malloc_fork_lock_parent)
14131         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14132         internal_function attribute.
14134 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14136         * stdio-common/printf_fp.c (__printf_fp_l):
14137         Rename ___printf_fp_l to __printf_fp_l and
14138         remove strong alias. Use libc_hidden_def instead
14139         of ldbl_hidden_def macro.
14141 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14143         Remove malloc hooks from fork handler.  They are no longer needed
14144         because malloc runs right before fork, and no malloc calls from
14145         other fork handlers are not possible anymore.
14146         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14147         declarations.
14148         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14149         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14150         (atfork_recursive_cntr): Remove.
14151         (__malloc_fork_lock_parent): Do not override malloc hooks and
14152         thread_arena.
14153         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14154         thread_arena.
14155         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14156         thread_arena instead of save_arena.
14158 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14160         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14161         (thread_atfork, thread_atfork_static): Remove.
14162         * sysdeps/mach/hurd/malloc-machine.h:
14163         (thread_atfork, thread_atfork_static): Remove.
14165 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14167         [BZ #19431]
14168         Run the malloc fork handler as late as possible to avoid deadlocks.
14169         * malloc/malloc-internal.h: New file.
14170         * malloc/malloc.c: Include it.
14171         * malloc/arena.c (ATFORK_MEM): Remove.
14172         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14173         Update comment.
14174         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14175         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14176         Remove outdated comment.
14177         (ptmalloc_init): Do not call thread_atfork.  Remove
14178         thread_atfork_static.
14179         * malloc/tst-malloc-fork-deadlock.c: New file.
14180         * Makefile (tests): Add tst-malloc-fork-deadlock.
14181         (tst-malloc-fork-deadlock): Link against libpthread.
14182         * manual/memory.texi (Aligned Memory Blocks): Update safety
14183         annotation comments.
14184         * sysdeps/nptl/fork.c (__libc_fork): Call
14185         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14186         __malloc_fork_unlock_child.
14187         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14189 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14191         [BZ #19613]
14192         Remove union wait.
14193         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14194         (w_stopsig, w_stopval): Remove.
14195         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14196         stat_loc argument.
14197         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14198         (__WAIT_STATUS_DEFN): Remove.
14199         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14200         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14201         (wait, wait3, wait4): Use int * for the stat_loc argument.
14202         * posix/wait.c (__wait): Likewise.
14203         * posix/wait3.c (__wait3): Likewise.
14204         * posix/wait4.c (__wait4): Likewise.
14205         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14206         (__WAIT_STATUS_DEFN): Remove.
14207         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14208         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14209         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14210         argument.
14211         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14212         * sysdeps/posix/wait3.c (__wait3): Likewise.
14213         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14214         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14215         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14216         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14217         stat_loc argument.
14218         * manual/process.texi (BSD Wait Functions): Remove union wait.
14220 2016-04-13  Andreas Schwab  <schwab@suse.de>
14222         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14223         (test-extras): Add tst-tlsalign-vars.
14224         * math/Makefile: Wrap long lines.
14225         (libm-vec-test-wrappers): Define.
14226         (test-extras): Add $(libm-vec-test-wrappers).
14227         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14228         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14229         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14230         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14231         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14232         (extra-test-objs): Add corresponding objects.
14234 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14236         [BZ #19928]
14237         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14238         New.
14239         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14240         times of shared cache size.
14241         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14242         (VMOVNT): New.
14243         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14244         (VMOVNT): Likewise.
14245         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14246         (VMOVNT): Likewise.
14247         (VMOVU): Changed to movups for smaller code sizes.
14248         (VMOVA): Changed to movaps for smaller code sizes.
14249         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14250         comments.
14251         (PREFETCH): New.
14252         (PREFETCH_SIZE): Likewise.
14253         (PREFETCHED_LOAD_SIZE): Likewise.
14254         (PREFETCH_ONE_SET): Likewise.
14255         Rewrite to use forward and backward loops, which move 4 vector
14256         registers at a time, to support overlapping addresses and use
14257         non temporal store if size is above the threshold and there is
14258         no overlap between destination and source.
14260 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14262         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14263         Include dl-vdso.
14264         * sysdeps/unix/sysv/linux/mips/Versions: Add
14265         __vdso_clock_gettime.
14266         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14267         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14268         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14269         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14270         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14271         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14272         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14273         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14274         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14276 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14278         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14279         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14282         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14283         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14286         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14287         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14288         syscalls generation.
14289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14290         [__NR_pwrite64] (__NR_write): Remove define.
14291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14292         [__NR_pwrite64] (__NR_write): Remove define.
14293         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14294         Remove define.
14295         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14296         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14297         Remove define.
14298         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14299         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14300         Linux implementation as base.
14301         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14303         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14304         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14306         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14309         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14311         syscall generation.
14312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14313         [__NR_pread64] (__NR_pread): Remove define.
14314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14315         [__NR_pread64] (__NR_pread): Likewise.
14316         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14317         define.
14318         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14319         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14320         Remove define.
14321         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14322         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14323         Linux implementation as base.
14324         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14325         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14326         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14328         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14329         definition.
14330         (__ALIGNMENT_COUNT): Likewise.
14331         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14332         (__ALIGNMENT_COUNT): Likewise.
14333         (SYSCALL_LL): New define.
14334         (SYSCALL_LL64): Likewise.
14335         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14336         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14337         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14338         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14340         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14341         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14342         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14343         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14344         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14345         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14347 2016-04-11  Florian Weimer  <fweimer@redhat.com>
14349         [BZ #19865]
14350         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
14351         original buffer before retry.
14353 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14355         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
14356         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
14357         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
14358         GLRO(dl_auxv) list.
14359         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
14360         including <ldsodefs.h>.
14361         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
14363 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
14365         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
14366         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
14367         $(CPPFLAGS).
14369 2016-04-09  Khem Raj  <raj.khem@gmail.com>
14371         [BZ #17950]
14372         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
14373         Add -mfpmath=387.
14375 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
14377         * sysdeps/i386/configure.ac: Change == to = when calling test.
14378         * sysdeps/x86_64/configure.ac: Likewise.
14379         * sysdeps/i386/configure: Regenerated.
14380         * sysdeps/x86_64/configure: Likewise.
14382 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
14384         [BZ #16137]
14385         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
14386         * benchtests/bench-strcoll.c (input_files): Likewise.
14387         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14388         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
14389         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
14391 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
14393         [BZ #19929]
14394         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
14395         [__USE_XOPEN2K8 && !__USE_GNU].
14396         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
14397         variable.
14399         [BZ #19925]
14400         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
14401         define if [!__USE_MISC && __USE_XOPEN2K].
14402         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
14403         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
14404         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
14405         Likewise.
14406         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
14407         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
14408         variable.
14409         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14411 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14413         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14414         (sysdep_routines): Add new strspn targets.
14415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14416         (__libc_ifunc_impl_list): Add strspn.
14417         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14418         New file.
14419         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
14420         Likewise.
14421         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14422         Likewise.
14423         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14424         Likewise.
14426 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14428         * misc/hsearch_r.c: Include <limits.h>.
14430 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14432         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14434 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14436         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14437         (MEMCPY_SYMBOL): New.
14438         (MEMPCPY_SYMBOL): Likewise.
14439         (MEMMOVE_CHK_SYMBOL): Likewise.
14440         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14441         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14442         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14443         Provide alias for memcpy in libc.a and ld.so.
14445 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14447         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14448         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14449         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14450         Disabled fro now.
14451         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14452         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14454 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14456         * benchtests/Makefile (string-benchset): Add memcpy-large,
14457         memmove-large and memset-large.
14458         * benchtests/bench-memcpy-large.c: New file.
14459         * benchtests/bench-memmove-large.c: Likewise.
14460         * benchtests/bench-memmove-large.c: Likewise.
14461         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14463 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14465         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14466         32-bit displacement to avoid long nop between instructions.
14468 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14470         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14471         a comment on VMOVU and VMOVA.
14473 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14475         [BZ #19633]
14476         Use specified locale for number formatting in strfmon_l.
14477         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14478         (__nl_lookup_word): New inline functions.
14479         * include/printf.h (__print_fp_l): Declare.
14480         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14481         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14482         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14483         (___printf_fp): New function.
14484         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14485         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14486         * stdlib/tst-strfmon_l.c (do_test): New test.
14487         * stdlib/Makefile (tests): Add kt.
14488         (LOCALES): Build additional locales.
14489         (tst-strfmon_l.out): Require locales.
14491 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14493         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14494         if not in libc.
14495         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14496         Likewise.
14497         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14498         Likewise.
14499         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14500         Likewise.
14502 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14504         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14505         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14506         with unaligned_erms.
14507         (__memmove_erms): Skip if source == destination.
14508         (__memmove_unaligned_erms): Don't check source == destination
14509         first.
14511 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14513         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14514         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14516 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14518         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14519         * string/strspn.c (strspn): Likewise.
14521 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14523         * benchtests/bench-memset.c (do_test): Support 64-byte
14524         alignment.
14525         (test_main): Test 64-byte alignment.
14527 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14529         * benchtests/bench-memmove.c (test_main): Test 64-byte
14530         alignment.
14532 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14534         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14536 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14538         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14539         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14540         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14542         * string/strpbrk.c (strpbrk): Rewrite function.
14543         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14544         (__strpbrk_c2): Likewise.
14545         (__strpbrk_c3): Likewise.
14546         * string/string-inlines.c
14547         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14548         Likewise.
14549         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14550         Likewise.
14552         * string/strspn.c (strcspn): Rewrite function.
14553         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14554         (__strspn_c1): Remove inline function.
14555         (__strspn_c2): Likewise.
14556         (__strspn_c3): Likewise.
14557         * string/string-inlines.c
14558         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14559         compatibility symbol.
14560         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14561         Likewise.
14562         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14563         Likewise.
14564         * string/string-inlines.c: Include generic version.
14566 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14567             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14569         * string/Version (libc): Add GLIBC_2.24.
14570         * string/strcspn.c (strcspn): Rewrite function.
14571         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14572         (__strcspn_c1): Remove inline function.
14573         (__strcspn_c2): Likewise.
14574         (__strcspn_c3): Likewise.
14575         * string/string-inline.c
14576         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14577         compatibility symbol.
14578         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14579         Likewise.
14580         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14581         Likewise.
14582         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14584 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14586         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14587         Use ahi instead of aghi to adjust stack pointer.
14589 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14591         [BZ #19853]
14592         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14593         TEST to take significant digits as second parameter.
14594         [TEST]: Redefine in terms of TEST_N taking 30
14595         significant digits.
14596         (do_test): Add test case to demonstrate precision
14597         failure in the ldbl-128ibm printf.
14598         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14599         (__mpn_extract_long_double): Carry 7 extra intermediate
14600         bits of precision to aide computing difference when
14601         signs differ.
14603 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14605         [BZ #19881]
14606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14607         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14608         memset-avx512-unaligned-erms.
14609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14610         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14611         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14612         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14613         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14614         __memset_sse2_unaligned_erms, __memset_erms,
14615         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14616         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14617         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14618         file.
14619         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14620         Likewise.
14621         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14622         Likewise.
14623         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14624         Likewise.
14626 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14628         [BZ #19776]
14629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14630         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14631         memmove-avx512-unaligned-erms.
14632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14633         (__libc_ifunc_impl_list): Test
14634         __memmove_chk_avx512_unaligned_2,
14635         __memmove_chk_avx512_unaligned_erms,
14636         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14637         __memmove_chk_sse2_unaligned_2,
14638         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14639         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14640         __memmove_avx512_unaligned_erms, __memmove_erms,
14641         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14642         __memcpy_chk_avx512_unaligned_2,
14643         __memcpy_chk_avx512_unaligned_erms,
14644         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14645         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14646         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14647         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14648         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14649         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14650         __mempcpy_chk_avx512_unaligned_erms,
14651         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14652         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14653         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14654         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14655         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14656         __mempcpy_erms.
14657         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14658         file.
14659         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14660         Likewise.
14661         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14662         Likewise.
14663         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14664         Likewise.
14666 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14668         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14669         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14670         (La_s390_64_regs): Likewise.
14671         (La_s390_32_retval): Append vector register lrv_v24.
14672         (La_s390_64_retval): Likeweise.
14673         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14674         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14675         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14676         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14678 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14680         [BZ #19916]
14681         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14682         to create a non-vector/vector version for _dl_runtime_resolve and
14683         _dl_runtime_profile. Move implementation to ...
14684         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14685         (_dl_runtime_resolve) Save and restore fpr/vrs.
14686         (_dl_runtime_profile) Save and restore vrs and fix some issues
14687         if _dl_call_pltexit is called.
14688         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14689         Choose the correct resolver function if running on a machine with vx.
14690         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14691         to create a non-vector/vector version for _dl_runtime_resolve and
14692         _dl_runtime_profile. Move implementation to ...
14693         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14694         (_dl_runtime_resolve) Save and restore fpr/vrs.
14695         (_dl_runtime_profile) Save and restore vrs and fix some issues
14696         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14697         Choose the correct resolver function if running on a machine with vx.
14699 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14701         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14703 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14705         [BZ #19509]
14706         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14707         skip_map != NULL.
14708         * elf/tst-dlsym-error.c: New file.
14709         * elf/Makefile (tests): Add tst-dlsym-error.
14710         (tst-dlsym-error): Link against libdl.
14712 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14715         (__ASSUME_FUTIMESAT): Remove macro.
14716         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14718 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14720         [BZ #19879]
14721         CVE-2016-3075
14722         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14723         copy name.
14725 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14727         [BZ #19837]
14728         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14729         error if parse_line fails.
14731 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14733         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14734         (index_cpu_ERMS): Likewise.
14735         (reg_ERMS): Likewise.
14737 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14739         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14740         PER_LINUX_FDPIC): Add.
14742 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14745         memcpy-avx512-no-vzeroupper.
14746         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14747         to ...
14748         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14749         (MEMCPY): Don't define.
14750         (MEMCPY_CHK): Likewise.
14751         (MEMPCPY): Likewise.
14752         (MEMPCPY_CHK): Likewise.
14753         (MEMPCPY_CHK): Renamed to ...
14754         (__mempcpy_chk_avx512_no_vzeroupper): This.
14755         (MEMPCPY_CHK): Renamed to ...
14756         (__mempcpy_chk_avx512_no_vzeroupper): This.
14757         (MEMCPY_CHK): Renamed to ...
14758         (__memmove_chk_avx512_no_vzeroupper): This.
14759         (MEMCPY): Renamed to ...
14760         (__memmove_avx512_no_vzeroupper): This.
14761         (__memcpy_avx512_no_vzeroupper): New alias.
14762         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14764 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14766         [BZ #18858]
14767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14768         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14769         and mempcpy-avx512-no-vzeroupper.
14770         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14771         New.
14772         (MEMPCPY): Likewise.
14773         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14774         (MEMPCPY_CHK): New.
14775         (MEMPCPY): Likewise.
14776         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14777         (MEMPCPY): Likewise.
14778         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14779         (MEMPCPY): Likewise.
14780         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14781         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14782         Likewise.
14783         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14784         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14786 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14787              Amit Pawar  <Amit.Pawar@amd.com>
14789         [BZ #19583]
14790         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14791         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14792         processors.  Set Fast_Copy_Backward for AMD Excavator
14793         processors.
14794         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14795         New.
14796         (index_arch_Fast_Unaligned_Copy): Likewise.
14797         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14798         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14800 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14802         [BZ #19791]
14803         * resolv/res_send.c (close_and_return_error): New function.
14804         (send_dg): Initialize *resplen2 after reopen failure.  Call
14805         close_and_return_error for error returns.  On error paths without
14806         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14807         successful return.
14809 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14811         [BZ# 19860]
14812         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14813         zero if the compiler does not provide the AVX512F bit.
14815 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14817         [BZ #19848]
14818         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14819         from 8 to 4.
14820         (__ieee754_powl): Compare integer exponent against 4 not 8.
14821         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14822         from 8 to 4.
14823         (__ieee754_powl): Compare integer exponent against 4 not 8.
14824         * math/auto-libm-test-in: Add more tests of pow.
14825         * math/auto-libm-test-out: Regenerated.
14826         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14829 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14831         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14832         Make code unconditional.
14833         [!__NR_utimensat]: Remove conditional code.
14834         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14835         Make code unconditional.
14836         [!__NR_utimensat]: Remove conditional code.
14837         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14838         Make code unconditional.
14839         [!__NR_utimensat]: Remove conditional code.
14841 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14843         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14844         Make code unconditional.
14846 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14848         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14849         call-clobbered %eax on retry path.
14850         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14852 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14854         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14855         Don't set %rcx twice before "rep movsb".
14857 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14859         [BZ #19583]
14860         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14861         inline.  Check family before setting family, model and
14862         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14863         bits here.
14864         (init_cpu_features): Replace HAS_CPU_FEATURE and
14865         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14866         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14867         for Intel processors with usable AVX2.  Call get_common_indeces
14868         for other processors with family == NULL.
14869         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14870         (CPU_FEATURES_ARCH_P): Likewise.
14871         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14872         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14874 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14876         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14877         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14878         $(shared-thread-library) instead of hardcoding the path to libpthread.
14880 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14882         * sysdeps/unix/sysv/linux/kernel-features.h
14883         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14884         * sysdeps/unix/sysv/linux/getdents.c
14885         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14886         [!have_no_getdents64_defined]: Likewise.
14887         (__GETDENTS): Remove __have_no_getdents64 conditional.
14889 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14891         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14892         Remove macro.
14893         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14894         <kernel-features.h>.
14895         (signalfd) [__NR_signalfd4]: Make code unconditional.
14896         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14898 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14900         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14901         style.
14903 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14905         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14906         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14907         __pthread_unwind.
14908         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14909         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14910         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14911         (__condvar_cleanup1): Likewise.
14913 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14915         [BZ #19822]
14916         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14917         move it to the final $@ location.
14919 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14921         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14922         access where posix_spawn success and pid argument is null.
14923         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14924         success case.
14926 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14928         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14930         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14932         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14933         and __fcntl.
14934         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14935         __fcntl only.
14936         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14937         adding attribute_hidden to __open and __fcntl.
14939         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14940         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14941         depend on libc-modules.h,
14942         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14944 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14946         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14947         Remove macro.
14948         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14949         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14950         entry.
14952         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14953         Remove macro.
14954         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14955         include <kernel-features.h>.
14956         [!__ASSUME_FALLOCATE]: Remove conditional code.
14957         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14959 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14962         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14963         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14964         (_ZGVdN4v_cos_avx2): Likewise.
14965         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14966         (_ZGVdN4v_cos): Likewise.
14967         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14968         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14969         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14970         (_ZGVdN4v_exp_avx2): Likewise.
14971         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14972         (_ZGVdN4v_exp): Likewise.
14973         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14974         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14975         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14976         (_ZGVdN4v_log_avx2): Likewise.
14977         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14978         (_ZGVdN4v_log): Likewise.
14979         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14980         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14981         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14982         (_ZGVdN4vv_pow_avx2): Likewise.
14983         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14984         (_ZGVdN4vv_pow): Likewise.
14985         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14986         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14987         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14988         (_ZGVdN4v_sin_avx2): Likewise.
14989         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14990         (_ZGVdN4v_sin): Likewise.
14991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14992         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14994         (_ZGVdN4vvv_sincos_avx2): Likewise.
14995         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14996         (_ZGVdN4vvv_sincos): Likewise.
14997         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14998         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
15000         (_ZGVbN4v_cosf_sse4): Likewise.
15001         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
15002         (_ZGVdN8v_cosf_avx2): Likewise.
15003         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
15004         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
15005         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
15006         (_ZGVbN4v_expf_sse4): Likewise.
15007         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15008         (_ZGVdN8v_expf_avx2): Likewise.
15009         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15010         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15011         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15012         (_ZGVbN4v_logf_sse4): Likewise.
15013         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15014         (_ZGVdN8v_logf_avx2): Likewise.
15015         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15016         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15017         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15018         (_ZGVbN4vv_powf_sse4): Likewise.
15019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15020         (_ZGVdN8vv_powf_avx2): Likewise.
15021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15022         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15023         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15024         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15025         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15026         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15027         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15028         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15029         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15030         (_ZGVbN4v_sinf_sse4): Likewise.
15031         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15032         (_ZGVdN8v_sinf_avx2): Likewise.
15033         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15034         Use JUMPTARGET to call callee.
15035         (WRAPPER_IMPL_SSE2_ff): Likewise.
15036         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15037         (WRAPPER_IMPL_AVX): Likewise.
15038         (WRAPPER_IMPL_AVX_ff): Likewise.
15039         (WRAPPER_IMPL_AVX_fFF): Likewise.
15040         (WRAPPER_IMPL_AVX512): Likewise.
15041         (WRAPPER_IMPL_AVX512_ff): Likewise.
15042         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15043         Likewise.
15044         (WRAPPER_IMPL_SSE2_ff): Likewise.
15045         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15046         (WRAPPER_IMPL_AVX): Likewise.
15047         (WRAPPER_IMPL_AVX_ff): Likewise.
15048         (WRAPPER_IMPL_AVX_fFF): Likewise.
15049         (WRAPPER_IMPL_AVX512): Likewise.
15050         (WRAPPER_IMPL_AVX512_ff): Likewise.
15051         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15053 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15055         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15056         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15057         qualifier.
15058         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15059         internal_function qualifiers.
15061 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15063         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15064         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15065         * math/atest-exp.c (exp_mpn): Mark chk unused.
15066         * math/atest-exp2.c (exp_mpn): Likewise.
15067         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15068         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15070 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15072         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15073         Remove macro.
15074         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15075         <kernel-features.h>.
15076         [__NR_ppoll]: Make code unconditional.
15077         [!__ASSUME_PPOLL]: Remove conditional code.
15079         * sysdeps/unix/sysv/linux/kernel-features.h
15080         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15081         (__ASSUME_ACCEPT4): Likewise.
15082         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15083         Define.
15084         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15085         Likewise.
15086         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15087         Likewise.
15088         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15089         Likewise.
15090         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15091         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15092         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15093         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15094         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15095         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15096         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15097         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15098         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15100         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15101         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15102         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15103         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15104         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15105         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15106         Likewise.
15107         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15108         Likewise.
15109         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15110         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15111         0x040300].
15112         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15113         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15114         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15115         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15116         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15117         0x030300].
15118         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15119         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15120         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15121         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15122         0x040300].
15123         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15124         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15125         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15126         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15127         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15128         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15129         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15130         0x030300].
15131         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15132         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15133         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15134         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15135         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15136         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15137         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15138         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15139         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15140         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15141         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15142         0x040300].
15143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15145         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15146         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15147         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15148         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15149         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15150         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15151         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15152         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15153         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15154         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15155         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15156         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15157         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15158         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15159         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15160         Likewise.
15161         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15162         Likewise.
15164 2016-03-15  Andreas Schwab  <schwab@suse.de>
15166         [BZ #19257]
15167         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15168         statp->_u._ext.nscount as loop count.
15170 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15172         * math/test-signgam-finite-c99.c: Also #undef
15173         __LIBC_INTERNAL_MATH_INLINES.
15174         * math/test-signgam-main.c: Likewise.
15176 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15178         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15179         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15180         (MADV_FREE): Likewise.
15181         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15182         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15183         EPOLLEXCLUSIVE.
15185 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15187         * timezone/README: Remove mention of checktab.awk. Mention wiki
15188         SharedSourceFiles.
15190 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15192         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15193         WUNTRACED.
15195 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15197         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15198         order to match the type of p when calling atomic_exchange_acq().
15200 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15202         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15203         cfi_offset calls.
15204         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15205         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15206         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15207         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15208         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15210 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15212         * timezone/checktab.awk: Removed.
15214 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15216         * manual/math.texi (Errors in Math Functions): Document relaxed
15217         accuracy goals for IBM long double.
15218         * math/libm-test.inc (test_exceptions): Always allow spurious
15219         "underflow" and "inexact" exceptions for IBM long double.
15221 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15223         [BZ #19762]
15224         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15225         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15226         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15227         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15228         (bit_arch_*): This for feature array.
15229         (bit_*): Renamed to ...
15230         (bit_cpu_*): This for cpu array.
15231         (index_*): Renamed to ...
15232         (index_arch_*): This for feature array.
15233         (index_*): Renamed to ...
15234         (index_cpu_*): This for cpu array.
15235         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15236         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15237         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15238         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15239         bit_##name with index_cpu_##name and bit_cpu_##name.
15240         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15241         bit_##name with index_arch_##name and bit_arch_##name.
15243 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15245         [BZ #19792]
15246         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15247         Terminate FDE before return label.
15249 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15251         [BZ #19790]
15252         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15253         (rintl): Define as macro.
15254         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15255         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15256         of fesetround.  Ensure results are evaluated before end of scope.
15257         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15258         USE_AS_NEARBYINTL and include s_rintl.c.
15259         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15260         Disable exception traps in new environment.
15261         (libc_feholdsetround_ppc_ctx): Likewise.
15263 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15265         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15266         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15267         (tst_audit10_aux) [__AVX512F__]: ... here.
15269 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15271         * include/sys/auxv.h: New file.
15273 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15275         [BZ #19759]
15276         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15278 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15280         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15281         operand modifier.
15282         (feclearexcept): Likewise.
15284 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15286         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15287         to reflect the entire 32-bit HWCAP.
15288         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15289         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15291 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15293         [BZ #19783]
15294         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15295         $(test-via-rtld-prefix).
15296         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15298 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15300         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15301         union wait.  Report any non-zero exit status as error.
15303 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15305         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15306         configured with --enable-hardcoded-path-in-tests.
15308 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15310         [BZ #19677]
15311         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15312         (__ieee754_remainderl): Put zero low parts in canonical form.
15313         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15314         file.  Based on
15315         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15316         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15317         with wrapper round test-fmodrem-ldbl-128ibm.c.
15318         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15319         file.
15320         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15321         Likewise.
15322         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15323         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15325 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15327         [BZ #19610]
15328         * elf/ldconfig.c (opt_link): Update comment.
15329         (options): Update help string for option -X.
15330         (search_dir): Unlink stale symbolic link only if updating symbolic
15331         links.
15332         * elf/tst-ldconfig-X.sh: New file.
15333         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15334         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15336 2016-03-07  Andreas Schwab  <schwab@suse.de>
15338         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15339         needed arguments.
15341 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15343         [BZ #15333]
15344         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
15345         to lstat64.
15347 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15349         * libio/filedoalloc.c (isatty): Remove.
15350         (local_isatty): Add comment.  Call __isatty directly.
15351         (_IO_file_doallocate): Update comment.  Assume _LIBC.
15352         * libio/wfiledoalloc.c (isatty): Remove.
15353         (_IO_wfile_doallocate): Update comment.
15355 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15357         [BZ #19269]
15358         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
15359         tst-audit4-aux.o.
15360         (tst-audit10): Depend on tst-audit10-aux.o.
15361         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
15362         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
15363         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
15364         instead of inline AVX code.
15365         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
15366         instead of inline AVX512 code.
15367         * sysdeps/x86_64/tst-audit4-aux.c: New file
15368         * sysdeps/x86_64/tst-audit10-aux.c: New file
15370         [BZ #19648]
15371         * test-skeleton.c (main): Do not set RLIMIT_DATA.
15373 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15375         [BZ #14750]
15376         [BZ #10354]
15377         [BZ #18433]
15378         * include/sched.h (__clone): Add hidden prototype.
15379         (__clone2): Likewise.
15380         * include/unistd.h (__dup): Likewise.
15381         * posix/Makefile (tests): Add tst-spawn2.
15382         * posix/tst-spawn2.c: New file.
15383         * sysdeps/posix/dup.c (__dup): Add hidden definition.
15384         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
15385         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15386         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15387         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15388         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15389         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
15390         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15391         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
15392         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15393         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15395         Likewise.
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15397         Likewise.
15398         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15399         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15400         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15401         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15402         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15403         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15404         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15405         * sysdeps/unix/sysv/linux/nptl-signals.h
15406         (____nptl_is_internal_signal): New function.
15407         * sysdeps/unix/sysv/linux/spawni.c: New file.
15409         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
15410         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
15411         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
15412         * posix/tst-execvp2.c (do_test): Likewise.
15413         * posix/tst-execvp3.c (do_test): Likewise.
15414         * posix/tst-execvp4.c (do_test): Likewise.
15415         * posix/tst-execvpe1.c: New file.
15416         * posix/tst-execvpe2.c: Likewise.
15417         * posix/tst-execvpe3.c: Likewise.
15418         * posix/tst-execvpe4.c: Likewise.
15419         * posix/tst-execvpe5.c: Likewise.
15420         * posix/tst-execvpe6.c: Likewise.
15422         [BZ #19534]
15423         * posix/execl.c (execl): Remove dynamic memory allocation.
15424         * posix/execle.c (execle): Likewise.
15425         * posix/execlp.c (execlp): Likewise.
15427 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15429         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15430         Replace .text with .text.avx512.
15431         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15432         Likewise.
15434 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15436         * sysdeps/generic/libnsl.abilist: New file.
15437         * sysdeps/generic/libutil.abilist: New file.
15439 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15441         [BZ #19762]
15442         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15443         HAS_ARCH_FEATURE with Fast_Rep_String.
15444         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15445         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15446         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15447         Likewise.
15448         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15449         Likewise.
15450         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15451         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15452         Likewise.
15453         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15454         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15455         Likewise.
15457 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15459         [BZ #19745]
15460         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15461         with *%rax in call.
15463 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15465         [BZ #19745]
15466         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15467         with *__libc_start_main@GOTPCREL(%rip) in call.
15469 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15471         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15472         inside conditional for nonempty $(CXX).
15474         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15475         nonempty.
15477         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15478         to test for empty $(CXX) rather than $(CXX) of "no".
15480 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15482         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15484 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15485             H.J. Lu  <hongjiu.lu@intel.com>
15487         [BZ #18880]
15488         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15489         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15490         enable __memcpy_ssse3_back.
15492 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15494         [BZ #19758]
15495         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15496         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15498 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15500         [BZ #19490]
15501         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15502         (__fentry__): Likewise.
15504 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15506         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15507         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15509 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15511         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15512         __mcount_internal directly.
15513         (C_LABEL(__fentry__)): Likewise.
15514         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15515         directly.
15517 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15519         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15520         (__start_context): Call __setcontext directly.
15522 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15524         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15525         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15526         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15527         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15528         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15529         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15530         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15531         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15532         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15533         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15534         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15535         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15536         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15537         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15538         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15539         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15540         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15542         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15543         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15544         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15545         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15546         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15547         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15548         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15549         Remove conditional code.
15550         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15551         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15552         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15553         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15554         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15555         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15556         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15557         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15558         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15559         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15560         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15561         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15563 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15565         * NEWS (2.23): Fix typo in bug 19048 text.
15567 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15569         [BZ #14259]
15570         * Makeconfig: Rename msgcatdir to localedir.
15571         Rename inst_msgcatdir to inst_localedir.
15572         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15573         * config.make.in: Add localedir.
15574         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15575         (ldd-rewrite): Likewise.
15576         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15577         (install-others): Use inst_localedir.
15578         (CPPFLAGS): Use localedir.
15579         * locale/Makefile (locale-CPPFLAGS): Likewise.
15580         * po/Makefile (mo-installed): Use inst_localedir.
15582         [BZ #19575]
15583         * localedata/charmaps/GB18030: Update comments regarding PAU to
15584         non-PUA mappings.
15586 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15588         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15589         test for header.
15590         * sysdeps/unix/sysv/linux/configure: Regenerated.
15591         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15592         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15593         Remove conditional code.
15594         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15596         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15597         Define to 3.2.0.
15598         (arch_minimum_kernel): Likewise.
15599         * sysdeps/unix/sysv/linux/configure: Regenerated.
15600         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15601         Define to 2.6.32.
15602         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15603         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15604         (arch_minimum_kernel): Define to 2.6.32.
15605         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15606         * README: Document Linux 3.2 requirement.
15607         * manual/install.texi (Linux): Document Linux 3.2 headers
15608         requirement.
15609         * INSTALL: Regenerated.
15611 2016-02-24  Andreas Schwab  <schwab@suse.de>
15613         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15614         if !NO_LONG_DOUBLE.
15616 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15618         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15619         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15621 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15623         [BZ #19512]
15624         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15626 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15628         * posix/tst-dir.c: Include libc-internal.h.
15630 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15632         [BZ #19056]
15633         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15634         * manual/filesys.texi (Reading/Closing Directory): Mention
15635         deprecaion.
15636         * posix/tst-dir.c (main): Disable deprecation warning in test.
15638 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15640         [BZ #19679]
15641         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15642         Renamed to ...
15643         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15644         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15645         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15646         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15647         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15648         * sysdeps/x86_64/dl-trampoline.h
15649         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15650         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15652 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15654         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15656 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15658         * elf/elf.h (R_386_GOT32X): New.
15659         (R_386_NUM): Update.
15660         (R_X86_64_GOTPCRELX: New.
15661         (R_X86_64_REX_GOTPCRELX): New.
15662         (R_X86_64_NUM): Update.
15664 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15666         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15668 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15670         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15671         assign attr->stackaddr to it, and adjust it down when
15672         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15673         [_STACK_GROWS_UP]: Delete assert.
15674         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15675         Implement stack grows up logic.
15676         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15677         stack grows up logic.
15679 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15681         * NEWS: Update with 2.24 template.
15683 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15685         [BZ #19678]
15686         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15687         Ensure +0.0 is returned when taking the next value below the least
15688         positive value.
15690 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15692         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15693         available.  Do not define NO_THREADS.
15694         * malloc/malloc.c: Do not check NO_THREADS.
15695         * malloc/arena.c: Likewise.
15697 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15699         * malloc/malloc.c (__libc_mallinfo): Update comment.
15700         (struct malloc_par): Remove max_total_mem member, it was always 0.
15701         (int_mallinfo): Store 0 into usmblks (no functional change).
15702         * malloc/hooks.c (struct malloc_state): Document that
15703         max_total_mem is always 0.
15704         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15705         always 0.
15706         * manual/memory.texi (Statistics of Malloc): Likewise.
15708 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15710         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15711         * malloc/arena.c (arena_max): Remove.
15712         (heap_trim, _int_new_arena): Do not update arena_max.
15714 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15716         * resolv/res_init.c (res_ninit): Update comment.
15718 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15720         [BZ #19505]
15721         * posix/spawn_int.h: Add headers and include guard.
15722         (__spawn_valid_fd): New function.
15723         * posix/spawn_faction_addopen.c
15724         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15725         * posix/spawn_faction_addclose.c
15726         (posix_spawn_file_actions_addclose): Likewise.
15727         * posix/spawn_faction_adddup2.c
15728         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15729         second file descriptor.
15730         * posix/spawn_valid_fd.c: New file.
15731         * posix/tst-posix_spawn-fd.c: New file.
15732         * posix/Makefile (routines): Add spawn_valid_fd.
15733         (tests): Add tst-posix_spawn-fd.
15735 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15737         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15738         (do_test): Limit the number of arenas, so that we can use fewer
15739         outer threads.  Limit timeout to 3 seconds, in preparation for a
15740         larger TIMEOUT value.
15742 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15744         [BZ #19674]
15745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15746         sign in overflowing and underflowing results when overflow or
15747         underflow is detected early.  Include sign in result before rather
15748         than after scaling.
15750         [BZ #19603]
15751         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15752         (__ieee754_remainderl): Adjust sign of integer version of low part
15753         when taking absolute value of high part.
15754         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15755         * math/libm-test.inc (remainder_test_data): Add another test.
15756         (remquo_test_data): Likewise.
15758 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15760         [BZ #19602]
15761         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15762         equal high parts and both low parts zero specially.
15763         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15764         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15765         Add test-fmodl-ldbl-128ibm.
15767         [BZ #19595]
15768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15769         common logic for all cases of shifting subnormal results.  Do not
15770         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15771         exponent to ldbl_insert_mantissa in subnormal case.
15773         [BZ #19594]
15774         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15775         on high and low parts then adjust result and use
15776         ldbl_canonicalize_int if needed.
15778         [BZ #19593]
15779         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15780         on high part and __floor or __ceil on low part then use
15781         ldbl_canonicalize_int if needed.
15783         [BZ #19592]
15784         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15785         high and low parts then use ldbl_canonicalize_int if needed.
15787         [BZ #17899]
15788         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15789         New function.
15790         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15791         on high and low parts then use ldbl_canonicalize_int if needed.
15793 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15795         * configure: Regenerated.
15797         * po/libc.pot: Regenerated.
15799         * po/be.po: Updated translation.
15800         * po/bg.po: Likewise.
15801         * po/ca.po: Likewise.
15802         * po/cs.po: Likewise.
15803         * po/da.po: Likewise.
15804         * po/el.po: Likewise.
15805         * po/eo.po: Likewise.
15806         * po/es.po: Likewise.
15807         * po/fi.po: Likewise.
15808         * po/fr.po: Likewise.
15809         * po/gl.po: Likewise.
15810         * po/hr.po: Likewise.
15811         * po/hu.po: Likewise.
15812         * po/ia.po: Likewise.
15813         * po/id.po: Likewise.
15814         * po/it.po: Likewise.
15815         * po/ja.po: Likewise.
15816         * po/lt.po: Likewise.
15817         * po/nb.po: Likewise.
15818         * po/nl.po: Likewise.
15819         * po/pt_BR.po: Likewise.
15820         * po/rw.po: Likewise.
15821         * po/sk.po: Likewise.
15822         * po/sl.po: Likewise.
15823         * po/sv.po: Likewise.
15824         * po/tr.po: Likewise.
15825         * po/zh_CN.po: Likewise.
15826         * po/zh_TW.po: Likewise.
15828         * version.h (RELEAES): Set to "development".
15829         (VERSION): Set to 2.23.90.
15831         * version.h (RELEASE): Set to "stable".
15832         (VERSION): Set to 2.23.
15833         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15835         * NEWS: Updated fixed bugs.
15837 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15838             Wilco Dijkstra  <wdijkstr@arm.com>
15840         [BZ #19462]
15841         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15842         (_STRING_INLINE_unaligned): This.
15843         * include/string.h: Include <string_private.h>.
15844         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15845         _STRING_INLINE_unaligned.
15846         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15847         (_STRING_INLINE_unaligned): New.
15848         * sysdeps/aarch64/string_private.h: New file.
15849         * sysdeps/generic/string_private.h: Likewise.
15850         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15851         * sysdeps/s390/string_private.h: Likewise.
15852         * sysdeps/x86/string_private.h: Likewise.
15853         * sysdeps/m68k/m680x0/m68020/bits/string.h
15854         (_STRING_ARCH_unaligned): Renamed to ...
15855         (_STRING_INLINE_unaligned): This.
15856         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15857         to ...
15858         (_STRING_INLINE_unaligned): This.
15859         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15860         to ...
15861         (_STRING_INLINE_unaligned): This.
15862         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15863         to ...
15864         (_STRING_INLINE_unaligned): This.
15866 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15867             H.J. Lu  <hongjiu.lu@intel.com>
15869         [BZ #19590]
15870         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15871         relocation.
15873 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15875         [BZ #18665]
15876         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15877         *herrno_p.
15878         (gaih_getanswer): Document functional behviour. Return tryagain
15879         if any result is tryagain.
15880         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15881         when freed.
15882         * resolv/res_send.c: Add copyright text.
15883         (__libc_res_nsend): Document that MAXPACKET is expected.
15884         (send_vc): Document. Remove buffer reuse.
15885         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15886         size of the buffer. Add Dprint for truncated UDP buffer.
15888 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15890         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15891         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15892         * INSTALL: Regenerate.
15894 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15895             Jonathan Wakely  <jwakely@redhat.com>
15896             Carlos O'Donell  <carlos@redhat.com>
15898         [BZ 19439]
15899         * math/Makefile (tests): Add test-math-isinff.
15900         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15901         * math/bits/mathcalls.h [__USE_MISC]: Use
15902         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15903         functions not in C++11 and which don't conflict e.g. isinff,
15904         isinfl etc.
15905         * math/test-math-isinff.cc: New file.
15907 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15909         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15911 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15913         [BZ #19529]
15914         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15916 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15918         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15920 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15922         [BZ #19550]
15923         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15924         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15925         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15926         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15927         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15928         New syscall entry.
15929         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15930         New syscall entry.
15931         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15932         syscall entry.
15934 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15936         [BZ #18240]
15937         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15938         unsigned int wraparound.
15940 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15942         [BZ #18240]
15943         * misc/bug18240.c: New test.
15944         * misc/Makefile (tests): Add it.
15946 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15947             Joseph Myers  <joseph@codesourcery.com>
15949         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15950         load in branch delay slot when less than a word of input left.
15952 2016-01-27  Andreas Schwab  <schwab@suse.de>
15954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15955         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15956         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15957         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15959 2016-01-26  David S. Miller  <davem@davemloft.net>
15961         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15963 2016-01-25  David S. Miller  <davem@davemloft.net>
15965         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15966         __sqrtl_finite.
15967         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15968         instead using versioned_symbol.
15969         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15970         of entries.
15972         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15973         __sqrtl_finite to GLIBC_2.23
15975 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15977         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15979 2016-01-25  Andreas Schwab  <schwab@suse.de>
15981         [BZ #17514]
15982         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15983         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15984         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15985         * nptl/tst-mutex-errorcheck.c: New file.
15987 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15989         [BZ #18560]
15990         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15991         (IPCOP_semop): Likewise.
15992         (IPCOP_semget): Likewise.
15993         (IPCOP_semctl): Likewise.
15994         (IPCOP_msgsnd): Likewise.
15995         (IPCOP_msgrcv): Likewise.
15996         (IPCOP_msgget): Likewise.
15997         (IPCOP_msgctl): Likewise.
15998         (IPCOP_shmat): Likewise.
15999         (IPCOP_shmdt): Likewise.
16000         (IPCOP_shmget): Likewise.
16001         (IPCOP_shmctl): Likewise.
16003 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16005         * string/tst-endian.c: Include <libc-internal.h>.
16006         (do_test): Ignore tautological-compare warnings around
16007         "htobeXX (beXXtoh (i)) != i" and
16008         "htoleXX (leXXtoh (i)) != i" if-statements.
16010 2016-01-24  David S. Miller  <davem@davemloft.net>
16012         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16013         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16014         alias.
16015         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16016         __sqrtl_finite.
16018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16020 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16022         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16023         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16024         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16026 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16028         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16029         (thread_func): Use new function to simplify barrier check.
16030         (do_test): Use new function to simplify checking barrier exit
16031         code, and actually join the child thread.
16033 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16035         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16036         semicolon.
16037         (__libc_tend): Likewise.
16038         (__libc_tabort): Likewise.
16040 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16042         * sysdeps/nios2/libm-test-ulps: Update.
16043         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16044         (__gtsf2): Likewise.
16045         (__unorddf2): Likewise.
16046         (__unordsf2): Likewise.
16047         (__ledf2): Likewise.
16049 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16051         * nis/nis_table.c (__follow_path): Disable diagnostic for
16052         uninitialized variable that is a false positive for gcc 4.7.
16053         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16055 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16057         * sysdeps/nacl/lowlevellock-futex.h
16058         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16059         Always evaluate PRIVATE argument.
16061 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16063         [BZ #19490]
16064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16065         (pthread_cond_broadcast): Use ENTRY/END
16066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16067         (pthread_cond_signal): Likewise.
16068         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16069         Likewise.
16070         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16071         Likewise.
16072         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16073         Likewise.
16075 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16077         * sysdeps/ieee754/dbl-64/s_finite.c
16078         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16079         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16080         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16081         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16082         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16085         (__gtsf2): Add as optional for libc.so.
16086         (__unordsf2): Likewise.
16087         (__signbit): Remove for libc.so.
16088         (__signbitl): Likewise.
16090 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16092         * iconvdata/bug-iconv11.c (test_ibm93x):
16093         Use %zu printf format specifier for size_t argument.
16095 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16097         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16098         already-recorded ulps.
16099         * sysdeps/arm/libm-test-ulps: Regenerated.
16100         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16101         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16102         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16104 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16105             Paul Pluzhnikov  <ppluzhnikov@google.com>
16107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16108         assembler not supporting AVX-512.
16110 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16112         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16114 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16116         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16117         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16119         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16121         * sysdeps/arm/libm-test-ulps: Regenerated.
16123 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16125         [BZ #19451]
16126         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16128 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16130         [BZ #19486]
16131         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16132         * sysdeps/generic/fix-fp-int-convert-overflow.h
16133         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16134         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16135         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16136         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16137         Likewise.
16138         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16139         Avoid conversions to long int where inexact exceptions
16140         could be raised.
16141         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16142         Likewise.
16143         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16144         Avoid conversions to long long int where inexact exceptions
16145         could be raised.
16146         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16147         Likewise.
16149 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16151         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16152         * configure: Regenerated.
16154 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16156         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16158 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16160         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16161         outside of comment.
16163 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16165         * nptl/tst-barrier1.c: Add description on first line.
16166         * nptl/tst-barrier2.c: Likewise.
16167         * nptl/tst-barrier3.c: Likewise.
16168         * nptl/tst-barrier4.c: Likewise.
16169         * nptl/tst-barrier5.c: Likewise.
16171 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16173         [BZ #18868]
16174         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16176 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16180         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16181         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16182         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16183         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16184         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16185         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16186         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16187         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16188         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16190 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16192         [BZ #13065]
16193         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16194         new implementation.
16195         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16196         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16197         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16198         (BARRIER_IN_THRESHOLD): New macro.
16199         * nptl/pthread_barrierattr_setpshared.c
16200         (pthread_barrierattr_setpshared): Clean up.
16201         * nptl/tst-barrier4.c: Correct comment.
16202         * nptl/tst-barrier5.c: New file.
16203         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16204         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16205         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16206         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16207         * nptl/lowlevelbarrier.sym: Remove.
16208         * nptl/DESIGN-barrier.txt: Remove.
16209         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16210         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16211         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16212         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16213         error.
16214         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16215         implementation.
16217 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16219         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16220         (do_child): Mask SIGRTMIN while thr is running.
16222 2016-01-15  Martin Sebor  <msebor@redhat.com>
16224         [BZ #19432]
16225         * iconvdata/Makefile: Add bug-iconv11.
16226         * iconvdata/bug-iconv11.c: New test.
16227         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16228         * iconvdata/ibm933.c: Same.
16229         * iconvdata/ibm935.c: Same.
16230         * iconvdata/ibm937.c: Same.
16231         * iconvdata/ibm939.c: Same.
16233 2016-01-15  Martin Sebor  <msebor@redhat.com>
16235         [BZ #19443]
16236         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16237         [DEBUG] (_ufc_set_bits): Declare used.
16238         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16239         [DEBUG] (print_all): Declare used.
16240         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16241         operands of the ternary ?: expression to target type.
16242         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16243         calling the undeclared abort.
16244         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16246 2016-01-15  Martin Sebor  <msebor@redhat.com>
16248         [BZ #18755]
16249         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16250         warnings.
16251         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16252         (__gai_create_helper_thread): Same.
16253         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16254         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16255         to suppress -Wmaybe-uninitialized warnings.
16257 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16259         [BZ #19465]
16260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16261         inside if.
16262         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16263         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16266 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16268         [BZ #19466]
16269         * time/tst-mktime2.c (time_t_max): Removed.
16270         (time_t_min): Likewise.
16271         (TYPE_SIGNED): New.
16272         (TYPE_MINIMUM): Likewise.
16273         (TYPE_MAXIMUM): Likewise.
16274         (TIME_T_MIN): Likewise.
16275         (TIME_T_MAX): Likewise.
16276         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16277         and TIME_T_MIN.
16278         (do_test): Likewise.
16280 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16282         [BZ #19467]
16283         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16284         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16286 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16288         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16290 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16292         * benchtests/Makefile (PYTHON): Define.
16293         (bench-func): Use $(PYTHON) to run python scripts.
16294         ($(objpfx)bench-%.c): Likewise.
16296 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16298         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16299         leading slash when `file_name' is "/".
16301 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16303         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16304         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16305         Likewise.
16306         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16307         Likewise.
16308         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16309         Likewise.
16310         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16311         enum constant and macro.
16312         (PTRACE_SETSIGMASK): Likewise.
16313         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16314         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16315         (PTRACE_GETSIGMASK): Likewise.
16316         (PTRACE_SETSIGMASK): Likewise.
16317         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16318         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16319         Likewise.
16320         (PTRACE_SETSIGMASK): Likewise.
16321         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16322         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16323         (PTRACE_GETSIGMASK): Likewise.
16324         (PTRACE_SETSIGMASK): Likewise.
16325         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16326         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16327         Likewise.
16328         (PTRACE_SETSIGMASK): Likewise.
16329         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16330         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16331         Likewise.
16332         (PTRACE_SETSIGMASK): Likewise.
16333         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16334         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16335         Likewise.
16336         (PTRACE_SETSIGMASK): Likewise.
16337         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16339 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16340             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16342         [BZ #19439]
16343         * math/bits/mathcalls.h
16344         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
16345         prototype.
16346         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
16348 2016-01-11  Andreas Schwab  <schwab@suse.de>
16350         [BZ #19253]
16351         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
16352         cache when TZDEFRULES was used.
16353         * time/tst-tzname.c: New file.
16354         * time/Makefile (test): Add tst-tzname.
16355         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
16356         * timezone/Makefile (test-zones): Add $(posixrules-file).
16357         ($(testdata)/$(posixrules-file)): New rule.
16359 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
16361         Fix doc quoting problems with Texinfo 5
16362         Without this change, in the info file output, Texinfo 5 quotes code
16363         in text with undirected single quotes 'like this' and generates
16364         code examples that with many PDF readers cannot be cut out of PDFs
16365         and pasted into code.
16366         * manual/libc.texinfo: Configure the libc manual like the GNU
16367         Emacs manual, by using @documentencoding and setting
16368         txicodequoteundirected and txicodequotebacktick.  This way,
16369         Texinfo 5 quotes code in text with directed single quotes ‘like
16370         this’ and produces examples that can be cut out of PDFs.  This
16371         change causes Texinfo 5 to generate info files that contain UTF-8
16372         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
16373         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
16375 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16377         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
16378         __libc_tabort, __libc_tend): New wrappers that enforce compiler
16379         barriers to their respective compiler built-ins.
16380         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
16381         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
16382         * sysdeps/powerpc/sysdep.h: Likewise.
16383         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
16384         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
16385         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
16387 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
16389         * scripts/config.guess: Revert previous shebang change.
16390         * scripts/config.sub: Likewise.
16391         * scripts/mkinstalldirs: Likewise.
16393 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16395         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
16396         PPC_FEATURE2_HAS_IEEE128.
16397         * sysdeps/powerpc/dl-procinfo.c:
16398         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
16400 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
16402         [BZ #19415]
16403         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
16404         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
16405         (_dl_lookup_address): Rewrite using function resolver trampoline.
16406         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
16407         two bits in address.
16409 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16411         * longlong.h: Change !__SHMEDIA__ to
16412         (!defined (__SHMEDIA__) || !__SHMEDIA__).
16413         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
16415 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
16416             Joseph Myers  <joseph@codesourcery.com>
16417             Mark Shinwell  <shinwell@codesourcery.com>
16418             Andrew Stubbs  <ams@codesourcery.com>
16419             Rich Felker <dalias@libc.org>
16421         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16423 2016-01-07  Richard Henderson  <rth@redhat.com>
16425         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16427 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16429         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16430         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16431         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16432         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16433         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16435 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16436             Joseph Myers  <joseph@codesourcery.com>
16438         * timezone/private.h: Update from tzcode 2015g.
16439         * timezone/tzfile.h: Likewise.
16440         * timezone/tzselect.ksh: Likewise.
16441         * timezone/zdump.c: Likewise.
16442         * timezone/zic.c: Likewise.
16443         * timezone/ialloc.c: Remove file.
16444         * timezone/scheck.c: Likewise.
16445         * timezone/Makefile (extra-objs): Remove variable.
16446         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16447         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16448         -Wno-maybe-uninitialized.
16449         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16450         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16451         (CFLAGS-ialloc.c): Remove variable.
16452         (CFLAGS-scheck.c): Likewise.
16453         * timezone/README: Update list of files from tzcode.
16455 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16457         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16458         instead of __fxprintf when _LIBC is undefined.
16460 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16462         * catgets/test-gencat.sh: Remove space after shebang.
16463         * conform/GlibcConform.pm: Likewise.
16464         * conform/check-header-lists.sh: Likewise.
16465         * conform/conformtest.pl: Likewise.
16466         * conform/linknamespace.pl: Likewise.
16467         * conform/list-header-symbols.pl: Likewise.
16468         * debug/catchsegv.sh: Likewise.
16469         * elf/genrtldtbl.awk: Likewise.
16470         * elf/tst-pathopt.sh: Likewise.
16471         * elf/tst-rtld-load-self.sh: Likewise.
16472         * grp/tst_fgetgrent.sh: Likewise.
16473         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16474         * iconvdata/gen-8bit-gap.sh: Likewise.
16475         * iconvdata/gen-8bit.sh: Likewise.
16476         * iconvdata/run-iconv-test.sh: Likewise.
16477         * intl/tst-gettext.sh: Likewise.
16478         * intl/tst-gettext2.sh: Likewise.
16479         * intl/tst-gettext4.sh: Likewise.
16480         * intl/tst-gettext6.sh: Likewise.
16481         * intl/tst-translit.sh: Likewise.
16482         * io/ftwtest-sh: Likewise.
16483         * libio/test-freopen.sh: Likewise.
16484         * locale/gen-translit.pl: Likewise.
16485         * malloc/tst-mtrace.sh: Likewise.
16486         * manual/check-safety.sh: Likewise.
16487         * manual/libc-texinfo.sh: Likewise.
16488         * manual/tsort.awk: Likewise.
16489         * manual/xtract-typefun.awk: Likewise.
16490         * nptl/tst-cancel-wrappers.sh: Likewise.
16491         * nptl/tst-tls6.sh: Likewise.
16492         * posix/globtest.sh: Likewise.
16493         * posix/tst-getconf.sh: Likewise.
16494         * posix/wordexp-tst.sh: Likewise.
16495         * scripts/check-c++-types.sh: Likewise.
16496         * scripts/check-local-headers.sh: Likewise.
16497         * scripts/config.guess: Likewise.
16498         * scripts/config.sub: Likewise.
16499         * scripts/cpp: Likewise.
16500         * scripts/cross-test-ssh.sh: Likewise.
16501         * scripts/documented.sh: Likewise.
16502         * scripts/evaluate-test.sh: Likewise.
16503         * scripts/gen-libc-abis: Likewise.
16504         * scripts/gen-sorted.awk: Likewise.
16505         * scripts/list-fixed-bugs.py: Likewise.
16506         * scripts/merge-test-results.sh: Likewise.
16507         * scripts/mkinstalldirs: Likewise.
16508         * scripts/rellns-sh: Likewise.
16509         * scripts/test-installation.pl: Likewise.
16510         * scripts/update-copyrights: Likewise.
16511         * stdio-common/tst-printf.sh: Likewise.
16512         * stdio-common/tst-unbputc.sh: Likewise.
16513         * stdlib/tst-fmtmsg.sh: Likewise.
16514         * stdlib/tst-setcontext3.sh: Likewise.
16515         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16516         * sysdeps/unix/make-syscalls.sh: Likewise.
16518 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16520         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16521         asm stw with atomic_exchange_rel.  Add explanatory comment.
16522         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16523         Likewise.
16525 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16527         [BZ #19122]
16528         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16529         * sysdeps/generic/dl-unistd.h: New file.
16530         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16532 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16534          [BZ #19122]
16535          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16536          * sysdeps/generic/dl-mman.h: New file.
16537          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16539 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16541         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16542         trailing whitespace removed.
16543         * scripts/config.guess: Update to version 2016-01-01.
16544         * scripts/config.sub: Update to version 2016-01-01.
16545         * scripts/move-if-change: Update from gnulib.
16547 2016-01-04  Anton Blanchard  <anton@samba.org>
16549         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16550         for array indices.
16551         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16553 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16555         * NEWS: Update copyright dates.
16556         * catgets/gencat.c (print_version): Likewise.
16557         * csu/version.c (banner): Likewise.
16558         * debug/catchsegv.sh: Likewise.
16559         * debug/pcprofiledump.c (print_version): Likewise.
16560         * debug/xtrace.sh (do_version): Likewise.
16561         * elf/ldconfig.c (print_version): Likewise.
16562         * elf/ldd.bash.in: Likewise.
16563         * elf/pldd.c (print_version): Likewise.
16564         * elf/sotruss.sh: Likewise.
16565         * elf/sprof.c (print_version): Likewise.
16566         * iconv/iconv_prog.c (print_version): Likewise.
16567         * iconv/iconvconfig.c (print_version): Likewise.
16568         * locale/programs/locale.c (print_version): Likewise.
16569         * locale/programs/localedef.c (print_version): Likewise.
16570         * login/programs/pt_chown.c (print_version): Likewise.
16571         * malloc/memusage.sh (do_version): Likewise.
16572         * malloc/memusagestat.c (print_version): Likewise.
16573         * malloc/mtrace.pl: Likewise.
16574         * manual/libc.texinfo: Likewise.
16575         * nptl/version.c (banner): Likewise.
16576         * nscd/nscd.c (print_version): Likewise.
16577         * nss/getent.c (print_version): Likewise.
16578         * nss/makedb.c (print_version): Likewise.
16579         * posix/getconf.c (main): Likewise.
16580         * scripts/test-installation.pl: Likewise.
16581         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16583         * All files with FSF copyright notices: Update copyright dates
16584         using scripts/update-copyrights.
16585         * intl/plural.c: Regenerated.
16586         * locale/programs/charmap-kw.h: Likewise.
16587         * locale/programs/locfile-kw.h: Likewise.
16589 2016-01-02  Helge Deller  <deller@gmx.de>
16591         [BZ #19285]
16592         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16593         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16594         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16595         (MADV_xxK_PAGES): Remove.
16597 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16599         [BZ #15421]
16600         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16601         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16602         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16603         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16605 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16607         [BZ #19408]
16608         * sysdeps/unix/sysv/linux/personality.c: New file.
16609         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16610         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16611         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16612         (sysdep_routines): Add personality.
16613         (tests): Add tst-personality.
16614         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16616         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16617         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16618         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16619         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16620         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16621         Likewise.
16622         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16623         Likewise.
16624         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16625         Likewise.
16626         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16627         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16628         Likewise.
16630 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16632         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16633         (PATH_ARM_SYSTYPE): Remove.
16634         (PATH_CPUINFO): Likewise.
16635         (IO_BASE_FOOTBRIDGE): Likewise.
16636         (IO_SHIFT_FOOTBRIDGE): Likewise.
16637         (struct platform): Likewise.
16638         (init_iosys): Remove compatibility code for 2.4 kernels.
16639         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16641 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16643         * malloc/tst-malloc-thread-fail.c: New file.
16644         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16645         (tst-malloc-thread-fail): Link against libpthread.
16647 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16649         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16650         (get_parser): New function.
16651         (main): New function.
16653 2015-12-29  Rob Wu  <rob@robwu.nl>
16655         [BZ #19369]
16656         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16658 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16660         [BZ #19270]
16661         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16663 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16665         [BZ #15421]
16666         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16668 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16670         [BZ #13690]
16671         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16672         after releasing it.
16673         (__lll_robust_unlock): Likewise.
16674         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16675         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16676         (lll_robust_unlock): Likewise.
16677         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16678         Prevent warnings in callers.
16680 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16682         * malloc/arena.c (list_lock): Update comment.
16684 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16686         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16687         __parse_hwcap_and_convert_at_platform to libc.a.
16689 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16691         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16692         platform and feature support for POWER9.
16693         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16694         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16695         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16696         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16697         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16698         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16699         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16700         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16702 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16704         Harmonize generic stdio-lock support with nptl
16706         This fixes build when _IO_funlockfile is a macro, fixes build where
16707         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16708         stack unwind.
16710         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16711         _IO_release_lock ): Use cleanup attribute on new
16712         _IO_acquire_lock_file variable instead of assuming that
16713         _IO_release_lock will be called.
16714         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16715         _IO_acquire_lock_needs_exceptions_enabled.
16716         (_IO_acquire_lock_clear_flags2): New macro.
16718 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16720         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16722 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16724         [BZ #19182]
16725         * malloc/arena.c (list_lock): Document lock ordering requirements.
16726         (free_list_lock): New lock.
16727         (ptmalloc_lock_all): Comment on free_list_lock.
16728         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16729         (detach_arena): Update comment.  free_list_lock is now needed.
16730         (_int_new_arena): Use free_list_lock around detach_arena call.
16731         Acquire arena lock after list_lock.  Add comment, including FIXME
16732         about incorrect synchronization.
16733         (get_free_list): Switch to free_list_lock.
16734         (reused_arena): Acquire free_list_lock around detach_arena call
16735         and attached threads counter update.  Add two FIXMEs about
16736         incorrect synchronization.
16737         (arena_thread_freeres): Switch to free_list_lock.
16738         * malloc/malloc.c (struct malloc_state): Update comments to
16739         mention free_list_lock.
16741 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16743         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16744         Remove functions.
16745         (sloww, sloww1): Accept argument to offset quadrant.
16746         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16747         quadrant.
16748         (__sin, __cos): Consolidate common code into new functions.
16749         (reduce_sincos_1, do_sincos_1): New functions.
16750         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16753         code to new functions.
16754         (reduce_sincos_2, do_sincos_2): New functions.
16755         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16758         common code for sincos.
16759         (__cos) [!IN_SINCOS]: Likewise.
16760         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16761         New function.
16762         (__sincos): Use it.
16764 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16766         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16767         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16768         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16770 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16772         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16775         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16776         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16777         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16778         index_Prefer_No_VZEROUPPER): New feature.
16779         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16780         Prefer_No_VZEROUPPER for Knights Landing.
16782 015-12-18  Torvald Riegel  <triegel@redhat.com>
16784         * math/atest-exp2.c (mp_exp_m1): Remove.
16786 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16788         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16789         syscalls.
16790         (__SYSCALL0): New macro.
16791         (__SYSCALL1): Likewise.
16792         (__SYSCALL2): Likewise.
16793         (__SYSCALL3): Likewise.
16794         (__SYSCALL4): Likewise.
16795         (__SYSCALL5): Likewise.
16796         (__SYSCALL6): Likewise.
16797         (__SYSCALL_CONCAT_X): Likewise.
16798         (__SYSCALL_CONCAT): Likewise.
16799         (__SYSCALL_DIST): Likewise.
16800         (__SYSCALL_CALL): Likewise.
16802 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16804         [BZ #19363]
16805         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16807 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16809         [BZ #19375]
16810         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16811         negative subnormals.
16813 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16816         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16817         (INTERNAL_SYSCALL_NCS): Use it.
16818         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16820 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16822         [BZ #19243]
16823         * malloc/arena.c (get_free_list): Remove assert and adjust
16824         reference count handling.  Add comment about reused_arena
16825         interaction.
16826         (reused_arena): Add comments abount get_free_list interaction.
16827         * malloc/tst-malloc-thread-exit.c: New file.
16828         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16829         (tst-malloc-thread-exit): Link against libpthread.
16831 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16833         [BZ #19367]
16834         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16835         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16836         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16837         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16838         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16840 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16842         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16843         Silvermont optimizations for Knights Landing.
16845 2015-12-15  Andreas Schwab  <schwab@suse.de>
16847         [BZ #17197]
16848         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16849         immediately after emitting SI.
16850         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16851         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16852         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16853         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16854         * iconvdata/bug-iconv10.c: New file.
16855         * iconvdata/Makefile (tests): Add bug-iconv10.
16856         ($(objpfx)bug-iconv10.out): New rule.
16858 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16860         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16861         aliasing violation.
16863 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16865         [BZ #18472]
16866         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16867         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16868         conditionals for them.
16869         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16870         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16872         sys/kdaemon.h.
16873         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16874         compat-only syscall, obsoleted in glibc 2.23.
16875         (create_module): Likewise.
16876         (get_kernel_syms): Likewise.
16877         (query_module): Likewise.
16878         (uselib): Likewise.
16879         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16881 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16883         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16884         <linux/version.h>.
16885         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16886         conditional code.
16887         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16888         and ioshift_name initialization.
16890 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16893         Fix indentation.
16895 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16897         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16899 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16901         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16903 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16904             Jakub Wilk  <jwilk@debian.org>
16906         [BZ #19347]
16907         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16908         to change the group of the device to the tty group.
16910 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16912         Split large string section; add truncation advice
16913         * manual/examples/strncat.c: Remove.
16914         This example was misleading, as the code would have undefined
16915         behavior if "hello" was longer than SIZE.  Anyway, the manual
16916         shouldn't encourage strncpy+strncat for this sort of thing.
16917         * manual/string.texi (Copying Strings and Arrays): Split into
16918         three sections Copying Strings and Arrays, Concatenating Strings,
16919         and Truncating Strings, as this section was way too long.  All
16920         cross-referenced changed.  Add advice about string-truncation
16921         functions.  Remove misleading strncat example.
16923 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16925         * manual/nss.texi (NSS Modules Interface): Document
16926         NSS_STATUS_NOTFOUND and SUCCESS.
16928 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16930         [BZ 18568]
16931         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16932         201505L, for Unicode 8.
16934 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16936         * locale/C-translit.h: Regenerate.
16938 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16940         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16941         and U+0153.
16943 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16945         [BZ #19351]
16946         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16947         expanding log(1+z), compare z rather than its square with epsilon
16948         to determine when to avoid evaluating the expansion.
16950         [BZ #19350]
16951         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16952         Increase overflow threshold.
16954         [BZ #19349]
16955         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16956         when small.
16958         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16960         New macro.
16961         [__LINUX_KERNEL_VERSION >= 0x040300]
16962         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16964         Likewise.
16965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16966         Likewise.
16967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16968         Likewise.
16969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16970         Likewise.
16971         [__LINUX_KERNEL_VERSION >= 0x040300]
16972         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16973         [__LINUX_KERNEL_VERSION >= 0x040300]
16974         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16975         [__LINUX_KERNEL_VERSION >= 0x040300]
16976         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16977         [__LINUX_KERNEL_VERSION >= 0x040300]
16978         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16979         [__LINUX_KERNEL_VERSION >= 0x040300]
16980         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16982         Likewise.
16983         [__LINUX_KERNEL_VERSION >= 0x040300]
16984         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16985         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16986         Likewise.
16987         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16988         Likewise.
16989         [__LINUX_KERNEL_VERSION >= 0x040300]
16990         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16991         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16992         Likewise.
16993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16994         Likewise.
16995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16996         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16997         Likewise.
16998         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16999         Likewise.
17000         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17001         Likewise.
17002         [__LINUX_KERNEL_VERSION >= 0x040300]
17003         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17004         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17005         Likewise.
17006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17007         Likewise.
17008         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17009         Likewise.
17010         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17011         Likewise.
17012         [__LINUX_KERNEL_VERSION >= 0x040300]
17013         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17014         [__LINUX_KERNEL_VERSION >= 0x040300]
17015         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17016         [__LINUX_KERNEL_VERSION >= 0x040300]
17017         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17018         [__LINUX_KERNEL_VERSION >= 0x040300]
17019         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17020         [__LINUX_KERNEL_VERSION >= 0x040300]
17021         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17022         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17023         Likewise.
17024         [__LINUX_KERNEL_VERSION >= 0x040300]
17025         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17026         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17027         Likewise.
17028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17029         Likewise.
17030         [__LINUX_KERNEL_VERSION >= 0x040300]
17031         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17032         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17033         Likewise.
17034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17035         Likewise.
17036         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17037         (__ASSUME_SOCKET_SYSCALL): Likewise.
17038         (__ASSUME_BIND_SYSCALL): Likewise.
17039         (__ASSUME_CONNECT_SYSCALL): Likewise.
17040         (__ASSUME_LISTEN_SYSCALL): Likewise.
17041         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17042         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17043         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17044         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17045         (__ASSUME_SEND_SYSCALL): Likewise.
17046         (__ASSUME_SENDTO_SYSCALL): Likewise.
17047         (__ASSUME_RECV_SYSCALL): Likewise.
17048         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17049         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17050         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17051         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17052         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17053         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17054         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17055         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17056         Likewise.
17057         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17058         Likewise.
17059         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17060         Likewise.
17061         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17062         Likewise.
17063         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17064         Likewise.
17065         [__LINUX_KERNEL_VERSION >= 0x020625]
17066         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17067         [__LINUX_KERNEL_VERSION >= 0x020625]
17068         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17069         [__LINUX_KERNEL_VERSION >= 0x020625]
17070         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17071         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17072         Likewise.
17073         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17074         Likewise.
17075         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17076         Likewise.
17077         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17078         Likewise.
17079         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17080         Likewise.
17081         [__LINUX_KERNEL_VERSION >= 0x020625]
17082         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17083         [__LINUX_KERNEL_VERSION >= 0x020625]
17084         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17085         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17086         Likewise.
17087         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17088         Likewise.
17090 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17092         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17093         record the current if the current ABI and CPU support the FP64
17094         extension.
17095         (has-modd-spreg): Define to record the current if the current ABI and
17096         CPU support 32-bit floating point values in odd FPU registers.
17097         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17098         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17099         $(has-modd-spreg) equals yes.
17100         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17101         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17102         $(has-modd-spreg) equal yes.
17104 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17106         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17107         basename.
17109 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17111         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17112         (bench-string): ... here.
17113         (bench): Add bench-string.
17114         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17115         to *-benchset to reflect what they are.
17116         (benchset): Adjust.
17118         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17119         cos-inputs.
17121 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17123         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17124         __attribute__ ((__simd__)) for vector math function declarations.
17126 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17128         Fix typo in strncat, wcsncat manual entries
17129         * manual/string.texi (Copying and Concatenation): Fix typos in
17130         sample implementations of strncat and wcsncat, by having them use
17131         the old value of the destination length, not the new one.
17133 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17135         [BZ #16961]
17136         [BZ #16962]
17137         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17138         string on the stack for strtod.
17139         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17140         a string on the stack for strtof.
17141         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17142         constructing a string on the stack for strtold.
17143         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17144         __strtold_nan to GLIBC_PRIVATE.
17145         * math/test-nan-overflow.c: New file.
17146         * math/test-nan-payload.c: Likewise.
17147         * math/Makefile (tests): Add test-nan-overflow and
17148         test-nan-payload.
17150 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17152         Consistency about byte vs character in string.texi
17153         * manual/string.texi (String and Array Utilities):
17154         Distinguish more carefully among bytes, multibyte characters,
17155         and wide characters.  Use "byte" when talking about C 'char',
17156         to distinguish it more clearly from multibyte characters.
17157         Say "wide character" or "multibyte character" instead of
17158         "character", when a wide or multibyte character is intended.
17159         Similarly for "multibyte string" versus "string".
17160         Define these terms more carefully.
17162 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17164         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17165         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17166         Likewise.
17167         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17168         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17169         * sysdeps/sh/math_private.h: New file.
17170         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17171         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17172         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17173         long double function name.
17174         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17175         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17176         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17180         Remove __finitel, __isinfl, and __isnanl.
17181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17182         Likewise.
17183         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17185         Remove __finitel.
17186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17187         Likewise.
17188         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17190 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17192         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17193         installed libmvec_nonshared.a.
17195 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17197         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17198         (sysdep_routines): Likewise.
17199         (sysdep-rtld-routines): Likewise.
17200         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17201         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17202         * sysdeps/powerpc/Versions: Added new
17203         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17204         * sysdeps/powerpc/hwcapinfo.c: New file.
17205         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17206         and parse hwcap, hwcap2 and platform number information.
17207         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17208         to store HWCAP+HWCAP2 and platform number.
17209         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17210         for HWCAP+HWCAP2 and platform number in the TCB.
17211         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17212         the HWCAP, HWCAP2 and platform number in the TCB.
17213         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17214         (TLS_INIT_TP): Included calls to add the hwcap and
17215         at_platform values in the TCB in TP initialization.
17216         (TLS_DEFINE_INIT_TP): Likewise.
17217         (THREAD_GET_HWCAP): New macro.
17218         (THREAD_SET_HWCAP): Likewise.
17219         (THREAD_GET_AT_PLATFORM): Likewise.
17220         (THREAD_SET_AT_PLATFORM): Likewise.
17221         * sysdeps/powerpc/powerpc32/dl-machine.h:
17222         (dl_platform_init): New function that calls
17223         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17224         powerpc32.
17225         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17226         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17227         this functionality, static linking case.
17228         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17229         linking case.
17230         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17231         __parse_hwcap_and_convert_at_platform for the static linking case.
17232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17233         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17234         ABI list for GLIBC 2.23.
17235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17236         Likewise.
17237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17238         Likewise.
17240 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17242         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17243         * configure: Regenerate.
17244         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17245         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17247 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17249         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17250         * iconvdata/ibm933.c: Likewise.
17251         * iconvdata/ibm935.c: Likewise.
17252         * iconvdata/ibm937.c: Likewise.
17253         * iconvdata/ibm939.c: Likewise.
17255 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17257         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17258         pthread_join.
17259         * nptl/tst-cancel21.c (tf): Likewise.
17261 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17263         [BZ #19313]
17264         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17265         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17266         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17267         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17268         Likewise.
17269         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17270         Likewise.
17271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17272         Likewise.
17273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17274         Likewise.
17275         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17276         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17277         unsigned long int with __CPU_MASK_TYPE.
17279 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17281         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17283 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17285         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17286         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17287         t512.x.
17288         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17290 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17292         [BZ #19214]
17293         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17294         argument to return extended model.  Update family and model
17295         with extended family and model when family == 0x0f.
17296         (init_cpu_features): Updated.
17298 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17300         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17301         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17303         * sysdeps/mach/hurd/mmap64.c: New file.
17305 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17307         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17308         rights for its main user thread in NEWTASK.
17310 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17312         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17313         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17315 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17317         [BZ #14259]
17318         * Makeconfig: Rename localedir to complocaledir.
17319         Rename inst_localedir to inst_complocaledir.
17320         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17321         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17322         * configure.ac: Use libc_cv_complocaledir.
17323         * configure: Regenerate.
17324         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17325         -DCOMPLOCALEDIR.
17326         * locale/findlocale.c: Use COMPLOCALEDIR.
17327         * locale/loadarchive.c: Likewise.
17328         * locale/programs/locale.c: Likewise.
17329         * locale/programs/localedef.c: Likewise.
17330         * locale/programs/locarchive.c: Likewise.
17331         * localedata/Makefile: Use inst_complocaledir.
17332         * sysdeps/gnu/configure: Regenerate.
17333         * sysdeps/hppa/configure: Regenerate.
17334         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17335         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17337         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17338         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17339         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17340         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17342 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17344         [BZ #19058]
17345         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
17346         AS_NEEDED.
17347         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
17348         workaround.
17349         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
17350         libmvec-static-only-routines): Added new file.
17351         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
17353 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17355         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
17356         of interrupted RPC instead of restoring it.
17358         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
17359         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
17360         libc_hidden_def.
17361         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
17362         into initialized data instead of common. Define rtld_hidden_data_def.
17363         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
17364         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
17365         libc_hidden_def.
17366         (if_freenameindex): Add libc_hidden_weak.
17367         (if_nameindex): Add libc_hidden_weak.
17368         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17369         __open64.
17370         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
17371         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
17372         * sysdeps/mach/nanosleep.c: Include <time.h>
17373         (__nanosleep): Rename to __libc_nanosleep.
17374         (__nanosleep): Add weak_alias.
17375         (nanosleep): Update alias.
17377 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
17379         * stdlib/strtod_nan.c: New file.
17380         * stdlib/strtod_nan_double.h: Likewise.
17381         * stdlib/strtod_nan_float.h: Likewise.
17382         * stdlib/strtod_nan_main.c: Likewise.
17383         * stdlib/strtod_nan_narrow.h: Likewise.
17384         * stdlib/strtod_nan_wide.h: Likewise.
17385         * stdlib/strtof_nan.c: Likewise.
17386         * stdlib/strtold_nan.c: Likewise.
17387         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17388         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
17389         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
17390         * wcsmbs/wcstod_nan.c: Likewise.
17391         * wcsmbs/wcstof_nan.c: Likewise.
17392         * wcsmbs/wcstold_nan.c: Likewise.
17393         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
17394         strtold_nan.
17395         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
17396         wcstof_nan.
17397         * include/stdlib.h (__strtof_nan): Declare and use
17398         libc_hidden_proto.
17399         (__strtod_nan): Likewise.
17400         (__strtold_nan): Likewise.
17401         (__wcstof_nan): Likewise.
17402         (__wcstod_nan): Likewise.
17403         (__wcstold_nan): Likewise.
17404         * include/wchar.h (____wcstoull_l_internal): Declare.
17405         * stdlib/strtod_l.c: Do not include <ieee754.h>.
17406         (____strtoull_l_internal): Remove declaration.
17407         (STRTOF_NAN): Define macro.
17408         (SET_MANTISSA): Remove macro.
17409         (STRTOULL): Likewise.
17410         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
17411         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
17412         (STRTOF_NAN): Define macro.
17413         (SET_MANTISSA): Remove macro.
17414         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
17415         (SET_MANTISSA): Remove macro.
17416         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
17417         macro.
17418         (SET_MANTISSA): Remove macro.
17419         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
17420         macro.
17421         (SET_MANTISSA): Remove macro.
17422         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17423         (SET_MANTISSA): Remove macro.
17424         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17425         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17426         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17428         [BZ #19266]
17429         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17430         upper case and lower case letters inside NAN(), not using TOLOWER.
17431         * stdlib/tst-strtod-nan-locale-main.c: New file.
17432         * stdlib/tst-strtod-nan-locale.c: Likewise.
17433         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17434         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17435         Depend on $(gen-locales).
17436         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17437         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17438         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17439         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17440         Depend on $(gen-locales).
17441         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17443 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17445         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17447         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17449         __finitel, __isinfl, and __isnanl.
17450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17451         Likewise.
17452         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17454         __finitel.
17455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17456         Likewise.
17457         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17459 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17461         * malloc/memusage.c (me): Remove redundant getenv call.
17463 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17465         [BZ #19143]
17466         [BZ #19164]
17467         * nptl/check-cpuset.h: Remove.
17468         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17469         Remove CPU set size check.
17470         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17471         Likewise.
17472         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17473         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17474         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17475         (__pthread_setaffinity_new): Remove CPU set size check.
17476         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17477         (__kernel_cpumask_size): Remove.
17478         (__sched_setaffinity_new): Remove CPU set size check.
17479         * manual/threads.texi (Default Thread Attributes): Remove stale
17480         reference to check_cpuset_attr, determine_cpumask_size in comment.
17481         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17482         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17483         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17484         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17485         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17486         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17487         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17488         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17489         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17490         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17491         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17492         skeleton test file.
17493         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17494         tst-affinity-pid.
17496 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17498         * scripts/update-abilist.sh: New file.
17499         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17500         * Makerules (update-all-abi-%, update-all-abi)
17501         (subdir_update-all-abi): New targets.
17502         * elf/Makefile (update-all-abi): New target.
17504 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17506         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17507         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17508         (__libc_lock_define_initialized): Use it.
17509         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17510         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17511         * malloc/malloc.c (main_arena): Likewise.
17512         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17513         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17515 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17517         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17518         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17519         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17520         (PTRACE_O_MASK): Update value.
17521         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17522         New value in enum __ptrace_setoptions.
17523         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17524         (PTRACE_O_MASK): Update value.
17525         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17526         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17527         (PTRACE_O_MASK): Update value.
17528         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17529         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17530         (PTRACE_O_MASK): Update value.
17531         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17532         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17533         (PTRACE_O_MASK): Update value.
17534         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17535         New value in enum __ptrace_setoptions.
17536         (PTRACE_O_MASK): Update value.
17537         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17538         New value in enum __ptrace_setoptions.
17539         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17540         (PTRACE_O_MASK): Update value.
17542         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17543         New macro.
17544         (PACKET_AUXDATA): Likewise.
17545         (PACKET_ORIGDEV): Likewise.
17546         (PACKET_VERSION): Likewise.
17547         (PACKET_HDRLEN): Likewise.
17548         (PACKET_RESERVE): Likewise.
17549         (PACKET_TX_RING): Likewise.
17550         (PACKET_LOSS): Likewise.
17551         (PACKET_VNET_HDR): Likewise.
17552         (PACKET_TX_TIMESTAMP): Likewise.
17553         (PACKET_TIMESTAMP): Likewise.
17554         (PACKET_FANOUT): Likewise.
17555         (PACKET_TX_HAS_OFF): Likewise.
17556         (PACKET_QDISC_BYPASS): Likewise.
17557         (PACKET_ROLLOVER_STATS): Likewise.
17558         (PACKET_FANOUT_DATA): Likewise.
17559         (PACKET_MR_UNICAST): Likewise.
17561         [BZ #19242]
17562         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17563         (TOUPPER): Likewise.
17564         * stdlib/tst-strtol-locale-main.c: New file.
17565         * stdlib/tst-strtol-locale.c: Likewise.
17566         * stdlib/Makefile (tests): Add tst-strtol-locale.
17567         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17568         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17569         Depend on $(gen-locales).
17570         * wcsmbs/tst-wcstol-locale.c: New file.
17571         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17572         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17573         tr_TR.ISO-8859-9.
17574         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17575         Depend on $(gen-locales).
17577 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17579         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17580         __glibc_likely instead of __builtin_expect.  After falling back to
17581         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17582         system interface to register the code pages as occupied.
17584 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17586         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17587         [!ARM_MATH_PRIVATE_H].
17588         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17589         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17590         [!HPPA_MATH_PRIVATE_H].
17591         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17592         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17593         to [!I386_MATH_PRIVATE_H].
17594         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17595         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17596         Change guard to [!M68K_MATH_PRIVATE_H].
17597         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17598         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17599         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17600         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17601         macro.
17602         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17603         [!MIPS_MATH_PRIVATE_H].
17604         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17605         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17606         [!NIO2_MATH_PRIVATE_H].
17607         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17608         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17609         [!TILE_MATH_PRIVATE_H].
17610         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17612         [BZ #15421]
17613         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17614         initialize with 0 and define as weak alias of __signgam.
17615         * include/math.h [!_ISOMAC] (__signgam): Declare.
17616         * math/Makefile (libm-calls): Add w_lgamma_compat.
17617         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17618         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17619         test-signgam-ullong-init.
17620         (tests-static): Add test-signgam-uchar-static,
17621         test-signgam-uchar-init-static, test-signgam-uint-static,
17622         test-signgam-uint-init-static, test-signgam-ullong-static and
17623         test-signgam-ullong-init-static.
17624         (CFLAGS-test-signgam-uchar.c): New variable.
17625         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17626         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17627         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17628         (CFLAGS-test-signgam-uint.c): Likewise.
17629         (CFLAGS-test-signgam-uint-init.c): Likewise.
17630         (CFLAGS-test-signgam-uint-static.c): Likewise.
17631         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17632         (CFLAGS-test-signgam-ullong.c): Likewise.
17633         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17634         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17635         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17636         * math/Versions (libm): Add GLIBC_2.23.
17637         * math/lgamma-compat.h: New file.
17638         * math/test-signgam-main.c: Likewise.
17639         * math/test-signgam-uchar-init-static.c: Likewise.
17640         * math/test-signgam-uchar-init.c: Likewise.
17641         * math/test-signgam-uchar-static.c: Likewise.
17642         * math/test-signgam-uchar.c: Likewise.
17643         * math/test-signgam-uint-init-static.c: Likewise.
17644         * math/test-signgam-uint-init.c: Likewise.
17645         * math/test-signgam-uint-static.c: Likewise.
17646         * math/test-signgam-uint.c: Likewise.
17647         * math/test-signgam-ullong-init-static.c: Likewise.
17648         * math/test-signgam-ullong-init.c: Likewise.
17649         * math/test-signgam-ullong-static.c: Likewise.
17650         * math/test-signgam-ullong.c: Likewise.
17651         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17652         wrapper of w_lgamma_main.c.
17653         * math/w_lgamma_compat.c: New file.
17654         * math/w_lgamma_compatf.c: Likewise.
17655         * math/w_lgamma_compatl.c: Likewise.
17656         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17657         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17658         defining compatibility symbols.
17659         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17660         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17661         wrapper of w_lgammaf_main.c.
17662         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17663         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17664         defining compatibility symbols.
17665         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17666         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17667         wrapper of w_lgammal_main.c.
17668         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17669         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17670         defining compatibility symbols.
17671         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17672         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17673         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17674         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17675         <lgamma-compat.h>.
17676         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17677         (__ieee754_gamma): Define as alias.
17678         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17679         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17680         <lgamma-compat.h>.
17681         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17682         (__ieee754_gammaf): Define as alias.
17683         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17684         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17685         <lgamma-compat.h>.
17686         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17687         (__ieee754_gammal): Define as alias.
17688         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17689         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17690         <math/w_lgamma_compat.c>.
17691         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17692         Define as alias of __lgamma_compat and use in defining lgammal.
17693         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17694         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17695         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17696         (USE_AS_COMPAT): New macro.
17697         (LGAMMA_OLD_VER): Undefine and redefine.
17698         (lgammal): Do not define here.
17699         (gammal): Only define here if [GAMMA_ALIAS].
17700         * conform/linknamespace.pl (@whitelist): Remove signgam.
17701         * sysdeps/nacl/libm.abilist: Update.
17702         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17703         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17704         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17705         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17706         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17707         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17708         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17709         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17710         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17711         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17712         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17713         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17715         Likewise.
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17717         Likewise.
17718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17719         Likewise.
17720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17721         Likewise.
17722         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17723         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17724         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17725         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17726         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17728         Likewise.
17729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17730         Likewise.
17731         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17732         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17733         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17735 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17737         [BZ #16364]
17738         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17739         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17741 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17743         * sysdeps/s390/fpu/bits/mathinline.h:
17744         Use __asm__ [__volatile__] instead of asm [volatile].
17745         * sysdeps/s390/abort-instr.h: Likewise.
17746         * sysdeps/s390/atomic-machine.h: Likewise.
17747         * sysdeps/s390/bits/string.h: Likewise.
17748         * sysdeps/s390/dl-tls.h: Likewise.
17749         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17750         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17751         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17752         * sysdeps/s390/fpu/fesetround.c: Likewise.
17753         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17754         * sysdeps/s390/fpu/s_fma.c: Likewise.
17755         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17756         * sysdeps/s390/memusage.h: Likewise.
17757         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17758         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17759         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17760         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17761         * sysdeps/s390/nptl/tls.h: Likewise.
17762         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17763         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17764         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17765         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17766         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17767         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17768         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17769         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17770         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17771         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17772         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17773         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17774         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17775         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17776         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17777         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17778         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17779         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17780         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17782         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17784         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17786 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17787             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17789         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17790         Add lwarx hint, and use macro for acquire instruction.
17791         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17792         Likewise.
17793         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17794         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17795         update to use new atomic macros.
17797 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17799         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17800         (__lll_trylock_elision): Fix setting of adapt_count.
17801         * sysdeps/unix/sysv/linux/powerpc/htm.h
17802         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17803         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17804         (_ABORT_SYSCALL): Renumber, and clarify definition.
17805         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17807 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17809         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17810         after system headers to prevent MIN/MAX redefinition.  Define
17811         HAVE_ALLOCA to preserve builtin alloca usage.
17813 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17815         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17816         static and don't set or restore rounding.
17817         (__cos)[IN_SINCOS]: Likewise.
17818         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17819         (__sincos): Set and restore rounding mode.  Remove check for infinite
17820         or NaN input.
17822         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17824         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17825         as used.
17827 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17829         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17831 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17833         * config.make.in (have-glob-dat-reloc): New.
17834         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17835         target supports GLOB_DAT relocaton. AC_SUBST.
17836         * configure: Regenerated.
17837         * elf/Makefile (tests): Add tst-prelink.
17838         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17839         (tst-prelink-ENV): New.
17840         ($(objpfx)tst-prelink-conflict.out): Likewise.
17841         ($(objpfx)tst-prelink-cmp.out): Likewise.
17842         * sysdeps/x86/tst-prelink.c: Moved to ...
17843         * elf/tst-prelink.c: Here.
17844         * sysdeps/x86/tst-prelink.exp: Moved to ...
17845         * elf/tst-prelink.exp: Here.
17846         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17847         (tst-prelink-ENV): Removed.
17848         ($(objpfx)tst-prelink-conflict.out): Likewise.
17849         ($(objpfx)tst-prelink-cmp.out): Likewise.
17850         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17852 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17854         [BZ #14551]
17855         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17856         (__mpn_construct_long_double): If high part overflows to infinity,
17857         set errno and recompute overflowed result of the correct sign.
17858         * sysdeps/ieee754/ldbl-128ibm/Makefile
17859         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17860         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17861         $(libm).
17862         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17864 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17866         [BZ #15479]
17867         [BZ #19238]
17868         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17869         floating-point state after first operation on input.  Restore full
17870         state rather than just rounding mode.
17871         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17872         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17873         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17875         [BZ #19235]
17876         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17877         add 0.5 to integer arguments.
17878         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17879         Likewise.
17880         (.LC2): New object.
17882 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17884         * scripts/pylintrc (reports): Set to no.
17886 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17888         * elf/dl-load.c (open_verify): Take new argument FD.
17889         Skip __open call if passed FD is not -1.
17890         (_dl_map_object, open_path): Update callers.
17891         * elf/dl-sysdep-open.h: New file.
17892         * elf/dl-load.c: Include it.
17893         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17894         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17895         * sysdeps/nacl/dl-sysdep-open.h: New file.
17896         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17897         from libc to rtld.
17899 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17901         [BZ #19228]
17902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17903         and restore full floating-point state.
17904         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17905         Likewise.
17906         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17907         Likewise.
17908         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17909         Likewise.
17910         * math/test-nearbyint-except-2.c: New file.
17911         * math/Makefile (tests): Add test-nearbyint-except-2.
17913 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17915         [BZ #19178]
17916         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17917         (tst-prelink-ENV): New.
17918         ($(objpfx)tst-prelink-conflict.out): Likewise.
17919         ($(objpfx)tst-prelink-cmp.out): Likewise.
17920         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17921         * sysdeps/x86/tst-prelink.c: New file.
17922         * sysdeps/x86/tst-prelink.exp: Likewise.
17924 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17926         * math/auto-libm-test-in: Add another test of pow.
17927         * math/auto-libm-test-out: Regenerated.
17928         * math/libm-test.inc (pow_test_data): Add another test.
17930 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17932         [BZ #19219]
17933         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17934         weak_alias to nearbyintl.
17936 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17938         * sysdeps/aarch64/bits/string.h: New file.
17939         (_STRING_ARCH_unaligned): Define.
17941 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17943         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17944         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17945         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17946         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17949 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17951         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17952         for original name of the DSO.  Add it to the name list of the DSO
17953         if it is actually given.
17954         (_dl_map_object): Keep track of whether an audit module rewrote
17955         the file name.  If yes, pass the original name to
17956         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17957         debugging is enabled, log the change of the file name.
17958         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17959         _dl_map_object_from_fd.
17960         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17961         * elf/tst-audit11.c: New file
17962         * elf/tst-auditmod11.c: New file.
17963         * elf/tst-audit11mod1.c: New file.
17964         * elf/tst-audit11mod2.c: New file.
17965         * elf/tst-audit11mod2.map: New file.
17966         * elf/tst-audit12.c: New file
17967         * elf/tst-auditmod12.c: New file.
17968         * elf/tst-audit12mod1.c: New file.
17969         * elf/tst-audit12mod2.c: New file.
17970         * elf/tst-audit12mod2.map: New file.
17971         * elf/tst-audit12mod3.c: New file.
17973 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17975         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17976         Don't create weak aliases,
17977         because versioned symbols are created later.
17978         * sysdeps/s390/s390-32/setjmp.S
17979         (setjmp, _setjmp): Remove weak and rename to an unique name
17980         in SHARED case due to existing versioned symbols.
17981         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17982         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17983         (getcontext): Create weak alias only in non SHARED case.
17984         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17986 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17988         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17989         (__ASSUME_*_SYSCALL) Define new macros.
17990         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17991         Remove socketcall syscalls.
17992         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17993         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17994         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17995         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17996         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17997         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17999 2015-11-09  Florian Weimer  <fweimer@redhat.com>
18001         [BZ #12926]
18002         Terminate process on invalid netlink response.
18003         * sysdeps/unix/sysv/linux/netlinkaccess.h
18004         (__netlink_assert_response): Declare.
18005         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
18006         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
18007         (sysdep_routines): Add netlink_assert_response.
18008         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18009         __netlink_assert_response.
18010         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18011         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18012         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18013         __netlink_assert_response.
18015 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18017         [BZ #19178]
18018         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18019         (RTYPE_CLASS_PLT): Likewise.
18020         (RTYPE_CLASS_COPY): Likewise.
18021         (RTYPE_CLASS_TLS): Likewise.
18022         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18023         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18024         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18025         DL_DEBUG_PRELINK.
18027 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18029         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18030         calls with argument -0.5.
18031         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18033         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18034         (libc_cv_z_nodlopen): Likewise.
18035         (libc_cv_z_initfirst): Likewise.
18036         * configure: Regenerated.
18038 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18040         Simplify abilist format to be line-based.
18041         * scripts/abilist.awk: Collect descriptors in the descs variable.
18042         (emit): Write descs variable and sort it
18043         externally, with sort.
18044         * sysdeps/**/*.abilist: Convert to new format.
18046 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18048         [BZ #11460]
18049         * io/Makefile (routines): Add fts64.
18050         (tests): Add tst-fts and tst-fts-lfs.
18051         (CFLAGS-fts64.c): New.
18052         * io/Versions (GLIBC_2.23): New.
18053         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18054         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18055         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18056         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18057         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18058         (FTSENT64): Likewise.
18059         (fts64_children): Likewise.
18060         (fts64_close): Likewise.
18061         (fts64_open): Likewise.
18062         (fts64_read): Likewise.
18063         (fts64_set): Likewise.
18064         * io/fts64.c: New file.
18065         * io/tst-fts.c: New test.
18066         * io/tst-fts-lfs.c: Likewise.
18067         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18068         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18069         fts64_set.
18070         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18071         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18072         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18073         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18074         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18075         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18076         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18077         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18078         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18079         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18080         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18081         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18082         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18084         Likewise.
18085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18086         Likewise.
18087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18089         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18090         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18091         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18092         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18093         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18096         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18097         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18098         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18099         * sysdeps/wordsize-64/fts.c: New file.
18100         * sysdeps/wordsize-64/fts64.c: Likewise.
18101         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18102         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18103         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18104         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18106 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18108         * math/libm-test.inc (NON_FINITE): New macro.
18109         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18110         * math/gen-libm-test.pl (show_exceptions): Add argument
18111         $non_finite.
18112         (parse_args): Update call to show_exceptions.
18113         * math/test-math-finite.h: New file.
18114         * math/test-math-no-finite.h: Likewise.
18115         * math/test-double-finite.c: Likewise.
18116         * math/test-float-finite.c: Likewise.
18117         * math/test-ldouble-finite.c: Likewise.
18118         * math/test-double.c: Include "test-math-no-finite.h".
18119         * math/test-float.c: Include "test-math-no-finite.h".
18120         * math/test-ldouble.c: Include "test-math-no-finite.h".
18121         * math/test-math-inline.h (TEST_FINITE): New macro.
18122         * math/test-math-vector.h (TEST_FINITE): Likewise.
18123         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18124         (libm-tests): Add test-float-finite and test-double-finite.
18125         ($(objpfx)test-float-finite.o): New dependency on
18126         $(objpfx)libm-test.stmp.
18127         ($(objpfx)test-double-finite.o): Likewise.
18128         ($(objpfx)test-ldouble-finite.o): Likewise.
18129         (libm-test-no-inline-cflags): New variable.
18130         (libm-test-finite-cflags): Likewise.
18131         (CFLAGS-test-float-finite.c): Likewise.
18132         (CFLAGS-test-double-finite.c): Likewise.
18133         (CFLAGS-test-ldouble-finite.c): Likewise.
18134         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18135         (CFLAGS-test-double.c): Likewise.
18136         (CFLAGS-test-ldouble.c): Likewise.
18138 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18140         * io/fcntl.c (__fcntl): Add ... to prototype.
18141         * misc/ioctl.c (__ioctl): Likewise.
18142         * misc/syscall.c (syscall): Likewise.
18144 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18146         * scripts/list-fixed-bugs.py: New file.
18148         [BZ #19213]
18149         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18150         returned for argument 1.
18151         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18152         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18153         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18154         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18155         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18156         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18158         [BZ #19211]
18159         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18160         __USE_XOPEN], not if [!__USE_ISOC99].
18161         (lgammaf): Likewise.
18162         (lgammal): Likewise.
18163         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18164         (gammaf): Likewise.
18165         (gammal): Likewise.
18166         * math/test-signgam-finite-c11.c: New file.
18167         * math/test-signgam-finite-c99.c: Likewise.
18168         * math/test-signgam-finite.c: Likewise.
18169         * math/Makefile (tests): Add test-signgam-finite,
18170         test-signgam-finite-c99 and test-signgam-finite-c11.
18171         (CFLAGS-test-signgam-finite.c): New variable.
18172         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18173         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18175         [BZ #19212]
18176         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18177         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18178         500].
18179         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18180         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18181         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18182         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18183         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18184         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18185         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18186         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18187         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18188         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18190         [BZ #19209]
18191         * math/bits/math-finite.h (ldexp): Remove declaration.
18192         (ldexpf): Likewise.
18193         (ldexpl): Likewise.
18195         [BZ #19205]
18196         * math/bits/math-finite.h (acosf): Condition declaration on
18197         [__USE_ISOC99].
18198         (acosl): Likewise.
18199         (acoshf): Likewise.
18200         (acoshl): Likewise.
18201         (asinf): Likewise.
18202         (asinl): Likewise.
18203         (atan2f): Likewise.
18204         (atan2l): Likewise.
18205         (atanhf): Likewise.
18206         (atanhl): Likewise.
18207         (coshf): Likewise.
18208         (coshl): Likewise.
18209         (expf): Likewise.
18210         (expl): Likewise.
18211         (fmodf): Likewise.
18212         (fmodl): Likewise.
18213         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18214         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18215         (j0l): Likewise.
18216         (y0f): Likewise.
18217         (y0l): Likewise.
18218         (j1f): Likewise.
18219         (j1l): Likewise.
18220         (y1f): Likewise.
18221         (y1l): Likewise.
18222         (jnf): Likewise.
18223         (jnl): Likewise.
18224         (ynf): Likewise.
18225         (ynl): Likewise.
18226         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18227         (lgammal_r): Likewise.
18228         (__lgamma_r_finite): New declaration.
18229         (__lgammaf_r_finite): Likewise.
18230         (__lgammal_r_finite): Likewise.
18231         (lgamma): Use __lgamma_r_finite.
18232         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18233         __lgammaf_r_finite.
18234         (lgammal): Condition definition on [__USE_ISOC99].  Use
18235         __lgammal_r_finite.
18236         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18237         __lgamma_r_finite.
18238         (gammaf): Condition definition on [__USE_ISOC99].  Use
18239         __lgammaf_r_finite.
18240         (gammal): Condition definition on [__USE_ISOC99].  Use
18241         __lgammal_r_finite.
18242         (logf): Condition declaration on [__USE_ISOC99].
18243         (logl): Likewise.
18244         (log10f): Likewise.
18245         (log10l): Likewise.
18246         (ldexpf): Likewise.
18247         (ldexpl): Likewise.
18248         (powf): Likewise.
18249         (powl): Likewise.
18250         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18251         __USE_ISOC99].
18252         (remainderf): Condition declaration on [__USE_ISOC99].
18253         (remainderl): Likewise.
18254         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18255         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18256         (scalbl): Likewise.
18257         (sinhf): Condition declaration on [__USE_ISOC99].
18258         (sinhl): Likewise.
18259         (sqrtf): Likewise.
18260         (sqrtl): Likewise.
18262 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18264         * sysdeps/arm/atomic-machine.h
18265         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18266         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18267         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18268         Remove conditional code.
18269         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18270         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18271         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18272         Change conditional to [__ASSEMBLER__].
18273         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18274         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18275         [!__ASSEMBLER__].
18276         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18277         code.
18278         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18279         conditional macro definitions.
18280         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18281         (__arch_compare_and_exchange_val_16_acq): Likewise.
18282         (__arch_compare_and_exchange_val_32_acq): Likewise.
18283         (atomic_exchange_and_add): Likewise.
18284         (atomic_add): Likewise.
18285         (atomic_add_negative): Likewise.
18286         (atomic_add_zero): Likewise.
18287         (atomic_bit_set): Likewise.
18288         (atomic_bit_test_set): Likewise.
18289         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18290         code unconditional.
18291         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18293         * math/test-math-errno.h: New file.
18294         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18295         empty.
18296         (TEST_ERRNO): New macro.
18297         (TEST_EXCEPTIONS): Likewise.
18298         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18299         (TEST_EXCEPTIONS): Likewise.
18300         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18301         * math/test-double.c: Include "test-math-errno.h".
18302         * math/test-float.c: Likewise.
18303         * math/test-ldouble.c: Likewise.
18304         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18305         code unconditional.
18306         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18307         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18308         unconditional.
18309         (test_errno): Only run code if TEST_ERRNO.
18310         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18312 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18314         * nptl/tst-once5.cc: Remove attribution.
18316 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18318         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18319         sqrt, tan, tanh, y0, y1 and yn.
18320         * math/auto-libm-test-out: Regenerated.
18321         * math/libm-test.inc (scalb_test_data): Add more tests.
18322         (scalbn_test_data): Likewise.
18323         (scalbln_test_data): Likewise.
18324         (signbit_test_data): Likewise.
18325         (sin_test_data): Likewise.
18326         (sincos_test_data): Likewise.
18327         (sinh_test_data): Likewise.
18328         (sqrt_test_data): Likewise.
18329         (tan_test_data): Likewise.
18330         (tanh_test_data): Likewise.
18331         (tgamma_test_data): Likewise.
18332         (y0_test_data): Likewise.
18333         (y1_test_data): Likewise.
18334         (yn_test_data): Likewise.
18335         (significand_test_data): Likewise.
18336         * sysdeps/i386/fpu/libm-test-ulps: Update.
18338 2015-11-03  David Kastrup  <dak@gnu.org>
18340         [BZ #18604]
18341         * assert/assert.h (assert): Don't macro-expand failed assertion
18342         expression in error message.
18343         * malloc/malloc.c (assert): Likewise.
18345 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
18347         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
18348         test.
18349         * configure: Regenerated.
18351 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
18353         * math/libm-test.inc (modf_test_data): Add more tests.
18354         (nearbyint_test_data): Likewise.
18355         (nextafter_test_data): Likewise.
18356         (nexttoward_test_data): Likewise.
18357         (pow_test_data): Likewise.
18358         (remainder_test_data): Likewise.
18359         (remquo_test_data): Likewise.
18360         (rint_test_data): Likewise.
18362         [BZ #19201]
18363         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18364         Check for zero remainder in case of large exponents and ensure
18365         correct sign of result in that case.
18366         * math/libm-test.inc (remainder_test_data): Add more tests.
18368         [BZ #6799]
18369         * math/s_nextafter.c: Include <errno.h>.
18370         (__nextafter): Set errno on overflow and underflow.
18371         * math/s_nexttowardf.c: Include <errno.h>.
18372         (__nexttowardf): Set errno on overflow and underflow.
18373         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
18374         (__nextafterl): Set errno on overflow and underflow.
18375         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
18376         (__nexttoward): Set errno on overflow and underflow.
18377         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
18378         (__nexttowardf): Set errno on overflow and underflow.
18379         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
18380         (__nextafterf): Set errno on overflow and underflow.
18381         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
18382         (__nextafterl): Set errno on overflow and underflow.
18383         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
18384         (__nexttoward): Set errno on overflow and underflow.
18385         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
18386         (__nexttowardf): Set errno on overflow and underflow.
18387         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
18388         (__nextafterl): Set errno on overflow and underflow.
18389         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
18390         (__nexttoward): Set errno on overflow and underflow.
18391         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
18392         (__nexttowardf): Set errno on overflow and underflow.
18393         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
18394         (__nexttoward): Set errno on overflow and underflow.
18395         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
18396         (__nexttowardf): Set errno on overflow and underflow.
18397         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
18398         (__nldbl_nexttowardf): Set errno on overflow and underflow.
18399         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
18400         (__nextafterl): Set errno on overflow and underflow.
18401         * math/libm-test.inc (nextafter_test_data): Do not allow errno
18402         setting to be missing on overflow.  Add more tests.
18403         (nexttoward_test_data): Likewise.
18405         * configure.ac (libc_cv_initfini_array): Remove configure test.
18406         * configure: Regenerated.
18408 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
18410         [BZ #19189]
18411         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
18412         non-finite argument handle arguments with negative sign.
18414         * math/libm-test.inc (j0_test_data): Do not test sign of zero
18415         result from infinite argument.
18416         (j1_test_data): Likewise.
18417         (jn_test_data): Likewise.
18418         (y0_test_data): Likewise.
18419         (y1_test_data): Likewise.
18420         (yn_test_data): Likewise.
18422         [BZ #16171]
18423         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18424         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18425         * math/w_remainderf.c (dremf): Define as weak alias of
18426         __remainderf.
18427         * math/w_remainderl.c (dreml): Define as weak alias of
18428         __remainderl.
18429         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18430         __remainder.
18431         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18432         __remainderf.
18433         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18434         __remainderl.
18435         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18436         weak alias of remainderl.
18437         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18438         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18439         alias of __remainder.
18440         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18441         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18442         strong alias of __remainderl.
18443         (dreml): Use long_double_symbol.
18444         * math/Makefile (libm-calls): Remove w_drem.
18445         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18446         (CFLAGS-nldbl-drem.c): Remove variable.
18447         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18448         * math/w_drem.c: Remove file.
18449         * math/w_dremf.c: Likewise.
18450         * math/w_dreml.c: Likewise.
18451         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18452         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18453         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18455         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18456         * sysdeps/i386/configure: Regenerated.
18457         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18458         * sysdeps/x86_64/configure: Regenerated.
18460         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18461         test.
18462         (libc_cv_visibility_attribute): Likewise.
18463         (libc_cv_protected_data): Test unconditionally.
18464         (libc_cv_broken_visibility_attribute): Remove configure test.
18465         (libc_cv_have_sdata_section): Test unconditionally.
18466         * configure: Regenerated.
18468         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18469         * include/scratch_buffer.h: Include <stddef.h> instead of
18470         <libc-internal.h>.
18471         (struct scratch_buffer): Use max_align_t instead of
18472         libc_max_align_t.
18474 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18476         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18477         instead of extend_alloca.  Change control flow to avoid a goto.
18478         Remove assert which is trivially always true.
18480 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18482         [BZ #16068]
18483         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18484         (FE_ALL_EXCEPT_X86): New macro.
18485         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18486         FE_ALL_EXCEPT.  Ensure precision control is included in
18487         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18488         handle "denormal operand exception" and clear FZ and DAZ bits.
18489         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18490         (FE_ALL_EXCEPT_X86): New macro.
18491         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18492         FE_ALL_EXCEPT.  Ensure precision control is included in
18493         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18494         handle "denormal operand exception" and clear FZ and DAZ bits.
18495         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18496         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18497         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18498         test-fenv-x87 and test-fenv-sse-2.
18499         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18501         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18502         * math/test-double.h (BUILD_COMPLEX): New macro.
18503         * math/test-float.h (BUILD_COMPLEX): Likewise.
18504         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18506         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18507         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18508         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18510         instead of DBL_DENORM_MIN in comment.
18511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18512         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18513         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18514         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18516         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18518 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18520         [BZ# 19048]
18521         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18522         attached_threads member.
18523         (main_arena): Initialize attached_threads.
18524         * malloc/arena.c (list_lock): Update comment.
18525         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18526         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18527         (deattach_arena): New function.
18528         (_int_new_arena): Initialize arena reference count and deattach
18529         replaced arena.
18530         (get_free_list, reused_arena): Update reference count and deattach
18531         replaced arena.
18532         (arena_thread_freeres): Update arena reference count and only put
18533         unreferenced arenas on the free list.
18535 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18537         [BZ #19181]
18538         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18539         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18540         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18541         * math/test-fenv-clear-main.c: New file.
18542         * math/test-fenv-clear.c: Likewise.
18543         * math/Makefile (tests): Add test-fenv-clear.
18544         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18545         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18546         test-fenv-clear-sse.
18547         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18549         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18550         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18551         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18553 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18555         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18556         static libc.
18558 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18560         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18561         test.
18562         * sysdeps/i386/configure: Regenerated.
18563         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18564         test.
18565         * sysdeps/x86_64/configure: Regenerated.
18566         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18568         memset-avx2 unconditionally instead of conditionally on
18569         [$(config-cflags-avx2) = yes].
18570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18571         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18572         unconditional.
18573         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18574         * sysdeps/x86_64/multiarch/memset_chk.S
18575         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18576         to [IS_IN (libc) && SHARED].
18578 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18580         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18581         configure test.
18582         * sysdeps/arm/configure: Regenerated.
18583         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18584         Define variable if not already defined.
18586         [BZ #17404]
18587         * sysdeps/mips/atomic-machine.h
18588         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18589         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18590         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18592         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18593         unconditional.
18594         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18595         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18596         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18597         unconditional.
18598         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18599         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18600         unconditional.
18601         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18602         * stdlib/setenv.c
18603         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18604         code unconditional.
18605         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18606         Remove conditional code.
18607         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18608         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18609         unconditional.
18610         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18611         code.
18612         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18613         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18614         unconditional.
18615         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18616         code.
18617         * sysdeps/ieee754/ldbl-128/k_tanl.c
18618         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18619         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18620         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18621         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18622         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18623         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18624         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18625         unconditional.
18626         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18627         code.
18628         * sysdeps/ieee754/ldbl-96/k_tanl.c
18629         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18630         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18632         * nptl/tst-initializers1-c11.c: New file.
18633         * nptl/tst-initializers1-gnu11.c: Likewise.
18634         * nptl/Makefile (tests): Add these new tests.
18635         (CFLAGS-tst-initializers1-c11.c): New variable.
18636         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18638         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18639         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18640         instead of -std=gnu99.
18641         * configure.ac (systemtap): Test with -std=gnu11 instead of
18642         -std=gnu99.
18643         * configure: Regenerated.
18644         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18645         in compilation command in comment.
18647         * sysdeps/nptl/configure.ac: Remove file.
18648         * sysdeps/nptl/configure: Remove generated file.
18649         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18650         * configure: Regenerated.
18651         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18652         * config.make.in (have-forced-unwind): Remove variable.
18653         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18654         unconditional.
18655         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18656         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18657         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18658         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18659         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18660         unconditional.
18662 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18664         [BZ #19174]
18665         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18666         .skip_lock_out_of_tbegin_retries.
18667         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18668         (__lll_lock_elision): Likewise, and respect a value of
18669         try_tbegin <= 0.
18671 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18673         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18674         statement.
18676 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18678         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18679         variable.
18680         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18681         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18683         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18684         of -std=c1x -D_ISOC11_SOURCE.
18686         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18687         * configure: Regenerated.
18688         * manual/install.texi (Tools for Compilation): Document
18689         requirement for GCC 4.7 or later.
18690         * INSTALL: Regenerated.
18692 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18694         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18695         on CNT to a conditional jump to 'puntdata'.
18697 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18699         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18700         (libc_cv_gcc_tls_model_attr): Likewise.
18701         * configure: Regenerated.
18703         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18704         * configure: Regenerated.
18705         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18707 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18709         * configure.ac (old_glibc_headers): Remove configure test.
18710         * configure: Regenerated.
18711         * config.make.in (old-glibc-headers): Remove variable.
18712         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18713         (install): Remove dependency on remove-old-headers.
18714         (headers2_0): Remove variable.
18715         (remove-old-headers): Remove rule.
18717         * configure.ac (libc_cv_dot_text): Remove configure test.
18718         (libc_cv_asm_set_directive): Use .text instead of
18719         ${libc_cv_dot_text} in configure test.
18720         * configure: Regenerated.
18722 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18724         [BZ #19168]
18725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18727 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18729         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18730         not support static linking.
18731         * configure: Regenerate.
18733 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18735         * math/libm-test.inc (check_float_internal): Do not special-case
18736         errors up to 0.5 ulp.
18738         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18739         log2.
18740         * math/auto-libm-test-out: Regenerated.
18741         * math/libm-test.inc (MAX_EXP): New macro.
18742         (ilogb_test_data): Add more tests.
18743         (isfinite_test_data): Likewise.
18744         (isgreater_test_data): Likewise.
18745         (isgreaterequal_test_data): Likewise.
18746         (isinf_test_data): Likewise.
18747         (isless_test_data): Likewise.
18748         (islessequal_test_data): Likewise.
18749         (islessgreater_test_data): Likewise.
18750         (isnan_test_data): Likewise.
18751         (isnormal_test_data): Likewise.
18752         (issignaling_test_data): Likewise.
18753         (isunordered_test_data): Likewise.
18754         (j0_test_data): Likewise.
18755         (j1_test_data): Likewise.
18756         (jn_test_data): Likewise.
18757         (lgamma_test_data): Likewise.
18758         (log_test_data): Likewise.
18759         (log10_test_data): Likewise.
18760         (log1p_test_data): Likewise.
18761         (log2_test_data): Likewise.
18762         (logb_test_data): Likewise.
18763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18765         [BZ #18611]
18766         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18767         avoid excess range and precision on underflow.
18768         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18769         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18770         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18771         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18772         underflow.
18773         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18775         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18776         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18777         * math/auto-libm-test-in: Do not allow missing errno setting for
18778         tests of j1 and jn.
18779         * math/auto-libm-test-out: Regenerated.
18781 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18783         [BZ #15491]
18784         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18785         floating-point environment instead of clearing all exceptions.
18786         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18787         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18788         merging in "invalid" exceptions from frndint.
18789         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18790         * math/test-nearbyint-except.c: New file.
18791         * math/Makefile (tests): Add test-nearbyint-except.
18793 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18795         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18797         * sysdeps/tile/libm-test-ulps: Regenerated.
18799 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18802         (__NR_sync_file_range2): Assume it is always defined.
18803         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18804         (__NR_sync_file_range): Assume it is always defined.
18806 2015-10-22  Andreas Schwab  <schwab@suse.de>
18808         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18809         INTERNAL_SYSCALL_ERRNO.
18810         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18811         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18812         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18813         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18814         Likewise.
18815         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18817 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18819         * io/tst-fcntl.c (fd): New static variable.
18820         (do_prepare): Open temporary file here....
18821         (do_test): ...not here.
18823         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18825 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18827         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18828         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18829         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18830         Moved before "#ifdef __ASSEMBLER__".
18832 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #19156]
18835         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18836         arguments very close to 0.
18838 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18840         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18841         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18843 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18845         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18846         New.  Defined for GCC 5 and above when not compiling for
18847         profiling.
18848         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18850         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18851         Renamed to ...
18852         (CFLAGS-epoll_pwait.o): This.
18853         (CFLAGS-mmap.c): Renamed to ...
18854         (CFLAGS-mmap.o): This.
18855         (CFLAGS-mmap64.c): Renamed to ...
18856         (CFLAGS-mmap64.o): This.
18857         (CFLAGS-epoll_pwait.os): New.
18858         (CFLAGS-mmap.os): Likewise.
18859         (CFLAGS-mmap64.os): Likewise.
18860         (CFLAGS-semtimedop.os): Likewise.
18861         (CFLAGS-semtimedop.c): Renamed to ...
18862         (CFLAGS-semtimedop.o): This.
18864 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18866         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18867         warning message.
18869 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18871         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18872         * Makefile ($(objpfx)c++-types-check.out): Filter out
18873         $(+gccwarn-c) instead of -Wstrict-prototypes.
18875         * io/fts.c (fts_open): Convert to prototype-style function
18876         definition.
18877         * malloc/mcheck.c (mcheck): Likewise.
18878         (mcheck_pedantic): Likewise.
18879         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18880         internal_function.
18881         (re_search_internal): Likewise.
18882         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18883         prototype-style function definition.
18884         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18885         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18886         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18887         (xdr_utmpptr): Likewise.
18888         (xdr_utmparr): Likewise.
18889         (xdr_utmpidle): Likewise.
18890         (xdr_utmpidleptr): Likewise.
18891         (xdr_utmpidlearr): Likewise.
18893         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18894         log, log10 and log2.
18895         * math/auto-libm-test-out: Regenerated.
18896         * math/libm-test.inc (fmod_test_data): Add more tests.
18897         (fpclassify_test_data): Likewise.
18898         (frexp_test_data): Likewise.
18899         (hypot_test_data): Likewise.
18900         (ilogb_test_data): Likewise.
18902 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18904         * debug/fortify_fail.c (__fortify_fail): Convert to
18905         prototype-style function definition.  Use internal_function.
18906         * libio/genops.c (save_for_backup): Convert to prototype-style
18907         function definition.
18908         * libio/wgenops.c (save_for_wbackup): Likewise.
18909         * login/grantpt.c (grantpt): Likewise.
18910         * login/ptsname.c (ptsname): Likewise.
18911         (__ptsname_r): Likewise.
18912         * login/unlockpt.c (unlockpt): Likewise.
18913         * mach/msgserver.c (__mach_msg_server): Likewise.
18914         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18915         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18916         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18917         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18918         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18919         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18920         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18921         Likewise.
18922         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18923         internal_function.
18924         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18925         prototype-style function definition.
18926         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18927         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18928         (__pthread_create_2_0): Likewise.
18929         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18930         * nptl/register-atfork.c (__register_atfork): Likewise.
18931         * posix/glob.c (glob): Likewise.
18932         * posix/regcomp.c (re_comp): Likewise.
18933         * posix/regexec.c (re_exec): Likewise.
18934         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18935         [!__STDC__]: Remove conditional code.
18936         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18937         [!__STDC__]: Remove conditional code.
18938         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18939         [!__STDC__]: Remove conditional code.
18940         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18941         [!__STDC__]: Remove conditional code.
18942         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18943         [!__STDC__]: Remove conditional code.
18944         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18945         [!__STDC__]: Remove conditional code.
18946         * stdlib/mul.c [__STDC__]: Make code unconditional.
18947         [!__STDC__]: Remove conditional code.
18948         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18949         [!__STDC__]: Remove conditional code.
18950         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18951         [!__STDC__]: Remove conditional code.
18952         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18953         function definition.
18954         (STRTOF): Likewise.
18955         * stdlib/strtod_l.c (__STRTOF): Likewise.
18956         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18957         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18958         (__strtol_l): Likewise.
18959         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18960         [!__STDC__]: Remove conditional code.
18961         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18962         definition.
18963         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18964         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18965         type.
18966         (__strcasecmp): Convert to prototype-style function definition.
18967         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18968         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18969         type.
18970         (__strncasecmp): Convert to prototype-style function definition.
18971         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18972         * sunrpc/xdr.c (xdr_union): Likewise.
18973         * sunrpc/xdr_array.c (xdr_array): Likewise.
18974         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18975         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18976         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18977         Likewise.
18978         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18979         Likewise.
18980         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18981         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18982         Likewise.
18983         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18984         (LOCALE_PARAM_PROTO): Likewise.
18985         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18986         argument type.
18987         (ut_argument_spec): Remove macro.
18988         (ut_argument_spec_iso): Rename to ut_argument_spec.
18989         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18990         prototype-style function definition.
18991         (memcpy_uppcase): Likewise.
18992         (__strftime_internal): Likewise.
18993         (my_strftime): Likewise.
18994         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18995         (LOCALE_PARAM_DECL): Likewise.
18996         [_LIBC] (LOCALE_PARAM): Include argument type.
18997         (__strptime_internal): Convert to prototype-style function
18998         definition.
18999         (strptime): Likewise.
19000         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19001         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19002         type.
19003         (__wcscasecmp): Convert to prototype-style function definition.
19004         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
19005         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19006         type.
19007         (__wcsncasecmp): Convert to prototype-style function definition.
19009         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19010         function definition.
19011         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19012         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19013         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19014         * elf/dl-minimal.c (_itoa): Likewise.
19015         * hurd/hurdmalloc.c (malloc): Likewise.
19016         (free): Likewise.
19017         (realloc): Likewise.
19018         * inet/inet6_option.c (inet6_option_space): Likewise.
19019         (inet6_option_init): Likewise.
19020         (inet6_option_append): Likewise.
19021         (inet6_option_alloc): Likewise.
19022         (inet6_option_next): Likewise.
19023         (inet6_option_find): Likewise.
19024         * io/ftw.c (FTW_NAME): Likewise.
19025         (NFTW_NAME): Likewise.
19026         (NFTW_NEW_NAME): Likewise.
19027         (NFTW_OLD_NAME): Likewise.
19028         * libio/iofwide.c (_IO_fwide): Likewise.
19029         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19030         (_IO_str_init_static): Likewise.
19031         (_IO_str_init_readonly): Likewise.
19032         (_IO_str_overflow): Likewise.
19033         (_IO_str_underflow): Likewise.
19034         (_IO_str_count): Likewise.
19035         (_IO_str_seekoff): Likewise.
19036         (_IO_str_pbackfail): Likewise.
19037         (_IO_str_finish): Likewise.
19038         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19039         (_IO_wstr_overflow): Likewise.
19040         (_IO_wstr_underflow): Likewise.
19041         (_IO_wstr_count): Likewise.
19042         (_IO_wstr_seekoff): Likewise.
19043         (_IO_wstr_pbackfail): Likewise.
19044         (_IO_wstr_finish): Likewise.
19045         * locale/programs/localedef.c (normalize_codeset): Likewise.
19046         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19047         (add_locales_to_archive): Likewise.
19048         (delete_locales_from_archive): Likewise.
19049         * malloc/malloc.c (__libc_mallinfo): Likewise.
19050         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19051         * misc/tsearch.c (__tfind): Likewise.
19052         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19053         * nptl/pthread_attr_getdetachstate.c
19054         (__pthread_attr_getdetachstate): Likewise.
19055         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19056         Likewise.
19057         * nptl/pthread_attr_getinheritsched.c
19058         (__pthread_attr_getinheritsched): Likewise.
19059         * nptl/pthread_attr_getschedparam.c
19060         (__pthread_attr_getschedparam): Likewise.
19061         * nptl/pthread_attr_getschedpolicy.c
19062         (__pthread_attr_getschedpolicy): Likewise.
19063         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19064         Likewise.
19065         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19066         Likewise.
19067         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19068         Likewise.
19069         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19070         Likewise.
19071         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19072         (__pthread_attr_init_2_0): Likewise.
19073         * nptl/pthread_attr_setdetachstate.c
19074         (__pthread_attr_setdetachstate): Likewise.
19075         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19076         Likewise.
19077         * nptl/pthread_attr_setinheritsched.c
19078         (__pthread_attr_setinheritsched): Likewise.
19079         * nptl/pthread_attr_setschedparam.c
19080         (__pthread_attr_setschedparam): Likewise.
19081         * nptl/pthread_attr_setschedpolicy.c
19082         (__pthread_attr_setschedpolicy): Likewise.
19083         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19084         Likewise.
19085         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19086         Likewise.
19087         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19088         Likewise.
19089         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19090         Likewise.
19091         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19092         Likewise.
19093         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19094         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19095         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19096         use internal_function.
19097         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19098         prototype-style function definition.
19099         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19100         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19101         internal_function.
19102         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19103         Convert to prototype-style function definition.
19104         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19105         Likewise.
19106         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19107         Likewise.
19108         (__pthread_mutex_unlock): Likewise.
19109         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19110         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19111         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19112         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19113         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19114         * nss/makedb.c (process_input): Likewise.
19115         * posix/fnmatch.c (__strchrnul): Likewise.
19116         (__wcschrnul): Likewise.
19117         (fnmatch): Likewise.
19118         * posix/fnmatch_loop.c (FCT): Likewise.
19119         * posix/glob.c (globfree): Likewise.
19120         (__glob_pattern_type): Likewise.
19121         (__glob_pattern_p): Likewise.
19122         * posix/regcomp.c (re_compile_pattern): Likewise.
19123         (re_set_syntax): Likewise.
19124         (re_compile_fastmap): Likewise.
19125         (regcomp): Likewise.
19126         (regerror): Likewise.
19127         (regfree): Likewise.
19128         * posix/regexec.c (regexec): Likewise.
19129         (re_match): Likewise.
19130         (re_search): Likewise.
19131         (re_match_2): Likewise.
19132         (re_search_2): Likewise.
19133         (re_search_stub): Likewise.  Use internal_function
19134         (re_copy_regs): Likewise.
19135         (re_set_registers): Convert to prototype-style function
19136         definition.
19137         (prune_impossible_nodes): Likewise.  Use internal_function.
19138         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19139         prototype-style function definition.
19140         (inet_net_pton_ipv4): Likewise.
19141         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19142         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19143         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19144         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19145         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19146         Make variadic.
19147         * time/strptime_l.c (localtime_r): Convert to prototype-style
19148         function definition.
19149         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19150         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19151         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19152         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19154         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19155         definition.
19156         (_ufc_doit_r): Likewise.
19157         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19158         (_ufc_output_conversion_r): Likewise.
19159         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19160         * inet/rcmd.c (rcmd_af): Likewise.
19161         (rcmd): Likewise.
19162         (ruserok_af): Likewise.
19163         (ruserok): Likewise.
19164         (ruserok2_sa): Likewise.
19165         (ruserok_sa): Likewise.
19166         (iruserok_af): Likewise.
19167         (iruserok): Likewise.
19168         (__ivaliduser): Likewise.
19169         (__validuser2_sa): Likewise.
19170         * inet/rexec.c (rexec_af): Likewise.
19171         (rexec): Likewise.
19172         * inet/ruserpass.c (ruserpass): Likewise.
19173         * locale/programs/xmalloc.c (xcalloc): Likewise.
19174         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19175         * math/w_drem.c (__drem): Likewise.
19176         * math/w_dremf.c (__dremf): Likewise.
19177         * math/w_dreml.c (__dreml): Likewise.
19178         * misc/daemon.c (daemon): Likewise.
19179         * resolv/res_debug.c (p_fqnname): Likewise.
19180         * stdlib/div.c (div): Likewise.
19181         * string/memcmp.c (memcmp_bytes): Likewise.
19182         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19183         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19185         * crypt/cert.c (main): Convert to prototype-style function
19186         definition.
19187         * io/pipe.c (__pipe): Likewise.
19188         * io/pipe2.c (__pipe2): Likewise.
19189         * misc/futimesat.c (futimesat): Likewise.
19190         * misc/utimes.c (__utimes): Likewise.
19191         * posix/execve.c (__execve): Likewise.
19192         * posix/execvp.c (execvp): Likewise.
19193         * posix/execvpe.c (__execvpe): Likewise.
19194         * posix/fexecve.c (fexecve): Likewise.
19195         * socket/socketpair.c (socketpair): Likewise.
19196         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19197         * stdlib/erand48.c (erand48): Likewise.
19198         * stdlib/erand48_r.c (__erand48_r): Likewise.
19199         * stdlib/jrand48.c (jrand48): Likewise.
19200         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19201         * stdlib/lcong48.c (lcong48): Likewise.
19202         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19203         * stdlib/nrand48.c (nrand48): Likewise.
19204         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19205         * stdlib/seed48.c (seed48): Likewise.
19206         * stdlib/seed48_r.c (__seed48_r): Likewise.
19207         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19208         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19209         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19211 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19213         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19214         * configure: Regenerated.
19215         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19216         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19217         unconditional.
19218         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19219         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19220         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19221         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19222         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19223         unconditional.
19224         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19226         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19227         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19229         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19230         function definition.
19231         * crypt/crypt_util.c (__encrypt_r): Likewise.
19232         * libio/genops.c (_IO_no_init): Likewise.
19233         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19234         (_IO_old_fopencookie): Likewise.
19235         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19236         * libio/iogetline.c (_IO_getline): Likewise.
19237         (_IO_getline_info): Likewise.
19238         * libio/iogetwline.c (_IO_getwline): Likewise.
19239         (_IO_getwline_info): Likewise.
19240         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19241         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19242         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19243         (find_entry): Likewise.
19244         (iterate_table): Likewise.
19245         (lookup): Likewise.
19246         * login/forkpty.c (forkpty): Likewise.
19247         * misc/hsearch_r.c (__hsearch_r): Likewise.
19248         * misc/select.c (__select): Likewise.
19249         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19250         Likewise.
19251         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19252         Likewise.
19253         * nptl/old_pthread_cond_timedwait.c
19254         (__pthread_cond_timedwait_2_0): Likewise.
19255         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19256         * nptl/pthread_barrierattr_getpshared.c
19257         (pthread_barrierattr_getpshared): Likewise.
19258         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19259         Likewise.
19260         * nptl/pthread_mutex_setprioceiling.c
19261         (pthread_mutex_setprioceiling): Likewise.
19262         * nptl/pthread_mutexattr_getprioceiling.c
19263         (pthread_mutexattr_getprioceiling): Likewise.
19264         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19265         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19266         Likewise.
19267         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19268         Likewise.
19269         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19270         Likewise.
19271         * socket/recvfrom.c (__recvfrom): Likewise.
19272         * socket/sendto.c (__sendto): Likewise.
19273         * socket/setsockopt.c (__setsockopt): Likewise.
19274         * stdio-common/_itoa.c (_itoa): Likewise.
19275         * stdio-common/_itowa.c (_itowa): Likewise.
19276         * stdio-common/reg-printf.c (__register_printf_specifier):
19277         Likewise.
19278         (__register_printf_function): Likewise.
19279         * stdio-common/tempname.c (__path_search): Likewise.
19280         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19281         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19282         * stdlib/random_r.c (__initstate_r): Likewise.
19283         * stdlib/setenv.c (__add_to_environ): Likewise.
19284         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19285         * streams/getpmsg.c (getpmsg): Likewise.
19286         * streams/putmsg.c (putmsg): Likewise.
19287         * streams/putpmsg.c (putpmsg): Likewise.
19288         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19289         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19290         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19291         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19292         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19293         * sunrpc/svc_udp.c (cache_get): Likewise.
19294         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19295         * sysdeps/mach/hurd/getcwd.c
19296         (__canonicalize_directory_name_internal): Likewise.
19297         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19298         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19299         * sysdeps/mach/hurd/select.c (__select): Likewise.
19300         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19301         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19302         * sysdeps/sparc/nptl/pthread_barrier_init.c
19303         (__pthread_barrier_init): Likewise.
19304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19305         (__pthread_cond_timedwait): Likewise.
19306         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19307         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19308         Likewise.
19309         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19310         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19311         Likewise.
19312         * sysvipc/semtimedop.c (semtimedop): Likewise.
19313         * time/setitimer.c (__setitimer): Likewise.
19314         * time/strftime_l.c (emacs_strftime): Likewise.
19316 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19318         * config.make.in (have-ssp): Delete.
19319         (stack-protector): New variable.
19320         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19321         cache test for -fstack-protector-strong.  Export stack_protector to
19322         the best ssp flag.
19323         * configure: Regenerated.
19324         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19325         * nscd/Makefile (CFLAGS-nscd): Likewise.
19326         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19328 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19330         [BZ #19122]
19331         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19332         attribute_hidden.
19334 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19336         [BZ #18743]
19337         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19338         code to...
19339         (ELIDE_LOCK): ...here.
19340         (__get_new_count): New function with part of the code from
19341         __elide_lock that updates the value of adapt_count after a
19342         transaction abort.
19343         (__elided_trylock): Moved this code to...
19344         (ELIDE_TRYLOCK): ...here.
19346 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19348         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
19349         * configure: Regenerate.
19350         * INSTALL: Regenerate.
19351         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
19352         and tweak grammar.
19354 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
19356         * login/programs/pt_chown.c: Include signal.h
19357         (main): Clear any signal mask from the parent process.
19359 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19361         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
19362         * configure: Regenerated.
19363         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
19364         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
19365         $(gnu89-inline-CFLAGS).
19367         * configure.ac (libc_cv_asm_weak_directive): Remove configure
19368         test.
19369         (libc_cv_asm_weakext_directive): Likewise.
19370         * configure: Regenerated.
19371         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
19372         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
19373         * include/libc-symbols.h
19374         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
19375         #error.
19376         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
19377         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
19379         * sysdeps/arm/backtrace.c (__backtrace): Convert to
19380         prototype-style function definition.
19381         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19382         * sysdeps/i386/ffs.c (__ffs): Likewise.
19383         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19384         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
19385         Likewise.
19386         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19387         Likewise.
19388         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19389         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19390         Likewise.
19391         * sysdeps/m68k/ffs.c (__ffs): Likewise.
19392         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
19393         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
19394         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
19395         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
19396         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
19397         * sysdeps/mach/hurd/access.c (__access): Likewise.
19398         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
19399         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
19400         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19401         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
19402         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
19403         (cthread_getspecific): Likewise.
19404         (cthread_setspecific): Likewise.
19405         (__libc_getspecific): Likewise.
19406         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
19407         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
19408         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
19409         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
19410         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
19411         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
19412         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
19413         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
19414         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
19415         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
19416         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
19417         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
19418         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
19419         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
19420         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
19421         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19422         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19423         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19424         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19425         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19426         * sysdeps/mach/hurd/link.c (__link): Likewise.
19427         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19428         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19429         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19430         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19431         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19432         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19433         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19434         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19435         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19436         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19437         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19438         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19439         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19440         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19441         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19442         * sysdeps/mach/hurd/send.c (__send): Likewise.
19443         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19444         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19445         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19446         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19447         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19448         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19449         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19450         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19451         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19452         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19453         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19454         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19455         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19456         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19457         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19458         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19459         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19460         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19461         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19462         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19463         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19464         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19465         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19466         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19467         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19468         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19469         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19470         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19471         * sysdeps/posix/alarm.c (alarm): Likewise.
19472         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19473         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19474         * sysdeps/posix/dup.c (__dup): Likewise.
19475         * sysdeps/posix/dup2.c (__dup2): Likewise.
19476         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19477         (main): Likewise.
19478         * sysdeps/posix/flock.c (__flock): Likewise.
19479         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19480         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19481         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19482         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19483         * sysdeps/posix/isatty.c (__isatty): Likewise.
19484         * sysdeps/posix/killpg.c (killpg): Likewise.
19485         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19486         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19487         * sysdeps/posix/raise.c (raise): Likewise.
19488         * sysdeps/posix/remove.c (remove): Likewise.
19489         * sysdeps/posix/rename.c (rename): Likewise.
19490         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19491         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19492         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19493         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19494         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19495         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19496         * sysdeps/posix/sigset.c (sigset): Likewise.
19497         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19498         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19499         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19500         * sysdeps/posix/time.c (time): Likewise.
19501         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19502         (ttyname): Likewise.
19503         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19504         * sysdeps/posix/utime.c (utime): Likewise.
19505         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19506         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19507         Likewise.
19508         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19509         (pthread_spin_trylock): Likewise.
19510         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19511         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19512         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19513         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19514         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19515         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19516         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19517         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19518         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19519         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19520         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19521         * sysdeps/s390/ffs.c (__ffs): Likewise.
19522         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19523         Likewise.
19524         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19525         Likewise.
19526         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19527         Likewise.
19528         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19529         (pthread_barrier_destroy): Likewise.
19530         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19531         (__pthread_barrier_wait): Likewise.
19532         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19533         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19534         (__pthread_barrier_wait): Likewise.
19535         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19536         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19537         (memcmp_not_common_alignment): Likewise.
19538         (MEMCMP): Likewise.
19539         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19540         (_wordcopy_fwd_dest_aligned): Likewise.
19541         (_wordcopy_bwd_aligned): Likewise.
19542         (_wordcopy_bwd_dest_aligned): Likewise.
19543         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19544         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19545         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19546         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19547         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19548         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19549         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19550         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19551         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19552         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19553         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19554         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19555         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19556         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19557         * sysdeps/unix/stime.c (stime): Likewise.
19558         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19559         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19560         Likewise.  Use internal_function.
19561         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19562         Convert to prototype-style function definition.
19563         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19564         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19565         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19566         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19567         Likewise.  Use internal_function.
19568         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19569         prototype-style function definition
19570         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19571         Likewise.
19572         (__getlogin_r): Likewise.
19573         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19574         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19575         (__pthread_cond_broadcast): Likewise.
19576         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19577         (__pthread_cond_destroy): Likewise.
19578         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19579         (__pthread_cond_init): Likewise.
19580         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19581         (__pthread_cond_signal): Likewise.
19582         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19583         (__pthread_cond_wait): Likewise.
19584         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19585         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19586         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19587         Likewise.
19588         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19589         Likewise.
19590         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19591         Likewise.
19592         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19593         Likewise.
19594         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19596         (__ftruncate64): Likewise.
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19598         (truncate64): Likewise.
19599         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19600         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19601         (pthread_getcpuclockid): Likewise.
19602         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19603         Likewise.
19604         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19605         Likewise.
19606         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19607         Likewise.
19608         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19609         Likewise.
19610         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19611         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19612         (__libc_sigaction): Likewise.
19613         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19614         Likewise.
19615         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19616         (__sigprocmask): Likewise.
19617         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19618         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19619         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19620         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19621         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19622         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19623         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19624         Likewise.
19625         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19626         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19627         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19628         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19629         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19630         Likewise.
19631         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19632         (__sigprocmask): Likewise.
19633         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19634         (cfgetispeed): Likewise.
19635         (cfsetospeed): Likewise.
19636         (cfsetispeed): Likewise.
19637         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19638         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19639         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19640         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19641         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19642         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19643         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19644         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19645         Likewise.
19646         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19647         Likewise.
19648         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19649         Likewise.
19650         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19651         Likewise.
19652         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19654 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19656         sunrpc: Rewrite with explicit TLS access using __thread.
19657         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19658         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19659         directly.
19660         (__rpc_thread_variables): Access thread_rpc_vars directly.
19661         Eliminate redundant assignment of the tvp variable.
19663 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19665         malloc: Rewrite with explicit TLS access using __thread.
19666         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19667         (tsd_setspecific, tsd_getspecific): Remove.
19668         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19669         (tsd_setspecific, tsd_getspecific): Likewise.
19670         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19671         (tsd_setspecific, tsd_getspecific): Likewise.
19672         * malloc/arena.c (thread_arena): New TLS variable.
19673         (arena_key): Remove variable.
19674         (arena_get): Use thread_arena.
19675         (arena_lookup): Remove macro.
19676         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19677         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19678         (_int_new_arena, get_free_list, reused_arena)
19679         (arena_thread_freeres): Use thread_arena.
19680         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19681         tsd_getspecific, tsd_setspecific from safety annotations.
19682         (Allocating Cleared Space): Remove arena_lookup from safety
19683         annotations.
19685 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19687         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19688         struct scratch_buffer instead of extend_alloca.
19690 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19692         * sysdeps/unix/sysv/linux/kernel-features.h
19693         (__ASSUME_SOCK_CLOEXEC): Remove.
19694         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19695         (__have_paccept): Remove unused macro.
19696         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19697         * misc/syslog.c (openlog_internal): Remove fallback code for
19698         !__ASSUME_SOCK_CLOEXEC.
19699         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19700         missing SOCK_CLOEXEC.
19701         * nscd/connections.c (have_sock_cloexec): Remove definition.
19702         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19703         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19704         !__ASSUME_SOCK_CLOEXEC.
19705         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19706         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19707         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19708         definition.
19709         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19710         code for !__ASSUME_SOCK_CLOEXEC.
19712 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19714         [BZ #18982]
19715         * manual/stdio.texi (Variable Arguments Output): Add portability
19716         note, explaining that vfprintf clobbers the va_list pointer.
19718 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19720         * math/libm-test.inc (fabs_test_data): Add more tests.
19721         (fdim_test_data): Likewise.
19722         (fma_test_data): Likewise.
19723         (fmax_test_data): Likewise.
19724         (fmin_test_data): Likewise.
19725         (fmod_test_data): Likewise.
19727 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19729         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19730         data.
19732 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19734         * math/libm-test.inc (ceil_test_data): Add more tests and more
19735         expectations for "inexact".
19736         (floor_test_data): Add more tests.
19737         (round_test_data): Likewise.
19738         (trunc_test_data): Likewise.
19740         * crypt/cert.c (good_bye): Convert to prototype-style function
19741         definition.
19742         (get8): Likewise.
19743         (put8): Likewise.
19744         * crypt/crypt-entry.c (crypt): Likewise.
19745         (__fcrypt): Likewise.
19746         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19747         (_ufc_set_bits): Likewise.
19748         (_ufc_clearmem): Likewise.
19749         (__init_des_r): Likewise.
19750         (shuffle_sb): Likewise.
19751         (shuffle_sb): Likewise.
19752         (_ufc_setup_salt_r): Likewise.
19753         (_ufc_mk_keytab_r): Likewise.
19754         (_ufc_dofinalperm_r): Likewise.
19755         (encrypt): Likewise.
19756         (__setkey_r): Likewise.
19757         (setkey): Likewise.
19758         * crypt/md5.c (md5_init_ctx): Likewise.
19759         (md5_read_ctx): Likewise.
19760         (md5_finish_ctx): Likewise.
19761         (md5_stream): Likewise.
19762         (md5_buffer): Likewise.
19763         (md5_process_bytes): Likewise.
19764         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19765         (__sha256_finish_ctx): Likewise.
19766         (__sha256_process_bytes): Likewise.
19767         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19768         (__sha512_finish_ctx): Likewise.
19769         (__sha512_process_bytes): Likewise.
19770         * ctype/isctype.c (__isctype): Likewise.
19771         * debug/backtrace.c (__backtrace): Likewise.
19772         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19773         * debug/fgets_chk.c (__fgets_chk): Likewise.
19774         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19775         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19776         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19777         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19778         * debug/memset_chk.c (__memset_chk): Likewise.
19779         * debug/strcat_chk.c (__strcat_chk): Likewise.
19780         * debug/strncat_chk.c (__strncat_chk): Likewise.
19781         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19782         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19783         * dirent/dirfd.c (dirfd): Likewise.
19784         * dirent/getdents.c (__getdirentries): Likewise.
19785         * dirent/getdents64.c (getdirentries64): Likewise.
19786         * dirent/rewinddir.c (__rewinddir): Likewise.
19787         * dirent/seekdir.c (seekdir): Likewise.
19788         * dirent/telldir.c (telldir): Likewise.
19789         * elf/sln.c (makesymlinks): Likewise.
19790         (makesymlink): Likewise.
19791         * gmon/gmon.c (__moncontrol): Likewise.
19792         (__monstartup): Likewise.
19793         (write_hist): Likewise.
19794         (write_call_graph): Likewise.
19795         (write_bb_counts): Likewise.
19796         * grp/setgroups.c (setgroups): Likewise.
19797         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19798         * inet/inet_net.c (inet_network): Likewise.
19799         * inet/inet_netof.c (inet_netof): Likewise.
19800         * inet/rcmd.c (rresvport_af): Likewise.
19801         (rresvport): Likewise.
19802         * io/access.c (__access): Likewise.
19803         * io/chdir.c (__chdir): Likewise.
19804         * io/chmod.c (__chmod): Likewise.
19805         * io/chown.c (__chown): Likewise.
19806         * io/close.c (__close): Likewise.
19807         * io/creat.c (creat): Likewise.
19808         * io/creat64.c (creat64): Likewise.
19809         * io/dup.c (__dup): Likewise.
19810         * io/dup2.c (__dup2): Likewise.
19811         * io/dup3.c (__dup3): Likewise.
19812         * io/euidaccess.c (__euidaccess): Likewise.
19813         * io/faccessat.c (faccessat): Likewise.
19814         * io/fchmod.c (__fchmod): Likewise.
19815         * io/fchmodat.c (fchmodat): Likewise.
19816         * io/fchown.c (__fchown): Likewise.
19817         * io/fchownat.c (fchownat): Likewise.
19818         * io/fcntl.c (__fcntl): Likewise.
19819         * io/flock.c (__flock): Likewise.
19820         * io/fts.c (fts_load): Likewise.
19821         (fts_close): Likewise.
19822         (fts_read): Likewise.
19823         (fts_set): Likewise.
19824         (fts_children): Likewise.
19825         (fts_build): Likewise.
19826         (fts_stat): Likewise.
19827         (fts_sort): Likewise.
19828         (fts_alloc): Likewise.
19829         (fts_lfree): Likewise.
19830         (fts_palloc): Likewise.
19831         (fts_padjust): Likewise.
19832         (fts_maxarglen): Likewise.
19833         (fts_safe_changedir): Likewise.
19834         * io/getwd.c (getwd): Likewise.
19835         * io/isatty.c (__isatty): Likewise.
19836         * io/lchown.c (__lchown): Likewise.
19837         * io/link.c (__link): Likewise.
19838         * io/linkat.c (linkat): Likewise.
19839         * io/lseek.c (__libc_lseek): Likewise.
19840         * io/mkdir.c (__mkdir): Likewise.
19841         * io/mkdirat.c (mkdirat): Likewise.
19842         * io/mkfifo.c (mkfifo): Likewise.
19843         * io/mkfifoat.c (mkfifoat): Likewise.
19844         * io/open.c (__libc_open): Likewise.
19845         * io/open64.c (__libc_open64): Likewise.
19846         * io/readlink.c (__readlink): Likewise.
19847         * io/readlinkat.c (readlinkat): Likewise.
19848         * io/rmdir.c (__rmdir): Likewise.
19849         * io/symlink.c (__symlink): Likewise.
19850         * io/symlinkat.c (symlinkat): Likewise.
19851         * io/ttyname.c (ttyname): Likewise.
19852         * io/ttyname_r.c (__ttyname_r): Likewise.
19853         * io/umask.c (__umask): Likewise.
19854         * io/unlink.c (__unlink): Likewise.
19855         * io/unlinkat.c (unlinkat): Likewise.
19856         * io/utime.c (utime): Likewise.
19857         * libio/clearerr.c (clearerr): Likewise.
19858         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19859         * libio/feof.c (_IO_feof): Likewise.
19860         * libio/feof_u.c (feof_unlocked): Likewise.
19861         * libio/ferror.c (_IO_ferror): Likewise.
19862         * libio/ferror_u.c (ferror_unlocked): Likewise.
19863         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19864         * libio/fileno.c (__fileno): Likewise.
19865         * libio/fputc.c (fputc): Likewise.
19866         * libio/fputc_u.c (fputc_unlocked): Likewise.
19867         * libio/fputwc.c (fputwc): Likewise.
19868         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19869         * libio/freopen.c (freopen): Likewise.
19870         * libio/freopen64.c (freopen64): Likewise.
19871         * libio/fseek.c (fseek): Likewise.
19872         * libio/fseeko.c (fseeko): Likewise.
19873         * libio/fseeko64.c (fseeko64): Likewise.
19874         * libio/ftello.c (__ftello): Likewise.
19875         * libio/ftello64.c (ftello64): Likewise.
19876         * libio/fwide.c (fwide): Likewise.
19877         * libio/genops.c (_IO_un_link): Likewise.
19878         (_IO_link_in): Likewise.
19879         (_IO_least_marker): Likewise.
19880         (_IO_switch_to_main_get_area): Likewise.
19881         (_IO_switch_to_backup_area): Likewise.
19882         (_IO_switch_to_get_mode): Likewise.
19883         (_IO_free_backup_area): Likewise.
19884         (_IO_switch_to_put_mode): Likewise.
19885         (__overflow): Likewise.
19886         (__underflow): Likewise.
19887         (__uflow): Likewise.
19888         (_IO_setb): Likewise.
19889         (_IO_doallocbuf): Likewise.
19890         (_IO_default_underflow): Likewise.
19891         (_IO_default_uflow): Likewise.
19892         (_IO_default_xsputn): Likewise.
19893         (_IO_sgetn): Likewise.
19894         (_IO_default_xsgetn): Likewise.
19895         (_IO_sync): Likewise.
19896         (_IO_default_setbuf): Likewise.
19897         (_IO_default_seekpos): Likewise.
19898         (_IO_default_doallocate): Likewise.
19899         (_IO_init): Likewise.
19900         (_IO_old_init): Likewise.
19901         (_IO_default_sync): Likewise.
19902         (_IO_default_finish): Likewise.
19903         (_IO_default_seekoff): Likewise.
19904         (_IO_sputbackc): Likewise.
19905         (_IO_sungetc): Likewise.
19906         (_IO_set_column): Likewise.
19907         (_IO_set_column): Likewise.
19908         (_IO_adjust_column): Likewise.
19909         (_IO_get_column): Likewise.
19910         (_IO_init_marker): Likewise.
19911         (_IO_remove_marker): Likewise.
19912         (_IO_marker_difference): Likewise.
19913         (_IO_marker_delta): Likewise.
19914         (_IO_seekmark): Likewise.
19915         (_IO_unsave_markers): Likewise.
19916         (_IO_nobackup_pbackfail): Likewise.
19917         (_IO_default_pbackfail): Likewise.
19918         (_IO_default_seek): Likewise.
19919         (_IO_default_stat): Likewise.
19920         (_IO_default_read): Likewise.
19921         (_IO_default_write): Likewise.
19922         (_IO_default_showmanyc): Likewise.
19923         (_IO_default_imbue): Likewise.
19924         (_IO_iter_next): Likewise.
19925         (_IO_iter_file): Likewise.
19926         * libio/getc.c (_IO_getc): Likewise.
19927         * libio/getwc.c (_IO_getwc): Likewise.
19928         * libio/iofclose.c (_IO_new_fclose): Likewise.
19929         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19930         * libio/iofflush.c (_IO_fflush): Likewise.
19931         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19932         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19933         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19934         * libio/iofgets.c (_IO_fgets): Likewise.
19935         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19936         * libio/iofgetws.c (fgetws): Likewise.
19937         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19938         * libio/iofopen64.c (_IO_fopen64): Likewise.
19939         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19940         (_IO_cookie_write): Likewise.
19941         (_IO_cookie_seek): Likewise.
19942         (_IO_cookie_close): Likewise.
19943         (_IO_cookie_seekoff): Likewise.
19944         (_IO_old_cookie_seek): Likewise.
19945         * libio/iofputs.c (_IO_fputs): Likewise.
19946         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19947         * libio/iofputws.c (fputws): Likewise.
19948         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19949         * libio/iofread.c (_IO_fread): Likewise.
19950         * libio/iofread_u.c (__fread_unlocked): Likewise.
19951         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19952         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19953         * libio/ioftell.c (_IO_ftell): Likewise.
19954         * libio/iofwrite.c (_IO_fwrite): Likewise.
19955         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19956         * libio/iogets.c (_IO_gets): Likewise.
19957         * libio/iopadn.c (_IO_padn): Likewise.
19958         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19959         (_IO_new_popen): Likewise.
19960         (_IO_new_proc_close): Likewise.
19961         * libio/ioputs.c (_IO_puts): Likewise.
19962         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19963         (_IO_seekoff): Likewise.
19964         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19965         (_IO_seekpos): Likewise.
19966         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19967         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19968         * libio/ioungetc.c (_IO_ungetc): Likewise.
19969         * libio/ioungetwc.c (ungetwc): Likewise.
19970         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19971         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19972         * libio/iowpadn.c (_IO_wpadn): Likewise.
19973         * libio/libc_fatal.c (__libc_fatal): Likewise.
19974         * libio/memstream.c (__open_memstream): Likewise.
19975         (_IO_mem_sync): Likewise.
19976         (_IO_mem_finish): Likewise.
19977         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19978         (_IO_old_file_close_it): Likewise.
19979         (_IO_old_file_finish): Likewise.
19980         (_IO_old_file_fopen): Likewise.
19981         (_IO_old_file_attach): Likewise.
19982         (_IO_old_file_setbuf): Likewise.
19983         (_IO_old_do_write): Likewise.
19984         (old_do_write): Likewise.
19985         (_IO_old_file_underflow): Likewise.
19986         (_IO_old_file_overflow): Likewise.
19987         (_IO_old_file_sync): Likewise.
19988         (_IO_old_file_seekoff): Likewise.
19989         (_IO_old_file_write): Likewise.
19990         (_IO_old_file_xsputn): Likewise.
19991         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19992         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19993         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19994         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19995         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19996         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19997         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19998         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19999         (_IO_old_popen): Likewise.
20000         (_IO_old_proc_close): Likewise.
20001         * libio/oldpclose.c (__old_pclose): Likewise.
20002         * libio/pclose.c (__new_pclose): Likewise.
20003         * libio/peekc.c (_IO_peekc_locked): Likewise.
20004         * libio/putc.c (_IO_putc): Likewise.
20005         * libio/putc_u.c (putc_unlocked): Likewise.
20006         * libio/putchar.c (putchar): Likewise.
20007         * libio/putchar_u.c (putchar_unlocked): Likewise.
20008         * libio/putwc.c (putwc): Likewise.
20009         * libio/putwc_u.c (putwc_unlocked): Likewise.
20010         * libio/putwchar.c (putwchar): Likewise.
20011         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20012         * libio/rewind.c (rewind): Likewise.
20013         * libio/setbuf.c (setbuf): Likewise.
20014         * libio/setlinebuf.c (setlinebuf): Likewise.
20015         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20016         * libio/vscanf.c (_IO_vscanf): Likewise.
20017         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20018         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20019         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20020         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20021         (_IO_switch_to_main_wget_area): Likewise.
20022         (_IO_switch_to_wbackup_area): Likewise.
20023         (_IO_wsetb): Likewise.
20024         (_IO_wdefault_pbackfail): Likewise.
20025         (_IO_wdefault_finish): Likewise.
20026         (_IO_wdefault_uflow): Likewise.
20027         (__woverflow): Likewise.
20028         (__wuflow): Likewise.
20029         (__wunderflow): Likewise.
20030         (_IO_wdefault_xsputn): Likewise.
20031         (_IO_wdefault_xsgetn): Likewise.
20032         (_IO_wdoallocbuf): Likewise.
20033         (_IO_wdefault_doallocate): Likewise.
20034         (_IO_switch_to_wget_mode): Likewise.
20035         (_IO_free_wbackup_area): Likewise.
20036         (_IO_switch_to_wput_mode): Likewise.
20037         (_IO_sputbackwc): Likewise.
20038         (_IO_sungetwc): Likewise.
20039         (_IO_adjust_wcolumn): Likewise.
20040         (_IO_init_wmarker): Likewise.
20041         (_IO_wmarker_delta): Likewise.
20042         (_IO_seekwmark): Likewise.
20043         (_IO_unsave_wmarkers): Likewise.
20044         * libio/wmemstream.c (open_wmemstream): Likewise.
20045         (_IO_wmem_sync): Likewise.
20046         (_IO_wmem_finish): Likewise.
20047         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20048         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20049         * locale/programs/simple-hash.c (init_hash): Likewise.
20050         (delete_hash): Likewise.
20051         (insert_entry): Likewise.
20052         (set_entry): Likewise.
20053         (next_prime): Likewise.
20054         (is_prime): Likewise.
20055         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20056         (xmalloc): Likewise.
20057         (xrealloc): Likewise.
20058         * locale/programs/xstrdup.c (xstrdup): Likewise.
20059         * localedata/collate-test.c (xstrcoll): Likewise.
20060         * localedata/xfrm-test.c (xstrcmp): Likewise.
20061         * login/getlogin_r.c (__getlogin_r): Likewise.
20062         * login/getpt.c (__posix_openpt): Likewise.
20063         * login/login_tty.c (login_tty): Likewise.
20064         * login/setlogin.c (setlogin): Likewise.
20065         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20066         (mach_msg_destroy_port): Likewise.
20067         (mach_msg_destroy_memory): Likewise.
20068         * malloc/mcheck.c (flood): Likewise.
20069         * misc/acct.c (acct): Likewise.
20070         * misc/brk.c (__brk): Likewise.
20071         * misc/chflags.c (chflags): Likewise.
20072         * misc/chroot.c (chroot): Likewise.
20073         * misc/fchflags.c (fchflags): Likewise.
20074         * misc/fstab.c (getfsspec): Likewise.
20075         (getfsfile): Likewise.
20076         * misc/fsync.c (fsync): Likewise.
20077         * misc/ftruncate.c (__ftruncate): Likewise.
20078         * misc/ftruncate64.c (__ftruncate64): Likewise.
20079         * misc/getdomain.c (getdomainname): Likewise.
20080         (getdomainname): Likewise.
20081         * misc/gethostname.c (__gethostname): Likewise.
20082         * misc/getpass.c (getpass): Likewise.
20083         * misc/getttyent.c (skip): Likewise.
20084         (value): Likewise.
20085         * misc/gtty.c (gtty): Likewise.
20086         * misc/hsearch.c (hsearch): Likewise.
20087         (hcreate): Likewise.
20088         * misc/hsearch_r.c (__hcreate_r): Likewise.
20089         (__hdestroy_r): Likewise.
20090         * misc/ioctl.c (__ioctl): Likewise.
20091         * misc/mkdtemp.c (mkdtemp): Likewise.
20092         * misc/mkostemp.c (mkostemp): Likewise.
20093         * misc/mkostemp64.c (mkostemp64): Likewise.
20094         * misc/mkostemps.c (mkostemps): Likewise.
20095         * misc/mkostemps64.c (mkostemps64): Likewise.
20096         * misc/mkstemp.c (mkstemp): Likewise.
20097         * misc/mkstemp64.c (mkstemp64): Likewise.
20098         * misc/mkstemps.c (mkstemps): Likewise.
20099         * misc/mkstemps64.c (mkstemps64): Likewise.
20100         * misc/mktemp.c (__mktemp): Likewise.
20101         * misc/preadv.c (preadv): Likewise.
20102         * misc/preadv64.c (preadv64): Likewise.
20103         * misc/pwritev.c (pwritev): Likewise.
20104         * misc/pwritev64.c (pwritev64): Likewise.
20105         * misc/readv.c (__readv): Likewise.
20106         * misc/revoke.c (revoke): Likewise.
20107         * misc/setdomain.c (setdomainname): Likewise.
20108         * misc/setegid.c (setegid): Likewise.
20109         * misc/seteuid.c (seteuid): Likewise.
20110         * misc/sethostid.c (sethostid): Likewise.
20111         * misc/sethostname.c (sethostname): Likewise.
20112         * misc/setregid.c (__setregid): Likewise.
20113         * misc/setreuid.c (__setreuid): Likewise.
20114         * misc/sstk.c (sstk): Likewise.
20115         * misc/stty.c (stty): Likewise.
20116         * misc/syscall.c (syscall): Likewise.
20117         * misc/syslog.c (setlogmask): Likewise.
20118         * misc/truncate.c (__truncate): Likewise.
20119         * misc/truncate64.c (truncate64): Likewise.
20120         * misc/ualarm.c (ualarm): Likewise.
20121         * misc/usleep.c (usleep): Likewise.
20122         * misc/ustat.c (ustat): Likewise.
20123         * misc/writev.c (__writev): Likewise.
20124         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20125         * nptl/old_pthread_cond_broadcast.c
20126         (__pthread_cond_broadcast_2_0): Likewise.
20127         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20128         Likewise.
20129         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20130         Likewise.
20131         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20132         Likewise.
20133         * nptl/pt-raise.c (raise): Likewise.
20134         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20135         Likewise.
20136         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20137         * nptl/pthread_barrierattr_destroy.c
20138         (pthread_barrierattr_destroy): Likewise.
20139         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20140         Likewise.
20141         * nptl/pthread_barrierattr_setpshared.c
20142         (pthread_barrierattr_setpshared): Likewise.
20143         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20144         Likewise.
20145         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20146         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20147         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20148         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20149         Likewise.
20150         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20151         Likewise.
20152         * nptl/pthread_condattr_getpshared.c
20153         (pthread_condattr_getpshared): Likewise.
20154         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20155         Likewise.
20156         * nptl/pthread_condattr_setpshared.c
20157         (pthread_condattr_setpshared): Likewise.
20158         * nptl/pthread_detach.c (pthread_detach): Likewise.
20159         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20160         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20161         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20162         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20163         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20164         Likewise.
20165         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20166         Likewise.
20167         * nptl/pthread_mutex_getprioceiling.c
20168         (pthread_mutex_getprioceiling): Likewise.
20169         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20170         Likewise.
20171         * nptl/pthread_mutexattr_getprotocol.c
20172         (pthread_mutexattr_getprotocol): Likewise.
20173         * nptl/pthread_mutexattr_getpshared.c
20174         (pthread_mutexattr_getpshared): Likewise.
20175         * nptl/pthread_mutexattr_getrobust.c
20176         (pthread_mutexattr_getrobust): Likewise.
20177         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20178         Likewise.
20179         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20180         Likewise.
20181         * nptl/pthread_mutexattr_setprioceiling.c
20182         (pthread_mutexattr_setprioceiling): Likewise.
20183         * nptl/pthread_mutexattr_setprotocol.c
20184         (pthread_mutexattr_setprotocol): Likewise.
20185         * nptl/pthread_mutexattr_setpshared.c
20186         (pthread_mutexattr_setpshared): Likewise.
20187         * nptl/pthread_mutexattr_setrobust.c
20188         (pthread_mutexattr_setrobust): Likewise.
20189         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20190         Likewise.
20191         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20192         Likewise.
20193         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20194         Likewise.
20195         * nptl/pthread_rwlockattr_getkind_np.c
20196         (pthread_rwlockattr_getkind_np): Likewise.
20197         * nptl/pthread_rwlockattr_getpshared.c
20198         (pthread_rwlockattr_getpshared): Likewise.
20199         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20200         Likewise.
20201         * nptl/pthread_rwlockattr_setkind_np.c
20202         (pthread_rwlockattr_setkind_np): Likewise.
20203         * nptl/pthread_rwlockattr_setpshared.c
20204         (pthread_rwlockattr_setpshared): Likewise.
20205         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20206         Likewise.
20207         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20208         Likewise.
20209         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20210         Likewise.
20211         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20212         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20213         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20214         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20215         * nptl/sem_close.c (sem_close): Likewise.
20216         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20217         * nptl/sem_init.c (__old_sem_init): Likewise.
20218         * nptl/sigaction.c (__sigaction): Likewise.
20219         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20220         * posix/_exit.c (_exit): Likewise.
20221         * posix/alarm.c (alarm): Likewise.
20222         * posix/confstr.c (confstr): Likewise.
20223         * posix/fpathconf.c (__fpathconf): Likewise.
20224         * posix/getgroups.c (__getgroups): Likewise.
20225         * posix/getpgid.c (__getpgid): Likewise.
20226         * posix/group_member.c (__group_member): Likewise.
20227         * posix/pathconf.c (__pathconf): Likewise.
20228         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20229         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20230         * posix/setgid.c (__setgid): Likewise.
20231         * posix/setpgid.c (__setpgid): Likewise.
20232         * posix/setuid.c (__setuid): Likewise.
20233         * posix/sleep.c (__sleep): Likewise.
20234         * posix/sysconf.c (__sysconf): Likewise.
20235         * posix/times.c (__times): Likewise.
20236         * posix/uname.c (__uname): Likewise.
20237         * posix/waitid.c (__waitid): Likewise.
20238         * pwd/getpw.c (__getpw): Likewise.
20239         * resolv/base64.c (b64_pton): Likewise.
20240         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20241         * resolv/gethnamaddr.c (Dprintf): Likewise.
20242         (gethostbyname): Likewise.
20243         (gethostbyname2): Likewise.
20244         (gethostbyaddr): Likewise.
20245         (_sethtent): Likewise.
20246         (_gethtbyname): Likewise.
20247         (_gethtbyname2): Likewise.
20248         (_gethtbyaddr): Likewise.
20249         (map_v4v6_address): Likewise.
20250         (map_v4v6_hostent): Likewise.
20251         (addrsort): Likewise.
20252         (ht_sethostent): Likewise.
20253         (ht_gethostbyname): Likewise.
20254         (ht_gethostbyaddr): Likewise.
20255         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20256         (inet_net_ntop_ipv4): Likewise.
20257         * resolv/inet_neta.c (inet_neta): Likewise.
20258         * resolv/inet_ntop.c (inet_ntop): Likewise.
20259         (inet_ntop4): Likewise.
20260         (inet_ntop6): Likewise.
20261         * resolv/inet_pton.c (__inet_pton): Likewise.
20262         (inet_pton4): Likewise.
20263         (inet_pton6): Likewise.
20264         * resolv/res_debug.c (loc_aton): Likewise.
20265         (loc_ntoa): Likewise.
20266         * resource/getpriority.c (__getpriority): Likewise.
20267         * resource/getrusage.c (__getrusage): Likewise.
20268         * resource/nice.c (nice): Likewise.
20269         * resource/setpriority.c (__setpriority): Likewise.
20270         * resource/setrlimit64.c (setrlimit64): Likewise.
20271         * resource/vlimit.c (vlimit): Likewise.
20272         * resource/vtimes.c (vtimes): Likewise.
20273         * rt/aio_error.c (aio_error): Likewise.
20274         * rt/aio_return.c (aio_return): Likewise.
20275         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20276         * signal/kill.c (__kill): Likewise.
20277         * signal/killpg.c (killpg): Likewise.
20278         * signal/raise.c (raise): Likewise.
20279         * signal/sigaction.c (__sigaction): Likewise.
20280         * signal/sigaddset.c (sigaddset): Likewise.
20281         * signal/sigaltstack.c (sigaltstack): Likewise.
20282         * signal/sigandset.c (sigandset): Likewise.
20283         * signal/sigblock.c (__sigblock): Likewise.
20284         * signal/sigdelset.c (sigdelset): Likewise.
20285         * signal/sigempty.c (sigemptyset): Likewise.
20286         * signal/sigfillset.c (sigfillset): Likewise.
20287         * signal/sighold.c (sighold): Likewise.
20288         * signal/sigignore.c (sigignore): Likewise.
20289         * signal/sigintr.c (siginterrupt): Likewise.
20290         * signal/sigisempty.c (sigisemptyset): Likewise.
20291         * signal/sigismem.c (sigismember): Likewise.
20292         * signal/signal.c (signal): Likewise.
20293         * signal/sigorset.c (sigorset): Likewise.
20294         * signal/sigpause.c (__sigpause): Likewise.
20295         * signal/sigpending.c (sigpending): Likewise.
20296         * signal/sigprocmask.c (__sigprocmask): Likewise.
20297         * signal/sigrelse.c (sigrelse): Likewise.
20298         * signal/sigreturn.c (__sigreturn): Likewise.
20299         * signal/sigset.c (sigset): Likewise.
20300         * signal/sigsetmask.c (__sigsetmask): Likewise.
20301         * signal/sigstack.c (sigstack): Likewise.
20302         * signal/sigsuspend.c (__sigsuspend): Likewise.
20303         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20304         * signal/sysv_signal.c (__sysv_signal): Likewise.
20305         * socket/accept.c (accept): Likewise.
20306         * socket/accept4.c (__libc_accept4): Likewise.
20307         * socket/bind.c (__bind): Likewise.
20308         * socket/connect.c (__connect): Likewise.
20309         * socket/getpeername.c (getpeername): Likewise.
20310         * socket/getsockname.c (__getsockname): Likewise.
20311         * socket/getsockopt.c (getsockopt): Likewise.
20312         * socket/listen.c (__listen): Likewise.
20313         * socket/recv.c (__recv): Likewise.
20314         * socket/recvmsg.c (__recvmsg): Likewise.
20315         * socket/send.c (__send): Likewise.
20316         * socket/sendmsg.c (__sendmsg): Likewise.
20317         * socket/shutdown.c (shutdown): Likewise.
20318         * socket/sockatmark.c (sockatmark): Likewise.
20319         * socket/socket.c (__socket): Likewise.
20320         * stdio-common/ctermid.c (ctermid): Likewise.
20321         * stdio-common/cuserid.c (cuserid): Likewise.
20322         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20323         * stdio-common/remove.c (remove): Likewise.
20324         * stdio-common/rename.c (rename): Likewise.
20325         * stdio-common/renameat.c (renameat): Likewise.
20326         * stdio-common/tempname.c (__gen_tempname): Likewise.
20327         * stdio-common/xbug.c (InitBuffer): Likewise.
20328         (AppendToBuffer): Likewise.
20329         (ReadFile): Likewise.
20330         * stdlib/a64l.c (a64l): Likewise.
20331         * stdlib/drand48_r.c (drand48_r): Likewise.
20332         * stdlib/getcontext.c (getcontext): Likewise.
20333         * stdlib/getenv.c (getenv): Likewise.
20334         * stdlib/l64a.c (l64a): Likewise.
20335         * stdlib/llabs.c (llabs): Likewise.
20336         * stdlib/lldiv.c (lldiv): Likewise.
20337         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20338         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20339         * stdlib/putenv.c (putenv): Likewise.
20340         * stdlib/random.c (__srandom): Likewise.
20341         (__initstate): Likewise.
20342         (__setstate): Likewise.
20343         * stdlib/random_r.c (__srandom_r): Likewise.
20344         (__setstate_r): Likewise.
20345         (__random_r): Likewise.
20346         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
20347         * stdlib/setcontext.c (setcontext): Likewise.
20348         * stdlib/setenv.c (setenv): Likewise.
20349         (unsetenv): Likewise.
20350         * stdlib/srand48.c (srand48): Likewise.
20351         * stdlib/srand48_r.c (__srand48_r): Likewise.
20352         * stdlib/swapcontext.c (swapcontext): Likewise.
20353         * stdlib/system.c (__libc_system): Likewise.
20354         * stdlib/tst-strtod.c (expand): Likewise.
20355         * stdlib/tst-strtol.c (expand): Likewise.
20356         * stdlib/tst-strtoll.c (expand): Likewise.
20357         * streams/fattach.c (fattach): Likewise.
20358         * streams/fdetach.c (fdetach): Likewise.
20359         * streams/getmsg.c (getmsg): Likewise.
20360         * streams/isastream.c (isastream): Likewise.
20361         * string/ffs.c (__ffs): Likewise.
20362         * string/ffsll.c (ffsll): Likewise.
20363         * string/memcmp.c (memcmp_common_alignment): Likewise.
20364         (memcmp_not_common_alignment): Likewise.
20365         (MEMCMP): Likewise.
20366         * string/memcpy.c (memcpy): Likewise.
20367         * string/memmove.c (MEMMOVE): Likewise.
20368         * string/memset.c (memset): Likewise.
20369         * string/rawmemchr.c (RAWMEMCHR): Likewise.
20370         * string/strchrnul.c (STRCHRNUL): Likewise.
20371         * string/strerror.c (strerror): Likewise.
20372         * string/strndup.c (__strndup): Likewise.
20373         * string/strverscmp.c (__strverscmp): Likewise.
20374         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
20375         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
20376         (clnttcp_freeres): Likewise.
20377         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
20378         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
20379         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
20380         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
20381         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
20382         (xdr_callhdr): Likewise.
20383         * sunrpc/rpcinfo.c (udpping): Likewise.
20384         (tcpping): Likewise.
20385         (pstatus): Likewise.
20386         (pmapdump): Likewise.
20387         (brdcst): Likewise.
20388         (deletereg): Likewise.
20389         (getprognum): Likewise.
20390         (getvers): Likewise.
20391         (get_inet_address): Likewise.
20392         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
20393         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20394         (svcudp_stat): Likewise.
20395         (svcudp_recv): Likewise.
20396         (svcudp_reply): Likewise.
20397         (svcudp_getargs): Likewise.
20398         (svcudp_freeargs): Likewise.
20399         (svcudp_destroy): Likewise.
20400         * sunrpc/xdr.c (xdr_bytes): Likewise.
20401         (xdr_netobj): Likewise.
20402         (xdr_string): Likewise.
20403         (xdr_wrapstring): Likewise.
20404         * sunrpc/xdr_float.c (xdr_float): Likewise.
20405         (xdr_double): Likewise.
20406         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
20407         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
20408         * sysvipc/ftok.c (ftok): Likewise.
20409         * sysvipc/msgctl.c (msgctl): Likewise.
20410         * sysvipc/msgget.c (msgget): Likewise.
20411         * sysvipc/msgrcv.c (msgrcv): Likewise.
20412         * sysvipc/msgsnd.c (msgsnd): Likewise.
20413         * sysvipc/semget.c (semget): Likewise.
20414         * sysvipc/semop.c (semop): Likewise.
20415         * sysvipc/shmat.c (shmat): Likewise.
20416         * sysvipc/shmctl.c (shmctl): Likewise.
20417         * sysvipc/shmdt.c (shmdt): Likewise.
20418         * sysvipc/shmget.c (shmget): Likewise.
20419         * termios/cfmakeraw.c (cfmakeraw): Likewise.
20420         * termios/speed.c (cfgetospeed): Likewise.
20421         (cfgetispeed): Likewise.
20422         (cfsetospeed): Likewise.
20423         (cfsetispeed): Likewise.
20424         * termios/tcflow.c (tcflow): Likewise.
20425         * termios/tcflush.c (tcflush): Likewise.
20426         * termios/tcgetattr.c (__tcgetattr): Likewise.
20427         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20428         * termios/tcgetsid.c (tcgetsid): Likewise.
20429         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20430         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20431         * time/adjtime.c (__adjtime): Likewise.
20432         * time/dysize.c (dysize): Likewise.
20433         * time/ftime.c (ftime): Likewise.
20434         * time/getitimer.c (__getitimer): Likewise.
20435         * time/gettimeofday.c (__gettimeofday): Likewise.
20436         * time/gmtime.c (__gmtime_r): Likewise.
20437         (gmtime): Likewise.
20438         * time/localtime.c (__localtime_r): Likewise.
20439         (localtime): Likewise.
20440         * time/offtime.c (__offtime): Likewise.
20441         * time/settimeofday.c (__settimeofday): Likewise.
20442         * time/stime.c (stime): Likewise.
20443         * time/strftime_l.c (tm_diff): Likewise.
20444         (iso_week_days): Likewise.
20445         * time/strptime.c (strptime): Likewise.
20446         * time/time.c (time): Likewise.
20447         * time/timespec_get.c (timespec_get): Likewise.
20448         * time/tzset.c (tzset_internal): Likewise.
20449         (compute_change): Likewise.
20450         (__tz_compute): Likewise.
20451         * wcsmbs/btowc.c (__btowc): Likewise.
20452         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20453         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20454         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20455         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20456         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20457         * wcsmbs/wcscat.c (__wcscat): Likewise.
20458         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20459         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20460         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20461         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20462         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20463         * wcsmbs/wcslen.c (__wcslen): Likewise.
20464         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20465         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20466         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20467         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20468         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20469         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20470         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20471         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20472         * wcsmbs/wcstok.c (wcstok): Likewise.
20473         * wcsmbs/wctob.c (wctob): Likewise.
20474         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20475         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20476         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20477         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20478         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20479         * wcsmbs/wmemset.c (__wmemset): Likewise.
20480         * wctype/wcfuncs.c (__towlower): Likewise.
20481         (__towupper): Likewise.
20483         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20484         (lll_unlock_elision): Add adapt_count parameter.
20486 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20488         * sysdeps/nptl/configure.ac: Do not give errors based on the
20489         results of top-level configure tests.
20490         * sysdeps/nptl/configure: Regenerated.
20492         * configure.ac (libc_cv_Bgroup): Remove configure test.
20493         * configure: Regenerated.
20494         * config.make.in (have-Bgroup): Remove variable.
20496         * configure.ac (sizeof_long_double): Remove configure test.
20497         * configure: Regenerated.
20498         * config.make.in (sizeof-long-double): Remove variable.
20500         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20501         * configure: Regenerated.
20502         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20503         variable.
20504         (exceptions): Likewise.
20505         * sysdeps/arm/configure: Regenerated.
20506         * config.make.in (exceptions): Remove variable.
20507         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20508         $(exceptions).
20509         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20510         (CFLAGS-vdprintf_chk.c): Likewise.
20511         (CFLAGS-printf_chk.c): Likewise.
20512         (CFLAGS-fprintf_chk.c): Likewise.
20513         (CFLAGS-vprintf_chk.c): Likewise.
20514         (CFLAGS-vfprintf_chk.c): Likewise.
20515         (CFLAGS-gets_chk.c): Likewise.
20516         (CFLAGS-fgets_chk.c): Likewise.
20517         (CFLAGS-fgets_u_chk.c): Likewise.
20518         (CFLAGS-fread_chk.c): Likewise.
20519         (CFLAGS-fread_u_chk.c): Likewise.
20520         (CFLAGS-wprintf_chk.c): Likewise.
20521         (CFLAGS-fwprintf_chk.c): Likewise.
20522         (CFLAGS-vwprintf_chk.c): Likewise.
20523         (CFLAGS-vfwprintf_chk.c): Likewise.
20524         (CFLAGS-fgetws_chk.c): Likewise.
20525         (CFLAGS-fgetws_u_chk.c): Likewise.
20526         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20527         (CFLAGS-fputc.c): Likewise.
20528         (CFLAGS-fputwc.c): Likewise.
20529         (CFLAGS-freopen64.c): Likewise.
20530         (CFLAGS-freopen.c): Likewise.
20531         (CFLAGS-fseek.c): Likewise.
20532         (CFLAGS-fseeko64.c): Likewise.
20533         (CFLAGS-fseeko.c): Likewise.
20534         (CFLAGS-ftello64.c): Likewise.
20535         (CFLAGS-ftello.c): Likewise.
20536         (CFLAGS-fwide.c): Likewise.
20537         (CFLAGS-genops.c): Likewise.
20538         (CFLAGS-getc.c): Likewise.
20539         (CFLAGS-getchar.c): Likewise.
20540         (CFLAGS-getwc.c): Likewise.
20541         (CFLAGS-getwchar.c): Likewise.
20542         (CFLAGS-iofclose.c): Likewise.
20543         (CFLAGS-iofflush.c): Likewise.
20544         (CFLAGS-iofgetpos64.c): Likewise.
20545         (CFLAGS-iofgetpos.c): Likewise.
20546         (CFLAGS-iofgets.c): Likewise.
20547         (CFLAGS-iofgetws.c): Likewise.
20548         (CFLAGS-iofputs.c): Likewise.
20549         (CFLAGS-iofputws.c): Likewise.
20550         (CFLAGS-iofread.c): Likewise.
20551         (CFLAGS-iofsetpos64.c): Likewise.
20552         (CFLAGS-iofsetpos.c): Likewise.
20553         (CFLAGS-ioftell.c): Likewise.
20554         (CFLAGS-iofwrite.c): Likewise.
20555         (CFLAGS-iogetdelim.c): Likewise.
20556         (CFLAGS-iogetline.c): Likewise.
20557         (CFLAGS-iogets.c): Likewise.
20558         (CFLAGS-iogetwline.c): Likewise.
20559         (CFLAGS-ioputs.c): Likewise.
20560         (CFLAGS-ioseekoff.c): Likewise.
20561         (CFLAGS-ioseekpos.c): Likewise.
20562         (CFLAGS-iosetbuffer.c): Likewise.
20563         (CFLAGS-iosetvbuf.c): Likewise.
20564         (CFLAGS-ioungetc.c): Likewise.
20565         (CFLAGS-ioungetwc.c): Likewise.
20566         (CFLAGS-oldfileops.c): Likewise.
20567         (CFLAGS-oldiofclose.c): Likewise.
20568         (CFLAGS-oldiofgetpos64.c): Likewise.
20569         (CFLAGS-oldiofgetpos.c): Likewise.
20570         (CFLAGS-oldiofsetpos64.c): Likewise.
20571         (CFLAGS-oldiofsetpos.c): Likewise.
20572         (CFLAGS-peekc.c): Likewise.
20573         (CFLAGS-putc.c): Likewise.
20574         (CFLAGS-putchar.c): Likewise.
20575         (CFLAGS-putwc.c): Likewise.
20576         (CFLAGS-putwchar.c): Likewise.
20577         (CFLAGS-rewind.c): Likewise.
20578         (CFLAGS-wfileops.c): Likewise.
20579         (CFLAGS-wgenops.c): Likewise.
20580         (CFLAGS-oldiofopen.c): Likewise.
20581         (CFLAGS-iofopen.c): Likewise.
20582         (CFLAGS-iofopen64.c): Likewise.
20583         (CFLAGS-oldtmpfile.c): Likewise.
20584         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20585         (CFLAGS-fprintf.c): Likewise.
20586         (CFLAGS-printf.c): Likewise.
20587         (CFLAGS-vfwprintf.c): Likewise.
20588         (CFLAGS-vfscanf.c): Likewise.
20589         (CFLAGS-vfwscanf.c): Likewise.
20590         (CFLAGS-fscanf.c): Likewise.
20591         (CFLAGS-scanf.c): Likewise.
20592         (CFLAGS-isoc99_vfscanf.c): Likewise.
20593         (CFLAGS-isoc99_vscanf.c): Likewise.
20594         (CFLAGS-isoc99_fscanf.c): Likewise.
20595         (CFLAGS-isoc99_scanf.c): Likewise.
20596         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20597         (CFLAGS-isoc99_fwscanf.c): Likewise.
20598         (CFLAGS-isoc99_vwscanf.c): Likewise.
20599         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20601         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20602         after mkstemp64.
20603         * login/tst-utmp.c (do_prepare): Likewise.
20604         * rt/tst-aio.c (do_prepare): Likewise.
20605         * rt/tst-aio64.c (do_prepare): Likewise.
20607 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20609         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20610         (__lll_lock_elision): Remove adapt_count decrement...
20611         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20612         (__lll_trylock_elision): Likewise.
20613         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20614         (__lll_unlock_elision): ... to here. And utilize
20615         new adapt_count parameter.
20616         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20617         (__lll_unlock_elision): Update to include adapt_count
20618         parameter.
20619         (lll_unlock_elision): Pass pointer to adapt_count
20620         variable.
20622 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20624         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20625         Add elision adapt_count parameter to list of arguments.
20626         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20627         (lll_unlock_elision): Update with new parameter list
20628         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20629         (lll_unlock_elision): Likewise.
20630         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20631         (lll_unlock_elision): Likewise.
20633 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20635         [BZ #19122]
20636         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20637         attribute_hidden.
20639         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20640         attribute_hidden.
20641         [IS_IN (rtld)] (__strdup): Likewise.
20642         [IS_IN (rtld)] (__strerror_r): Likewise.
20643         [IS_IN (rtld)] (__strsep_g): Likewise.
20644         [IS_IN (rtld)] (memchr): Likewise.
20645         [IS_IN (rtld)] (memcmp): Likewise.
20646         [IS_IN (rtld)] (memcpy): Likewise.
20647         [IS_IN (rtld)] (memmove): Likewise.
20648         [IS_IN (rtld)] (memset): Likewise.
20649         [IS_IN (rtld)] (rawmemchr): Likewise.
20650         [IS_IN (rtld)] (stpcpy): Likewise.
20651         [IS_IN (rtld)] (strchr): Likewise.
20652         [IS_IN (rtld)] (strcmp): Likewise.
20653         [IS_IN (rtld)] (strlen): Likewise.
20654         [IS_IN (rtld)] (strnlen): Likewise.
20655         [IS_IN (rtld)] (strsep): Likewise.
20657         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20658         attribute_hidden.
20659         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20661         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20662         attribute_hidden.
20663         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20665         * include/setjmp.h (__longjmp): Add attribute_hidden.
20666         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20668         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20669         Add attribute_hidden.
20671         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20672         [IS_IN (rtld)] (__open): Likewise.
20673         [IS_IN (rtld)] (__fcntl): Likewise.
20675         * include/dirent.h (__opendirat): Add attribute_hidden.
20676         (__getdents): Likewise.
20677         (__getdents64): Likewise.
20678         (__alloc_dir): Likewise.
20679         [IS_IN (rtld)] (__closedir): Likewise.
20680         [IS_IN (rtld)] (__fdopendir): Likewise.
20681         [IS_IN (rtld)] (__readdir): Likewise.
20682         [IS_IN (rtld)] (__readdir64): Likewise.
20683         [IS_IN (rtld)] (__rewinddir): Likewise.
20685         * include/dlfcn.h (_dl_catch_error): Moved to ...
20686         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20687         attribute_hidden.
20689         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20690         (_itoa_word): Likewise.
20692         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20693         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20694         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20695         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20696         (_dl_higher_prime_number): Likewise.
20697         (_dl_debug_printf_c): Likewise.
20698         (_dl_signal_cerror): Likewise.
20699         (_dl_receive_error): Likewise.
20700         (_dl_reloc_bad_type): Likewise.
20701         (_dl_resolve_conflicts): Likewise.
20702         (_dl_check_all_versions): Likewise.
20703         (_dl_check_map_versions): Likewise.
20704         (_dl_sort_fini): Likewise.
20705         (_dl_debug_initialize): Likewise.
20706         (_dl_init_paths): Likewise.
20707         (_dl_show_auxv): Likewise.
20708         (_dl_next_ld_env_entry): Likewise.
20709         (_dl_important_hwcaps): Likewise.
20710         (_dl_load_cache_lookup): Likewise.
20711         (_dl_update_slotinfo): Likewise.
20712         (_dl_show_scope): Likewise.
20714         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20715         attribute_hidden.
20716         (_wordcopy_fwd_dest_aligned): Likewise.
20717         (_wordcopy_bwd_aligned): Likewise.
20718         (_wordcopy_bwd_dest_aligned): Likewise.
20720         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20721         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20722         Likewise.
20723         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20724         Likewise.
20725         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20727 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20729         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20730         GCC 5 requirement.
20732 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20734         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20735         test.
20736         * sysdeps/i386/configure: Regenerated.
20737         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20738         code unconditional.
20740         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20741         test.
20742         (libc_cv_asm_popsection_directive): Likewise.
20743         * configure: Regenerated.
20744         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20745         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20746         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20747         (__make_section_unallocated): Make definition unconditional.
20748         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20749         Remove conditional definition.
20750         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20751         (__make_section_unallocated): Likewise.
20753         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20754         * configure: Regenerated.
20755         * config.make.in (static-libgcc): Remove variable.
20756         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20757         $(static-libgcc).
20758         (build-module-helper): Likewise.
20760         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20761         * configure: Regenerated.
20763 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20765         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20766         (struct char_buffer): New type.
20767         (char_buffer_start, char_buffer_size, char_buffer_error)
20768         (char_buffer_rewind, char_buffer_add): New functions.
20769         (ADDW): Remove macro, replaced by the char_buffer_add function.
20770         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20771         of extend_alloca.  Make control flow more explicit.
20773 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20775         [BZ #19137]
20776         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20777         Add -fomit-frame-pointer.
20778         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20780 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20782         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20783         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20784         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20785         only if !__GNUC_PREREQ (5,0).
20786         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20787         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20788         (INTERNAL_SYSCALL_NCS): Likewise.
20789         (LOADREGS_0): New macro for GCC 5.
20790         (ASMARGS_0): Likewise.
20791         (LOADREGS_1): Likewise.
20792         (ASMARGS_1): Likewise.
20793         (LOADREGS_2): Likewise.
20794         (ASMARGS_2): Likewise.
20795         (LOADREGS_3): Likewise.
20796         (ASMARGS_3): Likewise.
20797         (LOADREGS_4): Likewise.
20798         (ASMARGS_4): Likewise.
20799         (LOADREGS_5): Likewise.
20800         (ASMARGS_5): Likewise.
20801         (LOADREGS_6): Likewise.
20802         (ASMARGS_6): Likewise.
20804 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20806         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20807         -fomit-frame-pointer.
20808         (CFLAGS-mmap64.c): Likewise.
20809         (CFLAGS-semtimedop.c): Likewise.
20810         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20811         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20812         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20813         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20815 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20817         [BZ #18928]
20818         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20819         _dl_pointer_guard member.
20820         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20821         initializer.
20822         (security_init): Always set up pointer guard.
20823         (process_envvars): Do not process LD_POINTER_GUARD.
20825 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20827         [BZ #19134]
20828         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20829         (.LC2): Likewise.
20830         (.LC3): Likewise.
20831         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20833 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20835         [BZ #19129]
20836         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20837         r0 and r1.
20839 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20841         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20843 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20845         * include/stap-probe.h: Fix macro definition formatting.
20847 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20849         [BZ #19074]
20850         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20851         load and store num_ifs.
20853 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20855         [BZ #18822]
20856         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20857         (__sched_getaffinity_new): Add libc_hidden_proto and
20858         libc_hidden_def.
20860 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20862         [BZ #19007]
20863         * scripts/localplt.awk: Also allow GOT references.
20864         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20865         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20866         with "+ REL R_386_GLOB_DAT".
20867         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20868         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20870 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20872         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20873         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20874         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20875         Likewise.
20876         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20877         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20878         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20879         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20880         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20881         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20882         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20883         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20884         Likewise.
20885         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20887 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20889         [BZ #19125]
20890         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20891         <math_private.h> and <stdint.h>.
20892         (__llround): Avoid conversions to and from long long int, and
20893         subtractions, where those might raise spurious exceptions.
20894         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20895         <math_private.h> and <stdint.h>.
20896         (__llroundf): Avoid conversions to and from long long int, and
20897         subtractions, where those might raise spurious exceptions.
20899 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20901         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20902         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20903         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20904         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20905         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20906         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20907         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20908         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20909         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20910         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20911         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20912         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20913         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20914         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20915         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20916         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20917         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20918         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20919         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20920         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20921         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20922         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20923         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20924         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20925         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20926         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20927         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20928         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20929         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20930         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20931         (__xstat64_conv): Likewise.
20932         (__xstat32_conv): Likewise.
20934 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20936         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20937         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20938         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20939         <sysdeps/unix/sysv/linux/sysdep.h>.
20940         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20941         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20942         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20943         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20944         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20945         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20946         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20947         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20948         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20953         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20954         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20955         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20956         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20957         (sysdep-dl-routines): Add sysdep.
20958         [$(subdir) == nptl] (libpthread-routines): Likewise.
20959         [$(subdir) == rt] (librt-routines): Likewise.
20960         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20961         PIC when branching to SYSCALL_ERROR_LABEL.
20962         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20964         <sysdeps/unix/sysv/linux/sysdep.h>.
20965         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20966         (SYSCALL_ERROR_ERRNO): Removed.
20967         (SYSCALL_ERROR_HANDLER): Changed to empty.
20968         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20969         (__syscall_error): New prototype.
20970         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20971         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20973 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20975         [BZ #19124]
20976         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20977         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20978         _dl_runtime_resolve_avx.
20979         (_dl_runtime_profile_avx512): Make it a hidden alias of
20980         _dl_runtime_profile_avx.
20982 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20984         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20985         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20986         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20987         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20989         [BZ #16422]
20990         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20991         New configure test.
20992         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20993         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20994         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20995         <math_private.h> and <stdint.h>.
20996         (__llrint): Avoid conversions to long long int where those might
20997         raise spurious exceptions.
20998         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20999         <math_private.h> and <stdint.h>.
21000         (__llrintf): Avoid conversions to long long int where those might
21001         raise spurious exceptions.
21003 2015-10-12  Andreas Schwab  <schwab@suse.de>
21005         [BZ #18969]
21006         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
21007         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21008         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21009         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21010         $(gen-locales).
21011         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21012         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21013         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21014         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21015         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21016         $(gen-locales).
21017         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21018         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21019         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21020         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21021         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21022         ($(objpfx)tst-ftell-active-handler.out)
21023         ($(objpfx)tst-ftell-append.out)
21024         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21025         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21026         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21027         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21028         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21029         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21030         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21031         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21032         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21033         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21034         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21035         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21036         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21037         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21038         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21039         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21040         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21041         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21042         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21043         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21044         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21045         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21046         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21047         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21048         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21049         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21050         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21051         $(gen-locales).
21052         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21053         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21054         $(gen-locales).
21055         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21056         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21057         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21058         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21059         $(gen-locales).
21060         * libio/tst_wprintf2.c (main): Use explicit locale.
21061         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21063 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21065         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21066         __msg_sig_post.
21067         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21069 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21071         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21072         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21074         * sysdeps/arm/libm-test-ulps: Regenerated.
21076         [BZ #15470]
21077         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21079         [BZ #16399]
21080         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21081         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21082         and <fix-fp-int-convert-overflow.h>.
21083         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21084         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21085         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21086         and <fix-fp-int-convert-overflow.h>.
21087         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21088         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21089         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21090         <fix-fp-int-convert-overflow.h>.
21091         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21092         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21093         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21094         <fix-fp-int-convert-overflow.h>.
21095         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21096         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21097         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21098         and <fix-fp-int-convert-overflow.h>.
21099         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21100         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21101         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21102         <limits.h> and <fix-fp-int-convert-overflow.h>.
21103         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21104         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21105         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21106         and <fix-fp-int-convert-overflow.h>.
21107         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21108         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21109         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21110         and <fix-fp-int-convert-overflow.h>.
21111         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21112         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21113         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21115 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21117         [BZ #18589]
21118         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21119         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21120         $(gen-locales).
21122 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21123             Phil Blundell <pb@pbcl.net>
21125         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21126         * nptl/tst-cancel26.c: New file.
21127         * nptl/tst-cancel27.c: Likewise.
21129 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21131         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21132         __ILP32__ isn't defined.
21133         (lrint): Likewise.
21134         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21135         (lrintf): Likewise.
21136         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21137         (lrintl): Likewise.
21138         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21139         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21140         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21142 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21144         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21145         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21147         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21148         file.
21149         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21150         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21152 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21154         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21155         configure test.
21156         * sysdeps/i386/configure: Regenerated.
21157         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21158         configure test.
21159         * sysdeps/x86_64/configure: Regenerated.
21160         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21161         Make code unconditional.
21163         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21164         test.
21165         * sysdeps/i386/configure: Regenerated.
21166         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21167         test.
21168         * sysdeps/x86_64/configure: Regenerated.
21169         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21170         Make code unconditional.
21171         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21172         Likewise.
21173         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21174         Likewise.
21175         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21176         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21177         code unconditional.
21178         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21179         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21180         code unconditional.
21181         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21182         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21183         code unconditional.
21184         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21185         code unconditional.
21186         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21187         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21188         code unconditional.
21189         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21190         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21191         code unconditional.
21192         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21193         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21194         code unconditional.
21195         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21196         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21197         code unconditional.
21198         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21199         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21201         [BZ #19095]
21202         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21203         mantissa to long int before shifting left.
21205 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21207         [BZ #19094]
21208         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21209         <limits.h>.
21210         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21211         when result overflows but exception would not result from cast.
21212         * sysdeps/ieee754/ldbl-128/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-128/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         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21221         <limits.h>.
21222         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21223         when result overflows but exception would not result from cast.
21224         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21225         <limits.h>.
21226         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21227         when result overflows but exception would not result from cast.
21228         * math/libm-test.inc (lrint_test_data): Add more tests.
21229         (llrint_test_data): Likewise.
21231 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21233         [BZ #18872]
21234         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21235         Move out from under [$(run-built-tests) = yes] conditional.
21236         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21237         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21239 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21241         [BZ #18589]
21242         * string/Makefile (tests): Add bug-strcoll2.
21243         (LOCALES): Add cs_CZ.UTF-8.
21244         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21246         [BZ #18589]
21247         * string/bug-strcoll2.c: New file.
21248         * locale/categories.def: Revert commit
21249         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21250         * locale/langinfo.h: Likewise.
21251         * locale/localeinfo.h: Likewise.
21252         * locale/C-collate.c: Likewise.
21253         * locale/programs/ld-collate.c (collate_output): Likewise.
21254         * string/strcoll_l.c (STRDIFF): Likewise.
21255         (STRCOLL): Likewise.
21256         * wcsmbs/wcscoll_l.c: Likewise.
21258 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21260         * math/libm-test.inc (lround_test_data): Do not expect the absence
21261         of "inexact" for some tests with non-integer arguments.
21262         (llround_test_data): Likewise.
21264         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21265         test.
21266         (libc_cv_cc_sse2avx): Likewise.
21267         * sysdeps/i386/configure: Regenerated.
21268         * sysdeps/i386/i686/multiarch/Makefile
21269         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21270         [$(subdir) = math].
21271         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21272         code unconditional.
21273         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21274         Likewise.
21275         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21276         Likewise.
21277         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21278         Likewise.
21279         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21280         test.
21281         (libc_cv_cc_sse2avx): Likewise.
21282         * sysdeps/x86_64/configure: Regenerated.
21283         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21284         unconditional.
21285         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21286         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21287         unconditional.
21288         (_dl_runtime_profile)
21289         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21290         conditional code.
21291         * sysdeps/x86_64/fpu/multiarch/Makefile
21292         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21293         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21294         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21295         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21296         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21297         * sysdeps/x86_64/fpu/multiarch/e_log.c
21298         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21299         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21300         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21301         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21302         Likewise.
21303         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21304         Likewise.
21305         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21306         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21307         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21308         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21309         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21310         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21311         (HAVE_SSE2AVX_SUPPORT): Likewise.
21313 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21315         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21316         instead of #pragma optimize.
21318 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21320         [BZ #17195]
21321         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21322         as is similarly done in systrim and _int_free already.
21324 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21326         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21328 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21330         [BZ #19088]
21331         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21332         <limits.h>.
21333         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21334         overflows but exception would not result from cast.
21335         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21336         and <limits.h>.
21337         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21338         overflows but exception would not result from cast.
21339         * sysdeps/ieee754/ldbl-128/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-128/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         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
21348         <limits.h>.
21349         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21350         overflows but exception would not result from cast.
21351         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
21352         <limits.h>.
21353         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21354         overflows but exception would not result from cast.
21355         * math/libm-test.inc (lround_test_data): Add more tests.
21356         (llround_test_data): Likewise.
21358 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
21360         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
21361         (CFLAGS-ialloc.c): Ditto.
21362         (CFLAGS-scheck.c): Ditto.
21364 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21366         [BZ #19086]
21367         * manual/filesys.texi (Storage Allocation): Fix argument order for
21368         posix_fallocate64.
21370 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21372         [BZ #19085]
21373         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
21374         exponent below 48 inside case for non-overflowing exponent.
21375         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
21377 2015-10-07  Florian Weimer  <fweimer@redhat.com>
21379         * iconvdata/cp737.h (from_idx): Add const.
21380         * iconvdata/cp775.h (from_idx): Likewise.
21382 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21384         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
21385         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
21386         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
21388         [BZ #19079]
21389         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
21390         file, conditioned on [!_LP64].
21391         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
21392         [!_LP64] (__lround): Do not define as function or alias.
21393         [!_LP64] (lround): Likewise.
21394         [!_LP64] (__lroundl): Likewise.
21395         [!_LP64] (lroundl): Likewise.
21396         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
21397         macro.
21398         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21399         Likewise.
21401 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21403         * math/libm-test.inc (lrint_test_data): Add more tests.
21404         (llrint_test_data): Likewise.
21405         (lround_test_data): Likewise.
21406         (llround_test_data): Likewise.
21408         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
21409         (llrint_test_data): Add tests used for lrint.
21411         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
21412         test.
21413         * sysdeps/i386/configure: Regenerated.
21414         * sysdeps/i386/i686/multiarch/Makefile
21415         [$(config-cflags-sse4) = yes]: Make code unconditional.
21416         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21417         Likewise.
21418         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
21419         Likewise.
21420         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
21421         test.
21422         * sysdeps/x86_64/configure: Regenerated.
21423         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21424         Make code unconditional.
21425         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21426         Likewise.
21427         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21428         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21430         * scripts/rpm2dynsym.sh: Remove file.
21432 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21434         * configure.ac (libc_cv_cxx_thread_local): Define.
21435         * configure: Regenerate.
21436         * config.make.in (have-cxx-thread_local): Define.
21437         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21438         (LDLIBS-tst-thread_local1): Define.
21439         (tests): Add tst-thread_local1.
21440         [have-cxx-thread_local != yes] (tests-unsupported): Add
21441         tst-thread_local1.
21442         * nptl/tst-thread_local1.cc: New file.
21444 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21446         [BZ #19078]
21447         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21448         (u_thres): Likewise.
21449         (__expl): Determine whether to call __kernel_standard_l based on
21450         value of result, not argument.
21452         * math/libm-test.inc (scalb_test_data): Add more expectations for
21453         the "inexact" exception.
21455         [BZ #19077]
21456         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21457         0.0L for argument 1.0L.
21459         [BZ #19076]
21460         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21461         constant 0.0L when computing infinite result.
21463 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21465         [BZ #10432]
21466         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21467         malloc_usable_size.
21469 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21471         [BZ #19018]
21472         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21473         Mangle function pointer before storing it.
21474         (__call_tls_dtors): Demangle function pointer before calling it.
21476 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21478         [BZ #19012]
21479         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21480         Clean up on failure.
21482 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21484         [BZ #19071]
21485         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21486         long int variable to store possibly incremented high part of
21487         mantissa.
21488         * math/libm-test.inc (lround_test_data): Add tests used for
21489         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21490         for tests requiring 64-bit long.  Do not condition tests on
21491         [TEST_FLOAT] unnecessarily.
21492         (llround_test_data): Add tests used for lround.  Add another
21493         expectation for the "inexact" exception.  Do not condition tests
21494         on [TEST_FLOAT] unnecessarily.
21496         [BZ #887]
21497         [BZ #19049]
21498         [BZ #19050]
21499         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21500         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21501         <fix-int-fp-convert-zero.h>.
21502         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21503         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21504         <fix-int-fp-convert-zero.h>.
21505         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21506         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21507         <fix-int-fp-convert-zero.h>.
21508         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21509         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21510         <fix-int-fp-convert-zero.h>.
21511         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21512         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21513         <fix-int-fp-convert-zero.h>.
21514         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21515         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21516         <fix-int-fp-convert-zero.h>.
21517         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21518         * sysdeps/ieee754/flt-32/s_erff.c: Include
21519         <fix-int-fp-convert-zero.h>.
21520         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21521         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21522         <fix-int-fp-convert-zero.h>.
21523         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21524         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21525         <fix-int-fp-convert-zero.h>.
21526         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21528         <fix-int-fp-convert-zero.h>.
21529         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21530         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21531         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21532         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21533         file.
21534         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21536 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21540 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21542         [BZ #19059]
21543         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21544         overflowing computation.
21545         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21546         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21547         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21548         Likewise.
21549         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21550         Likewise.
21551         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21552         Likewise.
21553         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21554         Likewise.
21555         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21556         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21557         Likewise.
21558         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21559         Likewise.
21560         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21562         * nss/rewrite_field.c (__nss_rewrite_field): Use
21563         internal_function.
21564         * nss/valid_field.c (__nss_valid_field): Likewise.
21565         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21567 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21569         [BZ #18724]
21570         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21571         (__nss_invalid_field_characters, __nss_valid_field)
21572         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21573         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21574         tst-field.c: New file.
21575         * nss/Makefile (routines): Add valid_field, rewrite_field.
21576         (tests-static): Define unconditionally.
21577         (tests): Include tests-static.
21578         [build-static-nss] (tests-static): Use append.
21579         [build-static-nss] (tests): Remove modification.
21580         * nss/getent.c (print_group): Call putgrent.  Report error.
21581         (print_gshadow): Call putsgent.  Report error.
21582         (print_passwd): Call putpwent.  Report error.
21583         (print_shadow): Call putspent.  Report error.
21584         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21585         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21586         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21587         name, password, directory, shell fields for valid syntax.  Rewrite
21588         GECOS field to match syntax.
21589         * pwd/Makefile (tests): Add tst-putpwent.
21590         * pwd/tst-putpwent.c: New file.
21591         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21592         Check grName, grpasswd, gr_mem fields for valid syntax.
21593         Change loop variable i to size_t.
21594         * grp/Makefile (tests): Add tst-putgrent.
21595         * grp/tst-putgrent.c: New file.
21596         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21597         valid syntax.
21598         * shadow/Makefile (tests): Add tst-putspent.
21599         * shadow/tst-putspent.c: New file.
21600         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21601         sg_mem fields for valid syntax.
21602         * gshadow/Makefile (tests): Add tst-putsgent.
21603         * gshadow/tst-putsgent.c: New file.
21605 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21607         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21608         assembly instructions.
21610 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21612         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21613         prefix from operands.
21615 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21617         [BZ #16347]
21618         [BZ #19046]
21619         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21620         <libc-internal.h>.
21621         (MAXLGM): Do not use diagnostic control macros.
21622         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21623         threshold for ldbl-128ibm.
21624         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21625         instead of multiplying by log then subtracting.
21626         * math/auto-libm-test-in: Add more tests of lgamma.
21627         * math/auto-libm-test-out: Regenerated.
21629         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21630         (TYPE_HEX_DIG): Likewise.
21631         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21632         precisions when printing floating-point numbers.
21633         (check_float_internal): Likewise.
21635 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21637         [BZ #16620]
21638         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21639         of log (10) rounded downward to 48 bits.
21640         (log10_low): Use corresponding low part of log (10).
21642         [BZ #19032]
21643         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21644         compute result as (x - x) / (x - x) not as 0 / 0.
21645         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21646         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21648         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21649         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21650         and expm1.
21651         * math/auto-libm-test-out: Regenerated.
21652         * math/libm-test.inc (acos_test_data): Add more tests.
21653         (asin_test_data): Likewise.
21654         (asinh_test_data): Likewise.
21655         (atan_test_data): Likewise.
21656         (atanh_test_data): Likewise.
21657         (atan2_test_data): Likewise.
21658         (cbrt_test_data): Likewise.
21659         (ceil_test_data): Likewise.
21660         (copysign_test_data): Likewise.
21661         (cos_test_data): Likewise.
21662         (cosh_test_data): Likewise.
21663         (erf_test_data): Likewise.
21664         (erfc_test_data): Likewise.
21665         (exp_test_data): Likewise.
21666         (exp10_test_data): Likewise.
21667         (exp2_test_data): Likewise.
21668         (expm1_test_data): Likewise.
21669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21671 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21673         [BZ #19006]
21674         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21675         to ...
21676         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21677         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21678         to ...
21679         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21680         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21681         to ...
21682         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21683         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21684         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21685         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21686         to ...
21687         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21688         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21689         Moved to ...
21690         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21691         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21692         Moved to ...
21693         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21694         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21695         to ...
21696         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21697         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21698         Moved to ...
21699         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21700         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21701         to ...
21702         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21703         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21704         Removed.
21705         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21706         Likewise.
21707         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21708         Likewise.
21709         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21710         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21711         Likewise.
21712         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21713         Likewise.
21714         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21715         Likewise.
21716         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21717         Likewise.
21718         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21719         Likewise.
21720         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21721         Likewise.
21722         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21723         Likewise.
21724         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21725         Likewise.
21726         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21727         Likewise.
21728         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21729         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21730         Likewise.
21731         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21732         Likewise.
21733         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21734         Likewise.
21735         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21736         Likewise.
21737         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21738         Likewise.
21739         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21740         Replace ../i486/pthread_cond_timedwait.S with
21741         ../pthread_cond_timedwait.S.
21743 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21745         * math/libm-test.inc (acos_test_data): Refine expectations for
21746         errno and "inexact" exceptions.
21747         (acosh_test_data): Likewise.
21748         (asin_test_data): Likewise.
21749         (asinh_test_data): Likewise.
21750         (atan_test_data): Likewise.
21751         (atanh_test_data): Likewise.
21752         (atan2_test_data): Likewise.
21753         (cbrt_test_data): Likewise.
21754         (ceil_test_data): Likewise.
21755         (copysign_test_data): Likewise.
21756         (cosh_test_data): Likewise.
21757         (erf_test_data): Likewise.
21758         (erfc_test_data): Likewise.
21759         (exp_test_data): Likewise.
21760         (exp10_test_data): Likewise.
21761         (exp2_test_data): Likewise.
21762         (expm1_test_data): Likewise.
21763         (fabs_test_data): Likewise.
21764         (floor_test_data): Likewise.
21765         (fma_test_data): Likewise.
21766         (fmax_test_data): Likewise.
21767         (fmin_test_data): Likewise.
21768         (fmod_test_data): Likewise.
21769         (fpclassify_test_data): Likewise.
21770         (frexp_test_data): Likewise.
21771         (hypot_test_data): Likewise.
21772         (ilogb_test_data): Likewise.
21773         (isgreater_test_data): Likewise.
21774         (isgreaterequal_test_data): Likewise.
21775         (isinf_test_data): Likewise.
21776         (isless_test_data): Likewise.
21777         (islessequal_test_data): Likewise.
21778         (islessgreater_test_data): Likewise.
21779         (isnan_test_data): Likewise.
21780         (isnormal_test_data): Likewise.
21781         (issignaling_test_data): Likewise.
21782         (isunordered_test_data): Likewise.
21783         (j0_test_data): Likewise.
21784         (j1_test_data): Likewise.
21785         (jn_test_data): Likewise.
21786         (lgamma_test_data): Likewise.
21787         (lrint_test_data): Likewise.
21788         (llrint_test_data): Likewise.
21789         (log_test_data): Likewise.
21790         (log10_test_data): Likewise.
21791         (log1p_test_data): Likewise.
21792         (log2_test_data): Likewise.
21793         (logb_test_data): Likewise.
21794         (lround_test_data): Likewise.
21795         (llround_test_data): Likewise.
21796         (modf_test_data): Likewise.
21797         (nearbyint_test_data): Likewise.
21798         (nextafter_test_data): Likewise.
21799         (nexttoward_test_data): Likewise.
21800         (pow_test_data): Likewise.
21801         (remainder_test_data): Likewise.
21802         (remquo_test_data): Likewise.
21803         (rint_test_data): Likewise.
21804         (round_test_data): Likewise.
21805         (signbit_test_data): Likewise.
21806         (sinh_test_data): Likewise.
21807         (sqrt_test_data): Likewise.
21808         (tanh_test_data): Likewise.
21809         (tgamma_test_data): Likewise.
21810         (trunc_test_data): Likewise.
21811         (y0_test_data): Likewise.
21812         (y1_test_data): Likewise.
21813         (yn_test_data): Likewise.
21814         (significand_test_data): Likewise.
21816 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21818         * manual/filesys.texi (Storage Allocation): Document that
21819         posix_fallocate emulation fails when fd is open with O_WRONLY.
21821 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21823         [BZ #19016]
21824         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21825         allow more cases with X^2 + Y^2 >= 0.5.
21826         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21827         normal element in sum instead of special-casing based on values of
21828         arguments.
21829         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21830         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21831         -1 as normal element in sum instead of special-casing based on
21832         values of arguments.
21833         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21834         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21835         (__x2y2m1): Update comment.
21836         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21837         as normal element in sum instead of special-casing based on values
21838         of arguments.
21839         * math/s_clog.c (__clog): Handle more cases using log1p without
21840         hypot.
21841         * math/s_clog10.c (__clog10): Likewise.
21842         * math/s_clog10f.c (__clog10f): Likewise.
21843         * math/s_clog10l.c (__clog10l): Likewise.
21844         * math/s_clogf.c (__clogf): Likewise.
21845         * math/s_clogl.c (__clogl): Likewise.
21846         * math/auto-libm-test-in: Add more tests of clog and clog10.
21847         * math/auto-libm-test-out: Regenerated.
21848         * sysdeps/i386/fpu/libm-test-ulps: Update.
21849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21851 2015-09-28  Martin Sebor  <msebor@redhat.com>
21853         [BZ #18969]
21854         * string/Makefile (LOCALES): Define.
21855         (gen-locales.mk): Include.
21856         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21857         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21858         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21859         on setlocale failure.
21861 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21863         [BZ #18985]
21864         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21865         (__strftime_internal): Likewise.
21866         * time/tst-strftime.c (do_bz18985): New test.
21867         (do_test): Call it.
21869 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21871         [BZ #18956]
21872         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21873         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21874         extracting high part.
21875         * math/auto-libm-test-in: Add another test of pow.
21876         * math/auto-libm-test-out: Regenerated.
21877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21879 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21881         [BZ #18825]
21882         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21883         New macro.
21884         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21885         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21886         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21887         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21888         DBL_NARROW_EVAL, reloading the PIC register as needed.
21889         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21890         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21891         FLT_NARROW_EVAL.  Use separate return path for case when first
21892         argument is NaN.
21893         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21894         DEFINE_LDBL_MIN.
21895         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21896         PIC register.
21897         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21898         math_check_force_underflow_nonneg.
21899         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21900         underflow for subnormal result.
21901         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21902         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21903         math_check_force_underflow_nonneg.
21904         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21905         math_check_force_underflow.
21906         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21907         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21908         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21909         DEFINE_LDBL_MIN.
21910         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21911         * math/auto-libm-test-in: Add more tests of pow.
21912         * math/auto-libm-test-out: Regenerated.
21914 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21916         * nss/bug17079.c (init_test_items): Add diagnostic for
21917         inconsistent entries.
21918         (test_buffer_size): Skip inconsistent entries.
21920 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21922         [BZ #13304]
21923         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21924         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21925         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21927         [BZ #13304]
21928         * sysdeps/microblaze/s_fma.c: New file.
21929         * sysdeps/microblaze/s_fmaf.c: Likewise.
21930         * sysdeps/microblaze/sfp-machine.h: Likewise.
21932 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21934         [BZ #17250]
21935         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21936         member.
21938 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21940         [BZ #18803]
21941         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21942         (MO): New macro.
21943         (__ieee754_hypot) [PIC]: Load PIC register.
21944         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21945         DBL_NARROW_EVAL.
21946         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21947         math_check_force_underflow_nonneg in case where result might be
21948         tiny.
21949         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21950         Likewise.
21951         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21952         Likewise.
21953         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21954         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21955         * math/auto-libm-test-in: Add more tests of hypot.
21956         * math/auto-libm-test-out: Regenerated.
21958 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21960         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21962 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21964         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21965         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21966         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21967         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21968         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21969         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21970         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21972         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21973         LOAD_PIC_REG.
21975         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21976         (FLT_CHECK_FORCE_UFLOW): Likewise.
21977         (DBL_CHECK_FORCE_UFLOW): Likewise.
21978         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21979         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21980         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21981         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21982         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21983         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21984         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21985         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21986         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21987         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21988         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21989         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21990         (flt_min): Replace with use of DEFINE_FLT_MIN.
21991         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21992         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21993         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21994         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21995         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21996         (flt_min): Replace with use of DEFINE_FLT_MIN.
21997         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21998         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21999         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22000         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
22001         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
22002         (flt_min): Replace with use of DEFINE_FLT_MIN.
22003         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
22004         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
22005         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22006         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22007         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22008         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22009         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22010         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22011         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22012         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22013         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22014         (flt_min): Replace with use of DEFINE_FLT_MIN.
22015         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22016         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22017         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22018         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22019         main computation.
22020         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22021         (flt_min): Replace with use of DEFINE_FLT_MIN.
22022         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22023         main computation.
22024         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22025         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22026         (MO): New macro.
22027         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22028         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22029         (flt_min): Replace with use of DEFINE_FLT_MIN.
22030         (MO): New macro.
22031         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22032         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22033         (__log1pl): Use MO.
22035         [BZ #19003]
22036         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22037         $(config-cflags-nofma).
22039 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22041         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22043 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22045         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22046         (TWO127): Likewise.
22048         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22049         (min_of_type): Likewise.
22050         (math_check_force_underflow): Likewise.
22051         (math_check_force_underflow_nonneg): Likewise.
22052         (math_check_force_underflow_complex): Likewise.
22053         * math/e_exp2l.c (__ieee754_exp2l): Use
22054         math_check_force_underflow_nonneg.
22055         * math/k_casinh.c (__kernel_casinh): Likewise.
22056         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22057         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22058         * math/s_catan.c (__catan): Use
22059         math_check_force_underflow_complex.
22060         * math/s_catanf.c (__catanf): Likewise.
22061         * math/s_catanh.c (__catanh): Likewise.
22062         * math/s_catanhf.c (__catanhf): Likewise.
22063         * math/s_catanhl.c (__catanhl): Likewise.
22064         * math/s_catanl.c (__catanl): Likewise.
22065         * math/s_ccosh.c (__ccosh): Likewise.
22066         * math/s_ccoshf.c (__ccoshf): Likewise.
22067         * math/s_ccoshl.c (__ccoshl): Likewise.
22068         * math/s_cexp.c (__cexp): Likewise.
22069         * math/s_cexpf.c (__cexpf): Likewise.
22070         * math/s_cexpl.c (__cexpl): Likewise.
22071         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22072         * math/s_clog10.c (__clog10): Likewise.
22073         * math/s_clog10f.c (__clog10f): Likewise.
22074         * math/s_clog10l.c (__clog10l): Likewise.
22075         * math/s_clogf.c (__clogf): Likewise.
22076         * math/s_clogl.c (__clogl): Likewise.
22077         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22078         * math/s_csinf.c (__csinf): Likewise.
22079         * math/s_csinh.c (__csinh): Likewise.
22080         * math/s_csinhf.c (__csinhf): Likewise.
22081         * math/s_csinhl.c (__csinhl): Likewise.
22082         * math/s_csinl.c (__csinl): Likewise.
22083         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22084         * math/s_csqrtf.c (__csqrtf): Likewise.
22085         * math/s_csqrtl.c (__csqrtl): Likewise.
22086         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22087         * math/s_ctanf.c (__ctanf): Likewise.
22088         * math/s_ctanh.c (__ctanh): Likewise.
22089         * math/s_ctanhf.c (__ctanhf): Likewise.
22090         * math/s_ctanhl.c (__ctanhl): Likewise.
22091         * math/s_ctanl.c (__ctanl): Likewise.
22092         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22093         instead of volatile.
22094         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22095         math_check_force_underflow.
22096         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22097         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22098         volatile when forcing underflow.
22099         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22100         math_check_force_underflow_nonneg.
22101         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22102         Likewise.
22103         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22104         math_check_force_underflow.
22105         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22106         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22107         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22108         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22109         math_check_force_underflow_nonneg.
22110         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22111         math_check_force_underflow.
22112         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22114         instead of volatile.
22115         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22116         math_check_force_underflow.
22117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22118         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22119         math_check_force_underflow_nonneg.
22120         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22121         math_check_force_underflow.
22122         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22123         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22124         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22125         math_check_force_underflow_nonneg.
22126         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22127         Likewise.
22128         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22129         math_check_force_underflow.
22130         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22131         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22132         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22133         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22134         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22135         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22136         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22137         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22138         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22139         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22140         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22141         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22142         Likewise.
22143         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22144         math_check_force_underflow_nonneg.
22145         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22146         Likewise.
22147         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22148         math_check_force_underflow.
22149         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22150         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22151         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22152         Likewise.
22153         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22154         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22155         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22156         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22157         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22158         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22160         instead of volatile.
22161         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22162         math_check_force_underflow.
22163         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22164         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22165         math_check_force_underflow.
22166         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22167         Likewise.
22168         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22169         Use math_check_force_underflow_nonneg.
22170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22171         math_check_force_underflow.
22172         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22173         Likewise.
22174         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22175         Likewise.
22176         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22177         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22178         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22179         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22180         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22181         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22182         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22183         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22184         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22185         math_check_force_underflow_nonneg.
22186         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22187         math_check_force_underflow.
22188         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22189         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22190         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22191         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22192         math_check_force_underflow_nonneg.
22193         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22194         math_check_force_underflow.
22195         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22197         instead of volatile.
22198         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22199         math_check_force_underflow.
22201         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22202         * stdlib/strtod_l.c: Include <math_private.h>.
22203         (overflow_value): Use math_narrow_eval.
22204         (underflow_value): Likewise.
22205         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22206         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22207         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22208         (__ieee754_gamma_r): Likewise.
22209         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22210         Likewise.
22211         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22212         Likewise.
22213         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22214         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22215         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22216         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22217         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22218         (__ieee754_gammaf_r): Likewise.
22219         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22220         Likewise.
22221         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22222         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22223         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22224         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22225         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22226         volatile.
22227         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22228         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22229         math_narrow_eval.
22230         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22231         Likewise.
22232         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22233         Likewise.
22234         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22235         Likewise.
22236         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22237         volatile.
22238         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22239         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22240         math_narrow_eval.
22241         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22242         Likewise.
22243         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22244         Likewise.
22246 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22248         * nptl/Versions: Remove ignored symbols.
22250 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22252         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22253         * nss/Makefile (tests): Update.
22255 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22257         * nss/bug18287.c: New file.
22258         * nss/Makefile (tests): Add bug18287.
22260 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22262         * mach/Versions (__mach_host_self_): Add symbol.
22264 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22266         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22267         vm_page_size.
22269 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22271         Really fix sysdeps/i386/fpu/s_scalbn.S build
22273         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22274         (libc: GLIBC_2_22): Remove unused version set.
22276 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22278         * config.make.in (enable-timezone-tools): New variable.
22279         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22280         (enable_timezone_tools): Export to generated files.
22281         * configure: Regenerate.
22282         * INSTALL: Regenerate.
22283         * manual/install.texi (--disable-timezone-tools): Document new flag.
22284         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22285         ifeq ($(enable-timezone-tools),yes) check.
22287 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22289         * timezone/Makefile: Revert previous change.
22291         [BZ #18980]
22292         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22293         (DEFINE_DBL_MIN): Likewise.
22294         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22295         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22296         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22297         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22298         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22299         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22300         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22301         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22302         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22303         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22304         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22305         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22306         (flt_min): Replace with use of DEFINE_FLT_MIN.
22307         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22308         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22309         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22310         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22311         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22312         (flt_min): Replace with use of DEFINE_FLT_MIN.
22313         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22314         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22315         (flt_min): Replace with use of DEFINE_FLT_MIN.
22316         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22317         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22318         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22319         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22320         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22321         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22322         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22323         (__ieee754_pow): Use DBL_NARROW_EVAL.
22324         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22325         (__ieee754_powf): Use FLT_NARROW_EVAL.
22326         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22327         (__ieee754_expf_sse2): Convert double-precision result to single
22328         precision.
22329         * sysdeps/i386/fpu/libm-test-ulps: Update.
22331 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22333         * timezone/Makefile: Ignore unused variable errors due to private.h
22334         (time_t_min) and (time_t_max).
22335         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22336         Likewise.
22338 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22340         [BZ #18981]
22341         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22342         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22343         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22344         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
22345         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
22346         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
22347         (__scalbn): Use DBL_NARROW_EVAL.
22348         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
22349         (__scalbnf): Use FLT_NARROW_EVAL.
22351 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22353         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
22354         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
22355         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
22356         * stdio-common/printf_fp.c (___printf_fp):
22357         Use signbit to get the sign. Use isinf macro to allow inlining.
22358         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22359         * stdio-common/printf_size.c (__printf_size): Likewise.
22361 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22363         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
22365 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22367         [BZ #18980]
22368         * sysdeps/generic/math_private.h: Include <float.h>.
22369         (math_narrow_eval): New macro.
22370         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
22371         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
22372         math_narrow_eval on overflowing return value.
22373         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
22374         Likewise.
22375         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22376         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
22377         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
22378         Likewise.
22379         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22381 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22383         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
22384         * math/Makefile: Remove isinf_ns.c.
22385         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
22386         * math/multc3.c (__multc3): Likewise.
22387         * math/s_casin.c (__casin): Likewise.
22388         * math/s_casinf.c (__casinf): Likewise.
22389         * math/s_casinl.c (__casinl): Likewise.
22390         * math/s_cproj.c (__cproj): Likewise.
22391         * math/s_cprojf.c (__cprojf): Likewise.
22392         * math/s_cprojl.c (__cprofl): Likewise.
22393         * math/s_ctan.c (__ctan): Likewise.
22394         * math/s_ctanf.c (__ctanf): Likewise.
22395         * math/s_ctanh.c (__ctanh): Likewise.
22396         * math/s_ctanhf.c (__ctanhf): Likewise.
22397         * math/s_ctanhl.c (__ctanhl): Likewise.
22398         * math/s_ctanl.c (__ctanl): Likewise.
22399         * math/w_fmod.c (__fmod): Likewise.
22400         * math/w_fmodf.c (__fmodf): Likewise.
22401         * math/w_fmodl.c (_fmodl): Likewise.
22402         * math/w_remainder.c (__remainder): Likewise.
22403         * math/w_remainderf.c (__remainderf): Likewise.
22404         * math/w_remainderl.c (__remainderl): Likewise.
22405         * math/w_scalb.c (__scalb): Likewise.
22406         * math/w_scalbf.c (__scalbf): Likewise.
22407         * math/w_scalbl.c (__scalbl): Likewise.
22408         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
22409         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
22410         with isinf.
22411         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
22412         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
22413         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
22414         __isinf_nsf with isinf.
22415         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
22416         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
22417         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
22418         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
22419         with isinf.
22420         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
22421         __isinf_nsl with isinf.
22422         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22423         with isinf.
22424         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22425         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22426         __isinf_nsl with isinf.
22427         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22428         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22429         with isinf.
22431 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22433         * resolv/base64.c (rcsid): Remove unused static.
22434         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22435         static.  (tqpi1): Likewise.
22436         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22437         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22438         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22439         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22440         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22441         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22442         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22443         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22444         Likewise.
22446 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22448         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22449         <nptl/pthreadP.h>.
22450         (_longjmp_unwind): Use __libc_ptf_call.
22451         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22453 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22455         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22456         * sysdeps/arm/__longjmp.S: Likewise.
22458 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22460         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22461         Use __builtin_signbit.
22462         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22463         Use __builtin_signbitf.
22464         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22465         Use __builtin_signbitl.
22466         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22467         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22469 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22471         [BZ #15367]
22472         [BZ #17441]
22474         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22475         * math/math.h (fpclassify): Use __builtin_fpclassify when
22476         available.  (signbit): Use __builtin_signbit(f/l).
22477         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22478         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22479         (isinf): Use __builtin_isinf_sign.
22481 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22483         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22484         * benchtests/bench-math-inlines.c: New benchmark.
22485         * benchtests/bench-util.h: New file.
22486         * benchtests/bench-util.c: New file.
22487         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22489 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22491         * elf/tst-dlmopen1.c: Define TEST_SO.
22492         (do_test): Use TEST_SO.
22494         * elf/dl-load.c: Include libc-internal.h.
22495         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22497 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22499         [BZ #17887]
22500         * time/strptime_l.c (__strptime_internal): Make %z accept
22501         [+-]HH:MM time zones.
22503 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22505         [BZ #17886]
22506         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22507         valid time zone.
22509 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22511         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22512         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22513         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22514         (__ASSUME_FDATASYNC): Delete.
22516 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22518         * conform/linknamespace.pl: Require weak undefined symbols to be
22519         in the standard namespace.
22520         (%strong_syms): Rename to %seen_syms.
22521         (%strong_seen): Rename to %seen_where.
22523 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22525         [BZ #18970]
22526         * misc/error.c (error): Replace pthread_setcancelstate with
22527         __pthread_setcancelstate.
22528         (error_at_line): Likewise.
22529         * posix/wordexp.c (parse_comm): Likewise.
22530         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22531         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22532         (__pthread_setcancelstate): This.
22533         (pthread_setcancelstate): Add an alias.
22534         * nptl/nptl-init.c (pthread_functions): Replace
22535         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22536         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22537         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22538         hidden_proto.
22539         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22540         it with hidden_def.
22541         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22542         (pthread_setcancelstate): Renamed to ...
22543         (__pthread_setcancelstate): This.
22544         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22545         __libc_ptf_call with __pthread_setcancelstate.
22547 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22548             Andreas Schwab  <schwab@suse.de>
22550         [BZ #17118]
22551         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22552         result when imaginary part of argument is infinite using sine and
22553         cosine.
22554         * math/s_ctanf.c (__ctanf): Likewise.
22555         * math/s_ctanl.c (__ctanl): Likewise.
22556         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22557         of result when real part of argument is infinite using sine and
22558         cosine.
22559         * math/s_ctanhf.c (__ctanhf): Likewise.
22560         * math/s_ctanhl.c (__ctanhl): Likewise.
22561         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22562         (ctanh_test_data): Add more tests of ctanh.
22564 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22566         [BZ #15384]
22567         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22568         bit-mask as in subtraction.
22569         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22570         Likewise.
22571         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22572         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22573         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22575         [BZ #18951]
22576         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22577         underflow exception for small results.
22578         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22579         Likewise.
22580         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22581         Likewise.
22582         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22583         Likewise.
22584         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22585         Likewise.
22586         * math/auto-libm-test-in: Add more tests of tgamma.
22587         * math/auto-libm-test-out: Regenerated.
22589 2015-09-17  Andreas Schwab  <schwab@suse.de>
22591         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22593 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22595         [BZ #18977]
22596         * math/bits/mathcalls.h
22597         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22598         not declare.
22599         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22600         Likewise.
22601         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22602         Likewise.
22603         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22604         Likewise.
22605         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22606         Likewise.
22607         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22608         Likewise.
22609         * conform/data/math.h-data
22610         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22611         function.
22612         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22613         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22614         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22615         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22616         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22617         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22618         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22619         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22620         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22621         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22622         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22624         [BZ #6803]
22625         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22626         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22627         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22628         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22629         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22630         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22631         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22632         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22633         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22635         Likewise.
22636         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22637         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22638         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22639         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22640         long_double_symbol calls.
22641         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22642         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22643         strong alias of __ldexpl.
22644         (scalbnl): Define using long_double_symbol.
22645         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22646         Remove alias.
22647         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22648         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22649         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22650         (scalbln_test_data): Add more errno expectations.
22652 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22654         Cache the host port like we cache the task port.  This way we do not
22655         need to call the kernel just to get the port.  Furthermore, we no
22656         longer increase the reference count on every invocation of
22657         `mach_host_self'.
22659         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22660         Protect declarations against the macro expansion.
22661         * mach/mach_init.c (__mach_host_self_): New variable.
22662         (mach_init): Initialize `__mach_host_self_'.
22663         * mach/mach_init.h (__mach_host_self_): New declaration.
22664         (__mach_host_self, mach_host_self): New macros.
22665         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22666         Release reference.
22668 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22670         [BZ #4404]
22671         * po/de.po: Update from Translation Project.
22673         [BZ #16415]
22674         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22675         (__expm1l): Remove code to handle positive infinity and overflow.
22676         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22677         variable.
22678         (__expm1l): Remove code to handle positive infinity and overflow.
22680 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22681             Paul Pluzhnikov  <ppluzhnikov@google.com>
22683         [BZ #18872]
22684         * stdio-common/Makefile (tst-printf-bz18872): New test.
22685         (tst-printf-bz18872-mem.out): Likewise.
22686         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22687         * stdio-common/vfprintf.c: Fix memory leaks.
22689 2015-09-16  Andreas Schwab  <schwab@suse.de>
22691         [BZ #17244]
22692         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22693         Remove extra va_start/va_end calls.
22695         [BZ #17243]
22696         * posix/execl.c (execl): Add missing va_end.
22697         * posix/execle.c (execle): Likewise.
22698         * posix/execlp.c (execlp): Likewise.
22700 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22702         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22703         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22705 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22707         [BZ #18967]
22708         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22709         undefine around includes of <bits/mathcalls.h>.
22710         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22711         not declare function.
22712         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22713         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22714         (scalb): Likewise.
22715         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22716         not define macro.
22717         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22718         variable.
22719         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22720         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22721         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22723         [BZ #18857]
22724         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22725         return non-finite argument without doing ordered comparisons on
22726         it.
22728         [BZ #16296]
22729         * math/fenv.h (fegetround): Use __attribute_pure__.
22730         * include/fenv.h (__fegetround): Likewise.
22732         [BZ #18595]
22733         * math/s_ctan.c (__ctan): Force underflow exception for results
22734         whose real or imaginary part has small absolute value.
22735         * math/s_ctanf.c (__ctanf): Likewise.
22736         * math/s_ctanh.c (__ctanh): Likewise.
22737         * math/s_ctanhf.c (__ctanhf): Likewise.
22738         * math/s_ctanhl.c (__ctanhl): Likewise.
22739         * math/s_ctanl.c (__ctanl): Likewise.
22740         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22741         and ctanh.  Add more tests of ctan and ctanh.
22743         [BZ #15918]
22744         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22745         handling of cases where one argument is an infinity.
22747         [BZ #18875]
22748         [BZ #18966]
22749         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22750         (MO): New macro.
22751         (__ieee754_exp10): For small results, force underflow exception
22752         and remove excess range and precision from return value.
22753         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22754         (MO): New macro.
22755         (__ieee754_exp10f): For small results, force underflow exception
22756         and remove excess range and precision from return value.
22757         * math/auto-libm-test-in: Add more tests of exp10.
22758         * math/auto-libm-test-out: Regenerated.
22760 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22762         [BZ #18875]
22763         [BZ #18961]
22764         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22765         (MO): New macro.
22766         (__ieee754_exp): For small results, force underflow exception and
22767         remove excess range and precision from return value.
22768         (__exp_finite): Likewise.
22769         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22770         (MO): New macro.
22771         (__ieee754_expf): For small results, force underflow exception and
22772         remove excess range and precision from return value.
22773         (__expf_finite): Likewise.
22774         * math/auto-libm-test-in: Add more tests of exp.
22775         * math/auto-libm-test-out: Regenerated.
22777         [BZ #16521]
22778         [BZ #18875]
22779         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22780         small results.
22781         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22782         (MO): New macro.
22783         (__ieee754_exp2): For small results, force underflow exception and
22784         remove excess range and precision from return value.
22785         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22786         (MO): New macro.
22787         (__ieee754_exp2f): For small results, force underflow exception
22788         and remove excess range and precision from return value.
22789         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22790         (MO): New macro.
22791         (__ieee754_exp2l): Force underflow exception for small results.
22792         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22793         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22794         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22795         (MO): New macro.
22796         (__ieee754_exp2l): Force underflow exception for small results.
22797         * math/auto-libm-test-in: Add more tests or exp2.
22798         * math/auto-libm-test-out: Regenerated.
22800 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22802         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22804         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22805         /dev/null.
22807 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22809         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22810         io fs process)): Drop spurious backslash.
22812 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22815         Use sysinfo system call instead of parsing /proc/meminfo.
22816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22817         Likewise.
22819 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22821         [BZ #16985]
22822         * programs/localedef.c (main): Display argv[remaining] when
22823         output_path is NULL.
22825 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22827         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22828         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22829         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22830         tanh.
22831         * math/auto-libm-test-out: Regenerated.
22832         * sysdeps/i386/fpu/libm-test-ulps: Update.
22833         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22834         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22839         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22840         Use 'override' keyword to freeze the value here, preventing
22841         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22843 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22845         [BZ #14912]
22846         * sysdeps/aarch64/bits/atomic.h: Move to ...
22847         * sysdeps/aarch64/atomic-machine.h: ...here.
22848         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22849         _AARCH64_ATOMIC_MACHINE_H.
22850         * sysdeps/alpha/bits/atomic.h: Move to ...
22851         * sysdeps/alpha/atomic-machine.h: ...here.
22852         * sysdeps/arm/bits/atomic.h: Move to ...
22853         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22854         * bits/atomic.h: Move to ...
22855         * sysdeps/generic/atomic-machine.h: ...here.
22856         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22857         * sysdeps/i386/bits/atomic.h: Move to ...
22858         * sysdeps/i386/atomic-machine.h: ...here.
22859         * sysdeps/ia64/bits/atomic.h: Move to ...
22860         * sysdeps/ia64/atomic-machine.h: ...here.
22861         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22862         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22863         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22864         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22865         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22866         * sysdeps/microblaze/bits/atomic.h: Move to ...
22867         * sysdeps/microblaze/atomic-machine.h: ...here.
22868         * sysdeps/mips/bits/atomic.h: Move to ...
22869         * sysdeps/mips/atomic-machine.h: ...here.
22870         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22871         * sysdeps/powerpc/bits/atomic.h: Move to ...
22872         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22873         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22874         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22875         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22876         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22877         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22878         <atomic-machine.h> instead of <bits/atomic.h>.
22879         * sysdeps/s390/bits/atomic.h: Move to ...
22880         * sysdeps/s390/atomic-machine.h: ...here.
22881         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22882         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22883         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22884         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22885         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22886         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22887         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22888         * sysdeps/tile/bits/atomic.h: Move to ...
22889         * sysdeps/tile/atomic-machine.h: ...here.
22890         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22891         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22892         <sysdeps/tile/atomic-machine.h> instead of
22893         <sysdeps/tile/bits/atomic.h>.
22894         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22895         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22896         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22897         <sysdeps/tile/atomic-machine.h> instead of
22898         <sysdeps/tile/bits/atomic.h>.
22899         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22900         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22901         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22902         <sysdeps/arm/atomic-machine.h> instead of
22903         <sysdeps/arm/bits/atomic.h>.
22904         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22905         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22906         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22907         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22908         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22909         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22910         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22911         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22912         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22913         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22914         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22915         * sysdeps/x86_64/bits/atomic.h: Move to ...
22916         * sysdeps/x86_64/atomic-machine.h: ...here.
22917         * include/atomic.h: Include <atomic-machine.h> instead of
22918         <bits/atomic.h>.
22920         * sysdeps/mips/mips32/libm-test-ulps: Update.
22921         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22923         [BZ #18952]
22924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22925         not convert non-integer negative arguments to int to determine the
22926         value of signgam.
22927         * math/auto-libm-test-in: Add more tests of lgamma.
22928         * math/auto-libm-test-out: Regenerated.
22930         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22931         cosh, csqrt, erfc, expm1 and lgamma.
22932         * math/auto-libm-test-out: Regenerated.
22933         * sysdeps/i386/fpu/libm-test-ulps: Update.
22934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22936 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22938         [BZ #2542]
22939         [BZ #2543]
22940         [BZ #2558]
22941         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22942         __lgamma_neg for arguments from -28.0 to -2.0.
22943         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22944         __lgamma_negf for arguments from -15.0 to -2.0.
22945         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22946         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22947         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22948         Call __lgamma_negl for arguments from -33.0 to -2.0.
22949         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22950         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22951         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22952         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22953         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22954         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22955         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22956         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22957         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22958         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22959         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22960         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22961         (__lgamma_neg): Likewise.
22962         (__lgamma_negl): Likewise.
22963         (__lgamma_product): Likewise.
22964         (__lgamma_productl): Likewise.
22965         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22966         * math/auto-libm-test-in: Add more tests of lgamma.
22967         * math/auto-libm-test-out: Regenerated.
22968         * sysdeps/i386/fpu/libm-test-ulps: Update.
22969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22971 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22973         [BZ #18675]
22974         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22976 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22978         [BZ #14912]
22979         * bits/libc-lock.h: Move to ...
22980         * sysdeps/generic/libc-lock.h: ...here.
22981         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22982         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22983         * sysdeps/mach/hurd/libc-lock.h: ...here.
22984         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22985         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22986         * sysdeps/mach/bits/libc-lock.h: Move to ...
22987         * sysdeps/mach/libc-lock.h: ...here.
22988         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22989         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22990         * sysdeps/nptl/libc-lock.h: ...here.
22991         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22992         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22993         * sysdeps/nptl/libc-lockP.h: ...here.
22994         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22995         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22996         <bits/libc-lock.h>.
22997         * dirent/scandir-tail.c: Likewise.
22998         * dlfcn/dlerror.c: Likewise.
22999         * elf/dl-close.c: Likewise.
23000         * elf/dl-iteratephdr.c: Likewise.
23001         * elf/dl-lookup.c: Likewise.
23002         * elf/dl-open.c: Likewise.
23003         * elf/dl-support.c: Likewise.
23004         * elf/dl-writev.h: Likewise.
23005         * elf/rtld.c: Likewise.
23006         * grp/fgetgrent.c: Likewise.
23007         * gshadow/fgetsgent.c: Likewise.
23008         * gshadow/sgetsgent.c: Likewise.
23009         * iconv/gconv_conf.c: Likewise.
23010         * iconv/gconv_db.c: Likewise.
23011         * iconv/gconv_dl.c: Likewise.
23012         * iconv/gconv_int.h: Likewise.
23013         * iconv/gconv_trans.c: Likewise.
23014         * include/link.h: Likewise.
23015         * inet/getnameinfo.c: Likewise.
23016         * inet/getnetgrent.c: Likewise.
23017         * inet/getnetgrent_r.c: Likewise.
23018         * intl/bindtextdom.c: Likewise.
23019         * intl/dcigettext.c: Likewise.
23020         * intl/finddomain.c: Likewise.
23021         * intl/gettextP.h: Likewise.
23022         * intl/loadmsgcat.c: Likewise.
23023         * intl/localealias.c: Likewise.
23024         * intl/textdomain.c: Likewise.
23025         * libidn/idn-stub.c: Likewise.
23026         * libio/libioP.h: Likewise.
23027         * locale/duplocale.c: Likewise.
23028         * locale/freelocale.c: Likewise.
23029         * locale/newlocale.c: Likewise.
23030         * locale/setlocale.c: Likewise.
23031         * login/getutent_r.c: Likewise.
23032         * login/getutid_r.c: Likewise.
23033         * login/getutline_r.c: Likewise.
23034         * login/utmp-private.h: Likewise.
23035         * login/utmpname.c: Likewise.
23036         * malloc/mtrace.c: Likewise.
23037         * misc/efgcvt.c: Likewise.
23038         * misc/error.c: Likewise.
23039         * misc/fstab.c: Likewise.
23040         * misc/getpass.c: Likewise.
23041         * misc/mntent.c: Likewise.
23042         * misc/syslog.c: Likewise.
23043         * nis/nis_call.c: Likewise.
23044         * nis/nis_callback.c: Likewise.
23045         * nis/nss-default.c: Likewise.
23046         * nis/nss_compat/compat-grp.c: Likewise.
23047         * nis/nss_compat/compat-initgroups.c: Likewise.
23048         * nis/nss_compat/compat-pwd.c: Likewise.
23049         * nis/nss_compat/compat-spwd.c: Likewise.
23050         * nis/nss_nis/nis-alias.c: Likewise.
23051         * nis/nss_nis/nis-ethers.c: Likewise.
23052         * nis/nss_nis/nis-grp.c: Likewise.
23053         * nis/nss_nis/nis-hosts.c: Likewise.
23054         * nis/nss_nis/nis-network.c: Likewise.
23055         * nis/nss_nis/nis-proto.c: Likewise.
23056         * nis/nss_nis/nis-pwd.c: Likewise.
23057         * nis/nss_nis/nis-rpc.c: Likewise.
23058         * nis/nss_nis/nis-service.c: Likewise.
23059         * nis/nss_nis/nis-spwd.c: Likewise.
23060         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23061         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23062         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23063         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23064         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23065         * nis/nss_nisplus/nisplus-network.c: Likewise.
23066         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23067         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23068         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23069         * nis/nss_nisplus/nisplus-service.c: Likewise.
23070         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23071         * nis/ypclnt.c: Likewise.
23072         * nptl/libc_pthread_init.c: Likewise.
23073         * nss/getXXbyYY.c: Likewise.
23074         * nss/getXXent.c: Likewise.
23075         * nss/getXXent_r.c: Likewise.
23076         * nss/nss_db/db-XXX.c: Likewise.
23077         * nss/nss_db/db-netgrp.c: Likewise.
23078         * nss/nss_db/nss_db.h: Likewise.
23079         * nss/nss_files/files-XXX.c: Likewise.
23080         * nss/nss_files/files-alias.c: Likewise.
23081         * nss/nsswitch.c: Likewise.
23082         * posix/regex_internal.h: Likewise.
23083         * posix/wordexp.c: Likewise.
23084         * pwd/fgetpwent.c: Likewise.
23085         * resolv/res_hconf.c: Likewise.
23086         * resolv/res_libc.c: Likewise.
23087         * shadow/fgetspent.c: Likewise.
23088         * shadow/lckpwdf.c: Likewise.
23089         * shadow/sgetspent.c: Likewise.
23090         * socket/opensock.c: Likewise.
23091         * stdio-common/reg-modifier.c: Likewise.
23092         * stdio-common/reg-printf.c: Likewise.
23093         * stdio-common/reg-type.c: Likewise.
23094         * stdio-common/vfprintf.c: Likewise.
23095         * stdio-common/vfscanf.c: Likewise.
23096         * stdlib/abort.c: Likewise.
23097         * stdlib/cxa_atexit.c: Likewise.
23098         * stdlib/fmtmsg.c: Likewise.
23099         * stdlib/random.c: Likewise.
23100         * stdlib/setenv.c: Likewise.
23101         * string/strsignal.c: Likewise.
23102         * sunrpc/auth_none.c: Likewise.
23103         * sunrpc/bindrsvprt.c: Likewise.
23104         * sunrpc/create_xid.c: Likewise.
23105         * sunrpc/key_call.c: Likewise.
23106         * sunrpc/rpc_thread.c: Likewise.
23107         * sysdeps/arm/backtrace.c: Likewise.
23108         * sysdeps/generic/ldsodefs.h: Likewise.
23109         * sysdeps/generic/stdio-lock.h: Likewise.
23110         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23111         * sysdeps/i386/backtrace.c: Likewise.
23112         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23113         * sysdeps/m68k/backtrace.c: Likewise.
23114         * sysdeps/mach/hurd/cthreads.c: Likewise.
23115         * sysdeps/mach/hurd/dirstream.h: Likewise.
23116         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23117         * sysdeps/nptl/malloc-machine.h: Likewise.
23118         * sysdeps/nptl/stdio-lock.h: Likewise.
23119         * sysdeps/posix/dirstream.h: Likewise.
23120         * sysdeps/posix/getaddrinfo.c: Likewise.
23121         * sysdeps/posix/system.c: Likewise.
23122         * sysdeps/pthread/aio_suspend.c: Likewise.
23123         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23124         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23125         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23126         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23127         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23128         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23129         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23130         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23131         * sysdeps/unix/sysv/linux/system.c: Likewise.
23132         * sysdeps/x86_64/backtrace.c: Likewise.
23133         * time/alt_digit.c: Likewise.
23134         * time/era.c: Likewise.
23135         * time/tzset.c: Likewise.
23136         * wcsmbs/wcsmbsload.c: Likewise.
23137         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23138         instead of <bits/libc-lock.h> in comment.
23140 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23142         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23143         Only use .set mips2 if the current ISA is below mips2.
23144         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23145         Likewise.
23146         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23147         mips32r2 if the current ISA is below mips32r2.
23148         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23149         (TLS_IE): Updated to use the TLD_RDHWR macro.
23150         (TLS_LE): Likewise.
23151         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23152         __ASSEMBLER__ condition.
23154 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23156         Fix parallel build of before-compile targets.
23158         * sysdeps/mach/Makefile ($(patsubst
23159         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23160         mach-before-compile target.
23161         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23162         io fs process)): Move rule to dedicated hurd-before-compile target.
23164 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23166         Fix rules generating headers in hurd/ and mach/ when initial make call
23167         has subdir= explicitly set.
23169         * sysdeps/mach/Makefile ($(patsubst
23170         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23171         calling $(MAKE).
23172         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23173         io fs process)): Force subdir to hurd when calling $(MAKE).
23174         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23175         subdir to mach when calling $(MAKE).
23177 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23179         Check sysheaders when looking for Mach and Hurd headers
23181         * sysdeps/mach/configure.ac: Add sysheaders check.
23182         * sysdeps/mach/configure: Regenerate.
23183         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23184         * sysdeps/mach/hurd/configure: Regenerate.
23186 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23188         [BZ #18921]
23189         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23190         Fix inverted sense of test of 'o_directory_works' value.
23191         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23192         Bernhard Voelker <mail@bernhard-voelker.de>.
23194 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23196         [BZ #14912]
23197         * bits/linkmap.h: Move to ...
23198         * sysdeps/generic/linkmap.h: ...here.
23199         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23200         * sysdeps/aarch64/linkmap.h: ...here.
23201         * sysdeps/arm/bits/linkmap.h: Move to ...
23202         * sysdeps/arm/linkmap.h: ...here.
23203         * sysdeps/hppa/bits/linkmap.h: Move to ...
23204         * sysdeps/hppa/linkmap.h: ...here.
23205         * sysdeps/ia64/bits/linkmap.h: Move to ...
23206         * sysdeps/ia64/linkmap.h: ...here.
23207         * sysdeps/mips/bits/linkmap.h: Move to ...
23208         * sysdeps/mips/linkmap.h: ...here.
23209         * sysdeps/s390/bits/linkmap.h: Move to ...
23210         * sysdeps/s390/linkmap.h: ...here.
23211         * sysdeps/sh/bits/linkmap.h: Move to ...
23212         * sysdeps/sh/linkmap.h: ...here.
23213         * sysdeps/x86/bits/linkmap.h: Move to ...
23214         * sysdeps/x86/linkmap.h: ...here.
23215         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23217 2015-09-04  Andreas Schwab  <schwab@suse.de>
23219         [BZ #18635]
23220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23221         (__makecontext): Terminate FDE before return label.
23222         (__novec_makecontext): Likewise.
23224 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23226         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23227         first member of struct sv in syscall macro.
23229 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23231         [BZ #14912]
23232         * bits/stdio-lock.h: Move to ...
23233         * sysdeps/generic/stdio-lock.h: ...here.
23234         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23235         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23236         * sysdeps/nptl/stdio-lock.h: ...here.
23237         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23238         * include/libio.h: Include <stdio-lock.h> instead of
23239         <bits/stdio-lock.h>.
23240         * sysdeps/nptl/fork.c: Likewise.
23241         * sysdeps/pthread/flockfile.c: Likewise.
23242         * sysdeps/pthread/ftrylockfile.c: Likewise.
23243         * sysdeps/pthread/funlockfile.c: Likewise.
23245         [BZ #14912]
23246         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23247         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23248         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23249         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23250         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23251         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23252         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23254 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23256         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23257         (test-xfail-tst-protected1b): New variable.
23259 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23261         [BZ #14912]
23262         * bits/libc-tsd.h: Move to ...
23263         * sysdeps/generic/libc-tsd.h: ...here.
23264         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23265         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23266         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23267         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23268         * include/ctype.h: Include <libc-tsd.h> instead of
23269         <bits/libc-tsd.h>.
23270         * include/rpc/rpc.h: Likewise.
23271         * locale/localeinfo.h: Likewise.
23272         * sunrpc/rpc_thread.c: Likewise.
23273         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23274         * sysdeps/nptl/malloc-machine.h: Likewise.
23276         * Makefile (headers): Remove bits/libc-lock.h.
23277         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23279         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23280         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23281         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23282         <bits/stdio-lock.h>.
23283         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23284         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23286 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23288         [BZ #18757]
23289         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23290         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23291         BZ #18757.
23293 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23295         * malloc/mtrace.pl: Filter out NULL entries.
23297 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23299         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23300         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23301         macro.
23303         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23304         (TCP_CC_INFO): Likewise.
23305         (TCP_SAVE_SYN): Likewise.
23306         (TCP_SAVED_SYN): Likewise.
23308 2015-08-31  Brett Neumeier <brett@neumeier.us>
23310         [BZ #18870]
23311         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23313 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23315         [BZ #18873]
23316         Fix broken overflow check in posix_fallocate
23317         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23318         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23319         Fix parenthesization typo.
23321 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23323         [BZ #18887]
23324         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23325         tst-mntent-blank-passno.
23326         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23327         * misc/tst-mntent-blank-corrupt.c: New test.
23328         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23329         * misc/tst-mntent.c (do_test): ... here.
23331 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23333         [BZ #4404]
23334         * po/de.po: Fix SIGALRM typo.
23336 2015-08-28  James Perkins  <james@loowit.net>
23338         * time/tst-strptime2.c (tests): Replace short list of test
23339         strings for strptime %z specifier with code which exhaustively
23340         tests every combination of sign and 0 to 5 digits. Tests for
23341         rejection of invalid strings.
23343 2015-08-28  James Perkins  <james@loowit.net>
23345         [BZ #16141]
23346         * time/strptime_l.c (__strptime_internal): Fix %z minutes
23347         calculation, removing incorrect decimal time rounding, so that
23348         all minute values result in a valid seconds value.
23349         * time/strptime_l.c (__strptime_internal): Extend %z time zone
23350         offset range limits to UTC-99:59 through UTC+99:59 to parse
23351         current and historical use cases.
23352         * time/tst-strptime2.c (tests): Modify and add tests for the
23353         strptime %z input field descriptor, specifically conversion of
23354         minutes to seconds and validating an offset range of -9959 to
23355         +9959.
23357 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23358             Dmitry V. Levin  <ldv@altlinux.org>
23360         [BZ #18877]
23361         * posix/Makefile (tests): Add tst-mmap-offset.
23362         * posix/tst-mmap.c: New file.
23363         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
23364         offset calculation for negative values.
23366 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23368         * sysdeps/i386/init-arch.h: New file.
23369         * sysdeps/i386/i586/init-arch.h: Likewise.
23370         * sysdeps/i386/i686/init-arch.h: Likewise.
23371         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
23372         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
23373         * sysdeps/x86/cpu-features.h (bit_I586): New.
23374         (bit_I686): Likewise.
23375         (bit_CX8): Likewise.
23376         (bit_CMOV): Likewise.
23377         (index_CX8): Likewise.
23378         (index_CMOV): Likewise.
23379         (index_I586): Likewise.
23380         (index_I686): Likewise.
23381         (reg_CX8): Likewise.
23382         (reg_CMOV): Likewise.
23383         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
23384         available at compile-time.
23385         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
23386         available at compile-time.
23387         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23388         (USE_I686): Likewise.
23390 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23392         * sysdeps/i386/bcopy.S: New file.
23393         * sysdeps/i386/bzero.S: Likewise.
23394         * sysdeps/i386/memcpy.S: Likewise.
23395         * sysdeps/i386/memmove.S: Likewise.
23396         * sysdeps/i386/mempcpy.S: Likewise.
23397         * sysdeps/i386/memset.S: Likewise.
23398         * sysdeps/i386/bzero.c: Removed.
23399         * sysdeps/i386/memset.c: Likewise.
23400         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
23401         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
23402         * sysdeps/i386/i586/memset_chk.S: Likewise.
23403         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
23404         * sysdeps/i386/memcpy_chk.S: Here.
23405         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
23406         * sysdeps/i386/memmove_chk.S: Here.
23407         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
23408         * sysdeps/i386/mempcpy_chk.S: Likewise.
23409         * sysdeps/i386/i686/memset_chk.S: Moved to ...
23410         * sysdeps/i386/memset_chk.S: Likewise.
23412 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
23414         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
23415         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
23416         file, move DIAG_POP_NEEDS_COMMENT to end of file.
23417         * soft-fp/fmadf4.c: Ditto.
23418         * soft-fp/fmatf4.c: Ditto.
23420 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23422         * sysdeps/i386/i586/Implies: Removed.
23423         * sysdeps/i386/i686/Implies: Likewise.
23425 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23427         * sysdeps/i386/i486/strlen.S: Moved to ...
23428         * sysdeps/i386/strlen.S: Here.
23430 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23432         * sysdeps/i386/i486/strcat.S: Moved to ...
23433         * sysdeps/i386/strcat.S: Here.
23435 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23437         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23438         * sysdeps/i386/pthread_spin_trylock.S: Here.
23439         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23440         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23442 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23444         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23445         * sysdeps/i386/string-inlines.c: Here.
23447 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23449         * sysdeps/i386/i486/htonl.S: Moved ...
23450         * sysdeps/i386/htonl.S: here.
23452 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23454         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23455         * sysdeps/i386/bits/atomic.h: Here.
23457 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23459         * sysdeps/i386/i486/Versions: Removed.
23461 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23463         [BZ #2898]
23464         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23465         Based on patch by Aurelien Jarno.
23467 2015-08-26  Stan Shebs  <stanshebs@google.com>
23469         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23470         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23472 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23474         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23475         * sysdeps/powerpc/dl-procinfo.c:
23476         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23477         feature so it shows when LD_SHOW_AUXV=1.
23479 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23481         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23482         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23483         definition.  ISA 2.07B no longer requires full sync.
23485 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23487         [BZ #18863]
23488         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23489         (si_call_addr): Define.
23490         (si_syscall): Define.
23491         (si_arch): Define.
23493 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23495         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23496         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23497         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23498         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23499         (__memset_zero_constant_len_parameter): New.
23500         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23501         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23502         (__memset_zero_constant_len_parameter): Don't define if
23503         __memset_chk or USE_AS_BZERO are defined.
23505         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23506         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23507         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23509         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23510         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23511         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23512         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23513         comments.
23514         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23515         -mno-mmx for $(all-rtld-routines).
23516         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23517         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23518         i386.
23520 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23522         * sysdeps/generic/unwind.h
23523         (_Unwind_Word): Use __mode__(__unwind_word__)
23524         instead of __mode__(__word__).
23525         (_Unwind_Sword): Likewise.
23527         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23528         (MAX_NEEDED_INPUT): New define.
23529         (MAX_NEEDED_OUTPUT): New define.
23531         * NEWS: New item for IBM z13 string optimizations.
23533         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23534         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23535         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23536         * sysdeps/s390/multiarch/Makefile
23537         (sysdep_routines): Add memrchr functions.
23538         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23539         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23541         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23542         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23543         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23544         * sysdeps/s390/multiarch/Makefile
23545         (sysdep_routines): Add wmemcmp functions.
23546         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23547         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23548         * benchtests/bench-wmemcmp.c: New File.
23549         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23551         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23552         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23553         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23554         * sysdeps/s390/multiarch/Makefile
23555         (sysdep_routines): Add wmemset functions.
23556         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23557         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23558         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23559         * string/test-memset.c: Add wmemset support.
23560         * wcsmbs/test-wmemset.c: New File.
23561         * wcsmbs/Makefile (strop-tests): Add wmemset.
23562         * benchtests/bench-memset.c: Add wmemset support.
23563         * benchtests/bench-wmemset.c: New File.
23564         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23566         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23567         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23568         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23569         * sysdeps/s390/multiarch/Makefile
23570         (sysdep_routines): Add memccpy functions.
23571         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23572         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23573         * string/memccpy.c: Use MEMCCPY if defined.
23575         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23576         * sysdeps/s390/multiarch/memchr.c: Likewise.
23577         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23578         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23579         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23580         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23581         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23582         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23583         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23584         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23586         and rawmemchr functions.
23587         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23588         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23589         and wmemchr.
23590         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23591         * string/test-memchr.c: Add wmemchr support.
23592         * wcsmbs/test-wmemchr.c: New File.
23593         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23594         * benchtests/bench-memchr.c: Add wmemchr support.
23595         * benchtests/bench-wmemchr.c: New File.
23596         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23598         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23599         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23600         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23601         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23602         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23603         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23604         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23605         wcscspn functions.
23606         * sysdeps/s390/multiarch/ifunc-impl-list.c
23607         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23608         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23609         * string/test-strcspn.c: Add wcscspn support.
23610         * wcsmbs/test-wcscspn.c: New File.
23611         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23612         * benchtests/bench-strcspn.c: Add wcscspn support.
23613         * benchtests/bench-wcscspn.c: New File.
23614         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23616         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23617         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23618         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23619         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23620         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23621         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23622         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23623         wcspbrk functions.
23624         * sysdeps/s390/multiarch/ifunc-impl-list.c
23625         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23626         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23627         * string/test-strpbrk.c: Add wcspbrk support.
23628         * wcsmbs/test-wcspbrk.c: New File.
23629         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23630         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23631         * benchtests/bench-wcspbrk.c: New File.
23632         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23634         * sysdeps/s390/multiarch/strspn-c.c: New File.
23635         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23636         * sysdeps/s390/multiarch/strspn.c: Likewise.
23637         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23638         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23639         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23640         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23641         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23642         wcsspn functions.
23643         * sysdeps/s390/multiarch/ifunc-impl-list.c
23644         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23645         * string/test-strspn.c: Add wcsspn support.
23646         * wcsmbs/test-wcsspn.c: New File.
23647         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23648         * benchtests/bench-strspn.c: Add wcsspn support.
23649         * benchtests/bench-wcsspn.c: New File.
23650         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23652         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23653         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23654         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23655         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23656         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23657         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23658         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23659         wcsrchr functions.
23660         * sysdeps/s390/multiarch/ifunc-impl-list.c
23661         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23662         * benchtests/bench-wcsrchr.c: New File.
23663         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23665         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23666         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23667         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23668         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23669         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23670         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23671         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23672         wcschrnul functions.
23673         * sysdeps/s390/multiarch/ifunc-impl-list.c
23674         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23675         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23676         * string/test-strchr.c: Add wcschrnul support.
23677         * wcsmbs/test-wcschrnul.c: New File.
23678         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23679         * benchtests/bench-strchr.c: Add wcschrnul support.
23680         * benchtests/bench-wcschrnul.c: New File.
23681         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23683         * sysdeps/s390/multiarch/strchr-c.c: New File.
23684         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23685         * sysdeps/s390/multiarch/strchr.c: Likewise.
23686         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23687         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23688         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23689         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23690         wcschr functions.
23691         * sysdeps/s390/multiarch/ifunc-impl-list.c
23692         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23693         * string/strchr.c (STRCHR): Define and use macro.
23694         * benchtests/bench-wcschr.c: New File.
23695         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23697         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23698         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23699         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23700         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23701         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23702         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23703         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23704         wcsncmp functions.
23705         * sysdeps/s390/multiarch/ifunc-impl-list.c
23706         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23707         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23708         * benchtests/bench-strncmp.c: Add wcsncmp support.
23709         * benchtests/bench-wcsncmp.c: New File.
23710         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23712         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23713         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23714         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23715         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23716         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23717         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23718         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23719         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23720         wcscmp functions.
23721         * sysdeps/s390/multiarch/ifunc-impl-list.c
23722         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23723         * string/strcmp.c (STRCMP): Define and use macro.
23724         * benchtests/bench-wcscmp.c: New File.
23725         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23726         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23727         instead of _HAVE_STRING_ARCH_memchr.
23729         * sysdeps/s390/multiarch/strncat-c.c: New File.
23730         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23731         * sysdeps/s390/multiarch/strncat.c: Likewise.
23732         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23733         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23734         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23735         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23736         wcsncat functions.
23737         * sysdeps/s390/multiarch/ifunc-impl-list.c
23738         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23739         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23740         * string/test-strncat.c: Add wcsncat support.
23741         * wcsmbs/test-wcsncat.c: New File.
23742         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23743         * benchtests/bench-strncat.c: Add wcsncat support.
23744         * benchtests/bench-wcsncat.c: New File.
23745         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23747         * sysdeps/s390/multiarch/strcat-c.c: New File.
23748         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23749         * sysdeps/s390/multiarch/strcat.c: Likewise.
23750         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23751         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23752         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23753         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23754         wcscat functions.
23755         * sysdeps/s390/multiarch/ifunc-impl-list.c
23756         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23757         * string/strcat.c (STRCAT): Define and use macro.
23758         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23759         * string/test-strcat.c: Add wcscat support.
23760         * wcsmbs/test-wcscat.c: New File.
23761         * wcsmbs/Makefile (strop-tests): Add wcscat.
23762         * benchtests/bench-strcat.c: Add wcscat support.
23763         * benchtests/bench-wcscat.c: New File.
23764         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23766         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23767         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23768         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23769         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23770         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23771         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23773         wcpncpy functions.
23774         * sysdeps/s390/multiarch/ifunc-impl-list.c
23775         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23776         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23777         * string/test-stpncpy.c: Add wcpncpy support.
23778         * wcsmbs/test-wcpncpy.c: New File.
23779         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23780         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23781         * benchtests/bench-wcpncpy.c: New File.
23782         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23784         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23785         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23786         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23787         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23788         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23789         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23790         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23791         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23792         wcsncpy functions.
23793         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23794         * sysdeps/s390/multiarch/ifunc-impl-list.c
23795         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23796         * string/test-strncpy.c: Add wcsncpy support.
23797         * wcsmbs/test-wcsncpy.c: New File.
23798         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23799         * benchtests/bench-strncpy.c: Add wcsncpy support.
23800         * benchtests/bench-wcsncpy.c: New File.
23801         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23803         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23804         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23805         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23806         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23807         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23808         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23809         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23810         wcpcpy functions.
23811         * string/stpcpy.c: Use STPCPY if defined.
23812         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23813         * sysdeps/s390/multiarch/ifunc-impl-list.c
23814         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23815         * string/test-stpcpy.c: Add wcpcpy support.
23816         * wcsmbs/test-wcpcpy.c: New File.
23817         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23818         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23819         * benchtests/bench-wcpcpy.c: New File.
23820         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23822         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23823         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23824         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23825         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23826         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23827         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23828         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23829         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23830         wcscpy functions.
23831         * sysdeps/s390/multiarch/ifunc-impl-list.c
23832         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23833         * benchtests/bench-wcscpy.c: New File.
23834         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23836         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23837         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23838         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23839         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23840         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23841         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23842         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23843         wcsnlen functions.
23844         * sysdeps/s390/multiarch/ifunc-impl-list.c
23845         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23846         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23847         * string/test-strnlen.c: Add wcsnlen support.
23848         * wcsmbs/test-wcsnlen.c: New File.
23849         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23850         * benchtests/bench-strnlen.c: Add wcsnlen support.
23851         * benchtests/bench-wcsnlen.c: New File.
23852         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23854         * sysdeps/s390/multiarch/Makefile: New File.
23855         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23856         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23857         * sysdeps/s390/multiarch/strlen.c: Likewise.
23858         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23859         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23860         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23861         * string/strlen.c (STRLEN): Define and use macro.
23862         * sysdeps/s390/multiarch/ifunc-impl-list.c
23863         (IFUNC_VX_IMPL): New macro function.
23864         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23865         * benchtests/Makefile (wcsmbs-bench): New variable.
23866         (string-bench-all): Added wcsmbs-bench.
23867         * benchtests/bench-wcslen.c: New File.
23869         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23870         s390_vx_libc_ifunc2): New macro function.
23872         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23873         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23874         assembler support.
23875         * sysdeps/s390/configure: Regenerated.
23877         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23878         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23880         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23881         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23882         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23884         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23885         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23886         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23887         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23888         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23889         (memcmp, bcmp): Use __memcmp_default as alias source.
23890         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23891         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23892         Rename to __memcmp_default.
23893         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23894         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23895         (memcpy): Use __memcpy_default as alias source.
23896         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23897         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23898         Rename to __memcpy_default.
23899         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23900         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23901         (memset): Use __memset_default as alias source.
23902         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23903         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23904         Rename to __memset_default.
23905         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23906         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23907         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23908         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23909         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23910         (memcmp, bcmp): Use __memcmp_default as alias source.
23911         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23912         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23913         Rename to __memcmp_default.
23914         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23915         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23916         (memcpy): Use __memcpy_default as alias source.
23917         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23918         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23919         Rename to __memcpy_default.
23920         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23921         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23922         (memset): Use __memset_default as alias source.
23923         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23924         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23925         Rename to __memset_default.
23926         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23927         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23929         [BZ #18610]
23930         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23931         __ieee_instruction_pointer to __unused.
23932         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23933         __ieee_instruction_pointer.
23934         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23935         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23936         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23937         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23938         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23939         Mark dxc-field as reserved.
23941 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23943         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23944         if the weak reference is not null.
23946 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23948         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23950         [BZ #11214]
23951         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23953 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23955         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23956         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23957         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23958         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23959         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23960         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23961         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23962         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23963         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23964         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23965         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23966         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23967         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23968         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23969         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23970         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23971         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23972         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23974 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23976         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23977         register other than r0 for tabort, it has special meaning.
23978         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23979         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23980         transaction before starting syscall.
23982 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23984         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23986 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23988         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23990         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23991         * sysdeps/x86_64/rtld-memset.S: Likewise.
23992         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23993         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23994         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23995         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23997         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23999 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
24001         * debug/strcpy_chk.c: Improve performance.
24002         * debug/stpcpy_chk.c: Likewise.
24003         * sysdeps/x86_64/strcpy_chk.S: Remove.
24004         * sysdeps/x86_64/stpcpy_chk.S: Remove.
24006         [BZ #18240]
24007         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24009 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24011         [BZ #15128]
24012         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24013         ifuncmain8.
24014         (modules-names): Add ifuncmod8.
24015         ($(objpfx)ifuncmain8): New rule.
24016         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24017         <cpuid.h>.
24018         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24019         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24020         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24021         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24022         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24023         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24024         * sysdeps/x86_64/ifuncmain8.c: New file.
24025         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24026         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24027         Removed.
24028         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24029         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24030         Change rtld_savespace_sse to __glibc_unused2.
24031         (RTLD_CHECK_FOREIGN_CALL): Removed.
24032         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24033         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24034         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24036 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24038         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24040 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24042         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24043         Unconditionally set __fpcr to avoid uninialized warning.
24044         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24046 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24048         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24049         is corrupt.
24051         * malloc/arena.c (arena_get2): Drop unused argument.
24052         (arena_lock): Adjust.
24053         (arena_get_retry): Likewise.
24055 2015-08-24  Andreas Schwab  <schwab@suse.de>
24057         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24058         Don't define.
24059         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24060         (__ASSUME_IPC64): Don't undef.
24061         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24062         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24063         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24064         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24065         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24066         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24067         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24068         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24069         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24070         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24071         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24072         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24073         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24074         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24075         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24076         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24077         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24078         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24079         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24080         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24081         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24083 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24085         * manual/Makefile (install): Only build manual when perl is available.
24087 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24090         '#undef memcpy' by '#undef memchr'.
24092 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24094         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24095         memchr not point to the internal __GI_memchr implementation.
24097 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24099         * timezone/Makefile (CFLAGS-zdump.c): Remove
24100         -Wno-strict-prototypes.
24101         (CFLAGS-zic.c): Likewise.
24102         (CFLAGS-ialloc.c): Likewise.
24103         (CFLAGS-scheck.c): Likewise.
24105         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24106         -Wno-error=undef.
24108 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24110         * i386/i686/multiarch/strcasestr-c.c: Removed.
24111         * x86_64/multiarch/strcasestr.c: Likewise.
24112         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24113         Remove strcasestr.
24115 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24117         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24119         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24120         variables for high and low parts before possibly modifying them.
24122 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24124         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24125         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24126         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24127         of "multiarch/init-arch.h".
24128         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24129         * sysdeps/x86/init-arch.h: This.
24131 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24133         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24134         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24136 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24138         [BZ #17787]
24139         * manual/macros.texi: Add twoexp macro.
24140         * manual/filesys.texi: Fix exponents.
24141         * manual/llio.texi: Likewise.
24142         * manual/stdio.texi: Likewise.
24144 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24146         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24147         incorrect use.
24149 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24151         [BZ #18370]
24152         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24153         whose real or imaginary part has small absolute value.
24154         * math/s_csqrtf.c (__csqrtf): Likewise.
24155         * math/s_csqrtl.c (__csqrtl): Likewise.
24156         * math/auto-libm-test-in: Add more tests of csqrt.
24157         * math/auto-libm-test-out: Regenerated.
24158         * sysdeps/i386/fpu/libm-test-ulps: Update.
24160 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24162         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24163         __ppc_set_ppr_very_low): New functions.
24164         * manual/platform.texi: Add documentation about
24165         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24167 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24169         * string/stpncpy.c (stpncpy): Improve performance using
24170         __strnlen/memcpy/memset.
24172 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24174         [BZ #18796]
24175         * scripts/test-installation.pl: Don't add -lmvec to build options if
24176         libmvec wasn't built.
24178 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24180         [BZ #14341]
24181         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24182         case when there is a gap between DT_REL and DT_JMPREL sections.
24183         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24184         (LDFLAGS-tst-split-dynreloc): New.
24185         (tst-split-dynreloc-ENV): Likewise.
24186         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24187         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24189 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24191         [BZ #18822]
24192         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24193         attribute_hidden.
24194         (__xstat64_conv): Likewise.
24195         (__xstat32_conv): Likewise.
24197 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24199         [BZ #18822]
24200         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24201         Don't load %ebx when calling __setcontext.  Call __setcontext
24202         with HIDDEN_JUMPTARGET.
24203         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24204         libc_hidden_def.
24206 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24208         * sysdeps/i386/i686/Makefile
24209         [$(subdir) == string] (sysdep_routines): Moved to ...
24210         * sysdeps/i386/Makefile: Here.
24211         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24212         * sysdeps/i386/cacheinfo.c: Here.
24213         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24214         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24215         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24216         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24218 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24220         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24221         __i586__ is defined.
24222         (HAS_I686): Defined to 1 if __i686__ is defined.
24224 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24226         * elf/Makefile [$(have-z-execstack) = yes]
24227         (CPPFLAGS-tst-execstack.c): New variable.
24229         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24230         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24231         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24232         UTMPX || _HAVE_UT_TV].
24233         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24234         UTMPX || _HAVE_UT_TV - 0].
24236 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24238         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24239         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24240         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24242 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24244         * sysdeps/powerpc/dl-procinfo.c:
24245         (_dl_powerpc_cap_flags): Added missing strings for some
24246         hwcap features.
24247         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24249 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24251         Port the 0x7efe...feff pattern to GCC 6.
24252         See Steve Ellcey's bug report in:
24253         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24254         * string/memrchr.c (MEMRCHR):
24255         * string/rawmemchr.c (RAWMEMCHR):
24256         * string/strchr.c (strchr):
24257         * string/strchrnul.c (STRCHRNUL):
24258         Rewrite code to avoid issues with signed shift overflow.
24260 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24262         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24263         whether cpuid is available only if HAS_CPUID is 0.
24264         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24265         (HAS_I586): Likewise.
24266         (HAS_I686): Likewise.
24268 2015-08-18  Zack Weinberg  <zackw@panix.com>
24270         * misc/Versions (libc): Add GLIBC_2.23.
24272 2015-08-18  Alan Modra  <amodra@gmail.com>
24274         [BZ #18421]
24275         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24276         .Lp__global.
24277         (_start): Load %dp via .Lp__global.
24278         [!SHARED]: Use .section .rodata.
24280 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24282         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24283         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24285 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24287         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24288         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24290 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24292         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24293         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24295 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24297         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24298         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24300 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24302         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24303         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24305 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24307         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24308         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24310 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24312         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24314 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24316         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24317         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24318         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24319         (__ASSUME_LWS_CAS): Delete.
24321 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24323         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24324         * sysdeps/hppa/configure: Regenerated.
24325         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24326         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24327         * sysdeps/hppa/nptl/tls.h: Likewise.
24329 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24331         [BZ #18823]
24332         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24333         for scaling up small arguments.
24334         * math/s_csqrtf.c (__csqrtf): Likewise.
24335         * math/s_csqrtl.c (__csqrtl): Likewise.
24336         * math/auto-libm-test-in: Add more tests of csqrt.
24337         * math/auto-libm-test-out: Regenerated.
24339 2015-08-17  Andreas Schwab  <schwab@suse.de>
24341         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24342         version set GLIBC_2.19.
24344 2015-08-16  Zack Weinberg  <zackw@panix.com>
24346         [BZ #18681]
24347         * misc/regexp.h: This interface is no longer supported.
24348         Remove all contents, leaving only an #error directive.
24349         * misc/regexp.c (loc1, loc2, locs, step, advance):
24350         Demote to compatibility symbols.
24352 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
24354         [BZ #18084]
24355         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
24356         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
24357         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24358         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
24359         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
24360         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
24361         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24362         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
24363         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24365 2015-08-15  Zack Weinberg  <zackw@panix.com>
24367         [BZ #18795]
24368         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
24369         buffer length is known to be too large, not if it's known to be
24370         small enough.
24371         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
24372         overflow at runtime, involving a length parameter, twice: once
24373         with a compile-time constant length parameter, once without.
24375 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
24377         [BZ #18824]
24378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
24379         scaling x * y up instead of down.
24380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24382         * math/auto-libm-test-in: Add more tests of fma.
24383         * math/auto-libm-test-out: Regenerated.
24385 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24389 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24391         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
24392         unnecessary movq.
24393         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
24394         Likewise.
24396 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24398         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24399         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
24400         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
24401         and tgamma.
24402         * math/auto-libm-test-out: Regenerated.
24403         * sysdeps/i386/fpu/libm-test-ulps: Update.
24404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24406         [BZ #16520]
24407         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
24408         (__tanh): Force underflow exception for arguments with small
24409         absolute value.
24410         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
24411         (__tanhf): Force underflow exception for arguments with small
24412         absolute value.
24413         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
24414         (__tanhl): Force underflow exception for arguments with small
24415         absolute value.
24416         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
24417         (__tanhl): Force underflow exception for arguments with small
24418         absolute value.
24419         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
24420         (__tanhl): Force underflow exception for arguments with small
24421         absolute value.
24422         * math/auto-libm-test-in: Add more tests of tanh.
24423         * math/auto-libm-test-out: Regenerated.
24424         * sysdeps/i386/fpu/libm-test-ulps: Update.
24426 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24428         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24429         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24431 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24433         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24434         <cpuid.h>.
24436 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24438         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24439         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24441 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24443         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24444         Remove $(objpfx)init-arch.o.
24445         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24446         init-arch.
24447         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24448         (INIT_ARCH_EXT): Defined as empty.
24449         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24450         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24451         __init_cpu_features call.  Replace HAS_XXX with
24452         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24453         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24454         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24455         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24456         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24457         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24458         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24459         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24460         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24461         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24462         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24463         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24464         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24465         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24466         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24467         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24468         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24469         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24470         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24471         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24472         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24473         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24474         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24475         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24476         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24477         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24478         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24479         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24480         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24482         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24484         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24485         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24486         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24487         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24489 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24491         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24492         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24493         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24494         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24495         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24496         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24497         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24498         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24499         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24500         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24501         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24502         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24503         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24504         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24505         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24506         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24507         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24508         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24509         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24510         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24511         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24512         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24513         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24514         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24515         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24516         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24517         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24518         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24519         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24520         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24521         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24522         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24523         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24524         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24525         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24526         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24527         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24528         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24529         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24530         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24531         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24532         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24533         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24535 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24537         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24538         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24539         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24540         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24541         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24542         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24543         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24544         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24545         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24546         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24547         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24548         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24549         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24550         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24551         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24552         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24553         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24554         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24555         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24556         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24558         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24559         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24560         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24561         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24562         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24563         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24564         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24565         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24566         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24567         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24568         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24569         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24570         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24571         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24572         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24573         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24574         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24575         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24576         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24577         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24578         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24579         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24581 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24583         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24584         (dl_platform_init): Call init_cpu_features.
24585         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24586         * sysdeps/i386/i686/cacheinfo.c
24587         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24588         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24589         * sysdeps/i386/i686/multiarch/Versions: Removed.
24590         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24591         Removed.
24592         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24593         * sysdeps/unix/sysv/linux/x86/Makefile
24594         (libpthread-sysdep_routines): Remove init-arch.
24595         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24596         <sysdeps/x86_64/dl-procinfo.c> instead of
24597         sysdeps/generic/dl-procinfo.c>.
24598         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24599         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24600         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24601         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24602         [$(subdir) == elf] (tests-static): Add
24603         tst-get-cpu-features-static.
24604         * sysdeps/x86/Versions: New file.
24605         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24606         * sysdeps/x86/cpu-features.c: Likewise.
24607         * sysdeps/x86/cpu-features.h: Likewise.
24608         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24609         * sysdeps/x86/libc-start.c: Likewise.
24610         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24611         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24612         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24613         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24614         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24615         Assume USE_MULTIARCH is defined and don't check it.
24616         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24617         (is_amd): Likewise.
24618         (max_cpuid): Likewise.
24619         (intel_check_word): Likewise.
24620         (__cache_sysconf): Don't call __init_cpu_features.
24621         (__x86_preferred_memory_instruction): Removed.
24622         (init_cacheinfo): Don't call __init_cpu_features. Replace
24623         __cpu_features with GLRO(dl_x86_cpu_features).
24624         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24625         (dl_platform_init): Call init_cpu_features.
24626         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24627         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24628         * sysdeps/x86_64/multiarch/Versions: Removed.
24629         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24630         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24631         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24632         Removed.
24633         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24635 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24637         [BZ #18820]
24638         * libio/Makefile (test-fmemopen-mem): New test.
24639         * libio/test-fmemopen.c (do_bz18820): New test.
24640         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24641         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24643 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24645         [BZ #16734]
24646         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24647         (FREE_BUF): Delete.
24648         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24649         * libio/genops.c (_IO_setb): Use malloc and free directly.
24650         (_IO_default_doallocate, _IO_default_finish): Likewise.
24651         ( _IO_unbuffer_all): Likewise.
24652         ( libc_freeres_fn): Likewise.
24653         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24654         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24655         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24656         (_IO_wdefault_doallocate): Likewise.
24658 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24660         [BZ #18086]
24661         * sysdeps/posix/nice.c (nice): Restore old errno.
24662         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24664 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24666         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24668 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24670         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24671         __bcopy and add a weak_alias to bcopy.
24672         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24673         for static build.
24675         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24676         cleanup macro usage.
24677         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24678         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24679         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24680         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24682         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24683         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24684         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24685         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24686         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24687         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24688         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24689         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24690         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24692         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24693         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24694         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24695         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24697         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24698         libc_hidden_def.
24699         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24701         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24702         (sysdep_routines): Add strstr-ppc64.
24703         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24705 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24707         [BZ #18778]
24708         * elf/Makefile (tests): Add Add tst-nodelete2.
24709         (modules-names): Add tst-nodelete2mod.
24710         (tst-nodelete2mod.so-no-z-defs): New.
24711         ($(objpfx)tst-nodelete2): Likewise.
24712         ($(objpfx)tst-nodelete2.out): Likewise.
24713         (LDFLAGS-tst-nodelete2): Likewise.
24714         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24715         out of loop through all loaded libraries.
24716         * elf/tst-nodelete2.c: New file.
24717         * elf/tst-nodelete2mod.c: Likewise.
24718         * elf/tst-znodelete-zlib.cc: Delete.
24720 2015-08-11  Andreas Schwab  <schwab@suse.de>
24722         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24723         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24724         (__openat64_nocancel): Likewise.
24726 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24728         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24729         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24730         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24731         * math/auto-libm-test-out: Regenerated.
24732         * sysdeps/i386/fpu/libm-test-ulps: Update.
24733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24735 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24737         [BZ #18790]
24738         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24739         threshold for returning +/- 1.
24740         * math/auto-libm-test-in: Add more tests of tanh.
24741         * math/auto-libm-test-out: Regenerated.
24742         * sysdeps/i386/fpu/libm-test-ulps: Update.
24744 2015-08-10  Andreas Schwab  <schwab@suse.de>
24746         [BZ #18781]
24747         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24748         MORE_OFLAGS to oflag.
24749         * io/test-lfs.c (do_test): Test openat64.
24751 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24753         [BZ #18789]
24754         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24755         smaller threshold for returning the argument.
24756         * math/auto-libm-test-in: Add more tests of sinh.
24757         * math/auto-libm-test-out: Regenerated.
24758         * sysdeps/i386/fpu/libm-test-ulps: Update.
24760 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24762         [BZ #18674]
24763         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24764         break.
24766 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24768         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24769         (generated): Don't add $(addprefix z.,$(tzfiles)).
24771 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24773         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24774         * scripts/sysd-rules.awk: Likewise.
24776 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24778         * iconvdata/tst-tables.sh: Change echo -n to printf.
24779         * nss/db-Makefile: Likewise.
24780         * posix/tst-getconf.sh: Likewise.
24781         * stdio-common/tst-unbputc.sh: Likewise.
24783 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24785         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24786         MADV_*_PAGES defines behind this feature check.
24788 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24790         [BZ #18480]
24791         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24792         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24793         Define.
24794         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24795         LOAD_REGS_5, LOAD_REGS_6): Update.
24796         (INTERNAL_SYSCALL): Update using new LOAD defines.
24797         (INTERNAL_SYSCALL_NCS): Likewise.
24798         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24800 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24802         [BZ #16734]
24803         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24805 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24807         [BZ #17905]
24808         * catgets/Makefile (tst-catgets-mem): New test.
24809         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24810         * catgets/open_catalog.c (__open_catalog): Likewise.
24811         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24813 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24815         [BZ #18787]
24816         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24817         clobber registers.
24818         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24819         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24820         Cast return to __typeof (oldval).
24822 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24824         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24825         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24826         and delete sys/syscall.h include.
24828 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24830         [BZ #16517]
24831         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24832         (tan): Force underflow exception for arguments with small absolute
24833         value.
24834         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24835         (__kernel_tanf): Force underflow exception for arguments with
24836         small absolute value.
24837         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24838         (__kernel_tanl): Force underflow exception for arguments with
24839         small absolute value.
24840         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24841         (__kernel_tanl): Force underflow exception for arguments with
24842         small absolute value.
24843         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24844         (__kernel_tanl): Force underflow exception for arguments with
24845         small absolute value.
24846         * math/auto-libm-test-in: Add more tests of tan.
24847         * math/auto-libm-test-out: Regenerated.
24849 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24851         Fix sysdeps/i386/fpu/s_scalbn.S build
24853         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24855 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24857         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24859 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24861         Fix gcrt0.o compilation
24863         When static-start-installed-name is different from
24864         start-installed-name, we must not use the shared objects.
24866         * csu/Makefile
24867         (extra-objs): Add gmon-start.o when building shared library and
24868         $(static-start-installed-name) is different from
24869         $(start-installed-name).
24870         $(objpfx)g$(static-start-installed-name): When building shared
24871         library and $(static-start-installed-name) is different from
24872         $(static-start-installed-name), revert to non-shared rule,
24873         i.e. using $(objpfx)% and gmon-start.o.
24875 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24877         [BZ #16519]
24878         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24879         (__ieee754_sinh): Force underflow exception for arguments with
24880         small absolute value.
24881         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24882         (__ieee754_sinhf): Force underflow exception for arguments with
24883         small absolute value.
24884         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24885         (__ieee754_sinhl): Force underflow exception for arguments with
24886         small absolute value.
24887         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24888         (__ieee754_sinhl): Force underflow exception for arguments with
24889         small absolute value.
24890         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24891         (__ieee754_sinhl): Force underflow exception for arguments with
24892         small absolute value.
24893         * math/auto-libm-test-in: Add more tests of sinh.
24894         * math/auto-libm-test-out: Regenerated.
24895         * sysdeps/i386/fpu/libm-test-ulps: Update.
24897 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24899         * libio/oldfileops.c: Include unistd.h.
24901 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24903         * stdlib/isomac.c: Include ctype.h.
24905 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24907         * dirent/tst-seekdir.c (main): Converted to ...
24908         (do_test): ... this.
24909         (TEST_FUNCTION): New macro.
24910         Include test-skeleton.c.
24911         * elf/tst-dlmodcount.c (main): Converted to ...
24912         (do_test): ... this.
24913         (TEST_FUNCTION): New macro.
24914         Include test-skeleton.c.
24915         * elf/tst-order-main.c (main): Converted to ...
24916         (do_test): ... this.
24917         (TEST_FUNCTION): New macro.
24918         Include test-skeleton.c.
24919         * elf/tst-pie2.c (main): Converted to ...
24920         (do_test): ... this.
24921         (TEST_FUNCTION): New macro.
24922         Include test-skeleton.c.
24923         * inet/tst-ether_aton.c (main): Converted to ...
24924         (do_test): ... this.
24925         (TEST_FUNCTION): New macro.
24926         Include test-skeleton.c.
24927         * misc/tst-mntent.c (main): Converted to ...
24928         (do_test): ... this.
24929         (TEST_FUNCTION): New macro.
24930         Include test-skeleton.c.
24931         * misc/tst-tsearch.c (main): Converted to ...
24932         (do_test): ... this.
24933         (TEST_FUNCTION): New macro.
24934         Include test-skeleton.c.
24935         * posix/tst-regexloc.c (main): Converted to ...
24936         (do_test): ... this.
24937         (TEST_FUNCTION): New macro.
24938         Include test-skeleton.c.
24939         * resolv/tst-aton.c (main): Converted to ...
24940         (do_test): ... this.
24941         (TEST_FUNCTION): New macro.
24942         Include test-skeleton.c.
24943         * stdio-common/test-fwrite.c (main): Converted to ...
24944         (do_test): ... this.
24945         (TEST_FUNCTION): New macro.
24946         Include test-skeleton.c.
24947         * stdio-common/tst-ferror.c (main): Converted to ...
24948         (do_test): ... this.
24949         (TEST_FUNCTION): New macro.
24950         Include test-skeleton.c.
24951         * stdio-common/tst-printf.c (main): Converted to ...
24952         (do_test): ... this.
24953         (TEST_FUNCTION): New macro.
24954         Include test-skeleton.c.
24955         * stdio-common/tst-printfsz.c (main): Converted to ...
24956         (do_test): ... this.
24957         (TEST_FUNCTION): New macro.
24958         Include test-skeleton.c.
24959         * stdlib/tst-strtod.c (main): Converted to ...
24960         (do_test): ... this.
24961         (TEST_FUNCTION): New macro.
24962         Include test-skeleton.c.
24963         * string/tst-strlen.c (main): Converted to ...
24964         (do_test): ... this.
24965         (TEST_FUNCTION): New macro.
24966         Include test-skeleton.c.
24967         * string/tst-svc.c (main): Converted to ...
24968         (do_test): ... this.
24969         (TEST_FUNCTION): New macro.
24970         Include test-skeleton.c.
24971         * time/tst-strptime.c (main): Converted to ...
24972         (do_test): ... this.
24973         (TEST_FUNCTION): New macro.
24974         Include test-skeleton.c.
24975         * timezone/tst-timezone.c (main): Converted to ...
24976         (do_test): ... this.
24977         (TEST_FUNCTION): New macro.
24978         Include test-skeleton.c.
24980 2015-08-05  Zack Weinberg  <zackw@panix.com>
24982         * misc/regexp.h: Update comments.
24984 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24986         [BZ #18635]
24987         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24988         before return label.
24990 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24992         [BZ #18661]
24993         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24994         when calling __errno_location.
24995         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24996         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24998 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25000         [BZ #18661]
25001         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
25002         (__lll_timedwait_tid): Align stack to 16 bytes when calling
25003         __gettimeofday.
25005 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25007         [BZ #18661]
25008         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25009         (__start_context): Don't use pop to restore %rdi so that stack
25010         is aligned to 16 bytes when calling __setcontext.
25012 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25014         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25015         only for libc.
25016         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25018 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25020         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25021         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25022         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25024 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25026         * string/memccpy.c (memccpy):
25027         Improve performance by using memchr/memcpy/__mempcpy.
25029 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25031         * string/strncpy.c (strncpy):
25032         Improve performance by using __strnlen/memcpy.
25034 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25036         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25037         Optimize to avoid an unnecessary FPCR read.
25039 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25041         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25042         Optimize to reduce FPCR/FPSR accesses.
25044 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25046         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25047         dead->data[category] != NULL.
25049 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25051         [BZ #18647]
25052         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25053         and |x| close to 1, use absolute value of x when computing log.
25054         * math/auto-libm-test-in: Add more tests of pow.
25055         * math/auto-libm-test-out: Regenerated.
25057 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25059         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25060         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25061         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25063 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25065         [BZ #18525]
25066         * locales/km_KH: Remove timezone definition.
25067         * locales/lo_LA: Likewise.
25068         * locales/my_MM: Likewise.
25069         * locales/nan_TW@latin: Likewise.
25070         * locales/th_TH: Likewise.
25071         * locales/uk_UA: Likewise.
25073 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25075         [BZ #18265]
25076         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25077         (wcsncat): Likewise.
25078         (wcscmp): Likewise.
25079         (wcsncmp): Likewise.
25081 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25083         * test-skeleton.c (usage): New function.
25084         (main): Call usage when opt is '?'.
25086 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25088         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25089         before first use.
25091 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25093         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25094         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25095         in there too.
25097 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25099         * version.h (RELEASE): Set to "development".
25100         (VERSION): Set to "2.22.90"
25102         * version.h (RELEASE): Set to "stable".
25103         (VERSION): Set to "2.22"
25104         * include/features.h (__GLIBC_MINOR__): Set to 22.
25106 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25108         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25109         Restructure macro to avoid "value computed is not used" warning.
25110         (atomic_compare_and_exchange_val_acq): Likewise.
25112 2015-08-04  Andreas Schwab  <schwab@suse.de>
25114         [BZ #18635]
25115         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25116         ret.
25117         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25119 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25121         * po/pl.po: Updated translation.
25122         * po/uk.po: Likewise.
25123         * po/fi.po: Likewise.
25124         * po/ko.po: Likewise.
25125         * po/ru.po: Likewise.
25126         * po/vi.po: Likewise.
25128 2015-07-31  Zack Weinberg  <zackw@panix.com>
25130         [BZ #18681]
25131         * regexp.h: Add unconditional #warning stating that this header
25132         will be removed soon.  Revise banner comment to match.
25133         (compile): Consistently use ERROR instead of RETURN to report
25134         errors (partial fix for bz#18681).
25135         * regexp.c: Don't include regexp.h. Remove some unnecessary
25136         declarations.
25138 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25140         * po/libc.pot: Regenerated.
25142 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25144         [BZ #18740]
25145         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25146         float-vlen4-arch-ext-cflags): Removed.
25147         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25148         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25150 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25152         [BZ #14113]
25153         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25154         aligned to __aligned__.
25155         (pthread_cond_t, pthread_rwlock_t): Likewise.
25157 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25159         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25161 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25163         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25164         (struct sigaction): Change sa_flags from a long to an int, and add
25165         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25167 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25169         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25170         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25171         sysdeps/generic/sysdep.h include.
25172         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25173         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25174         sysdeps/hppa/sysdep.h.
25175         (ENTRY, PSEUDO): Undefine before defining.
25177 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25179         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25180         from scratch to use INTERNAL_SYSCALL.
25182 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25184         [BZ #18078]
25185         * scripts/check-localplt.awk: Support alternate relocations.
25186         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25187         sections.
25188         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25189         malloc entries with + REL R_386_GLOB_DAT.
25190         * sysdeps/x86_64/localplt.data: New file.
25192 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25194         [BZ #18731]
25195         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25196         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25197         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25199 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25201         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25203 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25205         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25206         directly in terms of __sync_fetch_and_add and delete (int) cast.
25208 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25210         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25211         the -D_ASM_IA64_CURRENT_H flag.
25213 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25215         [BZ #18641]
25216         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25218 2015-07-27  Andreas Schwab  <schwab@suse.de>
25220         * conform/conformtest.pl (checknamespace): Filter out string
25221         literals while tokenizing.
25223 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25225         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25226         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25227         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25229 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25231         * nptl/tst-join7mod.c: Add #include <string.h>.
25233 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25235         * sysdeps/nios2/libm-test-ulps: Update.
25237 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25239         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25240         Fix order of arguments to the rt_sigprocmask syscall.
25241         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25242         Likewise.
25244 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25246         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25248 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25250         [BZ #18457]
25251         * nptl/Makefile (tests): New test case tst-join7.
25252         (modules-names): New test case module tst-join7mod.
25253         * nptl/tst-join7.c: New file.
25254         * nptl/tst-join7mod.c: New file.
25255         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25256         all translation units in libc.so, libpthread.so and rtld.
25258 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25262 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25264         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25265         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25266         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25268         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25270         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25273         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25276         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25277         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25278         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25279         implementation.
25281 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25283         [BZ #17711]
25284         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25285         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25286         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25287         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25288         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25289         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25291 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25293         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25294         instead of just saying load lock in the comments.
25296 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25298         * sysdeps/unix/Subdirs: Moved ...
25299         * sysdeps/posix/Subdirs: ... here.
25300         * login/pty.h (struct termios, struct winsize): Add forward decls.
25301         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25302         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25303         * sysdeps/arm/nacl/libc.abilist: Updated.
25304         * sysdeps/nacl/libutil.abilist: New file.
25306         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25307         (SIGWINCH): New macro.
25309         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25310         * sysdeps/arm/nacl/libc.abilist: Add it.
25312 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25314         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25316 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25318         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25319         Swap __glibc_reserved0 and sa_flags order.
25321 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25323         [BZ #18657]
25324         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25325         are pending TLS destructor calls.
25326         * include/link.h (struct link_map): Add concurrency note for
25327         L_TLS_DTOR_COUNT.
25328         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25329         Don't touch the link map flag.  Atomically increment
25330         l_tls_dtor_count.
25331         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25332         Avoid taking the load lock and don't touch the link map flag.
25333         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25334         * stdlib/Makefile (tests): Use it.
25335         * stdlib/tst-tls-atexit.c (do_test): dlopen
25336         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25337         to allow tst-tls-atexit-nodelete test case to use it.
25339 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25341         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25342         to bits/types.h.
25343         (msgqnum_t): New typedef.
25344         (msglen_t): Likewise.
25345         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
25346         and msg_qbytes type to msglen_t.
25348 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25350         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
25351         pad0 to __glibc_reserved0.
25352         (struct stat64): Likewise.
25354 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25356         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25357         Change sa_flags from a long to an int and add __glibc_reserved0 before
25358         it for padding.
25360 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25362         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25363         anonymous by deleting "siginfo" name.
25365 2015-07-21  Roland McGrath  <roland@hack.frob.com>
25367         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
25368         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
25369         rather than __nacl_irt_filename.
25370         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25372         * NEWS: New item for arm-nacl port.
25373         * sysdeps/arm/nacl/libc.abilist: New file.
25374         * sysdeps/nacl/ld.abilist: New file.
25375         * sysdeps/nacl/libBrokenLocale.abilist: New file.
25376         * sysdeps/nacl/libanl.abilist: New file.
25377         * sysdeps/nacl/libcrypt.abilist: New file.
25378         * sysdeps/nacl/libdl.abilist: New file.
25379         * sysdeps/nacl/libm.abilist: New file.
25380         * sysdeps/nacl/libpthread.abilist: New file.
25381         * sysdeps/nacl/libresolv.abilist: New file.
25382         * sysdeps/nacl/librt.abilist: New file.
25384 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
25386         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
25387         __startcontext to initialize the new context.
25388         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
25389         up CFI directive to forbid further backtracing.
25391 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
25393         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
25394         reference.
25395         * charmaps/ANSI_X3.4-1968: Likewise.
25396         * charmaps/BS_4730: Likewise.
25397         * charmaps/BS_VIEWDATA: Likewise.
25398         * charmaps/CP1250: Likewise.
25399         * charmaps/CP1251: Likewise.
25400         * charmaps/CP1252: Likewise.
25401         * charmaps/CP1253: Likewise.
25402         * charmaps/CP1254: Likewise.
25403         * charmaps/CP1255: Likewise.
25404         * charmaps/CP1256: Likewise.
25405         * charmaps/CSN_369103: Likewise.
25406         * charmaps/EBCDIC-DK-NO: Likewise.
25407         * charmaps/GB_1988-80: Likewise.
25408         * charmaps/GREEK-CCITT: Likewise.
25409         * charmaps/GREEK7: Likewise.
25410         * charmaps/INIS-8: Likewise.
25411         * charmaps/ISIRI-3342: Likewise.
25412         * charmaps/ISO_2033-1983: Likewise.
25413         * charmaps/ISO_5427-EXT: Likewise.
25414         * locales/POSIX: Likewise.
25415         * locales/ar_SA: Likewise.
25416         * locales/be_BY: Likewise.
25417         * locales/be_BY@latin: Likewise.
25418         * locales/ca_ES: Likewise.
25419         * locales/cs_CZ: Likewise.
25420         * locales/da_DK: Likewise.
25421         * locales/de_BE: Likewise.
25422         * locales/de_CH: Likewise.
25423         * locales/de_LU: Likewise.
25424         * locales/en_AU: Likewise.
25425         * locales/en_BW: Likewise.
25426         * locales/en_CA: Likewise.
25427         * locales/en_DK: Likewise.
25428         * locales/en_GB: Likewise.
25429         * locales/en_IE: Likewise.
25430         * locales/en_NZ: Likewise.
25431         * locales/en_ZA: Likewise.
25432         * locales/en_ZW: Likewise.
25433         * locales/es_AR: Likewise.
25434         * locales/es_BO: Likewise.
25435         * locales/es_CL: Likewise.
25436         * locales/es_CO: Likewise.
25437         * locales/es_DO: Likewise.
25438         * locales/es_EC: Likewise.
25439         * locales/es_ES: Likewise.
25440         * locales/es_HN: Likewise.
25441         * locales/es_MX: Likewise.
25442         * locales/es_PA: Likewise.
25443         * locales/es_PE: Likewise.
25444         * locales/es_PY: Likewise.
25445         * locales/es_SV: Likewise.
25446         * locales/es_US: Likewise.
25447         * locales/es_UY: Likewise.
25448         * locales/es_VE: Likewise.
25449         * locales/et_EE: Likewise.
25450         * locales/fa_IR: Likewise.
25451         * locales/fo_FO: Likewise.
25452         * locales/fr_CA: Likewise.
25453         * locales/fr_CH: Likewise.
25454         * locales/gv_GB: Likewise.
25455         * locales/he_IL: Likewise.
25456         * locales/hr_HR: Likewise.
25457         * locales/id_ID: Likewise.
25458         * locales/is_IS: Likewise.
25459         * locales/it_CH: Likewise.
25460         * locales/iw_IL: Likewise.
25461         * locales/kl_GL: Likewise.
25462         * locales/ko_KR: Likewise.
25463         * locales/kw_GB: Likewise.
25464         * locales/lg_UG: Likewise.
25465         * locales/lt_LT: Likewise.
25466         * locales/lv_LV: Likewise.
25467         * locales/mi_NZ: Likewise.
25468         * locales/nhn_MX: Likewise.
25469         * locales/nl_BE: Likewise.
25470         * locales/pl_PL: Likewise.
25471         * locales/sk_SK: Likewise.
25472         * locales/sl_SI: Likewise.
25473         * locales/sv_FI: Likewise.
25474         * locales/tl_PH: Likewise.
25475         * locales/tr_TR: Likewise.
25476         * locales/vi_VN: Likewise.
25478 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25480         [BZ #17475]
25481         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25482         of tu_IN and bh_IN.
25484 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25486         [BZ #18694]
25487         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25488         bits/wordsize.h.
25489         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25491 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25493         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25494         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25495         (spawn_thread): New function.
25496         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25497         (do_test): ... here.  Use IS_LOADED to test for its
25498         availability.
25500 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25502         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25504 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25506         [BZ #18696]
25507         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25508         si_addr_bnd.
25509         (si_lower): New.
25510         (si_upper): Likewise.
25512 2015-07-16  David S. Miller  <davem@davemloft.net>
25514         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25516 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25518         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25519         buffer.
25520         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25521         fail output information.
25523 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25526         and strstr-ppc64..
25527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25528         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25529         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25530         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25531         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25533 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25535         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25536         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25537         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25538         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25540 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25542         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25543         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25544         rtld_hidden_proto.
25545         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25547 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25549         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25550         the test can fail.
25552         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25554         [BZ #18676]
25555         * elf/tst-nodelete-opened.c: New test case.
25556         * elf/tst-nodelete-opened-lib.c: New test case module.
25557         * elf/Makefile (tests, modules-names): Use them.
25558         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25559         early.
25561 2015-07-15  David S. Miller  <davem@davemloft.net>
25563         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25564         futex-intenal.h
25565         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25566         * sysdeps/sparc/sparc64/Makefile: Likewise.
25567         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25568         Remove space from macro define.
25569         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25571 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25573         [BZ #17475]
25574         * locale/iso-639.def: Update Bhili and Tulu language codes as
25575         per iso639-3.
25577 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25579         * elf/tst-leaks1.c (main): Converted to ...
25580         (do_test): ... this.
25581         (TEST_FUNCTION): New macro.
25582         Include test-skeleton.c.
25583         * localedata/tst-langinfo.c (main): Converted to ...
25584         (do_test): ... this.
25585         (TEST_FUNCTION): New macro.
25586         Include test-skeleton.c.
25587         * math/test-fpucw.c (main): Converted to ...
25588         (do_test): ... this.
25589         (TEST_FUNCTION): New macro.
25590         Include test-skeleton.c.
25591         * math/test-tgmath.c (main): Converted to ...
25592         (do_test): ... this.
25593         (TEST_FUNCTION): New macro.
25594         Include test-skeleton.c.
25595         * math/test-tgmath2.c (main): Converted to ...
25596         (do_test): ... this.
25597         (TEST_FUNCTION): New macro.
25598         Include test-skeleton.c.
25599         * setjmp/tst-setjmp.c (main): Converted to ...
25600         (do_test): ... this.
25601         (TEST_FUNCTION): New macro.
25602         Include test-skeleton.c.
25603         * stdio-common/tst-sscanf.c (main): Converted to ...
25604         (do_test): ... this.
25605         (TEST_FUNCTION): New macro.
25606         Include test-skeleton.c.
25607         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25608         (do_test): ... this.
25609         (TEST_FUNCTION): New macro.
25610         Include test-skeleton.c.
25612         * elf/tst-audit9.c (main): Converted to ...
25613         (do_test): ... this.
25614         (TEST_FUNCTION): New macro.
25615         Include test-skeleton.c.
25617 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25619         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25621 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25623         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25624         New variable.
25626 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25628         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25630 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25632         * sysdeps/generic/dl-fileid.h: New file.
25633         * sysdeps/posix/dl-fileid.h: New file.
25634         * sysdeps/nacl/dl-fileid.h: New file.
25635         * include/link.h: Include <dl-fileid.h>.
25636         (struct link_map): Replace l_dev and l_ino with l_file_id.
25637         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25638         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25639         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25641 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25643         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25645 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25647         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25648         Add iff $CXX is set.
25649         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25650         Likewise.
25651         (tst-nodelete-zmodiff): Likewise.
25652         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25654 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25656         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25658 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25660         * sysdeps/aarch64/fpu/math_private.h
25661         (define math_opt_barrier): Add AArch64 version.
25662         (math_force_eval): Likewise.
25664 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25666         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25668 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25670         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25671         %ld with %jd and cast to intmax_t.
25672         (do_test_length_zero): Likewise.
25674 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25676         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25678 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25680         * sysdeps/tile/libm-test-ulps: Regenerated.
25682         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25683         Comment out the whole function, not just its body.
25685 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25687         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25688         locks.
25690         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25692 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25694         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25695         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25697 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25699         * sysdeps/nptl/futex-internal.h: New file.
25700         * sysdeps/nacl/futex-internal.h: New file.
25701         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25702         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25703         error checking.
25704         (setxid_unmark_thread): Likewise.
25705         (__nptl_setxid): Likewise.
25706         (__wait_lookup_done): Likewise.
25707         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25708         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25709         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25710         * nptl/pthread_once.c (clear_once_control): Likewise.
25711         (__pthread_once_slow): Likewise.
25712         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25713         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25714         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25715         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25716         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25717         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25718         Likewise.
25719         (__pthread_rwlock_rdlock): Likewise.
25720         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25721         Likewise.
25722         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25723         Likewise.
25724         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25725         Likewise.
25726         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25727         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25728         Likewise.
25729         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25730         __ASSUME_PRIVATE_FUTEX check.
25731         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25732         Check that shared futexes are supported.
25733         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25734         wrappers with error checking.
25735         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25736         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25737         * nptl/pthread_barrierattr_setpshared.c
25738         (pthread_barrierattr_setpshared): Check that shared futexes are
25739         supported.
25740         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25741         Likewise.
25742         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25743         Likewise.
25744         * nptl/sem_init.c (futex_private_if_supported): Remove.
25745         (__new_sem_init): Adapt and check that shared futexes are supported.
25746         * nptl/sem_open.c (sem_open): Likewise.
25747         * nptl/sem_post.c (futex_wake): Remove.
25748         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25749         (do_futex_wait): Use futex wrappers with error checking.
25750         * nptl/sem_wait.c: Include lowlevellock.h.
25751         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25752         Use futex_supports_pshared.
25753         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25754         Use futex wrappers with error checking.
25755         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25756         Likewise.
25757         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25758         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25759         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25760         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25761         (futex_wake): Likewise.
25762         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25763         (do_futex_wait): Use futex wrappers with error checking.
25764         (__new_sem_wait_slow): Update EINTR handling.
25765         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25767 2015-07-09  Martin Sebor  <msebor@redhat.com>
25769         [BZ #18435]
25770         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25771         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25772         * nptl/Makefile (test-xfail-tst-once5): Define.
25774 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25776         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25777         * elf/dl-minimal.c: For readability, reorder some definitions and
25778         introduce more page breaks.  Include <stdio.h>.
25779         (__libc_fatal): New function.
25781         * include/unistd.h: Add rtld_hidden_proto for _exit.
25782         * posix/_exit.c: Add rtld_hidden_def.
25783         * sysdeps/mach/hurd/_exit.c: Likewise.
25784         * sysdeps/nacl/_exit.c: Likewise.
25785         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25786         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25788 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25790         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25791         bndmov encoding with zero displacement.
25793 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25794             H.J. Lu  <hongjiu.lu@intel.com>
25796         [BZ #18134]
25797         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25798         * sysdeps/i386/configure: Regenerated.
25799         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25800         (_dl_runtime_profile): Save and restore Intel MPX return bound
25801         registers when calling _dl_call_pltexit.  Add
25802         PRESERVE_BND_REGS_PREFIX before return.
25803         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25804         (LRV_BND1_OFFSET): Likewise.
25805         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25806         lrv_bnd1.
25807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25808         typo in bndmov encoding.
25809         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25810         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25811         branch instructions to preserve bounds.
25813 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25816         [GLIBC_2.22]: Add fmemopen.
25818 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25820         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25821         returns an error, also try to use host port from __mach_host_self for
25822         the __vm_wire call.
25823         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25825 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25827         [BZ #18400]
25828         [BZ #18648]
25829         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25830         Fix pr_uid and pr_gid members.
25831         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25832         definition to elf_greg_t.
25834 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25836         [BZ #18383]
25837         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25838         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25839         * sysdeps/arm/configure: Regenerated.
25840         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25841         (test-xfail-tst-tlsalign-static): Variable removed.
25843         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25844         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25845         rather than explicit 'ln -s'.
25847         * resolv/rpc/netdb.h: New file.
25848         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25850 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25852         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25853         length buffers.
25854         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25855         test-skeleton.c.
25857         [BZ #6544]
25858         [BZ #11216]
25859         [BZ #12836]
25860         [BZ #13151]
25861         [BZ #13152]
25862         [BZ #14292]
25863         * include/stdio.h (fmemopen): Remove hidden prototype.
25864         (__fmemopen): Add new hidden prototype.
25865         * libio/Makefile: Add oldfmemopen object.
25866         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25867         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25868         compliance.
25869         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25870         symbol compatibility.
25871         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25872         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25873         fmemopen.
25874         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25875         on append and read mode.
25876         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25877         fmemopen.
25878         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25879         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25880         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25881         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25882         Likewise.
25883         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25884         [GLIBC_2.22]: Likewise.
25885         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25886         Likewise.
25887         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25888         Likewise.
25889         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25890         [GLIBC_2.22]: Likewise.
25891         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25892         [GLIBC_2.22]: Likewise.
25893         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25894         [GLIBC_2.22]: Likewise.
25895         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25896         [GLIBC_2.22]: Likewise.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25898         [GLIBC_2.22]: Likewise.
25899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25900         [GLIBC_2.22]: Likewise.
25901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25902         [GLIBC_2.22]: Likewise.
25903         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25904         Likewise.
25905         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25906         Likewise.
25907         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25908         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25909         [GLIBC_2.22]: Likewise.
25910         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25911         [GLIBC_2.22]: Likewise.
25912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25913         [GLIBC_2.22]: Likewise.
25914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25915         [GLIBC_2.22]: Likewise.
25916         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25917         Likewise.
25918         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25919         Likewise.
25920         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25921         Likewise.
25922         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25923         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25925 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25927         [BZ #18643]
25928         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25929         IPV6_PATHMTU, and IPV6_DONTFRAG.
25931 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25933         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25934         and _IO_UNBUFFERED.
25935         * libio/oldfileops.c: Likewise.
25936         * libio/wfileops.c: Likewise.
25938 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25940         * nscd/selinux.c: Delete selinux/flask.h include.
25942 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25944         [BZ #18641]
25945         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25946         (putpwent): Likewise.
25947         (getpwnam): Likewise.
25948         (getpwent_r): Likewise.
25949         (getpwuid_r): Likewise.
25950         (getpwnam_r): Likewise.
25951         (fgetpwent_r): Likewise.
25953 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25955         [BZ #18557]
25956         * inet/rcmd.c (__validuser2_sa): Check user first to
25957         short-circuit host check.
25959 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25960             Mikhail Ilin  <m.ilin@samsung.com>
25962         [BZ #17833]
25963         * elf/Makefile (tests): Add tst-nodelete.
25964         (modules-names): Add tst-nodelete-uniquemod.
25965         (tst-nodelete-uniquemod.so-no-z-defs): New.
25966         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25967         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25968         ($(objpfx)tst-nodelete): Likewise.
25969         ($(objpfx)tst-nodelete.out): Likewise.
25970         (LDFLAGS-tst-nodelete): Likewise.
25971         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25972         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25973         implement forced object deletion.
25974         (_dl_close): Pass false to _dl_close_worker.
25975         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25976         * elf/tst-nodelete.cc: New file.
25977         * elf/tst-nodeletelib.cc: Likewise.
25978         * elf/tst-znodeletelib.cc: Likewise.
25979         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25981 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25983         [BZ #18508]
25984         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25985         Depend on $(libdl).
25986         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25987         is not called infinitely times.
25988         (backtrace_helper): New function.
25989         (trace_arg): New struct.
25990         (st1): Enlarge stack size.
25991         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25992         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25993         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25994         Likewise.
25996 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25998         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26000 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26002         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
26003         Include sys/types.h instead of bits/types.h.
26004         Remove inclusion of bits/wordsize.h.
26006 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26008         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26009         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26010         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26011         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26012         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26013         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26015 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26017         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26018         link-defines.sym.
26019         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26020         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26021         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26022         and LR_SIZE.
26023         * sysdeps/i386/link-defines.sym: New file.
26025 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26027         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26028         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26029         ($(objpfx)tst-audit3): New rule.
26030         ($(objpfx)tst-audit3.out): Likewise.
26031         * sysdeps/i386/tst-audit3.c: New file.
26032         * sysdeps/i386/tst-audit3.h: Likewise.
26033         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26034         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26036 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26038         [BZ #18633]
26039         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26040         pointer in C code.
26041         (__strcat_c): Likewise.
26042         (__strcat_g): Likewise.
26044 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26046         [BZ #18592]
26047         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26049 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26051         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26052         New function.  (__ieee754_sqrtf): New function.
26053         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26054         New function.
26055         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26056         New function.
26058 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26060         * sysdeps/ieee754/support.c: Remove unused file.
26062 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26064         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26065         registers instead of d ones so the layout is kernel abi compatible.
26066         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26067         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26068         Likewise.
26070 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26072         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26074 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26076         [BZ #18619]
26077         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26078         and return argument in case of subnormal argument.
26080 2015-07-01  Martin Sebor  <msebor@redhat.com>
26082         [BZ #18435]
26083         * nptl/Makefile: Add tst-once5.cc.
26084         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26085         Remove macro redefinitions.
26086         * nptl/tst-once5.cc: New test.
26088 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26090         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26092         * sysdeps/arm/libm-test-ulps: Regenerated.
26094         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26095         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26097 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26099         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26100         lll_lock_wait_private and lll_futex_wake probes.
26102         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26103         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26104         Likewise.
26105         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26106         atomic_spin_nop.
26107         * sysdeps/x86_64/bits/atomic.h: Likewise.
26108         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26109         to atomic_spin_nop and move ...
26110         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26111         ... here and ...
26112         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26113         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26114         atomic_spin_nop instead of BUSY_WAIT_NOP.
26115         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26116         Likewise.
26117         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26118         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26119         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26120         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26121         instead of atomic_delay.
26123 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26125         [BZ #18613]
26126         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26127         X_ADJ not X when adjusting exponent.
26128         (__ieee754_gamma_r): Do intermediate computations in
26129         round-to-nearest then adjust overflowing and underflowing results
26130         as needed.
26131         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26132         of X_ADJ not X when adjusting exponent.
26133         (__ieee754_gammaf_r): Do intermediate computations in
26134         round-to-nearest then adjust overflowing and underflowing results
26135         as needed.
26136         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26137         log of X_ADJ not X when adjusting exponent.
26138         (__ieee754_gammal_r): Do intermediate computations in
26139         round-to-nearest then adjust overflowing and underflowing results
26140         as needed.  Use 1.0L not 1.0f as numerator of division.
26141         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26142         log of X_ADJ not X when adjusting exponent.
26143         (__ieee754_gammal_r): Do intermediate computations in
26144         round-to-nearest then adjust overflowing and underflowing results
26145         as needed.  Use 1.0L not 1.0f as numerator of division.
26146         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26147         of X_ADJ not X when adjusting exponent.
26148         (__ieee754_gammal_r): Do intermediate computations in
26149         round-to-nearest then adjust overflowing and underflowing results
26150         as needed.  Use 1.0L not 1.0f as numerator of division.
26151         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26152         to auto-libm-test-in.
26153         (tgamma_test): Use ALL_RM_TEST.
26154         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26155         tests of tgamma with spurious-overflow.
26156         * math/auto-libm-test-out: Regenerated.
26157         * math/gen-libm-have-vector-test.sh: Do not check for START.
26158         * sysdeps/i386/fpu/libm-test-ulps: Update.
26159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26161         [BZ #18612]
26162         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26163         arguments, just return 0.5 times the argument, with underflow
26164         forced as needed.
26165         * math/auto-libm-test-in: Add more tests of j1.
26166         * math/auto-libm-test-out: Regenerated.
26168         [BZ #16559]
26169         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26170         (__ieee754_j1): Force underflow exception for small results.
26171         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26172         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26173         (__ieee754_j1f): Force underflow exception for small results.
26174         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26175         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26177         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26178         (__ieee754_j1l): Force underflow exception for small results.
26179         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26180         * math/auto-libm-test-in: Add more tests of j1 and jn.
26181         * math/auto-libm-test-out: Regenerated.
26183         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26184         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26185         (PF_MPLS): Likewise.
26186         (AF_IB): Likewise.
26187         (AF_MPLS): Likewise.
26188         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26189         value and macro.
26190         (MS_RMT_MASK): Include MS_LAZYTIME.
26192 2015-06-26  Mel Gorman  <mgorman@suse.de>
26194         [BZ #18502]
26195         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26196         already minimal.
26198 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26200         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26201         (DT_MIPS_NUM): Update.
26202         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26203         DT_MIPS_RLD_MAP_REL.
26205 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26207         [BZ #16559]
26208         [BZ #18602]
26209         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26210         round-to-nearest internally then recompute results that
26211         underflowed to zero in the original rounding mode.
26212         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26213         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26214         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26215         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26216         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26217         * sysdeps/i386/fpu/libm-test-ulps: Update.
26218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26220 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26222         * NEWS: Fixed description of link with vector math library.
26224 2015-06-25  Andreas Schwab  <schwab@suse.de>
26226         [BZ #18549]
26227         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26228         * libio/test-fmemopen.c (do_test): Add test for it.
26230 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26232         [BZ #17841]
26233         * Makeconfig (no-pie-ldflag): New.
26234         (+link): Set to $(+link-pie) if default to PIE.
26235         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26236         * config.make.in (build-pie-default): New.
26237         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26238         is default.  AC_SUBST.
26239         * configure: Regenerated.
26240         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26242 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26244         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26245         to 'unsigned int'.
26247         * resolv/gai_misc.h (struct waitlist): Change type of field
26248         counterp to 'volatile unsigned int *'.
26249         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26250         FUTEXADDR and OLDVAL.
26251         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26252         Give local variable TOTAL type 'volatile unsigned int'.
26253         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26254         * resolv/gai_suspend.c (gai_suspend):
26255         Give local variable CNTR type 'unsigned int'.
26257         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26258         counterp to 'volatile unsigned int *'.
26259         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26260         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26261         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26262         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26263         Give local variable TOTAL type 'volatile unsigned int'.
26264         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26266 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26268         [BZ #18383]
26269         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26270         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26271         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26272         comment for i386/x86-64.
26273         (test-xfail-tst-tlsalign-extern-static): Removed.
26275 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26277         * math/test-double.h: New file.
26278         * math/test-float.h: Likewise.
26279         * math/test-ldouble.h: Likewise.
26280         * math/test-math-inline.h: Likewise.
26281         * math/test-math-no-inline.h: Likewise.
26282         * math/test-math-scalar.h: Likewise.
26283         * math/test-math-vector.h: Likewise.
26284         * math/test-vec-loop.h: Remove file.  Contents moved into
26285         test-math-vector.h.
26286         * math/libm-test.inc (MATHCONST): Do not document macro.
26287         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26288         and test-math-scalar.h.
26289         (FUNC): Remove macro.
26290         (FUNC_TEST): Likewise.
26291         (FLOAT): Likewise.
26292         (MATHCONST): Likewise.
26293         (PRINTF_EXPR): Likewise.
26294         (PRINTF_XEXPR): Likewise.
26295         (PRINTF_NEXPR): Likewise.
26296         (TEST_DOUBLE): Likewise.
26297         (TEST_MATHVEC): Likewise.
26298         (__NO_MATH_INLINES): Likewise.
26299         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26300         and test-math-scalar.h.
26301         (FUNC): Remove macro.
26302         (FUNC_TEST): Likewise.
26303         (FLOAT): Likewise.
26304         (MATHCONST): Likewise.
26305         (PRINTF_EXPR): Likewise.
26306         (PRINTF_XEXPR): Likewise.
26307         (PRINTF_NEXPR): Likewise.
26308         (TEST_FLOAT): Likewise.
26309         (TEST_MATHVEC): Likewise.
26310         (__NO_MATH_INLINES): Likewise.
26311         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26312         and test-math-scalar.h.
26313         (FUNC): Remove macro.
26314         (FUNC_TEST): Likewise.
26315         (FLOAT): Likewise.
26316         (MATHCONST): Likewise.
26317         (PRINTF_EXPR): Likewise.
26318         (PRINTF_XEXPR): Likewise.
26319         (PRINTF_NEXPR): Likewise.
26320         (TEST_DOUBLE): Likewise.
26321         (TEST_MATHVEC): Likewise.
26322         (TEST_INLINE): Likewise.
26323         (__NO_MATH_INLINES): Likewise.
26324         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26325         test-math-scalar.h.
26326         (FUNC): Remove macro.
26327         (FUNC_TEST): Likewise.
26328         (FLOAT): Likewise.
26329         (MATHCONST): Likewise.
26330         (PRINTF_EXPR): Likewise.
26331         (PRINTF_XEXPR): Likewise.
26332         (PRINTF_NEXPR): Likewise.
26333         (TEST_FLOAT): Likewise.
26334         (TEST_MATHVEC): Likewise.
26335         (TEST_INLINE): Likewise.
26336         (__NO_MATH_INLINES): Likewise.
26337         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
26338         and test-math-scalar.h.
26339         (FUNC): Remove macro.
26340         (FUNC_TEST): Likewise.
26341         (FLOAT): Likewise.
26342         (MATHCONST): Likewise.
26343         (PRINTF_EXPR): Likewise.
26344         (PRINTF_XEXPR): Likewise.
26345         (PRINTF_NEXPR): Likewise.
26346         (TEST_LDOUBLE): Likewise.
26347         (TEST_MATHVEC): Likewise.
26348         (TEST_INLINE): Likewise.
26349         (__NO_MATH_INLINES): Likewise.
26350         * math/test-ldouble.c: Include test-ldouble.h,
26351         test-math-no-inline.h and test-math-scalar.h.
26352         (FUNC): Remove macro.
26353         (FUNC_TEST): Likewise.
26354         (FLOAT): Likewise.
26355         (MATHCONST): Likewise.
26356         (PRINTF_EXPR): Likewise.
26357         (PRINTF_XEXPR): Likewise.
26358         (PRINTF_NEXPR): Likewise.
26359         (TEST_LDOUBLE): Likewise.
26360         (TEST_MATHVEC): Likewise.
26361         (__NO_MATH_INLINES): Likewise.
26362         * math/test-double-vlen2.h: Include test-double.h,
26363         test-math-no-inline.h and test-math-vector.h.
26364         (FLOAT): Remove macro.
26365         (FUNC): Likewise.
26366         (MATHCONST): Likewise.
26367         (PRINTF_EXPR): Likewise.
26368         (PRINTF_XEXPR): Likewise.
26369         (PRINTF_NEXPR): Likewise.
26370         (TEST_DOUBLE): Likewise.
26371         (TEST_MATHVEC): Likewise.
26372         (__NO_MATH_INLINES): Likewise.
26373         (CNCT): Likewise.
26374         (CONCAT): Likewise.
26375         (WRAPPER_NAME): Likewise.
26376         (WRAPPER_DECL): Likewise.
26377         (WRAPPER_DECL_ff): Likewise.
26378         (WRAPPER_DECL_fFF): Likewise.
26379         (VECTOR_WRAPPER): Likewise.
26380         (VECTOR_WRAPPER_ff): Likewise.
26381         (VECTOR_WRAPPER_fFF): Likewise.
26382         (VEC_LEN): New macro.
26383         * math/test-double-vlen4.h: Include test-double.h,
26384         test-math-no-inline.h and test-math-vector.h.
26385         (FLOAT): Remove macro.
26386         (FUNC): Likewise.
26387         (MATHCONST): Likewise.
26388         (PRINTF_EXPR): Likewise.
26389         (PRINTF_XEXPR): Likewise.
26390         (PRINTF_NEXPR): Likewise.
26391         (TEST_DOUBLE): Likewise.
26392         (TEST_MATHVEC): Likewise.
26393         (__NO_MATH_INLINES): Likewise.
26394         (CNCT): Likewise.
26395         (CONCAT): Likewise.
26396         (WRAPPER_NAME): Likewise.
26397         (WRAPPER_DECL): Likewise.
26398         (WRAPPER_DECL_ff): Likewise.
26399         (WRAPPER_DECL_fFF): Likewise.
26400         (VECTOR_WRAPPER): Likewise.
26401         (VECTOR_WRAPPER_ff): Likewise.
26402         (VECTOR_WRAPPER_fFF): Likewise.
26403         (VEC_LEN): New macro.
26404         * math/test-double-vlen8.h: Include test-double.h,
26405         test-math-no-inline.h and test-math-vector.h.
26406         (FLOAT): Remove macro.
26407         (FUNC): Likewise.
26408         (MATHCONST): Likewise.
26409         (PRINTF_EXPR): Likewise.
26410         (PRINTF_XEXPR): Likewise.
26411         (PRINTF_NEXPR): Likewise.
26412         (TEST_DOUBLE): Likewise.
26413         (TEST_MATHVEC): Likewise.
26414         (__NO_MATH_INLINES): Likewise.
26415         (CNCT): Likewise.
26416         (CONCAT): Likewise.
26417         (WRAPPER_NAME): Likewise.
26418         (WRAPPER_DECL): Likewise.
26419         (WRAPPER_DECL_ff): Likewise.
26420         (WRAPPER_DECL_fFF): Likewise.
26421         (VECTOR_WRAPPER): Likewise.
26422         (VECTOR_WRAPPER_ff): Likewise.
26423         (VECTOR_WRAPPER_fFF): Likewise.
26424         (VEC_LEN): New macro.
26425         * math/test-float-vlen4.h: Include test-float.h,
26426         test-math-no-inline.h and test-math-vector.h.
26427         (FLOAT): Remove macro.
26428         (FUNC): Likewise.
26429         (MATHCONST): Likewise.
26430         (PRINTF_EXPR): Likewise.
26431         (PRINTF_XEXPR): Likewise.
26432         (PRINTF_NEXPR): Likewise.
26433         (TEST_FLOAT): Likewise.
26434         (TEST_MATHVEC): Likewise.
26435         (__NO_MATH_INLINES): Likewise.
26436         (CNCT): Likewise.
26437         (CONCAT): Likewise.
26438         (WRAPPER_NAME): Likewise.
26439         (WRAPPER_DECL): Likewise.
26440         (WRAPPER_DECL_ff): Likewise.
26441         (WRAPPER_DECL_fFF): Likewise.
26442         (VECTOR_WRAPPER): Likewise.
26443         (VECTOR_WRAPPER_ff): Likewise.
26444         (VECTOR_WRAPPER_fFF): Likewise.
26445         (VEC_LEN): New macro.
26446         * math/test-float-vlen8.h: Include test-float.h,
26447         test-math-no-inline.h and test-math-vector.h.
26448         (FLOAT): Remove macro.
26449         (FUNC): Likewise.
26450         (MATHCONST): Likewise.
26451         (PRINTF_EXPR): Likewise.
26452         (PRINTF_XEXPR): Likewise.
26453         (PRINTF_NEXPR): Likewise.
26454         (TEST_FLOAT): Likewise.
26455         (TEST_MATHVEC): Likewise.
26456         (__NO_MATH_INLINES): Likewise.
26457         (CNCT): Likewise.
26458         (CONCAT): Likewise.
26459         (WRAPPER_NAME): Likewise.
26460         (WRAPPER_DECL): Likewise.
26461         (WRAPPER_DECL_ff): Likewise.
26462         (WRAPPER_DECL_fFF): Likewise.
26463         (VECTOR_WRAPPER): Likewise.
26464         (VECTOR_WRAPPER_ff): Likewise.
26465         (VECTOR_WRAPPER_fFF): Likewise.
26466         (VEC_LEN): New macro.
26467         * math/test-float-vlen16.h: Include test-float.h,
26468         test-math-no-inline.h and test-math-vector.h.
26469         (FLOAT): Remove macro.
26470         (FUNC): Likewise.
26471         (MATHCONST): Likewise.
26472         (PRINTF_EXPR): Likewise.
26473         (PRINTF_XEXPR): Likewise.
26474         (PRINTF_NEXPR): Likewise.
26475         (TEST_FLOAT): Likewise.
26476         (TEST_MATHVEC): Likewise.
26477         (__NO_MATH_INLINES): Likewise.
26478         (CNCT): Likewise.
26479         (CONCAT): Likewise.
26480         (WRAPPER_NAME): Likewise.
26481         (WRAPPER_DECL): Likewise.
26482         (WRAPPER_DECL_ff): Likewise.
26483         (WRAPPER_DECL_fFF): Likewise.
26484         (VECTOR_WRAPPER): Likewise.
26485         (VECTOR_WRAPPER_ff): Likewise.
26486         (VECTOR_WRAPPER_fFF): Likewise.
26487         (VEC_LEN): New macro.
26488         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26489         test-vec-loop.h.
26490         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26492         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26493         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26494         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26495         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26496         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26498 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26500         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26501         (__getlogin_r): ... this.
26503 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26505         [BZ #18594]
26506         * math/s_ccosh.c (__ccosh): Compare with least normal value
26507         instead of comparing class with FP_SUBNORMAL.
26508         * math/s_ccoshf.c (__ccoshf): Likewise.
26509         * math/s_ccoshl.c (__ccoshl): Likewise.
26510         * math/s_cexp.c (__cexp): Likewise.
26511         * math/s_cexpf.c (__cexpf): Likewise.
26512         * math/s_cexpl.c (__cexpl): Likewise.
26513         * math/s_csin.c (__csin): Likewise.
26514         * math/s_csinf.c (__csinf): Likewise.
26515         * math/s_csinh.c (__csinh): Likewise.
26516         * math/s_csinhf.c (__csinhf): Likewise.
26517         * math/s_csinhl.c (__csinhl): Likewise.
26518         * math/s_csinl.c (__csinl): Likewise.
26519         * math/s_ctan.c (__ctan): Likewise.
26520         * math/s_ctanf.c (__ctanf): Likewise.
26521         * math/s_ctanh.c (__ctanh): Likewise.
26522         * math/s_ctanhf.c (__ctanhf): Likewise.
26523         * math/s_ctanhl.c (__ctanhl): Likewise.
26524         * math/s_ctanl.c (__ctanl): Likewise.
26525         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26526         csin, csinh, ctan and ctanh.
26527         * math/auto-libm-test-out: Regenerated.
26528         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26529         * sysdeps/i386/fpu/libm-test-ulps: Update.
26530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26532 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26534         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26535         return value is wrong, print the expected value too.
26537 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26539         [BZ #18585]
26540         * elf/readlib.c (is_gdb_python_file): New.
26541         (process_file): Don't issue errors on filenames with -gdb.py
26542         suffix.
26544 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26546         * math/auto-libm-test-in: Add more tests of csin and csinh.
26547         * math/auto-libm-test-out: Regenerated.
26548         * math/libm-test.inc (csin_test_data): Remove tests moved to
26549         auto-libm-test-in.
26550         (csinh_test_data): Likewise.
26552         [BZ #18593]
26553         * math/s_csin.c (__csin): Negate before rather than after possibly
26554         overflowing multiplication.
26555         * math/s_csinf.c (__csinf): Likewise.
26556         * math/s_csinh.c (__csinh): Likewise.
26557         * math/s_csinhf.c (__csinhf): Likewise.
26558         * math/s_csinhl.c (__csinhl): Likewise.
26559         * math/s_csinl.c (__csinl): Likewise.
26560         * math/auto-libm-test-in: Add some tests of csin and csinh.
26561         * math/auto-libm-test-out: Regenerated.
26562         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26563         (csinh_test_data): Likewise.
26564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26566         [BZ #18586]
26567         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26568         underflow exception for small results.
26570 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26572         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26573         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26574         variable and included header.
26575         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26576         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26580         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26581         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26582         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26583         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26584         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26585         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26586         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26587         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26588         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26589         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26590         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26592 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26594         [BZ #16526]
26595         [BZ #16538]
26596         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26597         (__sin): Force underflow exception for arguments with small
26598         absolute value.
26599         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26600         (__kernel_sinf): Force underflow exception for arguments with
26601         small absolute value.
26602         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26603         (__kernel_sincosl): Force underflow exception for arguments with
26604         small absolute value.
26605         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26606         (__kernel_sinl): Force underflow exception for arguments with
26607         small absolute value.
26608         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26609         (__kernel_sincosl): Force underflow exception for arguments with
26610         small absolute value.
26611         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26612         (__kernel_sinl): Force underflow exception for arguments with
26613         small absolute value.
26614         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26615         (__kernel_sinl): Force underflow exception for arguments with
26616         small absolute value.
26617         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26618         (__kernel_sinf): Force underflow exception for arguments with
26619         small absolute value.
26620         * math/auto-libm-test-in: Add more tests of sin and sincos.
26621         * math/auto-libm-test-out: Regenerated.
26623         [BZ #18245]
26624         [BZ #18583]
26625         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26626         (__kernel_standard_l): Use feholdexcept and fesetenv around
26627         conversion to double instead of special-casing overflow and
26628         underflow.
26629         * math/libm-test.inc (fmod_test_data): Add more tests.
26630         (remainder_test_data): Likewise.
26631         (sqrt_test_data): Likewise.
26633 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26635         [BZ #17403]
26636         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26637         atomic_read_barrier, atomic_write_barrier): Define.
26638         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26639         atomic_read_barrier, atomic_write_barrier): Define.
26641 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26643         * math/Makefile [$(PERL) != no]
26644         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26645         dependency on libm-test.stmp below the inclusion of Rules.
26647 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26649         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26650         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26651         and included header.
26652         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26653         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26654         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26655         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26656         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26657         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26658         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26659         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26660         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26661         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26662         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26663         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26664         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26665         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26666         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26667         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26668         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26669         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26670         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26672 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26674         [BZ #18371]
26675         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26676         intermediate but not final result might underflow.
26677         * math/s_csqrtf.c (__csqrtf): Likewise.
26678         * math/s_csqrtl.c (__csqrtl): Likewise.
26679         * math/auto-libm-test-in: Add more tests of csqrt.
26680         * math/auto-libm-test-out: Regenerated.
26681         * sysdeps/i386/fpu/libm-test-ulps: Update.
26683         [BZ #18219]
26684         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26685         threshold on absolute value of exponent for which scaling is used.
26686         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26687         * math/auto-libm-test-in: Add more tests of exp2.
26688         * math/auto-libm-test-out: Regenerated.
26690 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26692         [BZ #17977]
26693         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26694         when initializing interface list, based on the bug analysis
26695         and the patch proposed by Eric Newton.
26696         * resolv/tst-res_hconf_reorder.c: New test.
26697         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26698         tst-res_hconf_reorder.
26699         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26700         and $(shared-thread-library).
26701         (tst-res_hconf_reorder-ENV): New variable.
26703         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26704         in comment.
26706 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26708         [BZ #16353]
26709         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26710         (__expm1): Force underflow exception for arguments with small
26711         absolute value.
26712         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26713         (__expm1f): Force underflow exception for arguments with small
26714         absolute value.
26715         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26716         (__expm1): Force underflow exception for arguments with small
26717         absolute value.
26718         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26719         (__expm1f): Force underflow exception for arguments with small
26720         absolute value.
26721         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26722         Check for small arguments before calling __expm1.
26723         * math/auto-libm-test-in: Do not mark underflow exceptions as
26724         possibly missing for bug 16353.
26725         * math/auto-libm-test-out: Regenerated.
26727 2015-06-22  Andreas Schwab  <schwab@suse.de>
26729         [BZ #18513]
26730         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26731         PTR queries.
26733 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26735         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26737         * string/strcoll_l.c: Remove unused struct element idxnow.
26739 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26741         [BZ #18569]
26742         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26743         underflow and return argument in case of subnormal argument.
26744         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26745         Likewise.
26746         * math/auto-libm-test-in: Add more tests of expm1.
26747         * math/auto-libm-test-out: Regenerated.
26749         [BZ #16361]
26750         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26751         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26752         tiny results.
26753         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26754         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26755         tiny results.
26756         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26757         mark underflow exceptions as possibly missing for bug 16361.
26758         * math/auto-libm-test-out: Regenerated.
26760 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26762         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26763         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26764         Remove variable.
26765         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26766         (test-xfail-XOPEN2K8/utmpx.h/conform).
26768         * conform/conformtest.pl ($xerrors): New variable.
26769         (note_error): New function.
26770         (compiletest): New argument $xfail.  Use not_error.
26771         (runtest): Likewise.
26772         (top level): Handle xfail- lines.  Update calls to compiletest and
26773         runtest.  Handle xfail- and optional- in headers listed with
26774         allow-header.
26775         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26776         (O_EXEC): Likewise.
26777         (O_SEARCH): Likewise.
26778         * conform/data/stropts.h-data (ioctl): Likewise.
26779         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26780         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26781         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26782         (msghdr.msg_controllen): Likewise.
26783         (cmsghdr.cmsg_len): Likewise.
26784         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26785         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26786         variable.
26787         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26788         (test-xfail-XPG4/stropts.h/conform): Likewise.
26789         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26790         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26791         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26792         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26793         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26794         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26795         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26796         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26797         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26798         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26799         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26800         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26801         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26802         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26803         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26804         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26805         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26806         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26807         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26809 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26811         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26812         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26813         definitions for proper unfolding of __MATHDECL_VEC.
26815 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26817         * benchtests/bench-strcoll.c:
26818         Include string.h.
26819         (main): Remove unused variable res.
26821 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26823         * timezone/Makefile (%/UTC %/Universal):
26824         Generate test-result files for UTC and Universal.
26826 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26828         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26830 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26832         [BZ #16350]
26833         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26834         for arguments with small absolute value.
26835         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26836         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26837         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26838         (__asinh): Force underflow exception for arguments with small
26839         absolute value.
26840         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26841         (__asinhf): Force underflow exception for arguments with small
26842         absolute value.
26843         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26844         (__asinhl): Force underflow exception for arguments with small
26845         absolute value.
26846         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26847         (__asinhl): Force underflow exception for arguments with small
26848         absolute value.
26849         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26850         (__asinhl): Force underflow exception for arguments with small
26851         absolute value.
26852         * math/auto-libm-test-in: Do not mark underflow exceptions as
26853         possibly missing for bug 16350.
26854         * math/auto-libm-test-out: Regenerated.
26856         * include/bits/ipc.h: Remove file.
26857         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26858         variable.
26859         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26860         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26861         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26862         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26863         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26864         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26865         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26866         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26867         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26869         * math/auto-libm-test-in: Remove spurious underflow allowance for
26870         tests of cexp.
26871         * math/auto-libm-test-out: Regenerated.
26873         [BZ #18558]
26874         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26875         unconditional definition.
26876         (MCAST_BLOCK_SOURCE): Likewise.
26877         (MCAST_UNBLOCK_SOURCE): Likewise.
26878         (MCAST_LEAVE_GROUP): Likewise.
26879         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26880         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26881         (MCAST_MSFILTER): Likewise.
26882         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26883         Remove variable.
26884         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26885         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26886         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26887         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26888         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26890 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26892         * NEWS: Mention addition of x86_64 vector sincosf.
26893         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26894         * math/test-float-vlen4.h: Likewise.
26895         * math/test-float-vlen8.h: Likewise.
26896         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26897         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26899         * sysdeps/x86_64/fpu/Versions: New versions added.
26900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26902         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26904         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26905         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26906         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26907         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26908         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26909         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26910         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26911         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26912         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26913         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26914         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26915         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26916         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26917         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26918         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26919         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26920         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26921         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26922         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26923         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26925         * NEWS: Mention addition of x86_64 vector sincos.
26926         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26927         * math/math.h (__MATHDECL_VEC): New macro.
26928         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26929         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26930         declaration under condition.
26931         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26932         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26933         TEST_VEC_LOOP change.
26934         * math/test-double-vlen4.h: Likewise.
26935         * math/test-double-vlen8.h: Likewise.
26936         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26937         * math/test-float-vlen4.h: Likewise.
26938         * math/test-float-vlen8.h: Likewise.
26939         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26940         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26942         * sysdeps/x86_64/fpu/Versions: New versions added.
26943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26944         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26945         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26946         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26947         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26948         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26949         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26950         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26952         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26953         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26954         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26955         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26956         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26957         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26958         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26959         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26960         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26961         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26962         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26963         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26964         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26965         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26966         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26968         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26969         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26970         redirections for powf.
26971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26972         * sysdeps/x86_64/fpu/Versions: New versions added.
26973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26974         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26975         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26976         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26977         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26978         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26979         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26980         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26981         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26982         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26983         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26984         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26985         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26986         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26987         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26988         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26989         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26990         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26991         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26992         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26993         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26994         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26995         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26996         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26997         * math/test-float-vlen16.h: Fixed 2 argument macro.
26998         * math/test-float-vlen4.h: Likewise.
26999         * math/test-float-vlen8.h: Likewise.
27000         * NEWS: Mention addition of x86_64 vector powf.
27002 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
27004         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27005         and redefine.
27006         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27007         and redefine.
27008         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27009         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27010         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27012         [BZ #18553]
27013         * resource/getpriority.c (getpriority): Rename to __getpriority
27014         and define as weak alias of __getpriority.
27015         * resource/setpriority.c (setpriority): Rename to __setpriority
27016         and define as weak alias of __setpriority.
27017         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27018         __getpriority and define as weak alias of __getpriority.
27019         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27020         __setpriority and define as weak alias of __setpriority.
27021         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27022         strong name.
27023         (setpriority): Use __setpriority as strong name.
27024         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27025         __getpriority and define as weak alias of __getpriority.
27026         * include/sys/resource.h (__getpriority): Declare.  Use
27027         libc_hidden_proto.
27028         (__setpriority): Likewise.
27029         (getpriority): Don't use libc_hidden_proto.
27030         (setpriority): Likewise.
27031         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27032         getpriority.  Call __setpriority instead of setpriority.
27033         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27034         Remove variable.
27036         [BZ #18547]
27037         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27038         as weak alias of __getttynam.  Use prototype function definition.
27039         Call __setttyent, __getttyent and __endttyent instead of
27040         setttyent, getttyent and endttyent.
27041         (getttyent): Rename to __getttyent and define as weak alias of
27042         __getttyent.  Call __setttyent instead of setttyent.  Call
27043         __fgets_unlocked instead of fgets_unlocked.
27044         (setttyent): Rename to __setttyent and define as weak alias of
27045         __setttyent.
27046         (endttyent): Rename to __endttyent and define as weak alias of
27047         __endttyent.
27048         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27049         (__setttyent): Likewise.
27050         (__endttyent): Likewise.
27051         (getttyent): Don't use libc_hidden_proto.
27052         (setttyent): Likewise.
27053         (endttyent): Likewise.
27054         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27055         __endttyent instead of setttyent, getttyent and endttyent.
27056         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27057         Remove variable.
27059         [BZ #18546]
27060         * socket/recv.c (__recv): Use libc_hidden_def.
27061         * socket/socket.c (__socket): Likewise.
27062         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27063         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27064         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27065         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27066         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27067         libc_hidden_def.
27068         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27069         libc_hidden_weak.
27070         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27071         Use libc_hidden_proto.
27072         (__recv): Likewise.
27073         * socket/Versions (libc): Export __recv and __socket at version
27074         GLIBC_PRIVATE.
27075         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27076         instead of recv.
27077         (init_mq_netlink): Call __socket instead of socket.
27078         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27079         Remove variable.
27081         [BZ #18545]
27082         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27083         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27084         hidden_weak.
27085         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27086         define as alias of __mq_timedsend.  Use hidden_weak.
27087         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27088         __mq_timedsend as strong name.
27089         (mq_timedreceive): Use __mq_timedreceive as strong name.
27090         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27091         (__mq_timedreceive): Likewise.
27092         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27093         __mq_timedreceive instead of mq_timedreceive.
27094         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27095         instead of mq_timedsend.
27096         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27097         Remove variable.
27099         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27100         hidden_def and hidden_weak instead of libc_hidden_def and
27101         libc_hidden_weak.
27102         (top level): Refer to hidden_def in comment.
27103         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27104         macro.  Use it instead of libc_hidden_def.
27105         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27106         specify __GI_* name explicitly.
27107         (mq_timedreceive): Likewise.
27108         (mq_setattr): Likewise.
27110         [BZ #18544]
27111         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27112         __pthread_barrier_init and define as weak alias of
27113         __pthread_barrier_init.
27114         * sysdeps/sparc/nptl/pthread_barrier_init.c
27115         (pthread_barrier_init): Likewise.
27116         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27117         __pthread_barrier_wait and define as weak alias of
27118         __pthread_barrier_wait.
27119         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27120         (pthread_barrier_wait): Likewise.
27121         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27122         (pthread_barrier_wait): Likewise.
27123         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27124         (pthread_barrier_wait): Likewise.
27125         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27126         (pthread_barrier_wait): Likewise.
27127         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27128         __pthread_barrier_wait at version GLIBC_PRIVATE.
27129         * include/pthread.h (__pthread_barrier_init): Declare.
27130         (__pthread_barrier_wait): Likewise.
27131         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27132         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27133         (helper_thread): Likewise.
27134         (init_mq_netlink): Call __pthread_barrier_init instead of
27135         pthread_barrier_init.
27137         [BZ #18542]
27138         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27139         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27140         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27141         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27142         vswscanf.
27143         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27144         Remove variable.
27146         [BZ #18540]
27147         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27148         strong alias of _IO_fflush.  Use libc_hidden_def.
27149         * libio/iofflush_u.c (fflush_unlocked): Rename to
27150         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27151         Use libc_hidden_weak.
27152         * include/stdio.h (__fflush_unlocked): Declare.  Use
27153         libc_hidden_proto.
27154         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27155         fflush_unlocked.
27156         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27157         Remove variable.
27159         [BZ #18539]
27160         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27161         define as weak alias of __addseverity.
27162         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27163         Remove variable.
27164         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27165         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27166         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27168         [BZ #18536]
27169         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27170         (__tfind): Likewise.
27171         (__tdelete): Likewise.
27172         (__twalk): Likewise.
27173         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27174         __twalk to GLIBC_PRIVATE.
27175         * include/search.h (__tsearch): Use libc_hidden_proto.
27176         (__tfind): Likewise.
27177         (__tdelete): Likewise.
27178         (__twalk): Likewise.
27179         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27180         Call __tdelete instead of tdelete.
27181         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27182         tfind.  Call __tsearch instead of tsearch.
27183         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27184         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27185         Remove variable.
27186         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27188         [BZ #18534]
27189         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27190         (dprintf): Define as a weak alias of __dprintf, not a strong
27191         alias.
27192         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27193         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27194         dprintf.
27195         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27196         Remove variable.
27197         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27198         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27200         [BZ #18533]
27201         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27202         not a strong alias.
27203         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27204         Remove variable.
27206         [BZ #18532]
27207         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27208         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27209         (in6addr_loopback): Rename to __in6addr_loopback and define as
27210         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27211         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27212         libc_hidden_proto.
27213         (__in6addr_any): Likewise.
27214         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27215         in6addr_any.
27216         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27217         variable.
27218         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27220 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27222         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27223         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27225         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27226         redirections for pow.
27227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27228         * sysdeps/x86_64/fpu/Versions: New versions added.
27229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27230         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27231         build of SSE, AVX2 and AVX512 IFUNC versions.
27232         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27233         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27234         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27235         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27236         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27238         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27239         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27240         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27241         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27242         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27243         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27244         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27245         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27246         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27248         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27249         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27250         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27251         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27252         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27253         * NEWS: Mention addition of x86_64 vector pow.
27255         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27256         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27257         redirections for expf.
27258         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27259         * sysdeps/x86_64/fpu/Versions: New versions added.
27260         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27261         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27262         build of SSE, AVX2 and AVX512 IFUNC versions.
27263         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27265         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27266         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27267         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27268         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27269         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27270         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27271         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27272         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27273         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27274         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27275         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27276         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27277         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27278         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27279         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27280         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27281         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27282         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27283         * NEWS: Mention addition of x86_64 vector expf.
27285         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27286         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27287         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27288         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27289         redirections for exp.
27290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27291         * sysdeps/x86_64/fpu/Versions: New versions added.
27292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27294         build of SSE, AVX2 and AVX512 IFUNC versions.
27295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27296         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27297         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27298         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27299         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27300         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27301         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27302         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27303         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27304         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27305         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27306         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27307         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27308         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27311         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27312         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27313         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27314         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27315         * NEWS: Mention addition of x86_64 vector exp.
27317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27318         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27319         redirections for logf.
27320         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27321         * sysdeps/x86_64/fpu/Versions: New versions added.
27322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27323         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27324         build of SSE, AVX2 and AVX512 IFUNC versions.
27325         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27326         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27327         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27328         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27329         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27330         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27331         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27332         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27333         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27334         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27335         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27336         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27337         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27338         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27339         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27340         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27341         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27342         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27343         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27344         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27345         * NEWS: Mention addition of x86_64 vector logf.
27347         * bits/libm-simd-decl-stubs.h: Added stubs for log.
27348         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
27349         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27350         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27351         redirections for log.
27352         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27353         * sysdeps/x86_64/fpu/Versions: New versions added.
27354         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27355         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27356         build of SSE, AVX2 and AVX512 IFUNC versions.
27357         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
27358         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
27359         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
27360         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
27361         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
27362         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
27363         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
27364         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
27365         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
27366         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
27367         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
27368         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
27369         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
27370         test.
27371         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27372         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27373         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27374         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27375         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27376         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27377         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27378         * NEWS: Mention addition of x86_64 vector log.
27380 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27382         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
27383         cfi_adjust_cfa_offset argument.
27384         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
27385         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
27387         [BZ #18034]
27388         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
27389         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
27390         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
27391         ordering using ldar.
27392         (_dl_tlsdesc_dynamic): Likewise.
27393         (_dl_tlsdesc_return_lazy): Likewise.
27394         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
27395         relaxed atomics instead of volatile and synchronize with release store.
27396         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
27397         volatile.
27398         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27400 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
27402         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27403         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
27404         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27405         * sysdeps/x86_64/fpu/Versions: New versions added.
27406         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27407         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27408         build of SSE, AVX2 and AVX512 IFUNC versions.
27409         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
27410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
27411         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
27412         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
27413         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
27414         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
27415         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
27416         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
27417         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
27418         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
27419         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
27420         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
27421         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27422         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27423         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27424         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27425         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27426         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27427         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27428         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27429         * NEWS: Mention addition of x86_64 vector sinf.
27431 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27433         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27434         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27435         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27436         Remove variable.
27437         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27438         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27440 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27442         [BZ #18530]
27443         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27444         strong alias of _IO_fputs.  Use libc_hidden_def.
27445         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27446         and define as weak alias of __fputs_unlocked.  Use
27447         libc_hidden_weak.
27448         * include/stdio.h (__fputs_unlocked): Declare.  Use
27449         libc_hidden_proto.
27450         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27451         fputs_unlocked.
27453         [BZ #18529]
27454         * resolv/netdb.h [__USE_POSIX]: Change condition to
27455         [__USE_XOPEN2K].
27456         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27457         not expect.
27458         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27459         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27460         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27461         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27462         [XPG4 || UNIX98] (AI_ALL): Likewise.
27463         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27464         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27465         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27466         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27467         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27468         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27469         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27470         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27471         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27472         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27473         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27474         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27475         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27476         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27477         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27478         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27479         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27480         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27481         [XPG4 || UNIX98] (gai_strerror): Likewise.
27482         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27483         [XPG4 || UNIX98] (getnameinfo): Likewise.
27485         [BZ #18528]
27486         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27487         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27488         __USE_XOPEN2K8].
27489         (getgrent): Likewise.
27490         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27491         expect.
27492         [XPG3 || POSIX2008] (endgrent): Likewise.
27493         [XPG3] (setgrent): Likewise.
27494         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27495         variable.
27496         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27498         [BZ #18527]
27499         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27500         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27501         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27502         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27503         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27504         * include/unistd.h (__getlogin_r): Declare.  Use
27505         libc_hidden_proto.
27506         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27507         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27508         variable.
27509         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27510         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27511         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27513 2015-06-12  Martin Sebor  <msebor@redhat.com>
27515         [BZ #18512]
27516         * Makerules (check-install-supported): New target.
27517         (install): Add check-install-supported as a dependency.
27518         * manual/install.texi (Installing the C Library): Document
27519         that overriding prefix and exec_prefix is not supported.
27520         Mention DESTDIR.
27521         * INSTALL: Regenerate from the above.
27523 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27525         [BZ #18519]
27526         * posix/Versions (libc): Export __libc_pread at version
27527         GLIBC_PRIVATE.
27528         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27529         instead of pread.
27530         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27531         variable.
27533         [BZ #18522]
27534         * misc/efgcvt_r.c
27535         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27536         (cvt_symbol): Use weak_alias instead of strong_alias.
27537         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27538         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27539         Remove variable.
27540         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27541         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27543         [BZ #18520]
27544         * inet/herrno.c (h_errno): Rename to __h_errno.
27545         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27546         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27547         to __h_errno instead of h_errno.
27548         * nptl/herrno.c (h_errno): Rename to __h_errno.
27549         (__h_errno_location): Refer to __h_errno not h_errno.
27550         * resolv/Versions (h_errno): Rename to __h_errno.
27551         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27552         Remove variable.
27553         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27555 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27557         * configure.ac: More strict check for AVX512 assembler support.
27558         * configure: Regenerated.
27560         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27561         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27562         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27563         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27564         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27565         * sysdeps/x86_64/fpu/Versions: New versions added.
27566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27567         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27568         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27569         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27570         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27571         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27572         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27573         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27574         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27575         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27576         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27577         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27578         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27579         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27580         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27581         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27582         test.
27583         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27584         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27586         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27587         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27588         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27589         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27590         * NEWS: Mention addition of x86_64 vector sin.
27592 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27594         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27595         comment.
27597 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27599         [BZ #18479]
27600         * nptl/pt-interp.c: New file.
27601         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27602         Add pt-interp.
27603         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27604         $(common-objpfx)runtime-linker.h.
27606 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27608         * Makeconfig (+interp): Remove unused variable.
27609         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27610         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27611         $(elf-objpfx)runtime-linker.h.
27612         ($(elf-objpfx)runtime-linker.h): Rename to
27613         $(common-objpfx)runtime-linker.h and move ...
27614         * Makerules [$(build-shared) = yes]: ... here.
27615         * elf/interp.c: Include <runtime-linker.h> instead of
27616         <elf/runtime-linker.h>.
27618 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27620         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27621         (__gettimeofday_syscall): Remove vsyscall fallback.
27622         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27623         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27624         Add syscall fallback function.
27625         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27626         if vDSO is not present.
27627         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27628         fallback function.
27629         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27630         present.
27631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27632         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27634 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27636         [BZ #18497]
27637         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27638         of wcscmp.
27639         (wcscmp): Define as weak alias of WCSCMP.
27640         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27641         wcscoll.
27642         (USE_HIDDEN_DEF): Define.
27643         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27644         __wcscoll.  Don't use libc_hidden_weak.
27645         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27646         wcscmp.
27647         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27648         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27649         __GI_wcscmp.
27650         (weak_alias): Undefine and redefine.
27651         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27652         __wcscmp and define as weak alias of __wcscmp.
27653         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27654         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27655         (__wcscoll): Likewise.
27656         (wcscmp): Don't use libc_hidden_proto.
27657         (wcscoll): Likewise.
27658         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27659         wcscoll.
27660         * posix/regexec.c (check_node_accept_bytes): Likewise.
27661         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27662         variable.
27663         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27664         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27666         [BZ #18507]
27667         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27668         __fstatvfs and define as weak alias of __fstatvfs.  Use
27669         libc_hidden_weak.
27670         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27671         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27672         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27673         Define as alias of __fstatvfs, not fstatvfs.
27674         (fstatvfs64): Likewise.
27675         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27676         Define as alias of __statvfs, not statvfs.
27677         (statvfs64): Likewise.
27678         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27679         Remove variable.
27681 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27684         (HAVE_GETCPU_VSYSCALL): Define.
27685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27686         (HAVE_GETCPU_VSYSCALL): Likewise.
27687         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27688         * sysdeps/unix/sysv/linux/sched_getcpu.c
27689         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27690         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27691         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27692         prototype.
27693         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27694         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27695         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27697         Define.
27698         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27699         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27700         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27701         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27703 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27705         * sysdeps/x86_64/fpu/Makefile: New file.
27706         * sysdeps/x86_64/fpu/Versions: New file.
27707         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27708         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27709         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27710         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27711         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27712         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27713         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27715         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27716         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27717         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27718         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27719         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27720         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27721         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27722         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27723         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27724         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27725         * sysdeps/x86_64/configure: Regenerated.
27726         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27727         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27728         * manual/install.texi (Configuring and compiling): Document
27729         --disable-mathvec.
27730         * INSTALL: Regenerated.
27731         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27733         * math/Makefile: Added rules for vector tests.
27734         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27735         declaration under condition.
27736         * math/test-double-vlen2.h: New file.
27737         * math/test-double-vlen4.h: New file.
27738         * math/test-double-vlen8.h: New file.
27739         * math/test-vec-loop.h: Added initialization macro.
27740         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27741         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27742         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27743         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27744         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27745         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27746         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27747         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27748         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27749         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27750         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27752         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27753         * sysdeps/x86_64/fpu/Versions: New versions added.
27754         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27755         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27757         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27758         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27759         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27760         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27761         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27762         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27763         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27764         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27765         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27766         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27767         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27768         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27769         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27770         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27771         * NEWS: Mention addition of x86_64 vector cosf.
27773         * math/Makefile: Added CFLAGS for new tests.
27774         * math/test-float-vlen16.h: New file.
27775         * math/test-float-vlen4.h: New file.
27776         * math/test-float-vlen8.h: New file.
27777         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27778         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27779         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27780         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27781         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27782         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27783         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27784         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27785         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27786         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27787         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27789 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27791         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27792         * locale/programs/ld-ctype.c: Likewise.
27794 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27796         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27797         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27798         bit_ZMM16_31_state): New macro.
27799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27800         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27802 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27804         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27806 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27808         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27810 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27812         [BZ #18498]
27813         * libio/memstream.c (open_memstream): Rename to __open_memstream
27814         and define as weak alias of __open_memstream.
27815         * include/stdio.h (__open_memstream): Declare.  Use
27816         libc_hidden_proto.
27817         (open_memstream): Don't use libc_hidden_proto.
27818         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27819         open_memstream.
27820         * posix/getopt.c (_getopt_internal_r): Likewise.
27821         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27822         variable.
27823         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27824         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27825         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27827         [BZ #18496]
27828         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27829         instead of wcrtomb.
27831         [BZ #18483]
27832         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27833         [__USE_XOPEN2K8].  Remove redundant #endif.
27834         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27835         Remove redundant #if.
27836         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27837         Remove variable.
27838         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27839         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27841         [BZ #18495]
27842         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27843         (__iswlower): Likewise.
27844         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27845         (__iswlower): Likewise.
27846         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27847         instead of towlower.
27848         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27849         instead of iswlower.  Call __towupper instead of towupper.
27850         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27851         instead of iswalnum.
27853 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27855         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27856         errors to stderr.
27858 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27860         [BZ #15661]
27861         [BZ #17322]
27862         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27863         Check for overflow properly.  Check for O_APPEND.  Ignore large
27864         file system block sizes.  Add comments about problems.
27865         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27866         * manual/filesys.texi (Storage Allocation): New node.
27868 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27870         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27871         cancellable syscalls.
27872         (SYS_ify): Add guard to no redefine it.
27873         (INLINE_SYSCALL): Likewise.
27874         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27875         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27876         SYSCALL_CANCEL instead.
27877         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27878         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27879         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27880         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27881         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27882         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27883         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27884         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27885         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27886         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27887         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27888         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27889         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27890         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27891         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27893         Likewise.
27894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27895         (__libc_pread64): Likewise.
27896         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27897         (__libc_preadv): Likewise.
27898         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27899         (__libc_readv64): Likewise.
27900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27901         (__libc_pwrite): Likewise.
27902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27903         (__libc_pwrite64): Likewise.
27904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27905         (__libc_pwritev): Likewise.
27906         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27907         (__libc_pwritev64): Likewise.
27908         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27909         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27910         (sync_file_range): Likewise.
27911         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27912         Likewise.
27913         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27914         Likewise.
27915         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27916         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27917         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27918         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27919         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27920         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27921         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27922         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27924         Likewise.
27925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27926         (__libc_read64): Likewise.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27928         Likewise.
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27930         Likewise.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27932         Likewise.
27933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27934         Likewise.
27935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27936         (__libc_pread64): Likewise.
27937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27938         Likewise.
27939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27940         (__libc_pwrite64): Likewise.
27941         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27942         (sync_file_range): Likewise.
27943         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27944         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27945         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27946         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27947         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27948         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27949         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27950         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27951         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27952         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27953         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27954         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27955         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27956         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27957         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27958         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27959         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27960         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27961         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27962         Likewise.
27963         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27964         Likewise.
27965         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27966         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27967         Likewise.
27968         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27969         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27970         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27971         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27972         Likewise.
27973         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27974         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27975         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27976         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27977         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27979 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27981         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27982         Include dl-vdso.
27983         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27984         Use VDSO routines for gettimeofday, clock_gettime if
27985         available.
27986         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27987         Declare VDSO symbols.
27988         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27989         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27990         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27991         * sysdeps/unix/sysv/linux/arm/Versions: Add
27992         __vdso_clock_gettime.
27994 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27996         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27997         be an inline implementation regardless of library is built within.
27998         (open_not_cancel_2): Likewise.
27999         (__read_nocancel): Likewise.
28000         (__write_nocancel): Likewise.
28001         (openat_not_cancel): Likewise.
28002         (openat_not_cancel_3): Likewise.
28003         (openat64_not_cancel): Likewise.
28004         (openat64_not_cancel_3): Likewise.
28005         (__close_nocancel): Likewise.
28006         (pause_not_cancel): Likewise.
28007         (nanosleep_not_cancel): Likewise.
28008         (sigsuspend_not_cancel): Likewise.
28010 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28012         [BZ #14958]
28013         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28014         wake-up.
28015         (__pthread_rwlock_rdlock_slow): Likewise.
28016         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28017         Likewise.
28018         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28019         Likewise.
28020         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28021         * nptl/tst-rwlock16.c: New file.
28022         * nptl/Makefile (tests): Add new test.
28024 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28026         [BZ #18324]
28027         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28028         missing wake-up of readers.
28029         * nptl/tst-rwlock15.c: New file.
28030         * nptl/Makefile (tests): Add new test.
28032 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28034         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28035         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28036         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28037         and __nacl_supply_interface_rtld.
28038         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28039         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28040         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28041         Add __nacl_supply_interface_rtld.
28042         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28044 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28046         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28047         isfinite.
28048         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28049         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28051 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28053         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28054         __signbit* with standard C99 macros.
28055         * math/e_exp10l.c: Likewise.
28056         * math/e_exp2l.c: Likewise.
28057         * math/e_scalb.c: Likewise.
28058         * math/e_scalbf.c: Likewise.
28059         * math/e_scalbl.c: Likewise.
28060         * math/s_ldexp.c: Likewise.
28061         * math/s_ldexpf.c: Likewise.
28062         * math/s_ldexpl.c: Likewise.
28063         * math/w_atan2.c: Likewise.
28064         * math/w_atan2f.c: Likewise.
28065         * math/w_atan2l.c: Likewise.
28066         * math/w_cosh.c: Likewise.
28067         * math/w_coshf.c: Likewise.
28068         * math/w_coshl.c: Likewise.
28069         * math/w_exp10.c: Likewise.
28070         * math/w_exp10f.c: Likewise.
28071         * math/w_exp10l.c: Likewise.
28072         * math/w_exp2.c: Likewise.
28073         * math/w_exp2f.c: Likewise.
28074         * math/w_exp2l.c: Likewise.
28075         * math/w_fmod.c: Likewise.
28076         * math/w_fmodf.c: Likewise.
28077         * math/w_fmodl.c: Likewise.
28078         * math/w_hypot.c: Likewise.
28079         * math/w_hypotf.c: Likewise.
28080         * math/w_hypotl.c: Likewise.
28081         * math/w_jnl.c: Likewise.
28082         * math/w_lgamma.c: Likewise.
28083         * math/w_lgamma_r.c: Likewise.
28084         * math/w_lgammaf.c: Likewise.
28085         * math/w_lgammaf_r.c: Likewise.
28086         * math/w_lgammal.c: Likewise.
28087         * math/w_lgammal_r.c: Likewise.
28088         * math/w_pow.c: Likewise.
28089         * math/w_powf.c: Likewise.
28090         * math/w_powl.c: Likewise.
28091         * math/w_remainder.c: Likewise.
28092         * math/w_remainderf.c: Likewise.
28093         * math/w_remainderl.c: Likewise.
28094         * math/w_scalb.c: Likewise.
28095         * math/w_scalbf.c: Likewise.
28096         * math/w_scalbl.c: Likewise.
28097         * math/w_scalbln.c: Likewise.
28098         * math/w_scalblnf.c: Likewise.
28099         * math/w_scalblnl.c: Likewise.
28100         * math/w_sinh.c: Likewise.
28101         * math/w_sinhf.c: Likewise.
28102         * math/w_sinhl.c: Likewise.
28103         * math/w_tgamma.c: Likewise.
28104         * math/w_tgammaf.c: Likewise.
28105         * math/w_tgammal.c: Likewise.
28106         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28107         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28108         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28109         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28110         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28111         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28112         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28113         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28114         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28115         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28116         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28117         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28118         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28119         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28120         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28121         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28122         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28123         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28124         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28125         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28126         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28127         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28128         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28130         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28131         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28132         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28133         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28134         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28135         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28136         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28137         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28138         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28139         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28140         * stdio-common/printf_fp.c: Likewise.
28141         * stdio-common/printf_fphex.c: Likewise.
28142         * stdio-common/printf_size.c: Likewise.
28144 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28146         [BZ #18470]
28147         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28148         strnlen.
28149         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28150         Remove variable.
28151         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28152         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28153         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28154         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28155         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28156         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28157         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28158         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28159         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28160         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28162         [BZ #18468]
28163         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28164         weak alias of __wmemchr.  Use libc_hidden_weak.
28165         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28166         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28167         instead of wmemchr.
28169 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28171         [BZ #18383]
28172         * elf/tst-tlsalign-extern.c: New file.
28173         * elf/tst-tlsalign-extern-static.c: New file.
28174         * elf/tst-tlsalign-vars.c: New file.
28175         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28176         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28177         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28178         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28179         (test-xfail-tst-tlsalign-extern-static): New variable.
28181 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28183         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28184         Use variable name _sc_err instead of err.
28185         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28186         instead of ret.
28187         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28188         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28189         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28190         (INLINE_SYSCALL): Likewise.
28192         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28193         * include/string.h (__strnlen): Use libc_hidden_proto.
28194         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28195         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28196         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28197         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28198         (libc_hidden_def): Undefine and redefine.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28200         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28201         __GI_strnlen.
28202         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28203         libc_hidden_def.
28204         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28206         [BZ #18469]
28207         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28208         weak alias of __towlower.  Use libc_hidden_weak.
28209         (towupper): Rename to __towupper and define as weak alias of
28210         __towupper.  Use libc_hidden_weak.
28211         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28212         (__towupper): Likewise.
28213         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28214         __towlower instead of towlower.
28216 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28218         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28219         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28221 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28223         * sysdeps/aarch64/libm-test-ulps: Update.
28225 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28227         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28228         Define.
28229         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28231         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28232         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28233         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28234         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28235         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28237 2015-06-01  Martin Sebor  <msebor@redhat.com>
28239         [BZ #18116]
28240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28241         (__setcontext): Use extended four-operand version of mtsf whenever
28242         possible.
28243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28244         (__novec_swapcontext): Likewise.
28246 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28248         * benchtests/scripts/compare_bench.py: New file.
28249         * benchtests/scripts/import_bench.py (mean): New function.
28250         (split_list): Likewise.
28251         (do_for_all_timings): Likewise.
28252         (compress_timings): Likewise.
28254         * benchtests/scripts/import_bench.py: New file.
28255         * benchtests/scripts/validate_benchout.py: Import import_bench
28256         instead of jsonschema.
28257         (validate_bench): Remove function.
28258         (main): Use import_bench.
28260 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28262         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28263         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28265 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28269 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28271         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28272         set THREAD_SELF->tid to a magic value and futex-wake it.
28273         Pass its address to the thread_exit system call.
28274         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28275         bit is clear.
28276         * sysdeps/nacl/lowlevellock.h: New file.
28277         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28279         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28280         Add TIMEOUT to current time, don't subtract it.
28282 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28284         [BZ #2981]
28285         [BZ #18422]
28286         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28287         ($(objpfx)tst-audit2.out): Also depend on
28288         $(objpfx)tst-auditmod9b.so.
28289         * elf/tst-audit2.c: Include <dlfcn.h>.
28290         (calloc_called): New.
28291         (calloc): Allow to be called more than once.
28292         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28294 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28296         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28297         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28299 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28301         * stdlib/monetary.h: Fix comment.
28303 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28305         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28306         Avoid using variables in #defines that might cause shadowing.
28307         (INTERNAL_VSYSCALL_CALL): Likewise.
28309 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28311         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28313         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28314         * nptl/lll_timedlock_wait.c: ... to this new file.
28315         * nptl/Makefile (libpthread-routines): Add it.
28316         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28317         * nptl/lll_timedwait_tid.c: ... to this new file.
28318         * nptl/Makefile (libpthread-routines): Add it.
28319         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28320         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28321         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28322         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28323         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28324         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28325         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28326         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28327         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28328         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28330 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28332         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28333         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28334         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28336         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28338         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28340         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28341         * sysdeps/unix/sysv/linux/tile/sysdep.h
28342         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28343         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28344         using vDSO syscall macro.
28346 2015-05-26  Andriy Rysin  <arysin@gmail.com>
28348         [BZ #17293]
28349         * uk_UA: Fix sorting order for Ukrainian locale
28351 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
28353         * stdlib/monetary.h: Fix comment.
28355 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28357         [BZ #18234]
28358         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
28359         st_mtim and st_ctim members.
28360         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
28361         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
28362         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
28363         (struct stat64): Likewise.
28364         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
28365         (struct stat64): Likewise.
28366         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
28367         (struct stat64): Likewise.
28369 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28371         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
28372         Define and include sysdep-vdso.h.
28373         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
28374         Likewise.
28375         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
28376         Likewise.
28377         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
28378         Define with VDSO_SYMBOL and use PTR_MANGLE.
28379         (__vdso_clock_gettime): Likewise.
28380         (__vdso_clock_getres): Likewise.
28381         (_libc_vdso_platform_setup): Likewise.
28382         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28383         Likewise.
28384         (_libc_vdso_platform_setup): Likewise.
28385         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
28386         Likewise.
28387         (__vdso_clock_gettime): Likewise.
28388         (__vdso_clock_getres): Likewise.
28389         (__vdso_get_tbfreq): Likewise.
28390         (__vdso_getcpu): Likewise.
28391         (__vdso_time): Likewise.
28392         (__vdso_sigtramp_rt64): Likewise.
28393         (__vdso_signtramp32): Likewise.
28394         (__vdso_sigtramp_rt32): Likewise.
28395         (_libc_vdso_platform_setup): Likewise.
28396         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
28397         Likewise.
28398         (__vdso_clock_gettime): Likewise.
28399         (__vdso_clock_getres): Likewise.
28400         (_libc_vdso_platform_setup): Likewise.
28401         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
28402         Likewise.
28403         (__vdso_clock_gettime): Likewise.
28404         (_libc_vdso_platform_setup): Likewise.
28405         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28406         Likewise.
28407         (__vdso_getcpu): Likewise.
28408         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
28409         Use VDSO_SYMBOL macro to define.
28410         (__vdso_clock_gettime): Likewise.
28411         (__vdso_clock_getres): Likewise.
28412         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
28413         Likewise.
28414         (__vdso_clock_gettime): Likewise.
28415         (__vdso_clock_getres): Likewise.
28416         (__vdso_get_tbfreq): Likewise.
28417         (__vdso_getcpu): Likewise.
28418         (__vdso_time): Likewise.
28419         (__vdso_sigtramp_rt64): Likewise.
28420         (__vdso_signtramp32): Likewise.
28421         (__vdso_sigtramp_rt32): Likewise.
28422         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28423         Likewise.
28424         (__vdso_clock_gettime): Likewise.
28425         (__vdso_clock_getres): Likewise.
28426         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28427         Likewise.
28428         (__vdso_clock_gettime): Likewise.
28429         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28430         Likewise.
28431         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28432         macro.
28433         (INTERNAL_VSYSCALL): Likewise.
28434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28435         Remove macro.
28436         (INTERNAL_VSYSCALL): Likewise.
28437         (INTERNAL_VSYSCALL_NCS): Likewise.
28438         (INTERNAL_VSYSCALL_CALL): New macro.
28439         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28441         Likewise.
28442         (INTERNAL_VSYSCALL): Likewise.
28443         (INTERNAL_VSYSCALL_NCS): Likewise.
28444         (INTERNAL_VSYSCALL_CALL): New macro.
28445         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28447         (INLINE_VSYSCALL): Remove macro.
28448         (INTERNAL_VSYSCALL): Remove macro.
28449         (INTERNAL_VSYSCALL_NCS): Remove macro.
28450         (INTERNAL_VSYSCALL_CALL): New macro.
28451         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28452         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28453         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28454         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28455         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28457         (INLINE_VSYSCALL): Remove macro.
28458         (INTERNAL_VSYSCALL): Likewise.
28459         (INTERNAL_VSYSCALL_NCS): Likewise.
28460         (INTERNAL_VSYSCALL_CALL): New macro.
28461         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28462         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28463         PTR_DEMANGLE on vDSO pointer.
28464         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28465         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28466         macro.
28467         (INTERNAL_SYSCALL): Likewise.
28468         (INTERNAL_VSYSCALL_NCS): Remove macro.
28469         (INTERNAL_VSYSCALL_CALL): New macro.
28470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28471         Remove macro.
28472         (INTERNAL_VSYSCALL): Likewise.
28473         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28474         sysdep-vdso.h instead of libc-vdso.h.
28475         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28476         definition.
28477         (INLINE_VSYSCALL): Likewise.
28478         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28479         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28480         definition.
28481         (INLINE_VSYSCALL): Likewise.
28482         (INTERNAL_VSYSCALL): Likewise.
28483         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28484         * sysdeps/unix/sysv/linux/timespec_get.c
28485         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28486         (timespec_get): Use ANSI prototype.
28487         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28488         and definition for Linux.
28490 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28492         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28493         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28495 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28497         [BZ #2981]
28498         [BZ #18410]
28499         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28500         for missing DT_PLTRELSZ.
28502 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28504         Remove obsolete aliases that broke 'locale -a'
28505         [BZ #18412]
28506         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28507         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28508         breaking some applications that use 'locale -a' output.
28509         Change the encoding of this file from Latin-1 to ASCII to avoid
28510         other potential problems with people grepping this file.
28512 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28514         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28515         -fasynchronous-unwind-tables.
28516         (CFLAGS-sendto.c): Likewise.
28517         (CFLAGS-sendmsg.c): Likewise.
28518         (CFLAGS-connect.c): Likewise.
28519         (CFLAGS-recvmsg.c): Likewise.
28520         (CFLAGS-recvfrom.c): Likewise.
28521         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28522         (SOCKETCALL): New macro: non-cancellable socketcall.
28523         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28524         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28525         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28526         * sysdeps/unix/sysv/linux/accept.c: New file.
28527         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28528         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28529         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28530         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28531         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28532         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28533         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28534         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28535         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28536         * sysdeps/unix/sysv/linux/send.c: Likewise.
28537         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28538         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28539         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28540         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28541         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28542         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28543         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28544         prototype.
28545         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28546         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28547         instead of __internal_xxx function.
28548         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28549         prototype.
28550         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28551         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28552         instead of __internal_xxx function.
28553         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28554         prototype.
28555         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28556         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28557         instead of __internal_xxx function.
28558         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28559         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28560         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28561         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28562         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28563         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28564         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28565         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28566         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28567         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28568         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28569         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28570         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28571         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28572         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28573         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28574         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28575         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28576         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28577         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28580         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28581         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28582         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28583         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28584         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28585         * sysdeps/unix/sysv/linux/send.S: Likewise.
28586         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28587         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28588         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28589         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28590         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28591         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28592         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28593         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28594         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28595         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28596         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28597         socketcall is implemented in GLIBC.
28599 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28601         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28602         (__fma): Ignore uninitialized warnings around packing.
28603         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28604         (__fmaf): Ignore uninitialized warnings around packing.
28605         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28606         (__fmal): Ignore uninitialized warnings around packing.
28608         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28609         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28610         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28611         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28613         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28614         switch statement into default case.
28615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28617         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28618         a conditional in forcing "inexact".
28619         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28620         Likewise.
28622 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28624         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28625         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28626         for each INTERNAL_SYSCALL use.
28628 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28630         [BZ #438]
28631         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28632         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28633         variable.
28635         [BZ #18444]
28636         * string/basename.c (basename): Rename to __basename and define as
28637         weak alias of __basename.  Use libc_hidden_weak.
28638         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28639         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28640         __basename instead of basename.
28641         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28642         Remove variable.
28643         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28645 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28647         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28648         (_IO_JUMPS_FILE_plus): New.
28649         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28650         _IO_CAST_FIELD_ACCESS.
28651         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28652         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28653         * libio/freopen.c (freopen): Likewise.
28654         * libio/freopen64.c (freopen64): Likewise.
28655         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28656         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28657         * libio/iofwide.c (_IO_fwide): Likewise.
28658         * libio/memstream.c (open_memstream): Likewise.
28659         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28660         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28661         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28663 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28665         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28666         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28667         NADJ.
28668         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28669         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28670         NADJ.
28671         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28672         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28673         NADJ.
28675         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28676         (p == 4) case.
28678         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28679         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28680         Remove variable.
28681         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28682         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28683         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28685 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28687         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28688         Adjust jump table label generation macros.
28690 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28692         * stdio-common/vfprintf.c (vfprintf): Move local variables
28693         args_malloced, specs, specs_malloced, and the code after
28694         do_positional to the printf_positional function.
28695         (printf_positional): New function.
28697 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28699         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28700         function.
28701         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28702         STEP4_TABLE, process_arg): Move macro definitions
28703         out of the vfprintf function.  (Cosmetic change only.)
28705 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28707         * benchtests/Makefile (stdio-common-bench): Define.
28708         (benchset): Add stdio-common-bench.
28709         * sprintf-inputs: New file.
28710         * sprintf-source.c: New file.
28712 2015-05-21  Andreas Schwab  <schwab@suse.de>
28714         [BZ #13028]
28715         [BZ #17053]
28716         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28717         of struct __res_state.
28718         * resolv/res_send.c (__libc_res_nsend): Likewise.
28719         (get_nsaddr): New function.
28720         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28721         statp directly.
28723 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28725         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28726         -D_POSIX_C_SOURCE=199506L.
28728         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28730         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28731         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28732         Do not mention otherwise.
28733         [POSIX] (_XOPEN_VERSION): Do not expect.
28734         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28735         [POSIX] (_POSIX2_C_BIND): Likewise.
28736         [POSIX] (_POSIX2_VERSION): Likewise.
28737         [POSIX] (_XOPEN_XPG2): Likewise.
28738         [POSIX] (_XOPEN_XPG3): Likewise.
28739         [POSIX] (_XOPEN_XPG4): Likewise.
28740         [POSIX] (_XOPEN_UNIX): Likewise.
28741         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28742         [POSIX] (_POSIX_BARRIERS): Likewise.
28743         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28744         [POSIX] (_POSIX_CPUTIME): Likewise.
28745         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28746         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28747         [POSIX] (_POSIX_SHELL): Likewise.
28748         [POSIX] (_POSIX_SPAWN): Likewise.
28749         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28750         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28751         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28752         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28753         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28754         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28755         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28756         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28757         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28758         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28759         [POSIX] (_POSIX2_PBS): Likewise.
28760         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28761         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28762         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28763         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28764         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28765         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28766         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28767         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28768         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28769         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28770         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28771         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28772         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28773         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28774         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28775         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28776         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28777         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28778         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28779         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28780         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28781         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28782         [POSIX] (_SC_2_C_BIND): Likewise.
28783         [POSIX] (_SC_2_C_VERSION): Likewise.
28784         [POSIX] (_SC_2_PBS): Likewise.
28785         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28786         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28787         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28788         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28789         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28790         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28791         [POSIX] (_SC_BARRIERS): Likewise.
28792         [POSIX] (_SC_BASE): Likewise.
28793         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28794         [POSIX] (_SC_DEVICE_IO): Likewise.
28795         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28796         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28797         [POSIX] (_SC_FD_MGMT): Likewise.
28798         [POSIX] (_SC_FIFO): Likewise.
28799         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28800         [POSIX] (_SC_FILE_LOCKING): Likewise.
28801         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28802         [POSIX] (_SC_IOV_MAX): Likewise.
28803         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28804         [POSIX] (_SC_NETWORKING): Likewise.
28805         [POSIX] (_SC_PAGE_SIZE): Likewise.
28806         [POSIX] (_SC_PASS_MAX): Likewise.
28807         [POSIX] (_SC_PIPE): Likewise.
28808         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28809         [POSIX] (_SC_REGEXP): Likewise.
28810         [POSIX] (_SC_SHELL): Likewise.
28811         [POSIX] (_SC_SIGNALS): Likewise.
28812         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28813         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28814         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28815         [POSIX] (_SC_USER_GROUPS): Likewise.
28816         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28817         [POSIX] (_SC_STREAMS): Likewise.
28818         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28819         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28820         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28821         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28822         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28823         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28824         [POSIX] (_PC_FILESIZEBITS): Likewise.
28825         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28826         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28827         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28828         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28829         [POSIX] (uid_t): Likewise.
28830         [POSIX] (gid_t): Likewise.
28831         [POSIX] (off_t): Likewise.
28832         [POSIX] (pid_t): Likewise.
28833         [POSIX] (cuserid): Allow.
28834         (_SC_2_CHAR_TERM): Require constant.
28835         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28836         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28837         variable.
28839 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28841         * sysdeps/nacl/pthread-pids.h: New file.
28842         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28843         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28845         * nptl/pthread-pids.h: New file.
28846         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28847         * nptl/nptl-init.c: Include <pthread-pids.h>.
28848         (__pthread_initialize_minimal_internal):
28849         Call __pthread_initialize_pids instead of set_tid_address syscall.
28851         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28852         * sysdeps/posix/usleep.c: ... here.
28854 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28856         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28857         call_pselect6 object.
28858         [$(subdir) = io]: Remove call_sync_file_range object.
28859         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28860         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28861         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28862         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28864 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28866         * math/s_cproj.c: Add include "math_private.h".
28867         * math/s_cprojf.c: Likewise.
28868         * math/s_cprojl.c: Likewise.
28870 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28872         [BZ #18244]
28873         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28874         high mantissa bit when testing whether P is a NaN.
28875         * math/libm-test.inc (remainder_test_data): Add more tests.
28876         (remquo_test_data): Likewise.
28878         [BZ #18049]
28879         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28880         below -32, return the argument, with underflow if subnormal.
28881         * math/auto-libm-test-in: Add more tests of atanh.
28882         * math/auto-libm-test-out: Regenerated.
28884 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28886         [BZ #18434]
28887         * nptl/tst-sem15.c: New file.
28888         * nptl/Makefile (tests): Add it.
28889         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28890         s/<</>>/ to fix typo in EOVERFLOW check.
28891         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28893 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28895         * manual/strings.texi (envz_remove): Fix typo in safety
28896         annotations.
28898 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28899             Steve Ellcey  <sellcey@imgtec.com>
28901         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28902         in order to avoid strict alias warnings.
28903         (iruserok_af): Ditto for ra.
28905 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28907         [BZ #17581]
28908         * malloc/hooks.c
28909         (magicbyte): Convert to a function and avoid returning 0x01.
28910         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28911         (mem2chunk_check): Fix unsigned comparisons to zero.
28912         Hoist defs of sz and magic.
28914 2015-05-19  Richard Henderson  <rth@redhat.com>
28916         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28918         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28920 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28922         [BZ #16159]
28923         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28924         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28925         (reused_arena): Find a non-corrupt arena.
28926         (heap_trim): Pass arena to unlink.
28927         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28928         malloc_printerr.
28929         (top_check): Likewise.
28930         (free_check): Likewise.
28931         (realloc_check): Likewise.
28932         * malloc/malloc.c (malloc_printerr): Add arena argument.
28933         (unlink): Likewise.
28934         (munmap_chunk): Adjust.
28935         (ARENA_CORRUPTION_BIT): New macro.
28936         (arena_is_corrupt): Likewise.
28937         (set_arena_corrupt): Likewise.
28938         (sysmalloc): Use mmap if there are no usable arenas.
28939         (_int_malloc): Likewise.
28940         (__libc_malloc): Don't fail if arena_get returns NULL.
28941         (_mid_memalign): Likewise.
28942         (__libc_calloc): Likewise.
28943         (__libc_realloc): Adjust for additional argument to
28944         malloc_printerr.
28945         (_int_free): Likewise.
28946         (malloc_consolidate): Likewise.
28947         (_int_realloc): Likewise.
28948         (_int_memalign): Don't touch corrupt arenas.
28949         * malloc/tst-malloc-backtrace.c: New test case.
28951         * Makefile (summarize-tests): Fix return value on success.
28953         * manual/string.texi (Envz Functions): Add envz_remove.
28955 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28957         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28958         (invalid_name): New function, broken out of ...
28959         (__opendirat): ... here.  Call it.
28960         (need_isdir_precheck): New function, broken out of ...
28961         (__opendirat): ... here.  Call it.
28962         Use __fxstatat64, not __xstatat64.
28963         (opendir_oflags): New function, broken out of ...
28964         (__opendirat): ... here.  Call it.
28965         (opendir_tail): New function, broken out of ...
28966         (__opendirat): ... here.  Call it.
28967         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28968         opendir_tail, rather than punting to __opendirat.
28969         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28971 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28973         * .gitignore: Ignore generated *.pyc.
28975 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28977         * include/stdio.h: Define __need_wint_t.
28978         * test-skeleton.c: Avoid `for' loop initial declaration.
28979         * nptl/tst-initializers1.c: Use test-skeleton.c.
28981 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28983         [BZ #18418]
28984         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28986 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28988         [BZ #16352]
28989         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28990         (__ieee754_atanh): Force underflow exception for results with
28991         small absolute value.
28992         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28993         (__ieee754_atanhf): Force underflow exception for results with
28994         small absolute value.
28995         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28996         (__ieee754_atanh): Force underflow exception for results with
28997         small absolute value.
28998         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28999         (__ieee754_atanhf): Force underflow exception for results with
29000         small absolute value.
29001         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
29002         (__ieee754_atanhl): Force underflow exception for results with
29003         small absolute value.
29004         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
29005         (__ieee754_atanhl): Force underflow exception for results with
29006         small absolute value.
29007         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29008         (__ieee754_atanhl): Force underflow exception for results with
29009         small absolute value.
29010         * math/auto-libm-test-in: Do not allow missing underflow
29011         exceptions from atanh.
29012         * math/auto-libm-test-out: Regenerated.
29014         [BZ #18221]
29015         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29016         2**-28 as threshold for returning x or +/- 1/x.
29017         * math/auto-libm-test-in: Add more tests of tan.
29018         * math/auto-libm-test-out: Regenerated.
29020         [BZ #18220]
29021         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29022         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29023         * math/auto-libm-test-in: Add another test of lgamma.
29024         * math/auto-libm-test-out: Regenerated.
29026 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29028         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29029         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29030         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29031         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29032         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29033         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29034         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29035         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29036         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29037         (log1): Use fabs.  (my_log2): Use fabs.
29038         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29039         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29040         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29041         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29042         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29043         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29044         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29045         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29046         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29047         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29048         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29050 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29052         [BZ #18217]
29053         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29054         as threshold for returning 1 - x.
29055         * math/auto-libm-test-in: Add more tests of erfc.
29056         * math/auto-libm-test-out: Regenerated.
29058 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29060         [BZ #18196]
29061         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29062         threshold for large arguments.
29063         * math/auto-libm-test-in: Add another test of atan.
29064         * math/auto-libm-test-out: Regenerated.
29066         [BZ #16339]
29067         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29068         (__log1p): Force underflow exception for results with small
29069         absolute value.
29070         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29071         (__log1pf): Force underflow exception for results with small
29072         absolute value.
29073         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29074         (__log1p): Force underflow exception for results with small
29075         absolute value.
29076         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29077         (__log1pf): Force underflow exception for results with small
29078         absolute value.
29079         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29080         (__log1pl): Force underflow exception for results with small
29081         absolute value.
29082         * math/auto-libm-test-in: Do not allow missing underflow
29083         exceptions from log1p.
29084         * math/auto-libm-test-out: Regenerated.
29086 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29087             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29089         [BZ #16704]
29090         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29092 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29094         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29095         (libmvec): New variable.
29096         * configure.ac: Added option for mathvec build.
29097         * configure: Regenerated.
29098         * mathvec/Depend: New file.
29099         * mathvec/Makefile: New file.
29100         * shlib-versions: Added libmvec.
29101         * math/Makefile: Added rule for libm.so installation.
29103         * bits/math-vector.h: New file.
29104         * bits/libm-simd-decl-stubs.h: New header.
29105         * math/Makefile (headers): Added new header
29106         libm-simd-decl-stubs.h.
29107         * math/math.h (__MATHCALL_VEC): New macro.
29109         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29110         for conditions in testing functions.
29111         * math/Makefile: Added call of libm-have-vector-test.sh.
29112         * math/libm-test.inc (HAVE_VECTOR): New macros.
29114         * math/libm-test.inc: START refactored.
29115         * math/test-double.c (TEST_MATHVEC): Add define.
29116         * math/test-float.c: Likewise.
29117         * math/test-idouble.c: Likewise.
29118         * math/test-ifloat.c: Likewise.
29119         * math/test-ildoubl.c: Likewise.
29120         * math/test-ldouble.c: Likewise.
29121         * sysdeps/generic/math-tests-arch.h
29122         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29123         architecture check.
29125         * math/test-double.c (FUNC_TEST): New macro.
29126         * math/test-float.c: Likewise.
29127         * math/test-idouble.c: Likewise.
29128         * math/test-ifloat.c: Likewise.
29129         * math/test-ildoubl.c: Likewise.
29130         * math/test-ldouble.c: Likewise.
29131         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29133 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29135         * sysdeps/nacl/fdopendir.c: New file.
29137         * dirent/scandir-tail.c: New file.
29138         * dirent/scandir64-tail.c: New file.
29139         * dirent/Makefile (routines): Add them.
29140         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29141         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29142         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29143         [!SCANDIR] (SCANDIR_TAIL): New macro.
29144         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29145         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29146         (SCANDIRAT): Macro removed.
29147         (SCANDIR_TAIL): New macro.
29148         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29149         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29150         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29151         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29152         (READDIR): Macro removed.
29153         (SCANDIR_TAIL): New macro.
29154         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29155         (SCANDIR_TAIL): New macro.
29157         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29158         * dirent/scandir-cancel.c: ... to this new file.
29159         * dirent/Makefile (routines): Add it.
29160         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29161         * sysdeps/unix/sysv/linux/i386/scandir64.c
29162         (SKIP_SCANDIR_CANCEL): Macro removed.
29163         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29165         * dirent/tst-scandir.c: New file.
29166         * dirent/tst-scandir64.c: New file.
29167         * dirent/Makefile (tests): Add them.
29169 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29171         [BZ #18409]
29172         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29174 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29176         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29177         list.
29179 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29181         * benchtests/bench-strcoll.c: New benchmark.
29182         * benchtests/Makefile: Generate locales and run benchmark.
29183         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29184         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29185         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29186         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29187         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29188         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29189         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29190         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29191         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29192         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29193         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29194         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29195         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29196         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29197         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29198         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29199         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29200         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29201         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29202         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29203         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29204         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29205         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29206         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29208 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29210         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29211         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29213 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29215         * posix/uname-values.h: New file.
29216         * posix/uname.c: Include that instead of <config-name.h>.
29217         * sysdeps/nacl/uname-values.h: New file.
29218         * sysdeps/arm/nacl/uname-values.h: New file.
29220 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29222         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29223         splitting into fields.
29225 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29227         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29228         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29229         * locale/localeinfo.h: Add enum collation_encoding_type.
29230         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29231         * programs/ld-collate.c (collate_output): Add encoding type info.
29232         * string/strcoll_l.c (STRDIFF): New function.
29233         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29234         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29236 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29238         [BZ #18397]
29239         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29240         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29241         <fpu_control.h> instead of <math/fpu_control.c>.
29242         * sysdeps/mips/mips32/fpu/Makefile: New file.
29244 2015-05-11  Andreas Schwab  <schwab@suse.de>
29246         [BZ #18007]
29247         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29248         nss_endgrent.
29249         (_nss_compat_endgrent): Call nss_endgrent.
29250         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29251         nss_endpwent.
29252         (_nss_compat_endpwent): Call nss_endpwent.
29253         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29254         needent, call nss_setspent only if non-zero.
29255         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29256         (internal_endspent): Don't call nss_endspent.
29257         (_nss_compat_endspent): Call nss_endspent.
29258         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29259         Remove.  All uses removed.
29260         (internal_setent): Remove parameter stayopen, add parameter
29261         stream.  Use it instead of global variable.
29262         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29263         (internal_endent, internal_getent): Add parameter stream.  Use it
29264         instead of global variable.
29265         (CONCAT(_nss_files_end,ENTNAME))
29266         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29267         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29268         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29269         uses removed.
29270         (internal_setent, internal_endent): Add parameter stream.  Use it
29271         instead of global variable.
29272         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29273         stream.
29274         (get_next_alias): Add parameter stream.
29275         (_nss_files_getaliasent_r): Pass global stream.
29276         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29277         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29278         (_nss_files_gethostbyname4_r): Pass local stream to
29279         internal_setent, internal_getent and internal_endent.  Remove
29280         locking.
29282 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29284         * tst-strfmon1.c (tests): Update expected currency symbol.
29286 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29288         * sysdeps/nacl/gethostname.c: New file.
29290 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29292         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29293         and sinh.
29294         * math/auto-libm-test-out: Regenerated.
29295         * sysdeps/i386/fpu/libm-test-ulps: Update.
29296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29298 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
29300         [BZ #18125]
29301         * stdlib/tst-setcontext3.c: New file.
29302         * stdlib/tst-setcontext3.sh: New file.
29303         * stdlib/Makefile (tests): Add tst-setcontext3.
29304         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29305         to verify test program created output file.
29306         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29307         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29308         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29309         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29311 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29313         [BZ #18383]
29314         * elf/tst-tlsalign.c: New file.
29315         * elf/tst-tlsalign-static.c: New file.
29316         * elf/tst-tlsalign-lib.c: New file.
29317         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29318         (tests-static): Add tst-tlsalign-static.
29319         (modules-names): Add tst-tlsalign-lib.
29320         (test-xfail-tst-tlsalign): New variable.
29321         (test-xfail-tst-tlsalign-static): New variable.
29323         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29324         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29326 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29328         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29329         csqrt, erfc, sin and sincos.
29330         * math/auto-libm-test-out: Regenerated.
29331         * sysdeps/i386/fpu/libm-test-ulps: Update.
29332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29334 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29336         * sysdeps/aarch64/libm-test-ulps: Update.
29338 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29340         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29341         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29342         * math/auto-libm-test-out: Regenerated.
29343         * sysdeps/i386/fpu/libm-test-ulps: Update.
29344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29346 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29348         [BZ #18265]
29349         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
29350         (wcsncpy): Likewise.
29352 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29354         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29355         Assume __ASSUME_FALLOCATE is always true.
29356         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29357         (__posix_fallocate64_l64): Likewise.
29358         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
29359         (posix_fallocate): Likewise.
29360         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
29361         (__posix_fallocate64_l64): Likewise.
29362         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29363         [!__ASSUME_FALLOCATE]: Add comment.
29365 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29367         * sysdeps/unix/sysv/linux/i386/Makefile
29368         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
29369         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
29370         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
29371         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29372         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29373         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29374         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
29376 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
29378         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
29379         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
29380         tgamma.
29381         * math/auto-libm-test-out: Regenerated.
29382         * sysdeps/i386/fpu/libm-test-ulps: Update.
29383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29385 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29387         * math/auto-libm-test-in: Add more tests of tgamma.
29388         * math/auto-libm-test-out: Regenerated.
29389         * sysdeps/i386/fpu/libm-test-ulps: Update.
29390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29392         * math/auto-libm-test-in: Add more tests of tanh.
29393         * math/auto-libm-test-out: Regenerated.
29394         * sysdeps/i386/fpu/libm-test-ulps: Update.
29395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397         * math/auto-libm-test-in: Add more tests of tan.
29398         * math/auto-libm-test-out: Regenerated.
29399         * sysdeps/i386/fpu/libm-test-ulps: Update.
29400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29402         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
29403         * math/auto-libm-test-out: Regenerated.
29404         * sysdeps/i386/fpu/libm-test-ulps: Update.
29405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29407         * math/auto-libm-test-in: Add another test of pow.
29408         * math/auto-libm-test-out: Regenerated.
29409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29411         * math/auto-libm-test-in: Add more tests of lgamma.
29412         * math/auto-libm-test-out: Regenerated.
29413         * sysdeps/i386/fpu/libm-test-ulps: Update.
29414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29416         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
29417         log1p.
29418         * math/auto-libm-test-out: Regenerated.
29419         * sysdeps/i386/fpu/libm-test-ulps: Update.
29420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29422 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29424         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29425         Elf64_Chdr structs and ELFCOMPRESS constants.
29427 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29429         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29430         expm1.
29431         * math/auto-libm-test-out: Regenerated.
29432         * sysdeps/i386/fpu/libm-test-ulps: Update.
29433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29435         * math/auto-libm-test-in: Add more tests of erf and erfc.
29436         * math/auto-libm-test-out: Regenerated.
29437         * sysdeps/i386/fpu/libm-test-ulps: Update.
29438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29440 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29442         * config.h.in (HAVE_AARCH64_BE): Add.
29444 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29446         * math/auto-libm-test-in: Add more tests of csqrt.
29447         * math/auto-libm-test-out: Regenerated.
29448         * sysdeps/i386/fpu/libm-test-ulps: Update.
29449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29451         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29452         * math/auto-libm-test-out: Regenerated.
29453         * sysdeps/i386/fpu/libm-test-ulps: Update.
29454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29456         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29458 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29460         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29461         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29463         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29464         (euidaccess, eaccess): Define as weak aliases.
29466         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29467         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29468         but __suseconds_t is often 'long int' so some sources assume that
29469         type is being used (e.g. they use %ld to print tv_usec).
29471 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29473         [BZ #18007]
29474         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29475         (CVE-2014-8121)
29476         * nss/tst-nss-getpwent.c: New file.
29477         * nss/Makefile (tests): Add new test.
29479 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29481         [BZ #18346]
29482         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29483         exponents less than 48 as cases where high part of mantissa needs
29484         examining to determine whether argument is integral.
29485         * math/libm-test.inc (round_test_data): Add more tests.
29487 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29489         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29491 2015-04-27  David S. Miller  <davem@davemloft.net>
29493         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29494         __tls_get_addr.
29495         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29497 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29499         [BZ#18333]
29500         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29502 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29504         [BZ#18333]
29505         * time/tzset.c (parse_tzname): Return error on memory allocation
29506         failure.
29507         * test-skeleton.c (struct temp_name_list): Change type of name
29508         member to non-const.
29509         (add_temp_file): Create a copy of the file name.
29510         (delete_temp_files): Deallocate memory.
29511         (create_temp_file): Add comment.
29513 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29515         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29516         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29518 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29520         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29521         * sysdeps/arm/configure: Regenerated.
29523 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29525         [BZ #17715]
29526         * time/tzfile.c (__tzfile_read): Check for large values of
29527         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29528         * time/tzset.c (__tzstring_len): New function, based on the old
29529         __tzstring function.
29530         (__tzstring): Call __tzstring_len.
29531         (parse_tzname): New helper function extracted from
29532         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29533         the input string.
29534         (parse_offset): New helper function extracted from
29535         __tzset_parse_tz.  Replace switch with fallthrough with
29536         initialization before sscanf.
29537         (parse_rule): Likewise.
29538         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29539         new-style function definition.
29540         * timezone/Makefile (tests): Add tst-tzset.
29541         (tst-tzset.out): Dependencies on time zone files.
29542         (tst-tzset-ENV): Set TZDIR.
29543         (testdata/XT%): Copy crafted time zone files.
29544         * timezone/README: Mention crafted time zone files.
29545         * timezone/testdata/XT1, timezone/testdata/XT2,
29546         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29547         files.
29548         * timezone/tst-tzset.c: New test.
29550 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29552         * Makeconfig (+gccwarn): Remove -Winline.
29554 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29556         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29558 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29560         * NEWS: Mention sysconf() cache information support for s390.
29561         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29563 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29565         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29566         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29567         (__nearbyint): Likewise.
29568         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29569         (copysignl): Likewise.
29571 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29573         [BZ #18287]
29574         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29575         based on padding.  (CVE-2015-1781)
29577 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29579         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29580         libc-vdso.h.
29581         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29582         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29583         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29584         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29585         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29586         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29587         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29588         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29589         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29590         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29591         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29592         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29593         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29594         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29595         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29596         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29597         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29599         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29600         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29601         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29602         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29603         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29605 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29607         * stdlib/setenv.c (__add_to_environ):
29608         Dump core quickly if setenv (..., NULL, ...) is called.
29609         This time, do it the right way, and pacify GCC with a pragma.
29611 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29613         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29614         IMAP->l_prev cannot be null, and #if out the code for the contrary
29615         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29616         believe that NS (&_dl_ns[NSID]) could point outside the array.
29618         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29619         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29620         before using NSID as an index.
29622 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29624         [BZ #17825]
29625         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29626         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29627         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29629 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29631         Add preliminary port to Google Native Client on ARM.
29632         * abi-tags (.*-.*-nacl.*): New entry.
29633         * sysdeps/arm/nacl: New directory.
29634         * sysdeps/nacl: New directory.
29636 2015-04-16  David S. Miller  <davem@davemloft.net>
29638         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29639         lowlevellock-futex.h
29641 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29643         * sysdeps/tile/configure.ac: New file.
29644         * sysdeps/tile/configure: Regenerated.
29646 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29648         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29649         conditionals for weak_alias and libc_hidden_weak.
29650         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29651         libc_hidden_weak and weak_alias.
29652         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29653         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29654         and weak_alias for static one.
29656 2015-04-15  David S. Miller  <davem@davemloft.net>
29658         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29660 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29662         [BZ #18206]
29663         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29664           Use signed comparision instead of substraction to avoid
29665           overflow bug.
29666         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29667           Take the sign of ret.
29668         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29669           Do not expect precise return values. Only the sign matters.
29670         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29671         * wcsmbs/test-wcsncmp.c: New File.
29672         * string/test-strncmp.c: Add wcsncmp support.
29674 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29676         [BZ #6792]
29677         * math/w_log1p.c: New file.
29678         * math/w_log1pf.c: Likewise.
29679         * math/w_log1pl.c: Likewise.
29680         * math/Makefile (libm-calls): Add w_log1p.
29681         * math/s_log1pl.c (log1pl): Remove weak_alias.
29682         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29683         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29684         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29685         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29686         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29687         [NO_LONG_DOUBLE] (log1pl): Likewise.
29688         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29689         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29690         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29691         (log1p): Remove long_double_symbol.
29692         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29693         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29694         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29695         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29696         remove weak_alias for corresponding log1p function.
29697         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29698         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29699         * sysdeps/ia64/fpu/w_log1p.c: New file.
29700         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29701         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29702         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29704 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29706         [BZ #18247]
29707         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29708         decimal exponent by 1.
29709         * stdlib/tst-strtod-round-data: Add more tests.
29710         * stdlib/tst-strtod-round.c (tests): Regenerated.
29712 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29714         * math/auto-libm-test-in: Add more tests of clog and clog10.
29715         * math/auto-libm-test-out: Regenerated.
29716         * sysdeps/i386/fpu/libm-test-ulps: Update.
29717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29719 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29721         * Makeconfig (module-cppflags): Exclude all .v.i files.
29722         (skip-module-cppflags): Variable removed.
29724         * configure.ac (libc_config_ok): Initialize before reading
29725         preconfigure scripts, not after.
29726         * configure: Regenerated.
29728         * test-skeleton.c (TIMEOUT): Move #define to top level.
29729         (main): Grok environment variable TEST_DIRECT.  If set, print
29730         test expectation details into that file and then behave as if
29731         given --direct.
29733 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29735         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29736         warning on 32-bit.
29738 2015-04-08  David S. Miller  <davem@davemloft.net>
29740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29742 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29744         * math/auto-libm-test-in: Add more tests of atanh.
29745         * math/auto-libm-test-out: Regenerated.
29746         * sysdeps/i386/fpu/libm-test-ulps: Update.
29747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29749         * math/auto-libm-test-in: Add more tests of atan.
29750         * math/auto-libm-test-out: Regenerated.
29751         * sysdeps/i386/fpu/libm-test-ulps: Update.
29752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29754 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29756         * elf/pldd.c (main): Rewrite to use struct
29757         scratch_buffer instead of extend_alloca.
29758         * elf/pldd-xx.c (find_maps): Likewise.
29759         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29760         <alloca.h>.
29761         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29762         scratch_buffer instead of extend_alloca.
29763         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29764         grp/compat-initgroups.c.
29765         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29766         Rewrite to use struct scratch_buffer instead of extend_alloca.
29767         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29768         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29770 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29772         * math/auto-libm-test-in: Add more tests of cbrt.
29773         * math/auto-libm-test-out: Regenerated.
29774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29776         * math/auto-libm-test-in: Add more tests of cabs.
29777         * math/auto-libm-test-out: Regenerated.
29778         * sysdeps/i386/fpu/libm-test-ulps: Update.
29779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29781         [BZ #18210]
29782         [BZ #18211]
29783         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29784         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29785         computations.
29786         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29787         clog10.
29788         * math/auto-libm-test-out: Regenerated.
29789         * sysdeps/i386/fpu/libm-test-ulps: Update.
29790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29792         [BZ #18197]
29793         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29794         (atan): Set FE_TONEAREST mode for internal computations.
29795         * math/auto-libm-test-in: Add more tests of atan.
29796         * math/auto-libm-test-out: Regenerated.
29798 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29800         [BZ #17930]
29801         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29803 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29805         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29807 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29809         * include/scratch_buffer.h: New file.
29810         * malloc/scratch_buffer_grow.c: Likewise.
29811         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29812         * malloc/scratch_buffer_set_array_size.c: Likewise.
29813         * malloc/tst-scratch_buffer.c: Likewise.
29814         * malloc/Makefile (routines): Add scratch_buffer_grow.
29815         (tests): Add test case.
29816         * malloc/Versions (GLIBC_PRIVATE): Export
29817         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29818         __libc_scratch_buffer_set_array_size.
29820 2015-04-06  Richard Henderson  <rth@redhat.com>
29822         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29823         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29825         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29826         unsigned int before printing.
29828 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29830         [BZ #17596]
29831         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29832         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29834 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29836         * include/libc-internal.h (libc_max_align_t): Define.
29838 2015-04-02  Andreas Schwab  <schwab@suse.de>
29840         [BZ #16850]
29841         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29843 2015-04-02  Mel Gorman  <mgorman@suse.de>
29845         [BZ #17195]
29846         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29847         as well as the main arena.
29849 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29851         [BZ #18185]
29852         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29853         sharing L2 cache to 2 for Silvermont/Knights Landing.
29855 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29857         [BZ #17711]
29858         * config.make.in (have-protected-data): New.
29859         * configure.ac: Check linker support for protected data symbol.
29860         * configure: Regenerated.
29861         * elf/Makefile (modules-names): Add tst-protected1moda and
29862         tst-protected1modb if $(have-protected-data) is yes.
29863         (tests): Add tst-protected1a and tst-protected1b if
29864         $(have-protected-data) is yes.
29865         ($(objpfx)tst-protected1a): New.
29866         ($(objpfx)tst-protected1b): Likewise.
29867         (tst-protected1modb.so-no-z-defs): Likewise.
29868         * elf/tst-protected1a.c: New file.
29869         * elf/tst-protected1b.c: Likewise.
29870         * elf/tst-protected1mod.h: Likewise.
29871         * elf/tst-protected1moda.c: Likewise.
29872         * elf/tst-protected1modb.c: Likewise.
29874 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29876         [BZ #17711]
29877         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29878         indicates it is called from do_lookup_x on relocation against
29879         protected data, skip the data definion in the executable from
29880         copy reloc.
29881         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29882         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29883         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29884         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29885         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29886         otherwise to 0.
29887         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29888         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29889         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29890         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29891         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29892         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29894 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29896         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29897         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29899 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29901         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29902         THREAD_SETMEM_NC.
29903         * sysdeps/x86_64/nptl/tls.h: Ditto.
29905 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29907         * dlfcn/tststatic.c (main): Converted to ...
29908         (do_test): ... this.
29909         (TEST_FUNCTION): New macro.
29910         Include test-skeleton.c.
29912 2015-03-26  Alan Modra  <amodra@gmail.com>
29914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29915         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29916         zero for undefined weak.
29917         (elf_machine_plt_conflict): Similarly.
29919 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29921         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29922         atanh.
29923         * math/auto-libm-test-out: Regenerated.
29924         * sysdeps/i386/fpu/libm-test-ulps: Update.
29925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29927         * math/auto-libm-test-in: Add another test of asin.
29928         * math/auto-libm-test-out: Regenerated.
29929         * sysdeps/i386/fpu/libm-test-ulps: Update.
29930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29932         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29933         Remove macro.
29934         (LLL_EBX_REG): Likewise.
29935         (LLL_ENTER_KERNEL): Likewise.
29937         * math/auto-libm-test-in: Add more tests of asin.
29938         * math/auto-libm-test-out: Regenerated.
29939         * sysdeps/i386/fpu/libm-test-ulps: Update.
29940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29942         [BZ #18138]
29943         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29944         libc_do_syscall_args): New structure.
29945         (INTERNAL_SYSCALL_MAIN_0): New macro.
29946         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29947         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29948         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29949         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29950         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29951         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29952         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29953         Replace conditional definitions by conditional definitions of ....
29954         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29955         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29956         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29957         (libpthread-sysdep_routines): Add libc-do-syscall.
29958         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29959         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29960         to __NR_futex not 240.
29962 2015-03-25  Alan Modra  <amodra@gmail.com>
29964         * NEWS: Advertise TLS optimization.
29965         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29966         (DT_PPC_NUM): Increment.
29967         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29968         (CHECK_STATIC_TLS): Use here.
29969         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29970         TLS descriptors.
29971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29972         * sysdeps/powerpc/dl-tls.c: New file.
29973         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29974         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29975         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29976         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29981 2015-03-25  Alan Modra  <amodra@gmail.com>
29983         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29984         for overlapping .opd entries" to "support...".
29985         * sysdeps/powerpc/powerpc64/configure: Regenerate
29987 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29989         * math/auto-libm-test-in: Add more tests of acos.
29990         * math/auto-libm-test-out: Regenerated.
29991         * sysdeps/i386/fpu/libm-test-ulps: Update.
29992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29994         * math/auto-libm-test-in: Add more tests of expm1.
29995         * math/auto-libm-test-out: Regenerated.
29996         * sysdeps/i386/fpu/libm-test-ulps: Update.
29997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29999 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
30001         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30009         * math/auto-libm-test-in: Add more tests of log2.
30010         * math/auto-libm-test-out: Regenerated.
30011         * sysdeps/i386/fpu/libm-test-ulps: Update.
30012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30014 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30016         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30017         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30018         _IO_IS_APPENDING bit in READ_WRITE instead.
30020 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30022         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30023         (__determine_cpumask_size): Replace extend_alloca with a
30024         variable-length array.  Do not treat res == 0 as an error.
30026 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30028         [BZ #18100]
30029         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30030         and integer overflow.
30031         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30032         (main): Add integer overflow tests.
30033         * manual/pattern.texi (Calling Wordexp): Document additional use
30034         for WRDE_SYNTAX.
30036 2015-03-23  Alan Modra  <amodra@gmail.com>
30038         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30039         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30040         and false branch of conditional.
30041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30042         Likewise.
30044 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30046         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30047         libc-modules.h
30048         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30049         unused declaration of _hurd_intr_rpc_msg_in_trap.
30050         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30051         defined instead of whether it is non-zero.
30052         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30053         input constraint instead of both input and output constraint.  Use ecx
30054         clobber instead of %ecx.
30055         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30056         mutex_unlock): Use a statement expression instead of an expression list.
30057         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30058         type to vm_size_t instead of vm_address_t.
30059         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30060         defined instead of whether it is non-zero.
30061         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30062         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30063         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30064         comparisons with mapaddr.
30065         * nscd/nscd-client.h: Include <time.h>.
30066         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30067         9th parameter to __vm_region instead of int.
30068         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30069         * scripts/check-local-headers.sh (exclude): Add device/,
30070         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30071         cthreads.h.
30073 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30075         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30076         to account for alignment padding.
30077         * sysdeps/arm/memmove.S: Likewise.
30079 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30081         * sysdeps/unix/sysv/linux/generic/README: New file.
30083 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30085         [BZ #18138]
30086         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30087         (futex_abstimed_wait)
30088         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30089         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30090         of lll_futex_timed_wait.
30092 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30094         [BZ #17542]
30095         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30097 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30099         [BZ #17090]
30100         [BZ #17620]
30101         [BZ #17621]
30102         [BZ #17628]
30103         * NEWS: Update.
30104         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30105         entries with Static TLS too.  Skip entries past the end of the
30106         allocated DTV, from Alan Modra.
30107         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30108         Static TLS DTV entry set up from...
30109         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30110         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30111         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30112         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30113         for Static TLS.
30114         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30115         that the slot we find is associated with the given map before
30116         using its generation count.
30117         * nptl_db/db_info.c: Include ldsodefs.h.
30118         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30119         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30120         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30121         (link_map::l_tls_offset): New struct field.
30122         (dtv_t::counter): Likewise.
30123         (rtld_global): New struct.
30124         (_rtld_global): New rtld variable.
30125         (dl_tls_dtv_slotinfo_list): New rtld global field.
30126         (dtv_slotinfo_list): New struct.
30127         (dtv_slotinfo): Likewise.
30128         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30129         (td_lookup): Rename to...
30130         (td_mod_lookup): ... this.  Use new mod parameter instead of
30131         LIBPTHREAD_SO.
30132         * nptl_db/td_thr_tlsbase.c: Include link.h.
30133         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30134         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30135         addresses even if the DTV is out of date or missing them.
30136         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30137         index zero-length arrays.
30138         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30139         (td_lookup): Make it a macro implemented in terms of...
30140         (td_mod_lookup): ... this declaration.
30141         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30142         (DB_MAIN_VARIABLE): Likewise.
30144 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30146         [BZ #18134]
30147         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30149 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30151         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30153 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30155         [BZ #18128]
30156         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30157         (atomic_add, atomic_increment_and_test)
30158         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30160 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30162         * stdlib/setenv.c (__add_to_environ):
30163         Dump core quickly if setenv (..., NULL, ...) is called.
30165 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30167         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30168         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30169         all the necessary asm magic in one place.
30170         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30171         using those.
30173 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30175         [BZ #14906]
30176         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30177         traced file mtime. Use consistent log message.
30178         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30179         (register_traced_file): Call install_watches. Always set mtime.
30180         (invalidate_cache): Iterate over all trace files. Call install_watches.
30181         (inotify_check_files): Don't inline. Handle watching parent
30182         directories and configuration file movement in and out.
30183         (handle_inotify_events): New function.
30184         (main_loop_poll): Call handle_inotify_events.
30185         (main_loop_epoll): Likewise.
30186         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30187         (struct traced_file): Use array of inotify fds. Add parent directory,
30188         and basename.
30189         (struct database_dyn): Remove unused file_mtime.
30190         (init_traced_file): New inline function.
30191         (define_traced_file): New macro.
30192         * nss/nss_db/db-init.c: Use define_traced_file.
30193         (_nss_db_init): Use init_traced_file.
30194         * nss/nss_files/files-init.c: Use define_traced_file.
30195         (_nss_files_init): Use init_traced_file.
30197 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30199         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30200         [_LIBC]: Do not include <stdlib.h>.
30201         [!_LIBC] (abort): Remove declaration.
30202         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30203         _FP_STATIC_ASSERT instead of conditionally calling abort.
30204         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30205         (_FP_EXTEND_CNAN): Likewise.
30206         (FP_TRUNC): Likewise.
30207         (__FP_CLZ): Likewise.
30208         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30210 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30212         * manual/string.texi (XPG basename): Fix prototype.
30214 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30216         [BZ #18080]
30217         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30218         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30219         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30220         (__setcontext): Likewise.
30221         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30222         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30223         Call rt_sigprocmask syscall one time to set new signal mask
30224         and retrieve the current signal mask instead of two calls.
30225         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30226         (__swapcontext): Likewise.
30227         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30228         * stdlib/tst-setcontext2.c: New file.
30230 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30232         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30234 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30236         [BZ #18093]
30237         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30238         the wrong size.
30240 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30242         [BZ #18043]
30243         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30245 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30247         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30248         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30249         Remove define.
30250         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30251         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30252         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30253         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30254         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30255         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30256         define.
30257         * nptl_db/td_symbol_list.c (td_lookup): Remove
30258         HAVE_ASM_GLOBAL_DOT_NAME code.
30259         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30260         HAVE_ASM_GLOBAL_DOT_NAME check.
30261         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30262         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30263         (DOT_LABEL): Remove define.
30264         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30265         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30266         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30267         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30268         (__TLS_GET_ADDR): Likewise.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30270         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30272 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30274         [BZ #18111]
30275         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30276         (_FPU_SETCW): Initialize cw from fpsr before storing.
30277         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30278         (fesetexceptflag): Rewrite using fpu_control.h.
30279         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30281 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30283         [BZ #18110]
30284         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30285         asms.
30286         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30288 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30290         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30291         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30292         abort.
30293         (_FP_FMA): Likewise.
30294         (_FP_DIV): Likewise.
30296 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30298         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30299         with 0 in that case.
30300         * Makefile (summarize-tests): New canned sequence, factored out of
30301         commands for targets tests and xtests.  Display summary lines that
30302         don't start with PASS: or XFAIL: rather than ones that do start with
30303         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30304         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30305         do start with ERROR: or FAIL:.
30306         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30307         (except for [$(build-shared) = yes]).
30308         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30309         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30310         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30311         * nptl/Makefile: Revert 2015-03-04 changes.
30312         [$(CXX) empty] (tests-unsupported): New variable.
30313         * debug/Makefile: Likewise.
30315         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30316         gnulib file.  Replace __attribute with __attribute__ throughout.
30318 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30320         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30322 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30324         [BZ #18104]
30325         * math/auto-libm-test-in: Add another test of pow.
30326         * math/auto-libm-test-out: Regenerated.
30328 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30330         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30331         $(config-cflags-nofma).
30333 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30335         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30336         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30337         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30338         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30339         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30340         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30341         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30342         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30343         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30344         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
30345         Add comment on closing #endif.
30347 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30349         * posix/wordexp.c (CHAR_IN_SET): New macro.
30350         (parse_param): Use it.
30352 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30354         * sysdeps/powerpc/fpu/libm-test-ulps: update.
30356 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30358         [BZ #18043]
30359         * posix/wordexp.c (parse_param): Fix buffer overflow.
30360         * posix/wordexp-test.c (test_case): Add test case.
30362 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30364         [BZ #18042]
30365         * posix/wordexp.c (parse_backtick): Fix off-by-one.
30366         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
30368 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30370         [BZ #18043]
30371         * posix/wordexp-test.c (test_case): Add test for BZ #18043
30372         (do_bz18043): Delete.
30373         (at_page_end): New.
30374         (testit): Refactor to have words at the edge of unreadable page.
30376 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30378         [BZ #16734]
30379         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
30380         Cleanup read-only streams as well.
30381         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
30383 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30385         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
30386         <bits/libc-lockP.h>
30388 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
30390         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
30391         on [__KERNEL__].
30392         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
30393         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
30394         * soft-fp/op-common.h (_FP_DECL): Likewise.
30396 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
30398         * elf/ifuncdep2.c (global): Replace
30399         __attribute__((visibility("protected"))) with
30400         asm (".protected global").
30401         * elf/ifuncmod1.c (global): Likewise.
30402         * elf/ifuncmod5.c (global): Likewise.
30404 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
30406         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
30407         <asm/sfp-machine.h> instead of <sfp-machine.h>.
30409 2015-03-06  Roland McGrath  <roland@hack.frob.com>
30411         * manual/install.texi (Configuring and compiling):
30412         Document test-wrapper-env-only.
30413         * INSTALL: Regenerated.
30415 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30417         [BZ #18043]
30418         * posix/wordexp.c (parse_param): Fix buffer overflow.
30419         * posix/wordexp-test.c (do_bz18043): Add test case.
30421 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30423         * time/tst-strptime2.c (do_test): Ensure failing tests are
30424         reported correctly.
30425         * time/tst-strptime3.c (do_test): Likewise.
30427 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30429         Fix aio_error thread-safety.
30430         * sysdeps/pthread/aio_error.c: New file
30431         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30432         synchronization.
30434 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30436         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30437         (group_number, vfprintf): Use it.
30438         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30439         (JUMP, REF): Use it.
30440         (WORK_BUFFER_SIZE): New enum constant.
30441         (process_arg, vfprintf): Use it.
30443 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30445         * manual/errno.texi (Error Messages): Complete example function
30446         by adding missing #define.
30447         (program_invocation_name): Add statement indicating GNU
30448         extension and reference which header file declares the variable.
30449         (program_invocation_short_name): Likewise.
30451 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30453         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30454         compatibility note.
30456 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30458         * Makeconfig (test-wrapper-env-only): New variable.
30459         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30460         then use that with $(test-wrapper-env-only) rather than using
30461         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30463 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30465         [BZ #18082]
30466         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30467         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30468         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30469         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30470         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30471         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30472         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30473         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30474         Likewise.
30475         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30476         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30477         Likewise.
30478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30479         Likewise.
30480         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30481         Likewise.
30482         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30483         Likewise.
30484         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30486         Likewise.
30487         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30488         Likewise.
30489         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30490         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30492 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30494         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30495         (ETH_ALEN): New macro.
30496         (struct ether_addr): Use it for length of ether_addr_octet.
30498         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30499         (setdb): Don't call __nss_configure_lookup for "rpc".
30500         (do_test): Don't call test_rpc.
30501         (output_rpcent, test_rpc): Functions moved ...
30502         * sunrpc/test-rpcent.c: ... to this new file.
30503         * sunrpc/Makefile (tests): Add it.
30505         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30506         __xpg_sigpause.
30507         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30508         * nptl/tst-signal6.c: Likewise.
30509         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30510         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30512         * configure.ac (libc_cv_cxx_link_ok): New check.
30513         Reset CXX to empty if it fails to link.
30514         * configure: Regenerated.
30515         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30516         bug-atexit3-lib only if $(CXX) is nonempty.
30517         * nptl/Makefile (tests): Likewise for tst-cancel24.
30518         (tests, tests-static): Likewise for tst-cancel24-static.
30519         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30520         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30521         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30522         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30524 2015-03-04  Andreas Schwab  <schwab@suse.de>
30526         [BZ #17631]
30527         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30528         for non-GCC compilers.
30529         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30530         Likewise.
30532 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30534         [BZ #17776]
30535         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30536         integer before bitwise and assembly operations.
30537         (feclearexcept): Likewise.
30538         * math/test-fenvinline.c: New file.
30539         * math/Makefile: Add test-fenvinline test.
30541 2015-03-03  Alan Modra  <amodra@gmail.com>
30543         [BZ #16512]
30544         * scripts/localplt.awk: Strip off symbol version.
30545         * NEWS: Mention bug fix.
30547 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30549         * sysdeps/pthread/timer_routines.c
30550         (timer_free_list, thread_free_list, thread_active_list): Make static.
30552 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30554         [BZ #17779]
30555         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30556         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30557         Undefine.
30558         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30559         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30560         Likewise.
30561         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30562         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30563         Likewise.
30565 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30567         [BZ #18036]
30568         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30569         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30571 2015-03-02  Andreas Schwab  <schwab@suse.de>
30573         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30574         variable name.
30576 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30578         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30579         Return error status.
30581 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30583         [BZ #15969]
30584         * locale/findlocale.c (_nl_find_locale): Introduce const
30585         version of loc_name and drop unsafe type casts.
30587 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30589         * dlfcn/tststatic2.c (main): Converted to ...
30590         (do_test): ... this.
30591         (TEST_FUNCTION): New macro.
30592         Include test-skeleton.c.
30594 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30596         [BZ #17711]
30597         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30598         (tests-pie): Add vismain.
30599         (CFLAGS-vismain.c): New.
30600         * elf/vismain.c: Add comments for PIE requirement.
30602 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30604         [BZ #18046]
30605         [BZ #18047]
30606         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30607         0x1p-56L as threshold for just returning the argument.
30608         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30609         0x1p-32L as threshold for just returning the argument.
30610         * math/auto-libm-test-in: Add more tests of atanh.
30611         * math/auto-libm-test-out: Regenerated.
30612         * sysdeps/i386/fpu/libm-test-ulps: Update.
30613         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30615 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30617         * string/bcopy.c (bcopy): Call memmove for performance.
30619 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30621         * string/bzero.c (__bzero): Call memset for performance.
30623 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30625         [BZ #18068]
30626         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30627         to 00100000.
30629 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30631         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30633 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30635         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30636         (__kernel_standard): Use CSTR macro when setting exc.name.
30637         * sysdeps/ieee754/Makefile [$(subdir) = math]
30638         (CFLAGS-k_standard.c): Remove variable.
30640         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30641         setting p and q from "else if" to "else".
30642         (qzero): Likewise.
30643         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30644         (qone): Likewise.
30645         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30646         (qzerof): Likewise.
30647         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30648         (qonef): Likewise.
30649         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30650         (qzero): Likewise.
30651         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30652         (qone): Likewise.
30654         [BZ #18038]
30655         [BZ #18039]
30656         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30657         return pi/2 for arguments below 0x1p-113L.
30658         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30659         return pi/2 for arguments below 0x1p-106L.
30660         * math/auto-libm-test-in: Add more tests of acos.
30661         * math/auto-libm-test-out: Regenerated.
30663         [BZ #16351]
30664         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30665         (MO): New macro.
30666         (__ieee754_asin): Force underflow exception for results with small
30667         absolute value.
30668         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30669         (MO): New macro.
30670         (__ieee754_asinf): Force underflow exception for results with
30671         small absolute value.
30672         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30673         (__ieee754_asin): Force underflow exception for results with small
30674         absolute value.
30675         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30676         (__ieee754_asinf): Force underflow exception for results with
30677         small absolute value.
30678         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30679         (__ieee754_asinl): Force underflow exception for results with
30680         small absolute value.
30681         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30682         (__ieee754_asinl): Force underflow exception for results with
30683         small absolute value.
30684         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30685         (__ieee754_asinl): Force underflow exception for results with
30686         small absolute value.
30687         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30688         Include <math.h>.
30689         * math/auto-libm-test-in: Do not mark underflow exceptions as
30690         possibly missing for bug 16351.
30691         * math/auto-libm-test-out: Regenerated.
30693         [BZ #18030]
30694         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30695         of power of 2 down when low part has opposite sign.
30696         * math/libm-test.inc (logb_test_data): Add more tests.
30698 2015-02-26  Andreas Schwab  <schwab@suse.de>
30700         [BZ #18032]
30701         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30702         over collating symbol inside a bracket expression.  Minor cleanup.
30703         * posix/tst-fnmatch3.c (do_test): Add test case.
30705 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30707         [BZ #18029]
30708         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30709         Adjust exponent of power of 2 down when low part has opposite
30710         sign.
30711         * math/libm-test.inc (ilogb_test_data): Add more tests.
30713 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30715         [BZ #15969]
30716         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30717         the previous change.
30719         [BZ #15969]
30720         * locale/findlocale.c (_nl_find_locale): Retry archive search
30721         after alias expansion.
30723 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30725         * iconv/tst-iconv3.c (main): Converted to ...
30726         (do_test): ... this.
30727         (TEST_FUNCTION): New macro.
30728         Include test-skeleton.c.
30730         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30731         (convert): Make function static.
30732         (test_unalign): Likewise.  Add const to argument pointee types.
30733         (main): Replace with static function do_test.
30734         Print "Succeeded." only if RET is zero.
30735         (TEST_FUNCTION): New macro.
30736         Include test-skeleton.c.
30738         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30739         returns a null pointer.
30741 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30743         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30744         to __memcpy_ppc only for static builds.
30746 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30748         [BZ #18020]
30749         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30750         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30751         * math/auto-libm-test-in: Add more tests of asinh.
30752         * math/auto-libm-test-out: Regenerated.
30753         * sysdeps/i386/fpu/libm-test-ulps: Update.
30754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30756 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30758         [BZ #15850]
30759         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30760         and ip6_mtuinfo definitions here.
30761         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30762         in this define too.  Update comment.
30764 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30766         * elf/sprof.c (load_shobj): Tweak error message to match others.
30768 2015-02-24  Kevin Easton  <kevin@guarana.org>
30770         [BZ #16145] (partial fix)
30771         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30772         to reduce lock contention.
30774 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30776         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30777         (struct timex): Update time comment.
30778         (ADJ_SETOFFSET): Define.
30780 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30782         [BZ #18019]
30783         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30784         2**56 not 2**28 as threshold for log (2x) formula.
30785         * math/auto-libm-test-in: Add more tests of acosh.
30786         * math/auto-libm-test-out: Regenerated.
30787         * sysdeps/i386/fpu/libm-test-ulps: Update.
30788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30790 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30792         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30793         parenthesis around the buf assignment.
30794         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30796 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30798         [BZ #16783]
30799         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30800         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30801         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30802         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30803         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30804         * math/libm-test.inc (scalb_test_data): Add more tests.
30806 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30808         [BZ #17916]
30809         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30810         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30812 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30814         [BZ #17523]
30815         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30816         * io/bits/fcntl2.h (open): Use it.
30817         (openat): Likewise.
30818         * io/open.c (__libc_open): Likewise.
30819         * io/open64.c (__libc_open64): Likewise.
30820         * io/open64_2.c (__open64_2): Likewise.
30821         * io/open_2.c (__open_2): Likewise.
30822         * io/openat.c (__openat): Likewise.
30823         * io/openat64.c (__openat64): Likewise.
30824         * io/openat64_2.c (__openat64_2): Likewise.
30825         * io/openat_2.c (__openat_2): Likewise.
30826         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30827         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30828         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30829         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30830         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30831         (__open_nocancel): Likewise.
30832         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30833         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30834         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30836 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30838         [BZ #14841]
30839         * resolv/gethnamaddr.c (getanswer): Skip logging if
30840         RES_USE_DNSSEC is set.
30841         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30843 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30845         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30847 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30849         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30850         201304L, for Unicode 7.
30852 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30854         [BZ #17836]
30855         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30856         shared library.  Add gmon-start.os otherwise.
30857         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30858         $(objpfx)gmon-start.os if builing shared library.
30859         ($(objpfx)g$(static-start-installed-name)): Likewise.
30861 2015-02-23  Andreas Schwab  <schwab@suse.de>
30863         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30865 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30867         [BZ #17269]
30868         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30869         (enlarge_userbuf): Likewise.
30871 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30873         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30874         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30875         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30876         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30878 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30880         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30881         expression inside statement expression.
30883 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30885         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30886         <sysdeps/nptl/lowlevellock.h> and remove macros and
30887         functions that are now defined there.
30888         (SYS_futex): Remove.
30889         (lll_compare_and_swap): Remove.
30890         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30892 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30894         [BZ #17999]
30895         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30896         instead of scandirat.
30897         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30898         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30899         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30900         __scandirat.
30901         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30902         (__scandirat): Declare.  Use libc_hidden_proto.
30903         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30904         Remove variable.
30905         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30907 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30909         [BZ #15319]
30910         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30911         (MO): New macro.
30912         (__ieee754_atan2): For results with small absolute value, force
30913         underflow exception and remove excess range and precision from
30914         return value.
30915         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30916         (MO): New macro.
30917         (__ieee754_atan2f): For results with small absolute value, force
30918         underflow exception and remove excess range and precision from
30919         return value.
30920         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30921         (MO): New macro.
30922         (__atan): For results with small absolute value, force underflow
30923         exception and remove excess range and precision from return value.
30924         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30925         (MO): New macro.
30926         (__atanf): For results with small absolute value, force underflow
30927         exception and remove excess range and precision from return value.
30928         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30929         <math.h>.
30930         (__ieee754_atan2): Force underflow exception for results with
30931         small absolute value.
30932         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30933         <math_private.h>.
30934         (atan): Force underflow exception for results with small absolute
30935         value.
30936         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30937         (__atanf): Force underflow exception for results with small
30938         absolute value.
30939         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30940         <math.h>.
30941         (__atanl): Force underflow exception for results with small
30942         absolute value.
30943         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30944         (__atanl): Force underflow exception for results with small
30945         absolute value.
30946         * sysdeps/x86/fpu/bits/mathinline.h
30947         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30948         (__ieee754_atan2): Only define inline for long double.
30949         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30950         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30951         * math/auto-libm-test-in: Do not mark underflow exceptions as
30952         possibly missing for bug 15319.  Add more tests of atan2.
30953         * math/auto-libm-test-out: Regenerated.
30954         * math/libm-test.inc (casin_test_data): Do not mark underflow
30955         exceptions as possibly missing for bug 15319.
30956         (casinh_test_data): Likewise.
30957         * sysdeps/i386/fpu/libm-test-ulps: Update.
30959 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30961         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30962         * sysdeps/mips/bits/endian.h: Fix comments.
30964 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30966         [BZ #17996]
30967         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30968         (hdestroy_r): Likewise.
30969         (hsearch_r): Likewise.
30970         (__hcreate_r): Declare and use libc_hidden_proto.
30971         (__hdestroy_r): Likewise.
30972         (__hsearch_r): Likewise.
30973         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30974         (hcreate): Call __hcreate_r instead of hcreate_r.
30975         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30976         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30977         as weak alias of __hcreate_r.
30978         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30979         __hdestroy_r.
30980         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30981         __hsearch_r.
30982         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30983         Remove variable.
30984         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30985         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30986         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30987         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30989 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30991         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30992         arena_lock into a single arena_get.
30994 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30996         * dl-reloc.c: Inlucde libc-internal.h.
30997         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30998         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30999         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
31000         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
31001         (grow_heap): Likewise.
31002         * malloc/malloc.c: Include libc-internal.h.
31003         (do_check_malloc): Call powerof2.
31004         (sysmalloc): Use pagesize. Call ALIGN_UP.
31005         (systrim): Use pagesize.
31006         (mremap_chunk): Use pagesize. Call ALIGN_UP.
31007         (__libc_valloc): Use pagesize.
31008         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31010 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31012         [BZ #17991]
31013         * include/sys/resource.h (__getrlimit64): Declare.  Use
31014         libc_hidden_proto.
31015         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31016         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31017         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31018         getrlimit64.
31019         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31020         __getrlimit64.
31021         [!getrlimit64] (getrlimit64): Define as weak alias of
31022         __getrlimit64.  Use libc_hidden_weak.
31023         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31024         using __getrlimit64 not __new_getrlimit64.
31025         (__GI_getrlimit64): Likewise.
31026         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31027         Likewise.
31028         (__GI_getrlimit64): Likewise.
31029         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31031         (getrlimit): Add __getrlimit64 alias.
31032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31033         Likewise.
31034         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31035         Remove variable.
31036         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31037         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31039 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31041         * libio/fileops.c: Add missing sys/mman.h
31042         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31044 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31046         * manual/math.texi (Errors in Math Functions): Clarify goals
31047         regarding inexact and underflow exceptions.
31049 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31051         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31052         * sysdeps/mips/memset.S: Ditto.
31054 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31056         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31058 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31060         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31061         (__v1longjmp): Remove versioned symbol.
31062         (__v1siglongjmp): Remove alias and versioned symbol.
31063         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31064         (__v2siglongjmp): Likewise.
31066 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31068         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31070 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31072         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31074 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31076         [BZ #17987]
31077         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31078         zero result does not depend on the sign resulting from
31079         subtraction.
31080         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31081         Likewise.
31082         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31083         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31084         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31085         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31086         * math/libm-test.inc (remquo_test_data): Add more tests.
31088 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31090         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31091         Problem reported by J William Piggott.
31093 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31095         [BZ #17978]
31096         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31097         products 4 * y and 2 * y where those would overflow.
31098         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31099         Likewise.
31100         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31101         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31102         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31103         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31104         * math/libm-test.inc (remquo_test_data): Add more tests.
31106         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31108         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31109         [defined _COMPILING_NEWLIB].
31110         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31111         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31113         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31114         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31116 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31118         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31119         acquired.
31121 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31123         [BZ #17792]
31124         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31125         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31126         HOST_STACK_END_ADDR): Likewise.
31128 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31130         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31131         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31132         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31134 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31136         * sysdeps/generic/c++-types.data: New file.
31137         * sysdeps/generic/ld.abilist: New file.
31138         * sysdeps/generic/libBrokenLocale.abilist: New file.
31139         * sysdeps/generic/libanl.abilist: New file.
31140         * sysdeps/generic/libc.abilist: New file.
31141         * sysdeps/generic/libcrypt.abilist: New file.
31142         * sysdeps/generic/libdl.abilist: New file.
31143         * sysdeps/generic/libm.abilist: New file.
31144         * sysdeps/generic/libpthread.abilist: New file.
31145         * sysdeps/generic/libresolv.abilist: New file.
31146         * sysdeps/generic/librt.abilist: New file.
31148 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31150         [BZ #17569]
31151         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31152         Compute absolute value of x as modified by fmod, not original
31153         value of x.
31154         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31155         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31156         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31157         RUN_TEST_ffI_f1_mod8.
31158         (remquo_test_data): Add more tests.
31160 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31162         * sysdeps/init_array/pt-crti.S: New file.
31164 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31166         [BZ #17967]
31167         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31168         __builtin_fmaf instead of relying on contraction of a * b + c.
31170 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31172         [BZ #17969]
31173         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31174         node.
31176 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31178         [BZ #17964]
31179         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31180         __builtin_fma instead of relying on contraction of a * b + c.
31182 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31184         * Makeconfig (ASFLAGS): Add -Werror=undef.
31185         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31186         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31187         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31189         * Makeconfig (after-link): New variable.
31190         (+link-pie, +link-pie-tests): Use it.
31191         (+link-static, +link-static-tests): Likewise.
31192         (+link, +link-tests): Likewise.
31193         * Makerules (build-module, build-module-asneeded): Likewise.
31194         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31195         Likewise.
31196         * elf/Makefile ($(objpfx)ld.so): Likewise.
31198 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31200         [BZ #17965]
31201         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31202         both struct timeval and struct timespec.
31204 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31206         [BZ #16560]
31207         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31208         and redefine.
31209         (__ieee754_exp2l): Do not multiply small fractional parts by
31210         M_LN2l.
31211         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31212         small argument.
31213         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31214         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31215         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31216         * math/auto-libm-test-in: Add more tests of exp2.
31217         * math/auto-libm-test-out: Regenerated.
31219 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31221         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31222         unaligned path.
31224 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31226         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31227         little endian.
31229 2015-02-12  Andreas Schwab  <schwab@suse.de>
31231         [BZ #15790]
31232         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31233         Filter out elision flags from value returned in kind.
31234         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31235         * nptl/tst-pthread-mutexattr.c: New file.
31237 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31239         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31240         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31241         into gnu-gnu, and update comment to refer to abi-tags.
31243 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31245         [BZ #15467]
31246         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31247         (__sincos): Set errno to EDOM for infinite argument.
31248         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31249         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31250         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31251         (__sincosl): Set errno to EDOM for infinite argument.
31252         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31253         (__sincosl): Set errno to EDOM for infinite argument.
31254         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31255         (__sincosl): Set errno to EDOM for infinite argument.
31256         * math/libm-test.inc (sincos_test_data): Test errno setting.
31258 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31260         * string/strxfrm_l.c: Remove #define STRCMP.
31261         * string/strcoll_l.c: Remove #define STRLEN.
31262         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31263         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31265 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31267         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31268         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31269         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31270         * sysdeps/mips/mips64/Makefile: ... here.
31271         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31272         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31273         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31274         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31275         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31276         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31277         * sysdeps/mips/mips64/n64/Implies: Likewise.
31279 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31281         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31282         <sys/time.h>, <string.h>, and <errno.h>.
31283         (dest_offset, dest_address, value, zero): Remove unused variables.
31284         (ldouble): Remove typedef.
31285         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31286         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31287         1).  Fix code style.
31288         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31289         (check): Function removed.
31290         (CHECK): New macro.
31291         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31292         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31293         Don't call set_sigaction_FP and remove_sigaction_FP here.
31294         (ldouble_test): Just use 'long double' as macro argument, no need for
31295         the 'ldouble' typedef.
31296         (do_test): Set up SIGFPE handler at start, using plain signal rather
31297         than sigaction.  Fix code style.
31299 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31301         [BZ #17949]
31302         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31303         jump label.
31305 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31307         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31308         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31310         * sysdeps/powerpc/configure.ac: Remove file.
31311         * sysdeps/powerpc/configure: Likewise.
31313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31314         [sysdep_routines]: Remove wordcopy-power6 object.
31315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31316         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31317         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31318         (__memmove_ppc32): Likewise.
31319         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31320         file.
31321         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31322         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31323         Remove preprocessor.
31325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31326         [sysdep_routines]: Remove wide chars objects.
31327         [wcsmbs]: New rule for wide char objects.
31329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31330         Remove wordcopy-power6 obejct.
31331         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31332         Use local call for wordcopy and memcpy symbols.
31333         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31335         implementation for loader.
31336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31338         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31339         Remove wordcopy-power7 object.
31340         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31341         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31342         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31343         (_wordcopy_fwd_dest_aligned): Likewise.
31344         (_wordcopy_bwd_aligned): Likewise.
31345         (_wordcopy_bwd_dest_aligned): Likewise.
31347         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
31348         Rewrite to call __memmove_ppc instead of include default
31349         implementation.
31351         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31352         Remove wide chars objects.
31353         [wcsmbs]: New rule for wide char objects.
31355 2015-02-09  Andreas Schwab  <schwab@suse.de>
31357         [BZ #17912]
31358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31359         in terms of __O_DIRECTORY.
31361 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31363         * time/getdate.c: Include <stdbool.h>.
31364         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
31365         call PTR_MANGLE.
31366         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
31367         PTR_DEMANGLE.
31369 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
31371         Add ersatz _Static_assert on older C hosts
31372         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
31373         pre-C11 C platform that is not known to support _Static_assert.
31375 2015-02-07  Richard Braun  <rbraun@sceen.net>
31377         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
31378         sigstate.
31379         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
31381 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31383         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
31384         priority against unexistent AIO_PRIO_DELTA_MAX.
31385         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
31386         instead of int.
31387         * misc/fchflags.c (fchflags): Likewise.
31388         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
31389         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
31390         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
31391         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
31392         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
31393         Declare macros.
31394         [__USE_MISC] (chflags, fchflags): Declare functions.
31395         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
31396         EINVAL when nfds is greater than FD_SETSIZE.
31397         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
31398         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
31399         45.
31400         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
31401         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
31402         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
31403         MACH_RCV_TIMED_OUT.
31404         * hurd/hurd/signal.h (_hurd_self_sigstate,
31405         _hurd_critical_section_lock, _hurd_critical_section_unlock):
31406         Explicit casts from void *.
31407         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
31408         * abi-tags: Rename gnu-gnu os into gnu.
31410         [BZ #4719]
31411         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
31412         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
31413         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
31414         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
31415         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
31416         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
31418         [BZ #17944]
31419         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
31420         duplicates ADDR->sun_path with sockaddr LEN limitation.
31421         * sysdeps/mach/hurd/connect.c: Include <string.h>
31422         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31423         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31424         * sysdeps/mach/hurd/sendto.c: Likewise.
31425         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31426         implementing it by hand.
31428 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31430         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31431         Use sfi_breg on ldr.
31432         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31433         Likewise.
31435         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31436         it's defined.
31437         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31438         Test SIGSETXID only if it's defined.
31440         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31442         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31443         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31445         * nptl/tst-align2.c: Moved ...
31446         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31447         * nptl/Makefile (tests): Remove tst-align2.
31448         * sysdeps/unix/sysv/linux/Makefile
31449         [$(subdir) = nptl] (tests): Add tst-align-clone.
31450         * nptl/tst-getpid1.c: Moved ...
31451         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31452         * nptl/tst-getpid2.c: Moved ...
31453         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31454         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31455         * sysdeps/unix/sysv/linux/Makefile
31456         [$(subdir) = nptl] (tests): ... here.
31457         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31458         * sysdeps/unix/sysv/linux/Makefile
31459         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31461         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31462         Drop trailing \n from perror argument.  Use return rather than exit.
31464         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31465         on [SA_SIGINFO].
31466         * nptl/tst-cancel21.c (do_test): Likewise.
31467         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31468         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31469         [!SA_SIGINFO]: Make it a stub test.
31471         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31472         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31474         * posix/tst-getlogin.c: Move to ...
31475         * login/tst-getlogin.c: ... here.
31476         * posix/Makefile (tests): Move tst-getlogin to ...
31477         * login/Makefile (tests): ... here.
31479         * libio/tst-atime.c (do_test): Move local variables SV and E
31480         inside [ST_NOATIME] conditional.
31482         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31484         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31486         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31487         (wait_code): New function replaces macro.
31488         Call nanosleep rather than syscall.
31490         * nptl/pt-system.c: Rewritten.  Put everything under
31491         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31492         Use IFUNC to redirect when possible.
31494         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31495         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31496         Use IFUNC to redirect when possible.
31498         * nptl/pt-fork.c: Rewritten.  Put everything under
31499         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31500         Use IFUNC to redirect when possible.
31501         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31503         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31504         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31505         unconditionally nowadays.  This included the only reference to
31506         __vdso_clock_gettime that appears outside libc proper.
31507         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31508         Remove version set (containing only __vdso_clock_gettime).
31509         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31510         Add attribute_hidden.
31511         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31512         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31513         libc_hidden_data_def.
31514         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31515         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31517         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31518         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31519         setrpcent, and getrpcport to ...
31520         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31521         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31522         getrpcbynumber_r, and getrpcent_r to ...
31523         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31524         * inet/getrpcbyname.c: Moved ...
31525         * sunrpc/getrpcbyname.c: ... here.
31526         * inet/getrpcbyname_r.c: Moved ...
31527         * sunrpc/getrpcbyname_r.c: ... here.
31528         * inet/getrpcbynumber.c: Moved ...
31529         * sunrpc/getrpcbynumber.c: ... here.
31530         * inet/getrpcbynumber_r.c: Moved ...
31531         * sunrpc/getrpcbynumber_r.c: ... here.
31532         * inet/getrpcent.c: Moved ...
31533         * sunrpc/getrpcent.c: ... here.
31534         * inet/getrpcent_r.c: Moved ...
31535         * sunrpc/getrpcent_r.c: ... here.
31536         * inet/Makefile (routines): Move those to ...
31537         * sunrpc/Makefile (routines): ... here.
31538         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31539         the $(subdirs) list.
31540         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31541         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31542         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31543         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31545         * elf/Makefile (routines): Include $(all-dl-routines), not just
31546         $(dl-routines).
31547         (rtld-routines): Likewise.  Use = rather than :=.
31548         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31549         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31550         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31551         * sysdeps/arm/Makefile: Likewise.
31552         * sysdeps/i386/Makefile: Likewise.
31553         * sysdeps/x86_64/Makefile: Likewise.
31554         * sysdeps/hppa/Makefile [$(subdir) = elf]
31555         (sysdep_routines, sysdep-rtld-routines): Don't add
31556         $(sysdep-dl-routines) to these.
31557         * sysdeps/ia64/Makefile: Likewise.
31558         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31559         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31560         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31561         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31562         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31563         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31564         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31565         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31566         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31567         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31568         these; sysdep-dl-routines alone is enough.
31570 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31572         [BZ #17932]
31573         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31574         where multiplication results in zero and third argument is finite
31575         and nonzero.
31576         * math/auto-libm-test-in: Add more tests of fma.
31577         * math/auto-libm-test-out: Regenerated.
31579         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31580         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31581         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31582         (_FP_CMP_EQ): Likewise.
31583         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31585         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31586         extra argument CHECK_NAN.  Redefine as wrapper around
31587         _FP_EXTEND_CNAN.
31589 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31591         * version.h (RELEASE): Set to "stable".
31592         (VERSION): Set to "2.21"
31593         * include/features.h (__GLIBC_MINOR__): Set to 21.
31595         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31597 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31598             Paul Eggert  <eggert@cs.ucla.edu>
31600         [BZ #16618]
31601         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31602         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31603         size in bytes. Store needed elements in wpmax. Use needed size
31604         in bytes for extend_alloca.
31606 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31608         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31609         binutls 2.25, and texinfo 5.2.
31610         * INSTALL: Regenerate.
31611         * sysdeps/nios2/configure: Regenerate.
31612         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31613         * manual/contrib.texi: Update.
31614         * po/be.po: Update.
31615         * po/bg.po: Update.
31616         * po/ca.po: Update.
31617         * po/cs.po: Update.
31618         * po/da.po: Update.
31619         * po/de.po: Update.
31620         * po/el.po: Update.
31621         * po/eo.po: Update.
31622         * po/es.po: Update.
31623         * po/fi.po: Update.
31624         * po/fr.po: Update.
31625         * po/gl.po: Update.
31626         * po/hr.po: Update.
31627         * po/hu.po: Update.
31628         * po/ia.po: Update.
31629         * po/id.po: Update.
31630         * po/it.po: Update.
31631         * po/ja.po: Update.
31632         * po/ko.po: Update.
31633         * po/lt.po: Update.
31634         * po/nb.po: Update.
31635         * po/nl.po: Update.
31636         * po/pl.po: Update.
31637         * po/pt_BR.po: Update.
31638         * po/ru.po: Update.
31639         * po/rw.po: Update.
31640         * po/sk.po: Update.
31641         * po/sl.po: Update.
31642         * po/sv.po: Update.
31643         * po/tr.po: Update.
31644         * po/uk.po: Update.
31645         * po/vi.po: Update.
31646         * po/zh_CN.po: Update.
31647         * po/zh_TW.po: Update.
31649         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31650         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31651         * sysdeps/hppa/dl-irel.h: Remove #warning.
31652         * sysdeps/hppa/entry.h: Provide prototype for
31653         __canonicalize_funcptr_for_compare and cast argument.
31654         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31655         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31656         * sysdeps/hppa/sotruss-lib.c: New file.
31657         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31658         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31659         (atomic_compare_and_exchange_bool_acq): Likewise.
31660         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31661         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31663         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31664         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31665         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31667 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31669         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31670         called function in non-PIC case.
31672 2015-01-31  David S. Miller  <davem@davemloft.net>
31674         * sysdeps/sparc/sparc32/bits/atomic.h
31675         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31676         unlock not after it.
31677         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31678         volatile register usage warnings from the compiler.
31680         * sysdeps/sparc/nptl/sem_init.c: Delete.
31681         * sysdeps/sparc/nptl/sem_post.c: Delete.
31682         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31683         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31684         * sysdeps/sparc/sparc32/sem_init.c: New file.
31685         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31686         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31687         padding explicitly initialized.
31688         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31689         padding for in-semaphore spinlock.
31690         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31691         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31692         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31693         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31694         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31695         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31696         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31697         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31698         version.
31699         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31700         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31702 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31704         [BZ #17801]
31705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31706         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31707         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31708         New.
31709         (index_AVX_Fast_Unaligned_Load): Likewise.
31710         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31711         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31712         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31713         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31714         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31715         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31716         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31717         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31718         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31720 2015-01-29  Andreas Schwab  <schwab@suse.de>
31722         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31724 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31726         [BZ #17892]
31727         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31729 2015-01-28  Martin Sebor  <msebor@redhat.com>
31731         * math/README.libm-test: Clarify. Add "How to read the test output."
31733 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31735         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31736         Define to 0.
31738 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31740         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31741         (__HAVE_64B_ATOMICS): Define to 0.
31743 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31745         [BZ #17885]
31746         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31747         value to set as new flag.
31749         [BZ #16576]
31750         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31751         and use _ARCH_PPCSQ instead.
31752         (__ieee754_sqrt): Likewise.
31753         (__ieee754_sqrtf): Likewise.
31754         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31755         _ARCH_PPCSQ is defined.
31756         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31757         fsqrt instruction.
31758         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31759         _ARCH_PPCSQ is defined.
31760         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31761         fsqrts instruction.
31762         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31764 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31766         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31767         bug (GCC BZ #64739).
31769 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31771         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31772         Mark _retval as used.
31773         (lll_futex_wake_unlock): Likewise.
31774         (lll_futex_timed_wait_requeue_pi): Likewise.
31776         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31777         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31778         register variables.
31780         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31781         libm_hidden_def.
31783         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31784         (__bswap_64): Mark as __always_inline.
31786 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31788         [BZ #15378]
31789         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31790         when none of the search directories exist.
31792 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31794         [BZ #17869]
31795         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31796         power8 in .machine directive.
31798         [BZ #17868]
31799         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31800         set dependency from opd value.
31802 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31805         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31806         architecture.
31808 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31810         [BZ #17870]
31811         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31812         with uint64_t.
31813         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31814         (uint64_t) 1.
31815         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31816         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31817         Replace 1UL with (uint64_t) 1.
31818         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31819         int with uint64_t.
31821 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31823         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31824         (if_freenameindex): Likewise.
31826         * resource/getrlimit64.c: Add missing libc_hidden_def.
31828 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31830         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31831         __label__.
31832         (_FP_FMA): Likewise.
31833         (_FP_TO_INT_ROUND): Likewise.
31834         (_FP_FROM_INT): Likewise.
31836 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31838         [BZ #16418]
31839         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31840         Make code racy and cancel safe.
31842 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31844         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31845         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31846         attribution.
31848         * pwd/tst-getpw.c: Rewrite.
31850         [BZ #17702]
31851         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31852         (modules-names): Add moddummy1 and moddummy2.
31853         ($(objpfx)tst-rec-dlopen): Define.
31854         * dlfcn/moddummy1.c: New file.
31855         * dlfcn/moddummy2.c: New file.
31856         * dlfcn/tst-rec-dlopen.c: New file.
31857         * elf/dl-cache.c (_dl_load_cache_lookup):
31858         Return char*. Copy result with alloca/strcpy/strdup.
31859         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31860         returns char*. Free cached. If not saving realname
31861         free cached.
31862         * elf/dl-open.c (dl_open_worker): Do not assert that
31863         _r_debug->r_state is RT_CONSISTENT.
31864         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31865         returns char*.
31867 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31868             Carlos O'Donell  <carlos@redhat.com>
31870         [BZ #12674]
31871         * nptl/sem_waitcommon.c: New file.
31872         * nptl/sem_wait.c: Include sem_waitcommon.c.
31873         (__sem_wait_cleanup, do_futex_wait): Remove.
31874         (__new_sem_wait): Adapt.
31875         (__new_sem_trywait): New function.
31876         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31877         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31878         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31879         (sem_timedwait): Adapt.
31880         * nptl/sem_post.c (__new_sem_post): Adapt.
31881         (futex_wake): New function.
31882         (__old_sem_post): Add release MO fence.
31883         * nptl/sem_open.c (sem_open): Adapt.
31884         * nptl/sem_init.c (__new_sem_init): Adapt.
31885         (futex_private_if_supported): New function.
31886         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31887         (__old_sem_getvalue): Add using previous code.
31888         * sysdeps/nptl/internaltypes.h: Adapt.
31889         * nptl/tst-sem13.c (do_test): Adapt.
31890         * nptl/tst-sem11.c (main): Adapt.
31891         * nptl/sem_trywait.c: Remove.
31892         * nptl/DESIGN-sem.txt: Remove.
31893         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31894         (gen-as-const-headers): Remove structsem.sym.
31895         * nptl/structsem.sym: Remove.
31896         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31897         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31898         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31899         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31900         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31901         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31902         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31903         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31904         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31905         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31906         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31907         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31908         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31909         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31910         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31911         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31912         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31913         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31914         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31915         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31916         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31917         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31919 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31921         * INSTALL: Regenerated.
31923         * po/libc.pot: Regenerated.
31925 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31926             Sandra Loosemore  <sandra@codesourcery.com>
31927             Andrew Jenner  <andrew@codesourcery.com>
31928             Joseph Myers  <joseph@codesourcery.com>
31929             Nathan Sidwell  <nathan@codesourcery.com>
31931         * NEWS: Mention new Nios II port.
31932         * sysdeps/nios2/Implies: New file.
31933         * sysdeps/nios2/Makefile: New file.
31934         * sysdeps/nios2/Subdirs: New file.
31935         * sysdeps/nios2/Versions: New file.
31936         * sysdeps/nios2/__longjmp.S: New file.
31937         * sysdeps/nios2/abort-instr.h: New file.
31938         * sysdeps/nios2/backtrace.c: New file.
31939         * sysdeps/nios2/bits/endian.h: New file.
31940         * sysdeps/nios2/bits/fenv.h: New file.
31941         * sysdeps/nios2/bits/link.h: New file.
31942         * sysdeps/nios2/bits/setjmp.h: New file.
31943         * sysdeps/nios2/bsd-_setjmp.S: New file.
31944         * sysdeps/nios2/bsd-setjmp.S: New file.
31945         * sysdeps/nios2/configure: New generated file.
31946         * sysdeps/nios2/configure.ac: New file.
31947         * sysdeps/nios2/crti.S: New file.
31948         * sysdeps/nios2/crtn.S: New file.
31949         * sysdeps/nios2/dl-init.c: New file.
31950         * sysdeps/nios2/dl-machine.h: New file.
31951         * sysdeps/nios2/dl-sysdep.h: New file.
31952         * sysdeps/nios2/dl-tls.h: New file.
31953         * sysdeps/nios2/dl-trampoline.S: New file.
31954         * sysdeps/nios2/gccframe.h: New file.
31955         * sysdeps/nios2/gmp-mparam.h: New file.
31956         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31957         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31958         * sysdeps/nios2/ldsodefs.h: New file.
31959         * sysdeps/nios2/libc-tls.c: New file.
31960         * sysdeps/nios2/libm-test-ulps: New file.
31961         * sysdeps/nios2/machine-gmon.h: New file.
31962         * sysdeps/nios2/math-tests.h: New file.
31963         * sysdeps/nios2/math_private.h: New file.
31964         * sysdeps/nios2/memusage.h: New file.
31965         * sysdeps/nios2/nptl/Makefile: New file.
31966         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31967         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31968         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31969         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31970         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31971         * sysdeps/nios2/nptl/tls.h: New file.
31972         * sysdeps/nios2/preconfigure: New file.
31973         * sysdeps/nios2/s_fma.c: New file.
31974         * sysdeps/nios2/s_fmaf.c: New file.
31975         * sysdeps/nios2/setjmp.S: New file.
31976         * sysdeps/nios2/sfp-machine.h: New file.
31977         * sysdeps/nios2/sotruss-lib.c: New file.
31978         * sysdeps/nios2/stackguard-macros.h: New file.
31979         * sysdeps/nios2/stackinfo.h: New file.
31980         * sysdeps/nios2/start.S: New file.
31981         * sysdeps/nios2/sysdep.h: New file.
31982         * sysdeps/nios2/tls-macros.h: New file.
31983         * sysdeps/nios2/tst-audit.h: New file.
31984         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31985         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31986         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31987         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31988         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31989         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31990         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31991         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31992         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31993         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31994         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31995         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31996         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31997         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31998         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31999         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
32000         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
32001         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
32002         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
32003         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
32004         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
32005         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
32006         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
32007         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32008         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32009         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32010         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32011         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32012         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32013         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32014         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32015         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32016         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32017         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32018         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32019         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32020         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32021         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32022         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32023         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32024         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32025         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32026         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32027         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32029 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32031         [BZ #17844]
32032         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32033         (getutent): Use weak_alias in non SHARED case
32034         and default_symbol_version in SHARED case.
32035         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32036         (getutent_r, pututline): Likewise.
32037         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32038         (getutid): Likewise.
32039         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32040         (getutid_r): Likewise.
32041         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32042         (getutline): Likewise.
32043         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32044         (getutline_r): Likewise.
32045         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32046         (updwtmp): Likewise.
32048 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32050         [BZ #17848]
32051         * sysdeps/s390/s390-32/memcmp.S
32052         (memcmp_g5): Rename to __memcmp_g5.
32053         * sysdeps/s390/s390-32/memcpy.S
32054         (memcpy_g5): Rename to __memcpy_g5.
32055         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32056         (memcpy_mvcle) Rename to __memcpy_mvcle.
32057         * sysdeps/s390/s390-32/memset.S
32058         (memset_g5): Rename to __memset_g5.
32059         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32060         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32061         and use prefixed functions.
32062         * sysdeps/s390/s390-32/multiarch/memcmp.S
32063         (memcmp_z196): Rename to __memcmp_z196.
32064         (memcmp_z10): Rename to __memcmp_z10.
32065         (memcmp): Set alias to __memcmp_g5.
32066         (bcmp): Set alias to __memcmp_g5.
32067         * sysdeps/s390/s390-32/multiarch/memcpy.S
32068         (memcpy_z196): Rename to __memcpy_z196.
32069         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32070         (memcpy_z10): Rename to __memcpy_z10.
32071         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32072         (memcpy): Set alias to __memcpy_g5.
32073         * sysdeps/s390/s390-32/multiarch/memset.S
32074         (memset_z196): Rename to __memset_z196.
32075         Jump to __memset_mvcle instead of memset_mvcle.
32076         (memset_z10): Rename to __memset_z10.
32077         Jump to __memset_mvcle instead of memset_mvcle.
32078         (memset_mvcle) Rename to __memset_mvcle.
32079         (memset): Set alias to __memset_g5.
32080         * sysdeps/s390/s390-64/memcmp.S
32081         (memcmp_z900): Rename to __memcmp_z900.
32082         * sysdeps/s390/s390-64/memcpy.S
32083         (memcpy_z900): Rename to __memcpy_z900.
32084         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32085         (memcpy_mvcle) Rename to __memcpy_mvcle.
32086         * sysdeps/s390/s390-64/memset.S
32087         (memset_z900): Rename to __memset_z900.
32088         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32089         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32090         and use prefixed functions.
32091         * sysdeps/s390/s390-64/multiarch/memcmp.S
32092         (memcmp_z196): Rename to __memcmp_z196.
32093         (memcmp_z10): Rename to __memcmp_z10.
32094         (memcmp): Set alias to __memcmp_z900.
32095         (bcmp): Set alias to __memcmp_z900.
32096         * sysdeps/s390/s390-64/multiarch/memcpy.S
32097         (memcpy_z196): Rename to __memcpy_z196.
32098         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32099         (memcpy_z10): Rename to __memcpy_z10.
32100         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32101         (memcpy): Set alias to __memcpy_z900.
32102         * sysdeps/s390/s390-64/multiarch/memset.S
32103         (memset_z196): Rename to __memset_z196.
32104         Jump to __memset_mvcle instead of memset_mvcle.
32105         (memset_z10): Rename to __memset_z10.
32106         Jump to __memset_mvcle instead of memset_mvcle.
32107         (memset_mvcle) Rename to __memset_mvcle.
32108         (memset): Set alias to __memset_z900.
32110 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32112         [BZ #17748]
32113         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32114         __fesetenv instead of fesetenv.
32116 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32118         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32119         macro.
32121 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32123         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32124         regression on LE.
32126         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32127         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32129         strncmp-power8 object.
32130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32131         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32132         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32133         * NEWS: Update.
32135 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32136             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32138         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32139         trailing byte check.
32141 2015-01-13  David S. Miller  <davem@davemloft.net>
32143         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32145 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32147         * login/logout.c (logout): Use memset rather than bzero.
32148         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32149         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32150         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32151         (_gethtbyaddr): Likewise.
32152         * locale/programs/simple-hash.c (bcopy): Macro removed.
32154 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32156         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32157         Add strcmp-power8 object.
32158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32159         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32160         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32161         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32162         __strcmp_power8 implementation.
32163         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32164         * NEWS: Update.
32166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32167         Add strncpy-power8 and stpncpy-power8 objects.
32168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32169         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32170         implementations.
32171         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32172         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32173         __stpncpy_power8 implementation.
32174         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32175         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32176         __strncpy_power8 implementation.
32177         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32178         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32179         * NEWS: Update.
32181         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32182         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32183         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32186         strncat-power8 object.
32187         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32188         __strcat_power8 implementation.
32189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32190         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32191         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32192         optimized strcat for power8.
32194         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32195         strcpy-power8 and stpcpy-power8 objects.
32196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32197         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32198         implementations.
32199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32200         multiarch stpcpy implementation for POWER8.
32201         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32202         multiarch strcpy implementation for POWER8.
32203         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32204         __strcpy_power8 function.
32205         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32206         stpcpy for POWER8.
32207         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32208         strcpy for POWER8.
32209         * NEWS: Update.
32211 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32213         [BZ #16009]
32214         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32215         weights and rules. Use do_xfrm_cached if data fits in cache,
32216         do_xfrm otherwise.  Moved former main loop to...
32217         * (do_xfrm_cached): New function.
32218         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32219         find_idx, find_position and stack_push.
32220         * (find_idx): New function.
32221         * (find_position): Likewise.
32222         * localedata/sort-test.sh: Added test run for do_xfrm.
32223         * localedata/xfrm-test.c (main): Added command line option
32224         -nocache to run the test with strings that are too large for
32225         the STRXFRM cache.
32227 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32229         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32230         variable to lll_futex_wake call, not the value itself.
32232 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32234         [BZ #17803]
32235         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32236         twom64.  Adjust value to 0x1p-64L.
32237         (__scalblnl): Only return standard underflowing result for K <=
32238         -64 not K <= -63; adjust exponent for underflowing result by 64
32239         not 63.
32240         * math/libm-test.inc (scalbn_test_data): Add more tests.
32241         (scalbln_test_data): Likewise.
32243         [BZ #17834]
32244         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32245         0x1p63L.
32246         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32247         not HX.
32248         * math/libm-test.inc (scalbn_test_data): Add more tests.
32249         (scalbln_test_data): Likewise.
32251 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32252             Stefani Seibold  <stefani@seibold.net>
32254         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32255         (sysdep_routines): Add dl-vdso here, ...
32256         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32257         (sysdep_routines): ... not here.
32258         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32259         fallback when vDSO is not presented.
32260         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32261         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32262         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32263         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32264         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32265         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32266         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32267         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32268         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32270         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32271         fallback configurable symbol when vDSO is not available.
32272         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32273         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32274         be able to redefine fallback symbol when vDSO is not available.
32275         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32276         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32278 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32280         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32281         (TLS_INIT_TP): Add tm_capable initialization.
32282         (TLS_DEFINE_INIT_TP): Likewise.
32283         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32284         TCB.
32285         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32286         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32287         calculation.
32288         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32289         transactoion is lock elision is built and TCB tm_capable is set.
32290         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32292         (INTERNAL_SYSCALL_NCS): Likewise.
32293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32294         (INTERNAL_SYSCALL_NCS): Likewise.
32295         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32297         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32298         for powerpc.
32299         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32300         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32301         and remove it for 32 bits case.
32302         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32304         initialization.
32305         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32306         Disable lock elision with rdlocks if elision is not available.
32308         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32309         (sysdep_routines): Add lock elision objects.
32310         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32311         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32312         [pthread_mutex_t] (__elision): Add field.
32313         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32314         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32315         elision definitions for powerpc.
32316         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32317         implementation of lock elision for powerpc.
32318         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32319         implementation of timed lock elision for powerpc.
32320         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32321         implementation of trylock with lock elision for powerpc.
32322         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32323         implementaion of unlock for lock elision for powerpc.
32324         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32325         automatic enable lock elision for mutexes.
32326         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32327         transaction execution definitions for powerpc.
32328         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32329         definitions.
32330         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32331         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32332         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32333         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32334         * NEWS: Update.
32336 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32338         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32339         for #include of <shm-directory.h>.
32341 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32343         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32344         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
32346 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
32348         [BZ #17791]
32349         * NEWS: Mention bug fix.
32350         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
32351         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
32352         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
32354 2015-01-09  Torvald Riegel <triegel@redhat.com>
32356         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
32358 2015-01-09  Torvald Riegel <triegel@redhat.com>
32360         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
32362 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32364         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
32365         pointer and cast to uintptr_t.
32367 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32369         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
32370         removed.
32371         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
32373 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32375         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
32376         of 0.
32378 2015-01-08  Roland McGrath  <roland@hack.frob.com>
32380         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
32381         <nptl/pthreadP.h> instead.
32382         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
32384         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
32385         already defined.
32386         [__SIGRTMIN] (init): Function removed.
32387         [__SIGRTMIN] (initialized): Variable removed.
32388         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
32389         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
32390         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
32391         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
32392         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
32393         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
32394         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
32395         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
32396         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
32397         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32398         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
32399         * sysdeps/nptl/allocrtsig.c: New file.
32400         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
32401         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
32402         * sysdeps/generic/testrtsig.h: File removed.
32404         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
32405         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
32407         * nptl/nptl-init.c (pthread_functions): Conditionalize
32408         .ptr__nptl_setxid initialization on [SIGSETXID].
32410         * sysdeps/nptl/sys/procfs.h: New file.
32411         * nptl_db/Makefile (headers): Add it.
32412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32414         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
32415         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
32416         * nptl/pthread_attr_setaffinity.c: Include it.
32417         * nptl/pthread_setattr_default_np.c: Likewise.
32418         * nptl/check-cpuset.h: New file.
32420 2015-01-08  Richard Henderson  <rth@redhat.com>
32422         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32423         (CFLAGS-tst-execstack-prog.c): Likewise.
32424         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32426 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32427             Sandra Loosemore  <sandra@codesourcery.com>
32428             Andrew Jenner  <andrew@codesourcery.com>
32429             Joseph Myers  <joseph@codesourcery.com>
32430             Nathan Sidwell  <nathan@codesourcery.com>
32432         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32433         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32434         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32435         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32436         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32437         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32438         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32439         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32440         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32441         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32442         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32443         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32444         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32445         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32446         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32447         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32448         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32450 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32452         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32453         timespec struct member in syscall macro.
32454         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32455         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32456         first timeval struct member in syscall macro.
32457         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32459 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32461         [BZ #17748]
32462         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32463         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32464         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32465         __feupdateenv and define as weak alias of __feupdateenv.  Use
32466         libm_hidden_weak.
32467         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32468         libm_hidden_def.
32469         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32470         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32471         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32472         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32473         libm_hidden_def.
32474         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32475         __feupdateenv and define as weak alias of __feupdateenv.  Use
32476         libm_hidden_weak.
32477         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32478         libm_hidden_def.
32479         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32480         __feupdateenv and define as weak alias of __feupdateenv.  Use
32481         libm_hidden_weak.
32482         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32483         libm_hidden_def.
32484         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32485         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32486         (__feupdateenv): Likewise.
32487         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32488         __feupdateenv and define as weak alias of __feupdateenv.  Use
32489         libm_hidden_weak.
32490         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32491         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32492         libm_hidden_def.
32493         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32494         function.
32495         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32496         libm_hidden_def.
32497         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32498         __feupdateenv instead of feupdateenv.
32499         (default_libc_feupdateenv_test): Likewise.
32500         (libc_feresetround_ctx): Likewise.
32502 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32504         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32505         prototype.
32507 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32509         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32510         COLL_SYM in a couple of places to avoid uninitialized variable
32511         wanings on tilegx gcc 4.8.2.
32513 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32515         * sysdeps/aarch64/strcpy.S: New file.
32516         * sysdeps/aarch64/stpcpy.S: New file.
32517         * NEWS: Updated.
32519 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32521         * sysdeps/aarch64/strrchr.S: New file.
32522         * NEWS: Updated.
32524 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32526         [BZ #17658]
32527         * stdlib/setenv.c: Fix memory leak when setting large,
32528         duplicate string.
32530 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32532         [BZ #17273]
32533         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32534         and tabs from buffer before parsing fstab entry.
32535         * misc/tst-mntent.c (main): Add test for mount entry with
32536         trailing spaces and tabs.
32538 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32540         [BZ #17748]
32541         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32542         * math/fesetround.c (fesetround): Rename to __fesetround and
32543         define as weak alias of __fesetround.  Use libm_hidden_weak.
32544         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32545         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32546         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32547         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32548         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32549         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32550         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32551         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32552         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32553         __fesetround_inline.
32554         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32555         __fesetround_inline instead of __fesetround.
32556         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32557         __fesetround and define as weak alias of __fesetround.  Use
32558         libm_hidden_weak.  Call __fesetround_inline instead of
32559         __fesetround.
32560         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32561         __fesetround and define as weak alias of __fesetround.  Use
32562         libm_hidden_weak.
32563         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32564         Likewise.
32565         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32566         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32567         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32568         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32569         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32570         __fesetround and define as weak alias of __fesetround.  Use
32571         libm_hidden_weak.
32572         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32573         __fesetround instead of fesetround.
32574         (default_libc_feholdexcept_setround): Likewise.
32575         (libc_feholdsetround_ctx): Likewise.
32576         (libc_feholdsetround_noex_ctx): Likewise.
32578         [BZ #17748]
32579         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32580         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32581         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32582         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32583         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32584         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32585         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32586         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32587         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32588         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32589         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32590         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32591         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32592         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32593         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32594         libm_hidden_def.
32595         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32596         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32597         Likewise.
32598         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32599         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32600         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32601         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32602         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32603         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32604         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32605         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32606         __fesetenv instead of fesetenv.
32607         (libc_feresetround_noex_ctx): Likewise.
32608         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32609         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32610         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32611         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32612         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32613         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32614         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32615         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32616         (__feupdateenv): Likewise.
32617         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32618         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32619         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32620         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32622 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32624         [BZ #17806]
32625         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32626         addresses have been freed.
32628 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32630         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32631         and nservall.
32633 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32635         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32636         Clean up check_pf allocation pattern. addresses
32638 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32640         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32641         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32642         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32643         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32644         * nptl/pthread_join.c (pthread_join): Likewise.
32645         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32646         * sysdeps/posix/waitid.c (__waitid): Likewise.
32647         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32648         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32649         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32650         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32652         Likewise.
32653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32654         (__libc_pread64): Likewise.
32655         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32656         (__libc_pwrite): Likewise.
32657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32658         (__libc_pwrite64): Likewsie.
32659         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32660         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32661         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32662         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32663         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32664         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32665         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32667         Likewise.
32668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32669         (__libc_pread64): Likewise.
32670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32671         Likewise.
32672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32673         (__libc_pwrite64): Likewise.
32674         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32675         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32676         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32677         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32678         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32679         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32680         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32681         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32682         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32683         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32684         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32685         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32686         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32687         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32688         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32689         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32690         Likewise.
32692 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32694         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32695         (CFLAGS-test-double.c): Likewise.
32696         (CFLAGS-test-ldouble.c): Likewise.
32697         (CPPFLAGS-test-ifloat.c): Likewise.
32698         (CPPFLAGS-test-idouble.c): Likewise.
32699         (CPPFLAGS-test-ildoubl.c): Likewise.
32700         (CFLAGS-test-test-fenv.c): Remove variable.
32701         (CFLAGS-test-misc.c): Likewise.
32703 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32705         [BZ #17797]
32706         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32707         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32708         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32709         CLOCKS_PER_SEC == 1000000.
32710         * time/clocktest.c (main): Replace %ld with %jd and cast to
32711         intmax_t.
32713 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32715         * sysdeps/generic/unwind-resume.h: New file.
32716         * sysdeps/gnu/unwind-resume.c: Include it.
32717         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32718         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32719         argument list.
32720         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32721         global rather than static.
32722         (_Unwind_Resume): Update user.
32723         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32724         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32725         rather than static.  Add __attribute__ ((cold)).
32726         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32727         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32728         * sysdeps/arm/arm-unwind-resume.S: New file.
32729         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32730         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32731         * sysdeps/arm/Makefile [$(subdir) = csu]
32732         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32733         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32734         Add rt-arm-unwind-resume.
32735         [$(subdir) = nptl]
32736         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32737         Add pt-arm-unwind-resume.
32738         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32739         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32741 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32743         [BZ #17748]
32744         * include/fenv.h (__feholdexcept): Declare.  Use
32745         libm_hidden_proto.
32746         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32747         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32748         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32749         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32750         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32751         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32752         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32753         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32754         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32755         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32756         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32757         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32758         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32759         (feholdexcept): Likewise.
32760         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32761         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32762         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32763         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32764         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32765         __feholdexcept instead of feholdexcept.
32766         (default_libc_feholdexcept_setround): Likewise.
32768 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32770         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32771         to avoid using stl/str to align destination.
32773 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32775         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32777 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32779         [BZ #17796]
32780         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32781         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32782         Define as weak alias not strong alias.
32784 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32786         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32787         bltzal with addiupc.
32788         (RTLD_START): Ditto.
32790 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32792         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32793         for __vdso_* functions in declarations.
32794         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32795         definitions.
32796         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32797         INTERNAL_VSYSCALL): Use struct return types to check for error.
32799         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32800         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32801         function with cast from llround().
32802         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32803         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32804         Define.
32806 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32808         [BZ #17793]
32809         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32810         Define as weak alias not strong alias.
32812         [BZ #17635]
32813         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32814         ...
32815         * ctype/ctype-extn.c: ... here.
32816         (__isblank_l): Move to ...
32817         * ctype/ctype-c99_l.c: ... here.  New file.
32818         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32819         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32820         Remove variable.
32821         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32822         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32823         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32824         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32825         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32827         [BZ #17777]
32828         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32829         (posix_fadvise64): Define as weak alias not strong alias.
32830         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32831         (posix_fallocate64): Likewise.
32832         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32833         Remove variable.
32834         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32835         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32836         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32837         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32838         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32840 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32842         [BZ #16191]
32843         * NEWS: Mention bug fix.
32844         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32845         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32846         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32847         (HOST_STACK_END_ADDR): Likewise.
32849 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32851         [BZ #17748]
32852         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32853         * math/fegetround.c (fegetround): Rename to __fegetround and
32854         define as weak alias of __fegetround.  Use libm_hidden_weak.
32855         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32856         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32857         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32858         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32859         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32860         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32861         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32862         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32863         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32864         Undefine after rather than before function definition; use
32865         parentheses around function name in definition.
32866         (__fegetround): Also undefine macro after function definition.
32867         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32868         __fegetround and define as weak alias of __fegetround.  Use
32869         libm_hidden_weak.  Do not undefine as macro.
32870         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32871         Likewise.
32872         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32873         __fegetround and define as weak alias of __fegetround.  Use
32874         libm_hidden_weak.
32875         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32876         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32877         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32878         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32879         __fegetround and define as weak alias of __fegetround.  Use
32880         libm_hidden_weak.
32881         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32882         __fegetround instead of fegetround.
32884         [BZ #17782]
32885         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32886         Condition macro definition on [__USE_MISC].
32888         [BZ #17781]
32889         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32890         (struct sigaction): Change type of sa_flags field to int.
32892         [BZ #17780]
32893         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32894         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32895         __glibc_reserved0.
32897         * nptl/version.c (banner): Use single year in copyright notice.
32899         * NEWS: Update copyright dates.
32900         * catgets/gencat.c (print_version): Likewise.
32901         * csu/version.c (banner): Likewise.
32902         * debug/catchsegv.sh: Likewise.
32903         * debug/pcprofiledump.c (print_version): Likewise.
32904         * debug/xtrace.sh (do_version): Likewise.
32905         * elf/ldconfig.c (print_version): Likewise.
32906         * elf/ldd.bash.in: Likewise.
32907         * elf/pldd.c (print_version): Likewise.
32908         * elf/sotruss.sh: Likewise.
32909         * elf/sprof.c (print_version): Likewise.
32910         * iconv/iconv_prog.c (print_version): Likewise.
32911         * iconv/iconvconfig.c (print_version): Likewise.
32912         * locale/programs/locale.c (print_version): Likewise.
32913         * locale/programs/localedef.c (print_version): Likewise.
32914         * login/programs/pt_chown.c (print_version): Likewise.
32915         * malloc/memusage.sh (do_version): Likewise.
32916         * malloc/memusagestat.c (print_version): Likewise.
32917         * malloc/mtrace.pl: Likewise.
32918         * manual/libc.texinfo: Likewise.
32919         * nptl/version.c (banner): Likewise.
32920         * nscd/nscd.c (print_version): Likewise.
32921         * nss/getent.c (print_version): Likewise.
32922         * nss/makedb.c (print_version): Likewise.
32923         * posix/getconf.c (main): Likewise.
32924         * scripts/test-installation.pl: Likewise.
32925         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32927 2015-01-02  Will Newton  <will.newton@linaro.org>
32929         * sysdeps/arm/armv7/configure: Removed.
32930         * sysdeps/arm/armv7/configure.ac: Likewise.
32932 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32934         * All files with FSF copyright notices: Update copyright dates
32935         using scripts/update-copyrights.
32936         * intl/plural.c: Regenerated.
32937         * locale/programs/charmap-kw.h: Likewise.
32938         * locale/programs/locfile-kw.h: Likewise.
32940 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32942         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32944 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32946         [BZ #17748]
32947         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32948         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32949         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32950         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32951         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32952         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32953         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32954         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32955         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32956         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32957         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32958         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32959         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32960         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32961         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32962         libm_hidden_def.
32963         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32964         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32965         Likewise.
32966         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32967         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32968         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32969         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32970         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32971         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32972         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32973         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32974         __fegetenv instead of fegetenv.
32975         (libc_feholdsetround_noex_ctx): Likewise.
32977 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32979         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32980         (Elf_MIPS_ABIFlags_v0): New structure.
32981         (EF_MIPS_FP64): Define.
32982         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32983         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32984         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32985         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32986         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32987         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32988         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32989         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32990         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32991         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32992         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32993         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32994         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32995         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32996         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32997         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32998         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32999         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
33000         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
33001         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
33002         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
33003         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
33004         field.
33005         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
33006         EF_MIPS_FP64.
33007         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33008         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33009         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33010         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33011         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33012         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33013         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33014         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33015         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33016         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33017         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33018         record the current FP ABI extension.
33019         (mips-mode-switch): Define to show if kernel headers support mode
33020         switching.
33021         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33022         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33023         supported SYSV ABI version to 3.
33024         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33025         feature.
33027 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33028             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33030         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33031         path.
33032         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33034 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33036         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33037         __fegetround and redefine to call __fegetround.  Remove condition
33038         on [!__NO_MATH_INLINES].
33039         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33040         function.
33041         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33042         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33043         Remove macro.
33044         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33045         instead of <fenv_libc.h>.
33046         (__llrintl): Call fegetround instead of __fegetround.
33047         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33048         instead of <fenv_libc.h>.
33049         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33050         (__lrintl): Call fegetround instead of __fegetround.
33051         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33052         instead of <fenv_libc.h>.
33053         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33054         (__rintl): Call fegetround instead of __fegetround.
33056 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33058         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33059         arrays.
33061 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33063         [BZ #17775]
33064         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33065         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33066         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33068 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33070         * sysdeps/i386/tls-macros.h: Include <features.h>.
33071         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33072         (TLS_IE): Likewise.
33073         (TLS_LD): Likewise.
33074         (TLS_GD): Likewise.
33075         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33076         define for GCC >= 5.0.
33078 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33080         * math/test-fenv.c (test_single_exception, set_single_exc,
33081         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33082         feexcp_mask_test, feenable_test, fe_single_test): Add
33083         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33084         case where they are not used.
33085         * math/libm-test.inc: Likewise.
33086         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33087         unused in the absence of FP rounding/exception support.
33088         * stdio-common/tst-printf-round.c: Likewise.
33089         * stdlib/tst-strtod-round.c: Likewise.
33090         * stdlib/tst-strtod-underflow.c: Likewise.
33092 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33094         [BZ #17723]
33095         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33096         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33097         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33098         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33099         libm_hidden_weak.
33100         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33101         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33102         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33103         libm_hidden_def.
33104         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33105         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33106         libm_hidden_weak.
33107         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33108         Likewise.
33109         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33110         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33111         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33112         libm_hidden_weak.
33113         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33114         libm_hidden_def.
33115         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33116         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33117         (__feraiseexcept): Likewise.
33118         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33119         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33120         libm_hidden_weak.
33121         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33122         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33123         libm_hidden_def.
33124         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33125         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33126         Use libm_hidden_def.
33127         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33128         libm_hidden_def.
33129         (feraiseexcept): Define as weak not strong alias.  Use
33130         libm_hidden_weak.
33131         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33132         New inline function.  Factored out of ...
33133         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33134         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33135         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33136         feraiseexcept.
33137         * math/w_acos.c (__acos): Likewise.
33138         * math/w_asin.c (__asin): Likewise.
33139         * math/w_ilogb.c (__ilogb): Likewise.
33140         * math/w_j0.c (y0): Likewise.
33141         * math/w_j1.c (y1): Likewise.
33142         * math/w_jn.c (yn): Likewise.
33143         * math/w_log.c (__log): Likewise.
33144         * math/w_log10.c (__log10): Likewise.
33145         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33146         * sysdeps/aarch64/fpu/math_private.h
33147         (libc_feupdateenv_test_aarch64): Likewise.
33148         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33149         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33150         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33151         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33152         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33153         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33154         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33155         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33156         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33157         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33159 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33161         [BZ #17732]
33162         * io/test-utime.c (main): Replace %ld with %jd and cast to
33163         intmax_t.
33164         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33165         * nptl/tst-mutex5.c: Include <stdint.h>.
33166         (do_test): Replace %ld with %jd and cast to intmax_t.
33167         * posix/tst-regex.c (run_test): Likewise.
33168         (run_test_backwards): Likewise.
33169         * rt/tst-clock.c: Include <stdint.h>.
33170         (clock_test): Replace %ld with %jd and cast to intmax_t.
33171         * rt/tst-cpuclock1.c: Include <stdint.h>.
33172         (do_test): Replace %lu with %ju and cast to uintmax_t.
33173         * rt/tst-cpuclock2.c: Include <stdint.h>.
33174         (do_test): Replace %lu with %ju and cast to uintmax_t.
33175         * rt/tst-mqueue1.c: Include <stdint.h>.
33176         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33177         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33178         intmax_t.
33179         * rt/tst-mqueue4.c (do_test): Likewise.
33180         * rt/tst-timer4.c: Include <stdint.h>.
33181         (check_ts): Replace %ld with %jd and cast to intmax_t.
33182         (do_test): Likewise.
33183         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33184         and cast to intmax_t.
33185         * sysdeps/pthread/tst-timer.c (main): Likewise.
33186         * time/clocktest.c (main): Likewise.
33187         * time/tst-posixtz.c (do_test): Likewise.
33188         * timezone/tst-timezone.c (main): Likewise.
33190 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33191             H.J. Lu  <hongjiu.lu@intel.com>
33193         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33194         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33195         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33196         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33197         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33198         version if bit_Fast_Unaligned_Load is set.
33199         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33200         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33201         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33202         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33203         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33204         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33205         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33206         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33207         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33208         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33209         to 4.
33210         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33211         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33212         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33213         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33215 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33217         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33218         instead of #if to avoid a Wundef warning.
33219         * stdlib/tst-limits.c (do_test): Likewise.
33221         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33222         parallel other exception macros.
33223         (fegetenv): Convert from macro to extern inline so that it applies
33224         retroactively to inline functions already seen by the compiler.
33225         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33227         * posix/Makefile (before-compile): Use $(objpfx) for
33228         posix-conf-vars-def.h.
33230 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33232         * posix/getconf.c (main): Use size_t for type of I.
33233         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33234         NSPEC.
33236         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33237         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33238         * posix/posix-envs.def: Likewise.
33239         * sysdeps/posix/sysconf.c: Likewise.
33240         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33241         (specs): Remove array.
33242         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33243         array.
33245         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33246         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33247         (__sysconf): Use CONF_IS_* macros.
33249         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33250         ($(objpfx)posix-conf-vars-def.h): New target.
33251         * posix/posix-conf-vars.list: New file.
33252         * posix/posix-conf-vars.h: New file.
33253         * posix/confstr.c: Include posix-conf-vars.h.
33254         (confstr): Use CONF_IS_* macros.
33255         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33256         CONF_IS_* macros.
33257         * scripts/gen-posix-conf-vars.awk: New file.
33259 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33261         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33262         fegetround): Add no-op macros to avoid linknamespace issues.
33264         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33265         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33267         * sysdeps/unix/sysv/linux/tile/sysdep.h
33268         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33269         assembly-specific section to avoid a redefinition warning.
33271         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33272         long before casting to pointer to avoid a cast warning.
33274 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33276         * sysdeps/tile/tilegx/Implies: New file.
33278 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33280         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33282 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33284         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33286 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33288         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33289         not define.
33290         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33291         <kernel-features.h>.
33292         (__utimes) [__NR_utimes]: Make code unconditional.
33293         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33294         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33295         (__ASSUME_UTIMES): Do not undefine.
33296         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33297         (__ASSUME_UTIMES): Likewise.
33298         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33299         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33300         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33301         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33303 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33305         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33307 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33309         [BZ #17747]
33310         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33311         alias to weak alias for j0l, y0l.
33312         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33313         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33315         [BZ #17746]
33316         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33317         conversion.
33319 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33321         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33322         to zero if not already defined.
33324 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33326         [BZ #17724]
33327         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33328         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33329         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33330         (char *) casts added.
33331         * sysdeps/ieee754/k_standardf.c: New file.
33332         * sysdeps/ieee754/k_standardl.c: Likewise.
33333         * math/Makefile (libm-support): Remove k_standard.
33334         (libm-calls): Add k_standard.
33336 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33338         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33339         Optimize to avoid an unnecessary FPCR read.
33341 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33343         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33344         Optimize to reduce FPCR/FPSR accesses.
33346 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33348         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
33349         Call libc_fetestexcept_aarch64.
33351 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33353         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
33354         Call libc_fesetround_aarch64.
33356 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33358         [BZ #17733]
33359         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
33360         (__bind): Do not define as weak alias.
33361         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
33362         define.
33363         (__getsockname): Do not define as weak alias.
33365 2014-12-22  Will Newton  <will.newton@linaro.org>
33367         * manual/install.texi: Document that we require bison 2.7
33368         or above.
33369         * INSTALL: Regenerate.
33370         * configure.ac: Use AC_CHECK_PROG_VER instead of
33371         AC_PATH_PROG when checking for bison and check for
33372         version 2.7 or above.
33373         * configure: Regenerate.
33375 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
33377         [BZ #17745]
33378         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33379         * sysdeps/tile/ffsll.c (ffsll): To here.
33381         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
33383 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33385         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
33386         if not defined.
33387         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
33388         definition.
33389         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33390         hidden ___tls_get_addr.
33391         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33392         hidden __tls_get_addr.
33393         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
33394         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
33395         Likewise.
33397 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33399         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
33400         _dl_init call.
33402 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33404         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
33405         from "call _dl_init@PLT".
33406         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33408 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
33410         * manual/search.texi: (Array Sort Function): Clarify stable sorting
33411         guarantees.
33413 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
33415         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
33417 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33419         [BZ #17744]
33420         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
33421         strnlen.
33423 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33425         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33426         of multu on MIPSr6.
33427         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33428         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33429         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33430         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33431         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33433 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33435         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33436         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33437         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33438         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33439         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33440         mips32r6/mips64r6.
33441         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33443 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33445         * string/strncat.c (STRNCAT): Simplify implementation.
33447 2014-12-19  David S. Miller  <davem@davemloft.net>
33449         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33450         access the quad as both a long double and as a series of 4 words.
33452         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33453         link_map->l_info array access.
33455 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33457         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33459         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33460         * math/atest-exp2.c (TIMEOUT): Likewise.
33461         * math/atest-sincos.c (TIMEOUT): Likewise.
33463 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33465         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33466         -Wno-error with -fno-builtin-lround.
33468 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33470         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33471         Contains futex constants and functions moved over from ...
33472         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33473         <lowlevellock-futex.h>.
33474         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33475         (lll_timedwait_tid): Add comments and parentheses around macro
33476         arguments.
33478 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33480         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33481         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33482         (__lll_private_flag): Remove.
33483         (lll_futex_wait): Likewise.
33484         (lll_futex_timed_wait): Likewise.
33485         (lll_futex_wake): Likewise.
33486         (lll_futex_requeue): Likewise.
33487         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33488         (__lll_timedwait_tid): Spell out argument names.
33489         (lll_timedwait_tid): Add comments and parentheses around macro
33490         arguments.
33491         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33492         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33494 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33496         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33497         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33498         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33499         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33500         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33501         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33502         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33503         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33504         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33505         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33506         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33507         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33508         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33509         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33510         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33511         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33512         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33513         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33514         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33516 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33518         * sysdeps/x86_64/x32/Makefile: New file.
33520 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33522         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33523         1L with (mp_limb_t) 1.
33525 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33527         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33528         * nptl/libc_pthread_init.c: ... here.
33529         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33530         * nptl/register-atfork.c: ... here.
33532         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33533         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33534         Use assert_perror to check its return value.
33535         (__gai_create_helper_thread): Likewise.
33537         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33539         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33541 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33543         [BZ #17725]
33544         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33545         __profil_counter.
33546         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33547         Likewise.
33548         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33549         Likewise.
33550         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33551         Likewise.
33552         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33553         (profil_counter): Likewise.
33554         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33555         (profil_counter): Likewise.
33556         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33557         Likewise.
33558         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33559         Likewise.
33560         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33561         (profil_counter): Likewise.
33562         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33563         Likewise.
33564         [!__profil_counter] (profil_counter): Define as weak alias of
33565         __profil_counter.
33566         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33567         (profil_counter): Rename to __profil_counter.
33568         [!__profil_counter] (profil_counter): Define as weak alias of
33569         __profil_counter.
33570         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33571         (profil_counter): Rename to __profil_counter.
33572         [!__profil_counter] (profil_counter): Define as weak alias of
33573         __profil_counter.
33574         * sysdeps/posix/profil.c: Update comment referring to
33575         profil_counter.
33576         (__profil): Use __profil_counter instead of profil_counter.
33577         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33578         __profil_counter.  Use __profil_counter_ushort and
33579         __profil_counter_uint in definitions.
33580         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33581         instead of profil_counter_uint and profil_counter_ushort.
33583         [BZ #17722]
33584         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33585         define as weak alias of __inet_makeaddr.
33586         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33587         as weak alias of __inet_addr.
33588         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33589         as weak alias of __inet_pton.  Use libc_hidden_weak.
33590         * include/arpa/inet.h (__inet_pton): Declare.  Use
33591         libc_hidden_proto.
33592         (inet_makeaddr): Don't use libc_hidden_proto.
33593         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33594         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33595         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33596         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33597         Remove variable.
33598         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33599         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33601 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33603         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33605 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33607         * stdio-common/bug-vfprintf-nargs.c (do_test):
33608         Cast value to intptr_t to avoid format warning
33609         for usage with PRIdPTR printing macro.
33611 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33613         * libio/tst-widetext.c (do_test):
33614         Use format type %td instead of %Zd for ptrdiff_t
33615         in order to avoid format warning.
33617 2014-12-17  Andreas Schwab  <schwab@suse.de>
33619         * nscd/mem.c (gc): Add size_t cast to match printf format.
33621 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33623         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33624         (init): Apply PTR_MANGLE to pointers before storing them.
33625         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33626         before using them.
33628 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33630         [BZ #17719]
33631         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33632         define as weak alias of __memrchr.
33633         (__memrchr): Do not define as strong alias of memrchr.
33634         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33635         Remove variable.
33636         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33637         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33638         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33640         [BZ #17717]
33641         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33642         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33643         (if_indextoname): Rename to __if_indextoname and define as weak
33644         alias of __if_indextoname.  Use libc_hidden_weak.
33645         (if_freenameindex): Rename to __if_freenameindex and define as
33646         weak alias of __if_freenameindex.
33647         (if_nameindex): Rename to __if_nameindex and define as weak alias
33648         of __if_nameindex.
33649         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33650         __if_nametoindex and define as weak alias of __if_nametoindex.
33651         Use libc_hidden_weak.
33652         (if_freenameindex): Rename to __if_freenameindex and define as
33653         weak alias of __if_freenameindex.
33654         (if_nameindex): Rename to __if_nameindex and define as weak alias
33655         of __if_nameindex.
33656         (if_indextoname): Rename to __if_indextoname and define as weak
33657         alias of __if_indextoname.  Use libc_hidden_weak.
33658         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33659         __if_nametoindex and define as weak alias of __if_nametoindex.
33660         Use libc_hidden_weak.
33661         (if_freenameindex): Rename to __if_freenameindex and define as
33662         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33663         (if_nameindex_netlink): Use __if_freenameindex instead of
33664         if_freenameindex.
33665         (if_nameindex): Rename to __if_nameindex and define as weak alias
33666         of __if_nameindex.  Use libc_hidden_weak.
33667         (if_indextoname): Rename to __if_indextoname and define as weak
33668         alias of __if_indextoname.  Use libc_hidden_weak.
33669         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33670         libc_hidden_proto.
33671         [!_ISOMAC] (__if_freenameindex): Likewise.
33672         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33673         if_nametoindex.
33674         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33675         variable.
33676         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33677         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33678         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33679         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33680         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33681         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33682         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33684         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33685         Remove variable.
33686         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33687         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33689 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33691         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33692         subscript above bounds'
33694         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33695         bounds.
33697 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33699         * libio/tst-fopenloc.c: Use test-skeleton.c.
33701         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33702         (entry): Rename to ITEM.
33703         (do_test, comp): Adjust.
33705         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33707 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33709         * string/tester.c: Include <libc-internal.h>.
33710         (test_memset): Ignore -Wmemset-transposed-args.
33712 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33714         * misc/tst-mntent2.c (do_test): Fix warning.
33716 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33718         * elf/tst-unique4lib.cc(a): Mark as used.
33720 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33722         [BZ #17630]
33723         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33724         names.
33726 2014-12-16  Allan McRae  <allan@archlinux.org>
33728         * stdio-common/Makefile (tests): Re-add bug26.
33730 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33732         [BZ #17657]
33733         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33734         static array.
33736 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33738         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33739         (__lll_lock_wait): Likewise.
33740         (__lll_timedlock_wait): Likewise.
33741         (__lll_timedwait_tid): Likewise.
33742         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33743         (__lll_robust_timedlock_wait): Likewise.
33744         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33745         (lll_cond_trylock): Likewise.
33746         (__lll_lock): Likewise.
33747         (__lll_robust_lock): Likewise.
33748         (__lll_cond_lock): Likewise.
33749         (lll_robust_cond_lock): Likewise.
33750         (__lll_timedlock): Likewise.
33751         (__lll_robust_timedlock): Likewise.
33752         (__lll_unlock): Likewise.
33753         (__lll_robust_unlock): Likewise.
33754         (lll_wait_tid): Likewise.
33755         (lll_timedwait_tid): Likewise.
33757 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33759         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33761 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33763         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33765 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33767         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33768         * stdio-common/tst-sprintf.c: Likewise.
33770 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33772         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33774 2014-12-15  Jeff Law  <law@redhat.com>
33776         [BZ #16617]
33777         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33778         on the heap.  (CVE-2012-3406)
33779         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33780         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33781         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33783 2014-12-15  Will Newton  <will.newton@linaro.org>
33785         * manual/install.texi: Bump required version of texinfo
33786         to 4.7 from 4.5.
33787         * INSTALL: Regenerated.
33788         * configure.ac: Check for makeinfo version 4.7 and above.
33789         * configure: Regenerated.
33791 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33793         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33794         PREFIX, string constant to insert between directory and name.
33795         * sysdeps/posix/shm_open.c: Update caller.
33796         * sysdeps/posix/shm_unlink.c: Likewise.
33797         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33798         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33799         (SEM_SHM_PREFIX): New macro.
33800         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33801         [$(have-thread-library) = no].
33802         * nptl/Makefile (libpthread-routines): Add shm-directory.
33803         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33804         * sysdeps/nptl/shm-directory.h: New file.
33805         * sysdeps/posix/shm-directory.c
33806         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33807         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33808         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33809         INTERNAL_SYSCALL.
33810         (__where_is_shmfs): Function removed.
33811         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33812         Variables removed.
33813         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33814         Use SHM_GET_NAME.
33815         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33817         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33818         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33819         unconditional for use inside libpthread.
33820         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33822 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33824         * nptl/pthread_getaffinity.c: New file.
33825         * nptl/pthread_setaffinity.c: New file.
33826         * nptl/pthread_getname.c: New file.
33827         * nptl/pthread_setname.c: New file.
33829         * nptl/pthread_create.c (START_THREAD_DEFN)
33830         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33832 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33833             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33835         * resolv/res_send.c (send_vc): Disable warning resplen may
33836         be used uninitialized.
33838 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33840         * nptl/tst-mutex6.c
33841         (ATTR_NULL): New define checks ATTR against NULL.
33842         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33843         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33845 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33847         [BZ #17581]
33848         * malloc/hooks.c
33849         (mem2mem_check): Revert my previous change.
33850         (malloc_check_get_size): Revert my previous change.
33851         (mem2chunk_check): Revert my previous change.
33853 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33855         * sysdeps/posix/shm-directory.c: New file.
33856         * sysdeps/posix/shm-directory.h: New file.
33857         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33858         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33859         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33860         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33861         Transmute EPERM to EACCES.
33862         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33863         from ...
33864         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33865         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33867 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33869         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33870         pointer and cast to uintptr_t.
33871         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33873         Add cast to avoid warning.
33874         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33876 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33878         * nptl/semaphore.h: Move to ...
33879         * sysdeps/pthread/semaphore.h: ... here.
33880         * Makefile (installed-headers): Change nptl/semaphore.h to
33881         sysdeps/pthread/semaphore.h.
33883 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33885         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33886         generated error format strings.
33888         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33889         -Wformat-extra-args warnings for scanf formats.
33890         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33891         test of zero-length format (duh).
33892         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33893         corner-case scanf format test.
33894         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33895         generated fprintf format string.
33896         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33897         corner-case sprintf format tests.
33898         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33899         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33900         -Wformat-extra-args warnings throughout.
33901         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33902         (CFLAGS-scanf4.c): Likewise.
33903         (CFLAGS-scanf7.c): Likewise.
33904         (CFLAGS-tst-sprintf.c): Likewise.
33905         (CFLAGS-tst-printf.c): Likewise.
33906         (CFLAGS-tst-printfsz.c): Likewise.
33908 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33910         * include/cpio.h: New file.
33911         * include/fmtmsg.h: Likewise.
33913         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33914         corresponding format argument to size_t.
33915         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33916         arguments.
33917         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33918         corresponding format argument to size_t.
33919         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33920         arguments.
33921         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33922         corresponding format argument to size_t.
33923         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33924         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33925         (CFLAGS-tst-mbswcs2.c): Likewise.
33926         (CFLAGS-tst-mbswcs3.c): Likewise.
33927         (CFLAGS-tst-mbswcs4.c): Likewise.
33928         (CFLAGS-tst-mbswcs5.c): Likewise.
33929         (CFLAGS-tst-trans.c): Likewise.
33931 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33933         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33934         rather than assuming they won't contain any '%'s.
33936 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33938         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33939         inhibit_loop_to_libcall to avoid recursive calls.
33940         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33941         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33943 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33945         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33946         prototype.
33948 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33950         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33951         integer value instead of boolean.
33953 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33955         * malloc/malloc.c: Fix powerof2 check.
33957 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33959         * locale/programs/locfile.h (maybe_swap_uint32):
33960         Remove inline and add unused attribute.
33962 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33964         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33965         Truncating assembler expression to a .long expression.
33967 2014-12-11  Andreas Schwab  <schwab@suse.de>
33969         * elf/rtld.c (struct map_args): Constify str member.
33970         (do_preload): Constify fname argument.
33972 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33974         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33975         constants definition.
33977 2014-12-11  Andreas Schwab  <schwab@suse.de>
33979         [BZ #16657]
33980         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33981         FORCE_ELISION instead of DO_ELISION.
33982         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33983         Remove.
33984         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33985         Likewise.
33987         * iconvdata/gconv-modules: Remove duplicate entry.
33989 2014-12-11  Will Newton  <will.newton@linaro.org>
33991         Merge gettext 0.19.3 into intl/.
33993         This involves a number of cosmetic changes to comments
33994         and ANSI function definitions and prototypes throughout
33995         all the files. The gettext copyright header is used but
33996         with the date ranges taken from the glibc copy.
33998         * NEWS: Add gettext merge to 2.21.
33999         * intl/bindtextdom.c: Switch to gettext copyright.
34000         Use ANSI definitions and prototypes.
34001         Use gl_* locking primitives rather than __libc_* ones.
34002         Use __builtin_expect rather than __glibc_likely/unlikely.
34003         * intl/dcgettext.c: Switch to gettext copyright.
34004         Use ANSI definitions and prototypes.
34005         * intl/dcigettext.c: Switch to gettext copyright.
34006         Use ANSI definitions and prototypes.
34007         (INTDIV0_RAISES_SIGFPE): New define.
34008         Use gl_* locking primitives rather than __libc_* ones.
34009         Include eval-plural.h instead of plural-eval.c.
34010         Use __builtin_expect rather than __glibc_likely/unlikely.
34011         * intl/dcngettext.c: Switch to gettext copyright.
34012         Use ANSI definitions and prototypes.
34013         * intl/dgettext.c: Likewise.
34014         * intl/dngettext.c: Likewise.
34015         * intl/plural-eval.c: Renamed to...
34016         * intl/eval-plural.h: ...this.
34017         * intl/explodename.c: Switch to gettext copyright.
34018         Use ANSI definitions and prototypes.
34019         (_nl_explode_name): Use strchr instead of __rawmemchr.
34020         * intl/finddomain.c: Switch to gettext copyright.
34021         Use ANSI definitions and prototypes.
34022         Use gl_* locking primitives rather than __libc_* ones.
34023         (_nl_find_domain): Use malloc rather than alloca for
34024         allocation of temporary locale name.
34025         * intl/gettext.c: Switch to gettext copyright.
34026         Use ANSI definitions and prototypes.
34027         * intl/gettextP.h: Switch to gettext copyright.
34028         Use ANSI definitions and prototypes.
34029         Use gl_* locking primitives rather than __libc_* ones.
34030         * intl/gmo.h: Switch to gettext copyright.
34031         (struct sysdep_string): Move struct segment_pair outside of
34032         struct definition.
34033         * intl/hash-string.c: Use ANSI definitions and prototypes.
34034         * intl/hash-string.h: Switch to gettext copyright.
34035         Use ANSI definitions and prototypes.
34036         * intl/l10nflist.c: Switch to gettext copyright.
34037         Use ANSI definitions and prototypes.
34038         (_nl_normalize_codeset): Avoid integer overflow.
34039         * intl/loadinfo.h: Switch to gettext copyright.
34040         Use ANSI definitions and prototypes.
34041         (LIBINTL_DLL_EXPORTED): New define.
34042         (PATH_SEPARATOR): New define.
34043         * intl/loadmsgcat.c: Switch to gettext copyright.
34044         * intl/localealias.c: Switch to gettext copyright.
34045         Use ANSI definitions and prototypes.
34046         (_nl_expand_alias): Use PATH_SEPARATOR.
34047         * intl/ngettext.c: Switch to gettext copyright.
34048         Use ANSI definitions and prototypes.
34049         * intl/plural-exp.c: Likewise.
34050         * intl/plural-exp.h: Switch to gettext copyright.
34051         Use ANSI definitions and prototypes.
34052         (struct expression): Move definition of enum operator outside
34053         of struct definition.
34054         * intl/plural.c: Regenerate.
34055         * intl/plural.y: Switch to gettext copyright.
34056         Use ANSI definitions and prototypes.
34057         Port to bison 3.0.
34058         * intl/textdomain.c: Switch to gettext copyright.
34059         Use ANSI definitions and prototypes.
34060         Use gl_* locking primitives rather than __libc_* ones.
34062 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34064         * debug/warning-nop.c: Add used atrribute.
34066 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34068         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34070         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34071         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34072         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34074 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34075             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34077         [BZ #17634]
34078         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34079         Undefine after defining function.  Define as weak alias of
34080         __wcschr.  Use libc_hidden_weak.
34081         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34082         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34083         (libc_hidden_def): Also define __GI___wcschr alias.
34084         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34085         __wcschr and define as weak alias of __wcschr.
34086         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34087         __wcschr.
34088         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34089         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34090         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34091         libc_hidden_weak.  Do not use libc_hidden_def.
34092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34093         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34094         __GI___wcschr alias.
34095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34096         [IS_IN (libc)] (wcschr): Define as macro expanding to
34097         __redirect_wcschr.
34098         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34099         [IS_IN (libc)] (__wcschr_power6): Likewise.
34100         [IS_IN (libc)] (__wcschr_power7): Likewise.
34101         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34102         instead of wcschr.
34103         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34104         __libc_wcschr.
34105         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34106         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34107         __wcschr and define as weak alias of __wcschr.  Use
34108         libc_hidden_builtin_def.
34109         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34110         as weak alias of __wcschr.  Use libc_hidden_weak.
34111         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34112         wcschr.
34113         * time/era.c (_nl_init_era_entries): Likewise.
34114         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34115         variable.
34116         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34117         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34119 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34121         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34122         format for long int variable.
34124 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34126         [BZ #10672]
34127         * manual/search.texi: (Array Sort Function): Remove claim how to make
34128         qsort stable.
34130 2014-12-10  Andreas Schwab  <schwab@suse.de>
34132         [BZ #12847]
34133         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34134         user-controlled locks.
34136 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34138         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34139         register.
34141 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34143         * configure.ac (--disable-werror): New configure option.
34144         (enable_werror): New AC_SUBST.
34145         * configure: Regenerated.
34146         * config.make.in (enable-werror): New variable.
34147         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34148         -Wno-error=undef.
34149         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34150         * manual/install.texi (Configuring and compiling): Document
34151         --disable-werror.
34152         * INSTALL: Regenerated.
34153         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34154         (CFLAGS-tst-chk2.c): Likewise.
34155         (CFLAGS-tst-chk3.c): Likewise.
34156         (CFLAGS-tst-chk4.cc): Likewise.
34157         (CFLAGS-tst-chk5.cc): Likewise.
34158         (CFLAGS-tst-chk6.cc): Likewise.
34159         (CFLAGS-tst-lfschk1.c): Likewise.
34160         (CFLAGS-tst-lfschk2.c): Likewise.
34161         (CFLAGS-tst-lfschk3.c): Likewise.
34162         (CFLAGS-tst-lfschk4.cc): Likewise.
34163         (CFLAGS-tst-lfschk5.cc): Likewise.
34164         (CFLAGS-tst-lfschk6.cc): Likewise.
34166         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34167         (main): Disable -Wdeprecated-declarations around calls to
34168         register_printf_function.
34170         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34171         (do_test): Disable -Wdiv-by-zero around some calls to
34172         fwrite_unlocked and fread_unlocked.
34174         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34175         (DIAG_POP_NEEDS_COMMENT): Likewise.
34176         (_DIAG_STR1): Likewise.
34177         (_DIAG_STR): Likewise.
34178         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34179         * stdio-common/bug21.c: Include <libc-internal.h>.
34180         (do_test): Disable -Wformat around call to sscanf.
34181         * stdio-common/scanf14.c: Include <libc-internal.h>.
34182         (main): Disable -Wformat around some calls to scanf functions.
34184 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34186         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34188 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34190         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34191         stack variable alignment.
34193 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34195         [BZ #17682]
34196         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34197         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34198         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34199         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34200         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34201         __getrlimit instead of getrlimit.
34202         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34203         __gettimeofday instead of gettimeofday.
34204         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34205         Likewise.
34206         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34207         Likewise.
34208         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34209         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34210         Remove variable.
34211         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34212         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34214 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34216         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34217         for wide-character tests.
34219 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34221         * io/openat64.c: #include <libc-internal.h>
34222         (__openat64): Prototypify.  Use ignore_value on MODE.
34223         * io/openat.c: Likewise.
34224         * misc/reboot.c: #include <libc-internal.h>
34225         (reboot): Prototypify.  Use ignore_value on HOWTO.
34226         * misc/ptrace.c: #include <libc-internal.h>
34227         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34229 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34231         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34232         XPG4, UNIX98 and XOPEN2K.
34233         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34234         Remove variable.
34235         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34237 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34239         * libio/fileops.c: Use ISO C style for function definitions.
34240         * libio/iofopen.c: Likewise.
34241         * libio/wfileops.c: Likewise.
34243         [BZ #17653]
34244         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34245         offset on EOF.
34246         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34247         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34248         (fgets_func): Function pointer to fgets and fgetws.
34249         (do_ftell_test): Add test to verify ftell value after read
34250         EOF.
34251         (do_test): Set fgets_func.
34253         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34254         O_TRUNC flag for w and w+ modes.
34255         (do_rewind_test): Likewise.
34256         (do_ftell_test): Likewise.
34257         (do_write_test): Likewise.
34259         [BZ #17647]
34260         * libio/fileops.c (do_ftell): Seek only when there are
34261         unflushed writes.
34262         * libio/wfileops.c (do_ftell_wide): Likewise.
34263         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34264         test case.
34265         (do_one_test): Call it.
34267 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34269         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34270         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34271         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34272         Remove variable.
34273         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34274         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34275         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34277 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34279         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34280         Remove variable.
34281         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34283         [BZ #17668]
34284         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34285         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34286         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34287         __freeifaddrs.  Use libc_hidden_weak.
34288         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34289         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34290         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34291         __freeifaddrs.  Use libc_hidden_weak.
34292         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34293         __getifaddrs and define as weak alias of __getifaddrs.  Use
34294         libc_hidden_weak.
34295         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34296         __freeifaddrs.  Use libc_hidden_weak.
34297         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34298         Remove variable.
34299         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34300         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34302 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34304         [BZ #17601]
34305         * sysdeps/mips/start.S (__start): Use indirect jump to call
34306         __libc_start_main.
34308 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34310         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34312         * nptl/tst-mutex1.c: Include <stdbool.h>.
34313         [!ATTR] (ATTR_NULL): New macro.
34314         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34315         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34316         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34318         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34319         to char *.
34321         [BZ #17665]
34322         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34323         Change conditional to [__USE_MISC].
34325         [BZ #17664]
34326         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34327         fgets_unlocked.
34328         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34329         __fgets_unlocked.
34330         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34331         fgets_unlocked.
34332         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34333         Remove variable.
34334         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34335         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34336         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34337         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34338         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34339         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34340         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34341         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34342         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34344         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
34346 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34349         Remove strpbrk objects.
34350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34351         (__libc_ifunc_impl_list): Remove strpbrk implementation.
34352         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
34353         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
34354         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
34355         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
34357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34358         Remove strcspn objects.
34359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34360         (__libc_ifunc_impl_list): Remove strcspn implementation.
34361         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
34362         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
34363         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
34364         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
34366         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34367         Remove strspn objetcs.
34368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34369         (__libc_ifunc_impl_list): Remove strspn implementation.
34370         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
34371         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34372         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
34373         * sysdeps/powerpc/powerpc64/strspn.S: New file.
34375 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
34377         [BZ #17581]
34378         * malloc/hooks.c
34379         (mem2mem_check): Add a terminator to the chain of checking blocks.
34380         (malloc_check_get_size): Use it here.
34381         (mem2chunk_check): Ditto.
34383 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34385         * sysdeps/powerpc/powerpc64/strtok.S: New file.
34386         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
34388 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
34390         * bits/ioctl-types.h: Indent preprocessor directives correctly.
34392         * nptl/nptl-init.c: Include libc-internal.h.
34393         (__pthread_initialize_minimal_internal): Use ROUND_UP.
34395         * elf/ldconfig.c (search_dir): Expand comment.
34397 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
34399         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
34400         variable.
34401         (linknamespace-symlist-stdlibs-tests): Likewise.
34402         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
34403         instead of $(objpfx)symlist-stdlibs.
34404         (linknamespace-libs-isoc): New variable.
34405         (linknamespace-libs): Use $(linknamespace-libs-isoc).
34406         (linknamespace-libs-ISO): New variable.
34407         (linknamespace-libs-ISO99): Likewise.
34408         (linknamespace-libs-ISO11): Likewise.
34409         (linknamespace-libs-XPG3): Likewise.
34410         (linknamespace-libs-XPG4): Likewise.
34411         (linknamespace-libs-POSIX): Likewise.
34412         (linknamespace-libs-UNIX98): Likewise.
34413         (linknamespace-libs-XOPEN2K): Likewise.
34414         (linknamespace-libs-POSIX2008): Likewise.
34415         (linknamespace-libs-XOPEN2K8): Likewise.
34416         ($(objpfx)symlist-stdlibs): Replace by
34417         $(linknamespace-symlist-stdlibs-tests).  Use
34418         $(linknamespace-libs-$*) as set of libraries.
34419         ($(linknamespace-header-tests)): Update dependencies.  Use
34420         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
34421         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34422         * conform/linknamespace.pl: Remove comment about considering
34423         definitions of symbols from irrelevant libraries.
34425 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34427         [BZ #13862]
34428         * elf/dl-tls.c: Include <atomic.h>.
34429         (oom): Remove #ifdef SHARED/#endif.
34430         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34431         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34432         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34433         big enough.
34434         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34435         * nptl/Makefile (tests): Add tst-stack4.
34436         (modules-names): Add tst-stack4mod.
34437         ($(objpfx)tst-stack4): New.
34438         (tst-stack4mod.sos): Likewise.
34439         ($(objpfx)tst-stack4.out): Likewise.
34440         ($(tst-stack4mod.sos)): Likewise.
34441         (clean): Likewise.
34442         * nptl/tst-stack4.c: New file.
34443         * nptl/tst-stack4mod.c: Likewise.
34445 2014-11-27  J. Brown  <jb999@gmx.de>
34447         * sysdeps/x86/bits/string.h: Add recent CPUs.
34449 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34451         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34452         sigblock.
34454         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34455         feof.
34457         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34458         variable.
34460 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34462         * nscd/connections.c: Include libc-internal.h because of macro
34463         usage ignore_value.
34465 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34467         * string/bits/string3.h (__warn_memset_zero_len): Don't
34468         declare for gcc newer than 5.0.
34469         (memset): Don't test for zero-length __LEN for gcc newer than
34470         5.0.
34472 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34474         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34475         size_t for %zu format.
34477         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34478         difference, not %ju.
34480 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34482         * include/libc-internal.h (ignore_value): New macro.
34483         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34484         with ignore_value.
34486         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34487         definition.
34489         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34490         pthread_cleanup_push to void *.
34492         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34493         Undefine.
34495         [BZ #16619]
34496         [BZ #16740]
34497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34498         instead of 1L << 52.
34500         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34501         * libio/bug-rewind2.c (do_test): Likewise.
34503         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34504         * debug/test-strcpy_chk-ifunc.c: Likewise.
34505         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34506         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34507         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34508         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34509         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34510         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34511         * Rules [$(multi-arch) = no] (tests): Do not filter out
34512         $(tests-ifunc).
34513         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34514         * debug/Makefile (tests-ifunc): Remove variable.
34515         (tests): Do not add $(tests-ifunc).
34516         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34517         (tests): Do not add $(tests-ifunc).
34518         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34519         [TEST_IFUNC]: Remove conditionals.
34520         * string/test-string.h (TEST_IFUNC): Remove macro.
34521         [TEST_IFUNC]: Remove conditionals.
34523         * string/test-strchr.c [!WIDE] (L): New macro.
34524         [WIDE] (L): Likewise.
34525         (check1): Use CHAR instead of char.  Use L on string and character
34526         constants.
34528 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34530         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34531         tests.
34532         * sysdeps/powerpc/bits/atomic.h
34533         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34534         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34535         (atomic_exchange_and_add_acq): Likewise.
34536         (atomic_exchange_and_add_rel): Likewise.
34537         * sysdeps/powerpc/powerpc32/bits/atomic.h
34538         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34539         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34540         * sysdeps/powerpc/powerpc64/bits/atomic.h
34541         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34542         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34544 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34546         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34547         Change synchronization of __sched_fifo_min_prio and
34548         __sched_fifo_max_prio.
34549         * nptl/pthread_mutexattr_getprioceiling.c
34550         (pthread_mutexattr_getprioceiling): Likewise.
34551         * nptl/pthread_mutexattr_setprioceiling.c
34552         (pthread_mutexattr_setprioceiling): Likewise.
34553         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34554         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34555         Likewise.
34557 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34559         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34560         void.
34562 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34564         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34565         third argument const.
34567 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34569         fnmatch: work around GCC compiler warning bug with uninit var
34570         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34571         This works around a bug with x86-64 GCC 4.9.2 and earlier
34572         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34573         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34574         used uninitialized in this function [-Wmaybe-uninitialized]".
34576 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34578         * posix/bug-regex31.c (main): Return RES not 0.
34580 2014-11-25  Anton Blanchard <anton@samba.org>
34582         * sysdeps/powerpc/bits/atomic.h
34583         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34585 2014-11-24  Sterling Augustine  <saugustine@google.com>
34587         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34589 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34591         [BZ #17608]
34592         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34594 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34596         [BZ #17633]
34597         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34598         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34599         variable.
34600         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34601         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34603 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34605         * string/strncpy.c (strncpy): Improve performance by using memset.
34607 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34609         * string/strcpy.c (strcpy):
34610         Improve performance by using strlen and memcpy.
34612 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34614         * string/strcoll_l.c (get_next_seq): __always_inline.
34615         * string/strcoll_l.c (do_compare): __always_inline.
34617 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34619         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34620         defined.
34621         * include/mqueue.h: Likewise.
34622         * include/stdlib.h: Likewise.
34624         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34625         (get_null_defines): Adjust.
34626         * sunrpc/Makefile: Adjust comment.
34627         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34628         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34629         (CFLAGS-interp.c): Likewise.
34630         (CFLAGS-ldconfig.c): Likewise.
34631         (CPPFLAGS-.os): Likewise.
34632         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34633         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34634         * extra-modules.mk (extra-modules.mk): Likewise.
34635         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34636         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34637         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34638         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34639         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34640         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34641         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34642         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34643         * iconvdata/Makefile (CPPFLAGS): Likewise.
34644         (cpp-srcs-left): Add libof for all iconvdata routines.
34645         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34646         * include/assert.h: Likewise.
34647         * include/ctype.h: Likewise.
34648         * include/errno.h: Likewise.
34649         * include/libc-symbols.h: Likewise.
34650         * include/math.h: Likewise.
34651         * include/netdb.h: Likewise.
34652         * include/resolv.h: Likewise.
34653         * include/stdio.h: Likewise.
34654         * include/stdlib.h: Likewise.
34655         * include/string.h: Likewise.
34656         * include/sys/stat.h: Likewise.
34657         * include/wctype.h: Likewise.
34658         * intl/l10nflist.c: Likewise.
34659         * libidn/idn-stub.c: Likewise.
34660         * libio/libioP.h: Likewise.
34661         * nptl/libc_multiple_threads.c: Likewise.
34662         * nptl/pthreadP.h: Likewise.
34663         * posix/regex_internal.h: Likewise.
34664         * resolv/res_hconf.c: Likewise.
34665         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34666         * sysdeps/arm/memmove.S: Likewise.
34667         * sysdeps/arm/sysdep.h: Likewise.
34668         * sysdeps/generic/_itoa.h: Likewise.
34669         * sysdeps/generic/symbol-hacks.h: Likewise.
34670         * sysdeps/gnu/errlist.awk: Likewise.
34671         * sysdeps/gnu/errlist.c: Likewise.
34672         * sysdeps/i386/i586/memcpy.S: Likewise.
34673         * sysdeps/i386/i586/memset.S: Likewise.
34674         * sysdeps/i386/i686/memcpy.S: Likewise.
34675         * sysdeps/i386/i686/memmove.S: Likewise.
34676         * sysdeps/i386/i686/mempcpy.S: Likewise.
34677         * sysdeps/i386/i686/memset.S: Likewise.
34678         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34679         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34680         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34681         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34682         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34683         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34684         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34685         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34686         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34687         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34688         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34689         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34690         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34691         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34692         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34693         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34694         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34695         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34696         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34697         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34698         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34699         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34700         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34701         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34702         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34703         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34704         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34705         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34706         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34707         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34708         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34709         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34710         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34711         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34712         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34714         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34715         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34716         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34717         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34718         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34719         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34720         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34721         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34722         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34723         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34724         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34725         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34726         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34727         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34728         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34729         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34730         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34731         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34732         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34733         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34734         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34735         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34736         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34737         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34738         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34739         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34740         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34741         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34742         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34743         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34744         * sysdeps/posix/closedir.c: Likewise.
34745         * sysdeps/posix/opendir.c: Likewise.
34746         * sysdeps/posix/readdir.c: Likewise.
34747         * sysdeps/posix/rewinddir.c: Likewise.
34748         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34749         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34750         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34751         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34752         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34753         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34754         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34755         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34756         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34757         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34758         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34759         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34760         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34761         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34762         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34763         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34764         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34765         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34766         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34767         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34768         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34769         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34770         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34771         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34772         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34773         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34776         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34783         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34784         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34785         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34786         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34787         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34788         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34789         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34790         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34791         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34792         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34793         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34794         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34795         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34796         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34797         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34798         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34799         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34800         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34801         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34802         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34803         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34804         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34805         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34806         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34807         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34808         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34809         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34810         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34811         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34812         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34813         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34814         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34815         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34816         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34817         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34818         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34819         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34820         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34821         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34822         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34823         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34824         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34825         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34826         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34827         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34828         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34829         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34830         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34831         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34832         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34833         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34834         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34835         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34836         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34837         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34838         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34839         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34840         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34841         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34842         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34843         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34844         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34845         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34846         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34847         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34848         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34849         * sysdeps/unix/alpha/sysdep.S: Likewise.
34850         * sysdeps/unix/alpha/sysdep.h: Likewise.
34851         * sysdeps/unix/make-syscalls.sh: Likewise.
34852         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34854         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34855         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34856         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34857         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34858         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34859         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34860         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34861         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34862         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34863         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34864         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34865         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34866         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34867         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34868         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34869         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34870         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34871         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34872         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34873         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34874         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34875         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34876         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34877         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34878         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34881         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34882         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34883         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34884         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34886         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34887         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34888         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34890         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34891         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34892         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34893         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34894         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34895         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34896         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34899         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34902         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34903         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34904         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34905         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34906         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34907         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34908         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34910         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34911         * sysdeps/x86_64/memcpy.S: Likewise.
34912         * sysdeps/x86_64/memmove.c: Likewise.
34913         * sysdeps/x86_64/memset.S: Likewise.
34914         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34915         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34916         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34917         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34918         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34919         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34920         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34921         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34922         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34923         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34924         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34925         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34926         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34927         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34928         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34929         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34930         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34931         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34932         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34933         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34934         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34935         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34936         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34937         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34938         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34939         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34940         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34941         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34942         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34943         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34944         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34945         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34946         * sysdeps/x86_64/strcmp.S: Likewise.
34948         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34950         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34951         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34952         * elf/rtld-Rules: Likewise.
34953         * elf/setup-vdso.h: Likewise.
34954         * include/assert.h: Likewise.
34955         * include/bits/stdlib-float.h: Likewise.
34956         * include/errno.h: Likewise.
34957         * include/sys/stat.h: Likewise.
34958         * include/unistd.h: Likewise.
34959         * sysdeps/aarch64/setjmp.S: Likewise.
34960         * sysdeps/alpha/setjmp.S: Likewise.
34961         * sysdeps/arm/__longjmp.S: Likewise.
34962         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34963         * sysdeps/arm/setjmp.S: Likewise.
34964         * sysdeps/arm/sysdep.h: Likewise.
34965         * sysdeps/generic/_itoa.h: Likewise.
34966         * sysdeps/generic/dl-sysdep.h: Likewise.
34967         * sysdeps/generic/ldsodefs.h: Likewise.
34968         * sysdeps/i386/dl-tls.h: Likewise.
34969         * sysdeps/i386/setjmp.S: Likewise.
34970         * sysdeps/m68k/setjmp.c: Likewise.
34971         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34972         * sysdeps/mach/hurd/opendir.c: Likewise.
34973         * sysdeps/posix/getcwd.c: Likewise.
34974         * sysdeps/posix/opendir.c: Likewise.
34975         * sysdeps/posix/profil.c: Likewise.
34976         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34977         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34978         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34979         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34980         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34981         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34982         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34983         * sysdeps/s390/dl-tls.h: Likewise.
34984         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34985         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34986         * sysdeps/sh/sh3/setjmp.S: Likewise.
34987         * sysdeps/sh/sh4/setjmp.S: Likewise.
34988         * sysdeps/unix/alpha/sysdep.h: Likewise.
34989         * sysdeps/unix/arm/sysdep.S: Likewise.
34990         * sysdeps/unix/i386/sysdep.S: Likewise.
34991         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34992         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34993         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34994         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34996         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34997         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34998         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34999         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35000         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35001         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
35002         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35003         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35006         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35008         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35009         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35010         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35011         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35012         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35014         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35015         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35016         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35017         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35018         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35019         * sysdeps/x86_64/setjmp.S: Likewise.
35021         * include/math.h: Use IS_IN instead of IS_IN_libm.
35022         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35023         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35024         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35025         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35027         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35028         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35029         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35030         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35031         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35032         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35033         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35034         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35035         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35036         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35037         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35038         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35039         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35040         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35041         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35042         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35043         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35044         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35045         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35046         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35047         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35048         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35049         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35050         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35051         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35052         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35053         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35054         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35056         Likewise.
35057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35058         Likewise.
35059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35060         Likewise.
35061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35062         Likewise.
35063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35064         Likewise.
35065         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35066         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35067         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35068         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35069         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35070         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35076         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35077         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35078         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35079         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35080         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35081         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35082         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35083         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35084         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35085         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35086         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35087         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35089         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35091         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35093         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35094         * nptl/pthreadP.h: Likewise.
35095         * nptl_db/structs.def: Likewise.
35096         * sysdeps/arm/sysdep.h: Likewise.
35097         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35098         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35099         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35100         * sysdeps/unix/alpha/sysdep.h: Likewise.
35101         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35103         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35104         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35105         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35106         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35108         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35109         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35110         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35111         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35112         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35113         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35114         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35119         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35122         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35123         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35124         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35125         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35126         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35128         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35129         * nptl/pthreadP.h: Likewise.
35130         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35131         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35132         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35133         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35134         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35135         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35136         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35137         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35138         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35139         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35140         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35141         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35143         Likewise.
35144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35145         Likewise.
35146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35148         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35151         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35152         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35153         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35155         * dlfcn/dladdr.c: Use IS_IN.
35156         * dlfcn/dladdr1.c: Likewise.
35157         * dlfcn/dlclose.c: Likewise.
35158         * dlfcn/dlerror.c: Likewise.
35159         * dlfcn/dlinfo.c: Likewise.
35160         * dlfcn/dlmopen.c: Likewise.
35161         * dlfcn/dlopen.c: Likewise.
35162         * dlfcn/dlsym.c: Likewise.
35163         * dlfcn/dlvsym.c: Likewise.
35165         * include/ifaddrs.h: Use IS_IN.
35166         * inet/check_pf.c: Likewise.
35167         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35168         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35170         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35171         IS_IN_ldconfig.
35172         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35173         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35175         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35176         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35177         IS_IN (libc).
35179         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35181         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35182         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35183         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35184         * include/libc-symbols.h (IS_IN_LIB): New macro.
35185         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35186         * include/netdb.h: Likewise.
35187         * include/stap-probe.h: Remove all uses of IN_LIB.
35189         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35190         instead of IN_MODULE.
35191         * include/libc-symbols.h (IN_MODULE): Define using
35192         MODULE_NAME.
35193         (PASTE_NAME, PASTE_NAME1): New macros.
35194         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35195         of IN_LIB.
35196         (STAP_PROBE_ASM): Likewise.
35198 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35200         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35201         __mach_init in dlopened libc.
35203 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35205         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35206         * sysdeps/arm/preconfigure: Regenerate.
35208 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35210         * nptl/pthread_create.c (__pthread_create_2_1): Set
35211         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35212         when copying values from IATTR into PD.
35214 2014-11-21  Will Newton  <will.newton@linaro.org>
35215             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35217         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35218         Refactor inline-asm.  Also add comment.
35220         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35221         ElfW macro instead of hardcoded Elf64 types.
35222         (la_aarch64_gnu_pltenter): Likewise.
35223         * sysdeps/aarch64/dl-machine.h
35224         (elf_machine_runtime_setup): Use ElfW(Addr).
35226         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35227         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35228         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35229         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35230         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35231         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35232         (R_AARCH64_TLS_DTPMOD): This.
35233         (R_AARCH64_TLS_DTPREL64): Rename to ...
35234         (R_AARCH64_TLS_DTPREL): This.
35235         (R_AARCH64_TLS_TPREL64): Rename to ...
35236         (R_AARCH64_TLS_TPREL): This.
35237         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35238         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35239         R_AARCH64_TLS_TPREL64.
35240         (elf_machine_rela): Likewise.
35242 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35244         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35245         by setting it to 0.  64b atomics are not supported currently.
35247 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35249         [BZ #16469]
35250         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35251         search domain names.
35253 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35255         [BZ #16469]
35256         * NEWS: Update.
35257         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35258         trailing dot.
35259         * posix/tst-getaddrinfo5.c: New.
35260         * posix/Makefile (tests): Add it.
35262 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35264         [BZ #14498]
35265         * NEWS: Fixed.
35266         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35267         after parsing line but before break_if_match.
35268         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35269         if there is a protocol mismatch.
35271 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35273         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35274         because the potential race is on the user-supplied stream.
35276 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35278         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35279         string literal if not passed a buffer.
35280         * manual/job.texi (ctermid): Update reasoning, note deviation
35281         from posix, suggest mtasurace when not passed a buffer, for
35282         future non-preliminary safety notes.
35284 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35286         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35287         of not passing it a buffer.
35288         Reported by Peng Haitao.
35290 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35292         * manual/Makefile ($(objpfx)stamp-summary): Require
35293         check-safety.sh to pass.
35294         * manual/check-safety.sh: Wish for verification that every
35295         @deftypefn and @deftypefun is followed by a @safety remark.
35297 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35299         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35301         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35302         PTHREAD_CANCEL_ASYNCHRONOUS.
35303         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35304         send SIGCANCEL.
35306         * nptl/default-sched.h: New file.
35307         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35308         * nptl/pthread_create.c: Include it.
35309         (__pthread_create_2_1): Use collect_default_sched instead of making
35310         Linux syscalls here directly.
35312 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35314         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35315         __pthread_once): Use C11 atomics.
35317 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35319         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35321 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35323         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35324         atomic_thread_fence_acquire, atomic_thread_fence_release,
35325         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35326         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35327         atomic_compare_exchange_weak_relaxed,
35328         atomic_compare_exchange_weak_acquire,
35329         atomic_compare_exchange_weak_release,
35330         atomic_exchange_acquire, atomic_exchange_release,
35331         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35332         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35333         atomic_fetch_and_acquire,
35334         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35336 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35338         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35339         USE_ATOMIC_COMPILER_BUILTINS): Define.
35340         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35342         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35344         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
35345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35346         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
35347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35348         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
35349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35350         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
35351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35352         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
35353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35354         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35356         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35358         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35360         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
35361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35362         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35364         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
35365         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35366         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35367         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35368         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
35369         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35370         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
35371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35372         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
35373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35374         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35375         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35376         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
35377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35378         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
35379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35381 2014-11-19  Roland McGrath  <roland@hack.frob.com>
35383         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
35384         the sched_priority value here.  It was already checked when the user
35385         called pthread_attr_setschedparam.
35387         * nptl/tst-bad-schedattr.c: New file.
35388         * nptl/Makefile (tests): Add it.
35390 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
35391             Florian Weimer  <fweimer@redhat.com>
35392             Joseph Myers  <joseph@codesourcery.com>
35393             Adam Conrad  <adconrad@0c3.net>
35394             Andreas Schwab  <schwab@suse.de>
35395             Brooks  <bmoses@google.com>
35397         [BZ #17625]
35398         * wordexp-test.c (__dso_handle): Add prototype.
35399         (__register_atfork): Likewise.
35400         (__app_register_atfork): New function.
35401         (registered_forks): New global.
35402         (register_fork): New function.
35403         (test_case): Add 3 new tests for WRDE_CMDSUB.
35404         (main): Call __app_register_atfork.
35405         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
35406         fork count is non-zero fail the test.
35407         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
35408         is set.
35409         (parse_dollars): Remove check for WRDE_NOCMD.
35410         (parse_dquote): Likewise.
35412 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35414         * Makeconfig (built-modules): List non-library modules to be
35415         built.
35416         (module-cppflags): Include libc-modules.h for
35417         everything except shlib-versions.v.i.
35418         (CPPFLAGS): Use it.
35419         (before-compile): Add libc-modules.h.
35420         ($(common-objpfx)libc-modules.h,
35421         $(common-objpfx)libc-modules.stmp): New targets.
35422         (common-generated): Add libc-modules.h and libc-modules.stmp.
35423         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35424         * include/libc-symbols.h: Don't include libc-modules.h.
35425         * include/libc-modules.h: Remove file.
35426         * scripts/gen-libc-modules.awk: New script to generate
35427         libc-modules.h.
35428         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35429         Depend on libc-modules.stmp.
35431         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35433         * Makeconfig (in-module): Get value of libof set for the
35434         translation unit.
35435         (CPPFLAGS): Use $(in-module).
35436         * Makerules: Don't suffix routine names for nonlib.
35437         * include/libc-modules.h: New file.
35438         * include/libc-symbols.h: Include libc-modules.h
35439         (IS_IN): New macro to replace IS_IN_* macros.
35440         * elf/Makefile: Set libof-* for each routine.
35441         * elf/rtld-Rules: Likewise.
35442         * extra-modules.mk: Likewise.
35443         * iconv/Makefile: Likewise.
35444         * iconvdata/Makefile: Likewise.
35445         * locale/Makefile: Likewise.
35446         * malloc/Makefile: Likewise.
35447         * nss/Makefile: Likewise.
35448         * sysdeps/gnu/Makefile: Likewise.
35449         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35450         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35451         * sysdeps/s390/s390-64/Makefile: Likewise.
35452         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35453         CPPFLAGS for nscd instead of nonlib.
35455 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35457         * nptl/createthread.c: New file.
35459         * nptl/createthread.c: Moved ...
35460         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35462         * nptl/createthread.c: Add proper top-line comment.
35463         (do_clone): Folded into ...
35464         (create_thread): ... here.  Take new arguments STOPPED_START and
35465         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35466         increment __nptl_threads, do event-reporting logic, do
35467         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35468         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35469         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35470         just send SIGCANCEL.
35471         * nptl/pthread_create.c: Forward-declare create_thread before
35472         including createthread.c.
35473         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35474         declaration, and new macro START_THREAD_SELF to replace argument.
35475         Remove return statement.
35476         (report_thread_creation): New function.
35477         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35478         synchronization logic, and __nptl_nthreads increment here, around
35479         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35480         PD->parent_cancelhandling here, before create_thread.  When
35481         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35482         __deallocate_stack, and ENOMEM translation here.
35484 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35486         [BZ #17616]
35487         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35488         (mptwo): Rename to __mptwo.
35489         (__inv): Use __mptwo instead of mptwo.
35490         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35491         (mptwo): Rename to __mptwo.
35492         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35493         of mpone and __mptwo instead of mptwo.
35494         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35495         instead of mpone.
35496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35497         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35498         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35499         of mpone and __mptwo instead of mptwo.
35500         (__mpranred): Use __mpone instead of mpone.
35501         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35502         variable.
35503         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35504         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35505         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35506         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35507         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35508         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35509         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35510         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35511         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35512         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35513         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35514         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35515         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35516         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35517         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35518         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35519         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35520         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35521         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35523 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35525         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35526         replace BSD Handler xref with BSD Signal Handling.
35528 2014-11-17  Richard Henderson  <rth@redhat.com>
35530         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35531         (_FP_PACK_RAW_2): Remove.
35532         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35533         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35534         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35535         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35536         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35537         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35538         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35539         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35540         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35541         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35542         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35543         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35544         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35545         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35546         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35547         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35549 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35551         * signal/signal.h [__USE_MISC]
35552         (struct sigvec): Remove type.
35553         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35554         (sigvec): Remove declaration.
35555         * sysdeps/posix/sigvec.c: Moved ...
35556         * signal/sigvec.c: ... here, replacing old file.
35557         (struct sigvec): New type, copied from old signal.h definition.
35558         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35559         (__sigvec): Convert definition to prototype.
35560         (sigvec): Replace weak_alias with compat_symbol.
35561         * signal/Versions (libc: GLIBC_2.21): New version set.
35562         * include/signal.h: Remove __sigvec declaration.
35563         * sysdeps/unix/bsd/sigvec.c: Remove file.
35564         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35565         * manual/signal.texi (BSD Handler): Remove subsection.
35566         Move siginterrupt up to ...
35567         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35568         (Blocking in BSD): Fold subsection into its parent.
35569         * NEWS: Mention sigvec removal.
35571 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35573         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35574         (DLA_FMS): Make definition conditional only on [__FMA4__].
35575         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35576         definition.
35578         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35579         Make definition conditional only on [PROF].
35580         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35581         definition.
35582         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35583         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35585         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35586         !__GNUC__].
35587         * include/signal.h (__sigpause): Move declaration above call to
35588         libc_hidden_proto.
35589         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35590         variable.
35591         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35592         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35594 2014-11-14  David S. Miller  <davem@davemloft.net>
35596         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35597         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35599 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35601         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35602         * configure: Regenerated.
35603         * manual/install.texi (Tools for Compilation): Document a
35604         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35605         compiler verified to work.
35606         * INSTALL: Regenerated.
35608         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35609         redeclare with asm name.
35610         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35611         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35612         including <string.h>.
35613         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35614         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35615         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35616         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35617         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35619         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35621 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35623         * stdlib/strtol.c (__strtol): Use prototype definition.
35625         [BZ #17594]
35626         * stdlib/strtol.c (SYM__): New macro.
35627         (SYM__1): Likewise.
35628         (__strtol): Likewise.
35629         (strtol): Rename to __strtol and define as weak alias of
35630         __strtol.  Use libc_hidden_weak.
35632 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35634         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35635         Use numbered labels in inline assembly.
35637 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35639         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35640         Add setjmp LIBC_PROBE.
35641         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35642         Likewise.
35643         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35644         Add longjmp, longjmp_target LIBC_PROBE.
35645         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35646         Likewise.
35648 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35651         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35652         to get rid of unused variable warning.
35654 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35656         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35657         Check for unwind_backtrace ==  NULL only in SHARED case.
35658         (__backchain_backtrace): Compile only in SHARED case.
35659         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35660         Likewise.
35661         (__backchain_backtrace): Declare as static.
35663 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35665         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35666         (__libc_multiple_threads_ptr): Variable moved ...
35667         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35669 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35671         * conform/GlibcConform.pm: New file.
35672         * conform/conformtest.pl: Use GlibcConform module.
35673         * conform/linknamespace.pl: New file.
35674         * conform/list-header-symbols.pl: Likewise.
35675         * conform/Makefile (linknamespace-symlists-base): New variable.
35676         (linknamespace-symlists-tests): Likewise.
35677         (linknamespace-header-base): Likewise.
35678         (linknamespace-header-tests): Likewise.
35679         (tests-special): Add new tests.
35680         ($(linknamespace-symlists-tests)): New rule.
35681         (linknamespace-libs): New variable.
35682         ($(objpfx)symlist-stdlibs): New rule.
35683         ($(linknamespace-header-tests)): Likewise.
35684         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35685         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35686         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35687         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35688         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35689         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35690         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35691         (test-xfail-ISO/math.h/linknamespace): Likewise.
35692         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35693         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35694         (test-xfail-ISO/time.h/linknamespace): Likewise.
35695         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35696         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35697         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35698         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35699         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35700         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35701         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35702         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35703         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35704         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35705         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35706         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35707         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35708         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35709         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35710         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35711         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35712         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35713         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35714         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35715         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35716         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35717         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35718         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35719         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35720         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35721         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35722         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35723         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35724         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35725         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35726         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35727         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35728         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35729         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35730         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35731         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35732         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35733         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35734         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35735         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35736         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35737         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35738         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35739         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35740         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35741         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35742         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35743         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35744         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35745         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35746         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35747         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35748         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35749         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35750         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35751         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35752         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35753         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35754         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35755         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35756         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35757         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35758         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35759         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35760         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35761         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35762         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35763         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35764         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35765         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35766         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35767         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35768         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35769         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35770         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35771         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35772         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35773         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35774         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35775         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35776         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35777         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35778         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35779         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35780         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35781         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35782         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35783         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35784         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35785         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35786         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35787         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35788         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35789         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35790         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35791         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35792         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35793         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35794         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35795         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35796         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35797         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35798         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35799         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35800         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35801         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35802         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35803         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35804         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35805         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35806         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35807         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35808         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35809         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35810         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35811         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35812         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35813         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35814         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35815         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35816         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35817         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35818         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35819         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35820         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35821         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35822         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35823         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35824         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35825         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35826         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35827         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35828         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35829         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35830         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35831         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35832         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35833         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35834         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35835         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35836         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35837         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35838         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35839         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35840         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35841         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35842         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35843         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35844         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35846         [BZ #17589]
35847         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35848         of fgets_unlocked.
35850         [BZ #17585]
35851         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35852         (memmem): Rename to __memmem and define as weak alias of
35853         __memmem.  Use libc_hidden_weak.
35854         (__memmem): Use libc_hidden_def.
35855         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35856         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35857         memmem.
35859         [BZ #17582]
35860         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35861         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35862         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35863         and define as weak alias of __fgets_unlocked.  Use
35864         libc_hidden_weak.
35865         (__fgets_unlocked): Use libc_hidden_def.
35866         * include/stdio.h (__fgets_unlocked): Declare.  Use
35867         libc_hidden_proto.
35868         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35869         __fgets_unlocked instead of fgets_unlocked.
35870         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35871         (GET_NPROCS_CONF_PARSER): Likewise.
35872         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35873         (GET_NPROCS_CONF_PARSER): Likewise.
35875         [BZ #17574]
35876         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35877         weak alias of __wmemset.  Use libc_hidden_weak.
35878         (__wmemset): Use libc_hidden_def.
35879         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35880         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35881         of wmemset.
35883         [BZ #17573]
35884         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35885         with asm name __mempcpy.
35886         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35888         [BZ #17572]
35889         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35890         and define as weak alias of __rawmemchr.
35891         (__rawmemchr): Do not define as strong alias of rawmemchr.
35893         [BZ #17571]
35894         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35895         alias of __qsort_r.
35896         (qsort): Call __qsort_r instead of qsort_r.
35897         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35898         (__qsort_r): Declare.  Call libc_hidden_proto.
35899         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35900         instead of qsort_r.
35901         * nscd/gai.c (__qsort_r): Define to qsort_r.
35902         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35903         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35904         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35906         [BZ #17570]
35907         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35908         define as weak alias of __malloc_info.
35910         [BZ #17584]
35911         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35912         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35913         (__rewinddir): Use libc_hidden_def.
35914         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35915         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35916         (__rewinddir): Use libc_hidden_def.
35917         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35918         weak alias of __rewinddir.  Don't use libc_hidden_def.
35919         (__rewinddir): Use libc_hidden_def.
35920         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35921         (__rewinddir): Use libc_hidden_proto.
35922         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35923         rewinddir.
35924         (__getcwd): Use __rewinddir instead of rewinddir.
35926         [BZ #17583]
35927         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35928         alias of __fileno.  Use libc_hidden_weak.
35929         (__fileno): Use libc_hidden_def.
35930         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35931         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35932         alias of __ftello.
35933         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35934         __ftello.
35935         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35936         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35937         libc_hidden_def.
35938         (fread_unlocked): Don't use libc_hidden_ver.
35939         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35940         and define as weak alias of __fread_unlocked.  Don't use
35941         libc_hidden_def.
35942         (__fread_unlocked): Use libc_hidden_def.
35943         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35944         (ftello): Don't use libc_hidden_proto.
35945         (__ftello): Declare.  Use libc_hidden_proto.
35946         (fread_unlocked): Don't use libc_hidden_proto.
35947         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35948         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35949         and __ftello instead of fileno, fread_unlocked and ftello.
35951 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35953         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35954         GOT12.
35955         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35956         Likewise.
35957         (_dl_start_user): Likewise.
35958         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35960 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35961             Siddhesh Poyarekar  <siddhesh@redhat.com>
35963         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35964         Move argv and envp down instead of moving argc up.
35965         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35967 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35969         [BZ #17506]
35970         * test-skeleton.c (main): Return successful if one of
35971         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35972         * string/tst-strcoll-overflow.c: Define expected status.
35974 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35976         [BZ #17475]
35977         * locale/iso-639.def: Define Bhili and Tulu language codes.
35979 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35981         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35983 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35985         [BZ #17555]
35986         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35988 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35990         * configure.ac: Updated check of minimal required version to
35991         2.22.
35992         * manual/install.texi (Tools for Compilation): Updated version
35993         number.
35994         * configure: Regenerated.
35995         * INSTALL: Likewise.
35997 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35999         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
36000         __tls_get_addr.
36002 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
36004         * include/sys/wait.h (__libc_waitpid): Remove declaration.
36005         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
36006         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36007         libc_hidden_weak.
36008         (waitpid): Define as alias of __waitpid.
36009         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36010         __waitpid.
36011         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36012         libc_hidden_weak.
36013         (waitpid): Define as alias of __waitpid.
36014         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36015         __libc_waitpid alias.
36016         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36017         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36018         Likewise.
36019         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36020         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36021         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36022         alias.
36023         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36024         __waitpid.
36025         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36026         libc_hidden_weak.
36027         (waitpid): Define as alias of __waitpid.
36029 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36031         * manual/llio.texi: Add comment that write safety has been
36032         fixed in Linux.
36034         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36035         (localplt-build-dso): Add elf/ld.so.
36036         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36037         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36038         and free for ld.so.
36039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36040         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36042         Likewise.
36043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36044         Likewise.
36045         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36046         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36047         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36048         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36049         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36050         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36051         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36052         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36053         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36054         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36055         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36057 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36059         [BZ #14132]
36060         * include/libc-symbols.h (INTUSE): Remove macro.
36061         (INTDEF): Likewise.
36062         (INTVARDEF): Likewise.
36063         (_INTVARDEF): Likewise.
36064         (INTDEF2): Likewise.
36065         (INTVARDEF2): Likewise.
36066         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36067         rtld_hidden_def instead of INTVARDEF.
36068         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36069         (_dl_starting_up_internal): Remove declaration.
36070         (_dl_starting_up): Use rtld_hidden_proto.
36071         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36072         declaration.
36073         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36074         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36075         _dl_starting_up.
36076         * elf/dl-writev.h (_dl_writev): Likewise.
36077         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36078         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36079         _dl_starting_up_internal.
36081 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36083         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36084         test-skeleton.c.
36086 2014-11-05  Will Newton  <will.newton@linaro.org>
36088         * benchtests/Makefile: (bench-malloc): Add malloc thread
36089         scalability benchmark.
36090         * benchtests/bench-malloc-threads.c: New file.
36092 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36094         * sysdeps/aarch64/strchrnul.S: New file.
36096 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36098         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36099         definition.
36100         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36101         Likewise.
36102         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36103         Likewise.
36104         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36105         Likewise.
36106         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36107         Likewise.
36108         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36109         Likewise.
36111 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36113         * catgets/test-gencat.c: Use test-skeleton.c.
36114         * catgets/tst-catgets.c: Likewise.
36115         * csu/tst-empty.c: Likewise.
36116         * elf/tst-audit2.c: Likewise.
36117         * elf/tst-global1.c: Likewise.
36118         * elf/tst-pathopt.c: Likewise.
36119         * elf/tst-piemod1.c: Likewise.
36120         * elf/tst-tls10.c: Likewise.
36121         * elf/tst-tls11.c: Likewise.
36122         * elf/tst-tls12.c: Likewise.
36123         * gnulib/tst-gcc.c: Likewise.
36124         * iconvdata/tst-e2big.c: Likewise.
36125         * iconvdata/tst-loading.c: Likewise.
36126         * iconv/tst-iconv1.c: Likewise.
36127         * iconv/tst-iconv2.c: Likewise.
36128         * inet/test-inet6_opt.c: Likewise.
36129         * inet/tst-gethnm.c: Likewise.
36130         * inet/tst-network.c: Likewise.
36131         * inet/tst-ntoa.c: Likewise.
36132         * intl/tst-codeset.c: Likewise.
36133         * intl/tst-gettext2.c: Likewise.
36134         * intl/tst-gettext3.c: Likewise.
36135         * intl/tst-ngettext.c: Likewise.
36136         * intl/tst-translit.c: Likewise.
36137         * io/test-stat.c: Likewise.
36138         * libio/test-fmemopen.c: Likewise.
36139         * libio/tst-freopen.c: Likewise.
36140         * libio/tst-sscanf.c: Likewise.
36141         * libio/tst-ungetwc1.c: Likewise.
36142         * libio/tst-ungetwc2.c: Likewise.
36143         * libio/tst-widetext.c: Likewise.
36144         * localedata/tst-ctype.c: Likewise.
36145         * localedata/tst-digits.c: Likewise.
36146         * localedata/tst-leaks.c: Likewise.
36147         * localedata/tst-mbswcs1.c: Likewise.
36148         * localedata/tst-mbswcs2.c: Likewise.
36149         * localedata/tst-mbswcs3.c: Likewise.
36150         * localedata/tst-mbswcs4.c: Likewise.
36151         * localedata/tst-mbswcs5.c: Likewise.
36152         * localedata/tst-setlocale.c: Likewise.
36153         * localedata/tst-trans.c: Likewise.
36154         * localedata/tst-wctype.c: Likewise.
36155         * localedata/tst-xlocale1.c: Likewise.
36156         * login/tst-grantpt.c: Likewise.
36157         * malloc/tst-calloc.c: Likewise.
36158         * malloc/tst-malloc.c: Likewise.
36159         * malloc/tst-mallocstate.c: Likewise.
36160         * malloc/tst-mcheck.c: Likewise.
36161         * malloc/tst-mtrace.c: Likewise.
36162         * malloc/tst-obstack.c: Likewise.
36163         * math/atest-exp2.c: Likewise.
36164         * math/atest-exp.c: Likewise.
36165         * math/atest-sincos.c: Likewise.
36166         * math/test-matherr.c: Likewise.
36167         * math/test-misc.c: Likewise.
36168         * math/test-powl.c: Likewise.
36169         * math/tst-definitions.c: Likewise.
36170         * misc/tst-dirname.c: Likewise.
36171         * misc/tst-efgcvt.c: Likewise.
36172         * misc/tst-fdset.c: Likewise.
36173         * misc/tst-hsearch.c: Likewise.
36174         * misc/tst-mntent2.c: Likewise.
36175         * nptl/tst-sem7.c: Likewise.
36176         * nptl/tst-sem8.c: Likewise.
36177         * nptl/tst-sem9.c: Likewise.
36178         * nss/test-netdb.c: Likewise.
36179         * posix/tst-fnmatch.c: Likewise.
36180         * posix/tst-getlogin.c: Likewise.
36181         * posix/tst-gnuglob.c: Likewise.
36182         * posix/tst-mmap.c: Likewise.
36183         * pwd/tst-getpw.c: Likewise.
36184         * resolv/tst-inet_ntop.c: Likewise.
36185         * rt/tst-timer.c: Likewise.
36186         * stdio-common/test-fseek.c: Likewise.
36187         * stdio-common/test-popen.c: Likewise.
36188         * stdio-common/test-vfprintf.c: Likewise.
36189         * stdio-common/tst-cookie.c: Likewise.
36190         * stdio-common/tst-fileno.c: Likewise.
36191         * stdio-common/tst-gets.c: Likewise.
36192         * stdio-common/tst-obprintf.c: Likewise.
36193         * stdio-common/tst-perror.c: Likewise.
36194         * stdio-common/tst-sprintf2.c: Likewise.
36195         * stdio-common/tst-sprintf3.c: Likewise.
36196         * stdio-common/tst-sprintf.c: Likewise.
36197         * stdio-common/tst-swprintf.c: Likewise.
36198         * stdio-common/tst-tmpnam.c: Likewise.
36199         * stdio-common/tst-unbputc.c: Likewise.
36200         * stdio-common/tst-wc-printf.c: Likewise.
36201         * stdlib/tst-environ.c: Likewise.
36202         * stdlib/tst-fmtmsg.c: Likewise.
36203         * stdlib/tst-limits.c: Likewise.
36204         * stdlib/tst-rand48-2.c: Likewise.
36205         * stdlib/tst-rand48.c: Likewise.
36206         * stdlib/tst-random2.c: Likewise.
36207         * stdlib/tst-random.c: Likewise.
36208         * stdlib/tst-strtol.c: Likewise.
36209         * stdlib/tst-strtoll.c: Likewise.
36210         * stdlib/tst-tls-atexit.c: Likewise.
36211         * stdlib/tst-xpg-basename.c: Likewise.
36212         * string/test-ffs.c: Likewise.
36213         * string/tst-bswap.c: Likewise.
36214         * string/tst-inlcall.c: Likewise.
36215         * string/tst-strtok.c: Likewise.
36216         * string/tst-strxfrm.c: Likewise.
36217         * sysdeps/x86_64/tst-audit10.c: Likewise.
36218         * sysdeps/x86_64/tst-audit3.c: Likewise.
36219         * sysdeps/x86_64/tst-audit4.c: Likewise.
36220         * sysdeps/x86_64/tst-audit5.c: Likewise.
36221         * time/tst-ftime_l.c: Likewise.
36222         * time/tst-getdate.c: Likewise.
36223         * time/tst-mktime3.c: Likewise.
36224         * time/tst-mktime.c: Likewise.
36225         * time/tst-posixtz.c: Likewise.
36226         * time/tst-strptime2.c: Likewise.
36227         * time/tst-strptime3.c: Likewise.
36228         * wcsmbs/tst-btowc.c: Likewise.
36229         * wcsmbs/tst-mbrtowc.c: Likewise.
36230         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36231         * wcsmbs/tst-wchar-h.c: Likewise.
36232         * wcsmbs/tst-wcpncpy.c: Likewise.
36233         * wcsmbs/tst-wcrtomb.c: Likewise.
36234         * wcsmbs/tst-wcsnlen.c: Likewise.
36235         * wcsmbs/tst-wcstof.c: Likewise.
36237 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36239         [BZ #14132]
36240         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36241         INTDEF.
36242         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36243         declaration.
36244         (_dl_mcount): Use rtld_hidden_proto.
36245         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36246         _dl_mcount.
36247         * elf/rtld.c (_rtld_global_ro): Likewise.
36249         [BZ #14132]
36250         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36251         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36252         of _dl_init_internal.
36253         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36254         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36255         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36256         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36257         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36258         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36259         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36260         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36261         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36262         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36263         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36264         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36265         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36266         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36267         * sysdeps/tile/dl-start.S (_start): Likewise.
36268         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36269         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36271         [BZ #14132]
36272         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36273         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36274         (rtld_progname): Make macro definition unconditional.
36275         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36276         INTDEF.
36277         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36278         (dl_main): Likewise.
36279         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36280         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36281         instead of _dl_argv_internal.
36282         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36283         __GI__dl_argv instead of INTUSE(_dl_argv).
36284         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36285         __GI__dl_argv instead of _dl_argv_internal.
36287         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36288         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36289         macro.
36290         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36291         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36292         New macro.
36293         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36294         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36295         macro.
36296         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36297         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36299 2014-11-04  Andreas Schwab  <schwab@suse.de>
36301         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36303 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36305         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36306         mtvsrd instruction in binary form.
36308 2014-11-03  Andreas Schwab  <schwab@suse.de>
36310         [BZ #17522]
36311         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36312         for less than MB_LEN_MAX use a local buffer of that size.
36313         * libio/tst-fputws.c: New file.
36314         * libio/Makefile (tests): Add tst-fputws.
36316 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36318         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36319         the size of the fpu_fr.fpu_dregs[] array.
36321 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36323         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36324         (__nanosleep): Do not define as alias.
36325         (nanosleep): Define as alias of __nanosleep.
36326         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36327         __libc_nanosleep name.
36329 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36331         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36332         install.texi in comment.
36334 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36336         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36337         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36338         ... add here and use lwsync or sync ...
36339         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36340         ... and add here using lwsync.
36342 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36344         * elf/dl-machine-reject-phdr.h: New file.
36345         * elf/dl-load.c: #include that.
36346         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
36347         if that returned true.
36349 2014-10-31  Roland McGrath  <roland@hack.frob.com>
36351         [BZ #17496]
36352         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
36353         gen-as-const-headers chunk.  Add a big scare comment after the last
36354         safe place to touch before-compile.
36356 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36358         * manual/install.texi (Tools for Compilation): Update autoconf
36359         version requirements.
36360         * INSTALL: Regenerated.
36362         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
36363         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
36364         (__libc_pselect): Likewise.
36366         [BZ #14138]
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
36368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36372 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36374         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
36375         correct barrier instruction.
36376         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
36377         Likewise.
36378         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
36379         Likewise.
36381 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36383         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
36384         after defining inlines.  Instead, just use parens to defeat macro
36385         expansion of __isctype in its declaration.
36387 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36389         * include/sys/uio.h (__libc_readv): Remove declaration.
36390         (__libc_writev): Likewise.
36391         * misc/readv.c (__libc_readv): Rename to __readv.
36392         (__readv): Do not define as alias.
36393         (readv): Define as alias of __readv.
36394         * misc/writev.c (__libc_writev): Rename to __writev.
36395         (__writev): Do not define as alias.
36396         (writev): Define as alias of __writev.
36397         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
36398         (__readv): Do not define as alias.
36399         (readv): Define unconditionally as alias of __readv.
36400         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
36401         (__writev): Do not define as alias.
36402         (writev): Define unconditionally as alias of __writev.
36403         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
36404         name.
36405         (writev): Do not define __libc_writev name.
36407 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36409         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
36410         (convert_charseq): New function, broken out of ...
36411         (use_from_charmap): ... here.  Call it.
36412         (use_to_charmap): Use convert_charseq and free instead of duplicating
36413         its code with a variable-length stack struct.
36415 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36417         * include/fcntl.h (__libc_creat): Remove declaration.
36418         * io/creat.c (__libc_creat): Rename to creat.
36419         (creat): Do not define as alias.
36420         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
36421         of creat instead of __libc_creat.
36422         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36423         to creat.
36424         (creat): Do not define as alias.
36425         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36426         __libc_creat.
36427         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36428         __libc_creat name.
36429         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36430         Likewise.
36432 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36434         * manual/llio.texi: Add comments discussing why write() may be
36435         considered MT-unsafe on Linux.
36437 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36439         * dl-load.c (local_strdup): Remove.
36440         (expand_dynamic_string_token): Use __strdup.
36441         (decompose_rpath): Likewise.
36442         (_dl_map_object): Likewise.
36444 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36446         [BZ #14132]
36447         * sysdeps/generic/unwind-dw2-fde.c
36448         (__register_frame_info_bases_internal): Do not declare.
36449         (__register_frame_info_table_bases_internal): Likewise.
36450         (__deregister_frame_info_bases_internal): Likewise.
36451         (__register_frame_info_bases): Declare and use hidden_proto before
36452         definition.  Use hidden_def instead of INTDEF.
36453         (__register_frame_info_table_bases): Likewise.
36454         (__deregister_frame_info_bases): Likewise.
36455         (__register_frame_info): Do not use INTUSE.
36456         (__register_frame): Likewise.
36457         (__register_frame_info_table): Likewise.
36458         (__register_frame_table): Likewise.
36459         (__deregister_frame_info): Likewise.
36460         (__deregister_frame): Likewise.
36462 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36464         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36465         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36466         not undefine.
36467         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36468         Likewise.
36469         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36470         Likewise.
36472 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36474         [BZ #14138]
36475         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36476         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36477         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36478         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36479         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36480         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36481         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36482         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36483         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36484         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36485         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36486         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36487         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36488         syscall.
36489         (setfsuid): Likewise.
36490         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36491         (setfsuid): Likewise.
36492         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36493         (setfsuid): Likewise.
36494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36495         Likewise.
36496         (setfsuid): Likewise.
36497         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36498         (setfsuid): Likewise.
36499         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36500         Likewise.
36501         (setfsuid): Likewise.
36503 2014-10-27  Andreas Schwab  <schwab@suse.de>
36505         [BZ #17501]
36506         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36507         check for Slow_SSE4_2 feature bit.
36508         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36509         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36510         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36511         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36513 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36515         * configure.ac: Validate compiler version with a empirical test of
36516         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36517         $CC -v output.
36518         * configure: Regenerated.
36520         * inet/htons.c (htons): Prototypify.
36521         * inet/htonl.c (htonl): Likewise.
36523 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36525         * string/strncat.c (strncat): Improve performance by using strlen.
36527 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36529         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36531 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36533         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36534         Call libc_fetestexcept_aarch64.
36536 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36538         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36539         Call libc_feholdexcept_aarch64.
36541 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36543         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36544         Call get_rounding_mode.
36546 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36548         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36549         Simplify logic.
36551 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36553         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36554         Simplify logic.
36556 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36558         [BZ #14138]
36559         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36560         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36561         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36562         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36563         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36564         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36565         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36566         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36567         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36568         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36569         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36570         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36571         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36572         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36573         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36574         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36575         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36576         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36577         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36578         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36579         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36580         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36581         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36582         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36583         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36584         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36585         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36586         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36587         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36588         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36589         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36590         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36591         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36592         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36593         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36594         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36595         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36596         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36597         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36598         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36599         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36600         syscall.
36601         (geteuid): Likewise.
36602         (getgid): Likewise.
36603         (getuid): Likewise.
36604         (getresgid): Likewise.
36605         (getresuid): Likewise.
36606         (getgroups): Likewise.
36607         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36608         (geteuid): Likewise.
36609         (getgid): Likewise.
36610         (getuid): Likewise.
36611         (getresgid): Likewise.
36612         (getresuid): Likewise.
36613         (getgroups): Likewise.
36614         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36615         (geteuid): Likewise.
36616         (getgid): Likewise.
36617         (getuid): Likewise.
36618         (getresgid): Likewise.
36619         (getresuid): Likewise.
36620         (getgroups): Likewise.
36621         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36622         Likewise.
36623         (geteuid): Likewise.
36624         (getgid): Likewise.
36625         (getuid): Likewise.
36626         (getresgid): Likewise.
36627         (getresuid): Likewise.
36628         (getgroups): Likewise.
36629         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36630         (geteuid): Likewise.
36631         (getgid): Likewise.
36632         (getuid): Likewise.
36633         (getresgid): Likewise.
36634         (getresuid): Likewise.
36635         (getgroups): Likewise.
36636         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36637         Likewise.
36638         (geteuid): Likewise.
36639         (getgid): Likewise.
36640         (getuid): Likewise.
36641         (getgroups): Likewise.
36643         [BZ #14138]
36644         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36645         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36646         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36647         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36648         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36649         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36650         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36651         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36652         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36653         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36654         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36655         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36656         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36657         __chown.
36658         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36659         (lchown): Likewise.
36660         (fchown): Likewise.
36661         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36662         Likewise.
36663         (lchown): Likewise.
36664         (fchown): Likewise.
36665         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36666         (lchown): Likewise.
36667         (fchown): Likewise.
36668         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36669         Likewise.
36670         (lchown): Likewise.
36671         (fchown): Likewise.
36673 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36675         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36676         Simplify logic.
36678 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36680         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36681         Cleanup logic.
36683 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36685         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36686         Remove unused include.
36688 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36690         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36691         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36692         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36693         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36695 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36696             Helge Deller <deller@gmx.de>
36698         [BZ #17508]
36699         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36700         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36701         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36703 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36705         [BZ #14132]
36706         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36707         Remove macro definition.
36708         (__ashrdi3_v_glibc20): Likewise.
36709         (__lshrdi3_v_glibc20): Likewise.
36710         (__cmpdi2_v_glibc20): Likewise.
36711         (__ucmpdi2_v_glibc20): Likewise.
36712         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36713         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36714         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36715         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36716         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36717         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36719 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36721         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36722         old GNU extension [0] syntax.
36723         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36724         alloca rather than an array member with variable length.
36725         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36726         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36727         (parse_opt): ... here.  Likewise use alloca there.
36728         Validate the -i argument before checking for rootness.
36729         (send_shutdown): New function, broken out of ...
36730         (parse_opt): ... here.
36732 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36734         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36735         macro to get at the _rt_local_ro field.
36736         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36737         ([PIC] case) or _dl_hwcap ([!PIC] case).
36738         * sysdeps/arm/setjmp.S: Likewise.
36740         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36741         * sysdeps/arm/configure.ac: New check to define it.
36742         * sysdeps/arm/configure: Regenerated.
36743         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36744         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36745         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36746         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36747         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36748         Use move/movt pair instead of a load.
36749         (LDST_GLOBAL): Macro removed.
36750         (LDR_GLOBAL): New macro replaces it.
36751         (LDR_HIDDEN): New macro.
36752         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36753         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36755         * setjmp/tst-setjmp-static.c: New file.
36756         * setjmp/Makefile (tests): Add it.
36757         (tests-static): New variable.
36759 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36761         [BZ #17485]
36762         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36764 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36766         [BZ #14132]
36767         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36769 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36771         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36773 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36775         * io/fts.c (dirent_not_directory): New function.
36776         (fts_build): Call it.
36778 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36780         * nptl/version.c (__nptl_main): Use normal __write rather than
36781         INTERNAL_SYSCALL.
36782         (banner): Update copyright years.
36784         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36785         gettimeofday.
36786         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36787         * nptl/pthread_cond_timedwait.c: Likewise.
36788         * nptl/pthread_mutex_timedlock.c: Likewise.
36789         * nptl/sem_timedwait.c: Likewise.
36791         * sysdeps/nptl/bits/libc-lock.h
36792         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36793         (__libc_lock_init_recursive): Return void, not 0.
36794         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36795         (__libc_rwlock_init): Likewise.
36796         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36798 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36800         [BZ #15215]
36801         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36802         (__pthread_once_slow): ... here.
36803         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36804         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36806 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36808         [BZ #15215]
36809         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36810         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36811         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36812         * nptl/pthread_once.c (__pthread_once): Likewise.
36813         Update comments.
36815 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36817         [BZ #14138]
36818         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36819         name.
36820         (writev): Use __libc_writev as strong name.
36821         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36822         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36824 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36826         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36828         * sysdeps/i386/nptl/tls.h
36829         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36830         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36831         New macros.
36832         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36833         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36834         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36835         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36836         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36837         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36839         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36840         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36841         on [__NR_futex].
36842         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36843         broken out of ...
36844         (__pthread_mutex_init): ... here.  Call it.
36845         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36846         Conditionalize PI cases on [__NR_futex].
36847         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36848         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36849         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36851         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36852         conditional on [SIGSETXID].
36853         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36854         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36855         is defined.  Likewise for SIGSETXID.
36856         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36857         Conditionalize definitions on [SIGSETXID].
36858         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36859         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36860         unblocking on [SIGCANCEL].
36862         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36863         [__NR_set_robust_list].
36865 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36867         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36868         (do_compare): Likewise.
36870 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36872         [BZ #15884]
36873         * string/strcoll_l.c: Don't include stdio.h.
36874         (coll_seq): Remove members idxarr and rulearr.
36875         (get_next_seq_cached): Remove function.
36876         (get_next_seq): Likewise.
36877         (get_next_seq_nocache): Rename to get_next_seq.
36878         (do_compare): Remove function.
36879         (do_compare_nocache): Rename to do_compare.
36880         (STRCOLL): Remove weight and rules cache.
36882 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36884         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36885         * sysdeps/arm/sfp-machine.h: ... to here.
36886         * sysdeps/arm/Implies: Remove arm/soft-fp.
36888 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36890         * conform/data/sys/utsname.h-data (*_t): Allow.
36891         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36892         [POSIX] (WEXITED): Do not expect constant.
36893         [POSIX] (WSTOPPED): Likewise.
36894         [POSIX] (WNOHANG): Likewise.
36895         [POSIX] (WNOWAIT): Likewise.
36896         [POSIX] (siginfo_t): Do not expect type or elements.
36897         [POSIX] (pid_t): Do not expect type.
36898         [POSIX] (signal.h): Do not allow header.
36899         [POSIX] (sys/resource.h): Likewise.
36900         [POSIX] (si_*): Do not allow pattern.
36901         [POSIX] (W*): Likewise.
36902         [POSIX] (P_*): Likewise.
36903         [POSIX] (BUS_*): Likewise.
36904         [POSIX] (CLD_*): Likewise.
36905         [POSIX] (FPE_*): Likewise.
36906         [POSIX] (ILL_*): Likewise.
36907         [POSIX] (POLL_*): Likewise.
36908         [POSIX] (SEGV_*): Likewise.
36909         [POSIX] (SI_*): Likewise.
36910         [POSIX] (TRAP_*): Likewise.
36911         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36912         variable.
36914 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36916         [BZ #12926]
36917         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36918         infinite loop when __recvmsg returns 0.
36920 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36922         * CANCEL-FCT-WAIVE: Remove file.
36923         * CANCEL-FILE-WAIVE: Likewise.
36925         [BZ #14132]
36926         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36927         instead of INTVARDEF.
36928         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36929         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36930         rtld_hidden_data_def instead of INTVARDEF.
36931         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36932         * elf/dl-deps.c (expand_dst): Likewise.
36933         * elf/dl-load.c (_dl_dst_count): Likewise.
36934         (_dl_dst_substitute): Likewise.
36935         (decompose_rpath): Likewise.
36936         (_dl_init_paths): Likewise.
36937         (open_path): Likewise.
36938         (_dl_map_object): Likewise.
36939         * elf/rtld.c (dl_main): Likewise.
36940         (process_dl_audit): Likewise.
36941         (process_envvars): Likewise.
36942         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36943         Remove declaration.
36944         (__libc_enable_secure): Use rtld_hidden_proto.
36946 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36948         * elf/dl-load.c
36949         (add_path): New function broken out of _dl_rtld_di_serinfo.
36950         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36952 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36954         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36955         parentheses around macro arguments.
36956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36958         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36959         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36960         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36961         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36962         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36964         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36965         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36966         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36967         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36968         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36969         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36970         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36971         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36972         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36977         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36980         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36982         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36983         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36984         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36985         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36986         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36987         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36988         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36989         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36990         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36991         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36992         Likewise.
36993         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36995         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36996         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36997         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
37000         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
37001         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
37002         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
37003         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
37004         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
37005         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
37006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
37007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37013         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37014         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37015         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37017         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37018         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37019         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37020         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37021         (_FP_FRAC_SRS_1): Likewise.
37022         (_FP_FRAC_CLZ_1): Likewise.
37023         (_FP_MUL_MEAT_1_imm): Likewise.
37024         (_FP_MUL_MEAT_1_wide): Likewise.
37025         (_FP_MUL_MEAT_1_hard): Likewise.
37026         (_FP_SQRT_MEAT_1): Likewise.
37027         (_FP_FRAC_ASSEMBLE_1): Likewise.
37028         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37029         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37030         (__FP_CLZ_2): Likewise.
37031         (_FP_MUL_MEAT_2_wide): Likewise.
37032         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37033         (_FP_MUL_MEAT_2_gmp): Likewise.
37034         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37035         (_FP_SQRT_MEAT_2): Likewise.
37036         (_FP_FRAC_ASSEMBLE_2): Likewise.
37037         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37038         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37039         (_FP_FRAC_CLZ_4): Likewise.
37040         (_FP_MUL_MEAT_4_wide): Likewise.
37041         (_FP_MUL_MEAT_4_gmp): Likewise.
37042         (_FP_SQRT_MEAT_4): Likewise.
37043         (_FP_FRAC_ASSEMBLE_4): Likewise.
37044         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37045         * soft-fp/op-common.h (_FP_CMP): Likewise.
37046         (_FP_CMP_EQ): Likewise.
37047         (_FP_CMP_UNORD): Likewise.
37048         (_FP_TO_INT): Likewise.
37049         (_FP_FROM_INT): Likewise.
37050         [!__FP_CLZ] (__FP_CLZ): Likewise.
37051         (_FP_DIV_HELP_imm): Likewise.
37052         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37053         Likewise.
37054         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37057         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37060         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37063         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37064         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37065         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37066         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37067         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37068         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37069         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37070         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37075         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37078         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37080         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37082         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37083         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37084         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37085         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37086         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37087         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37088         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37089         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37090         (FP_UNPACK_RAW_SP): Likewise.
37091         (FP_PACK_RAW_S): Likewise.
37092         (FP_PACK_RAW_SP): Likewise.
37093         (FP_UNPACK_S): Likewise.
37094         (FP_UNPACK_SP): Likewise.
37095         (FP_UNPACK_SEMIRAW_S): Likewise.
37096         (FP_UNPACK_SEMIRAW_SP): Likewise.
37097         (FP_PACK_S): Likewise.
37098         (FP_PACK_SP): Likewise.
37099         (FP_PACK_SEMIRAW_S): Likewise.
37100         (FP_PACK_SEMIRAW_SP): Likewise.
37101         (_FP_SQRT_MEAT_S): Likewise.
37102         (FP_CMP_S): Likewise.
37103         (FP_CMP_EQ_S): Likewise.
37104         (FP_CMP_UNORD_S): Likewise.
37105         (FP_TO_INT_S): Likewise.
37106         (FP_FROM_INT_S): Likewise.
37108         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37110         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37111         (FP_EX_INVALID_IMZ): Likewise.
37112         (FP_EX_INVALID_IMZ_FMA): Likewise.
37113         (FP_EX_INVALID_ISI): Likewise.
37114         (FP_EX_INVALID_ZDZ): Likewise.
37115         (FP_EX_INVALID_IDI): Likewise.
37116         (FP_EX_INVALID_SQRT): Likewise.
37117         (FP_EX_INVALID_CVI): Likewise.
37118         (FP_EX_INVALID_VC): Likewise.
37119         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37120         "invalid" exceptions.
37121         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37122         (_FP_ADD_INTERNAL): Likewise.
37123         (_FP_MUL): Likewise.
37124         (_FP_FMA): Likewise.
37125         (_FP_DIV): Likewise.
37126         (_FP_CMP_CHECK_NAN): Likewise.
37127         (_FP_SQRT): Likewise.
37128         (_FP_TO_INT): Likewise.
37129         (FP_EXTEND): Likewise.
37131 2014-10-09  Allan McRae  <allan@archlinux.org>
37133         * po/fr.po: Update French translation from translation project.
37135 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37137         [BZ #14132]
37138         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37139         of INTDEF.
37140         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37141         (__cxa_atexit): Use libc_hidden_proto.
37142         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37144         [BZ #14132]
37145         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37146         declaration.
37147         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37148         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37149         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37150         [!_ISOMAC] (__iswctype_internal): Likewise.
37151         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37152         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37153         alias.
37154         (fcntl): Remove __fcntl_internal alias.
37155         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37156         __connect_internal alias.
37157         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37158         Likewise.
37160         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37161         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37162         FP_DENORM_ZERO.
37163         (_FP_CHECK_FLUSH_ZERO): New macro.
37164         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37165         (_FP_CMP): Likewise.
37166         (_FP_CMP_EQ): Likewise.
37167         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37168         FP_DENORM_ZERO.
37169         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37170         (FP_TRUNC): Likewise.
37172         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37173         treated as invalid conversion, not as normal exponent.
37175         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37176         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37177         (_FP_CMP_EQ): Likewise.
37178         (_FP_CMP_UNORD): Likewise.
37179         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37180         (FP_CMP_EQ_D): Likewise.
37181         (FP_CMP_UNORD_D): Likewise.
37182         * soft-fp/extended.h (FP_CMP_E): Likewise.
37183         (FP_CMP_EQ_E): Likewise.
37184         (FP_CMP_UNORD_E): Likewise.
37185         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37186         (FP_CMP_EQ_Q): Likewise.
37187         (FP_CMP_UNORD_Q): Likewise.
37188         * soft-fp/single.h (FP_CMP_S): Likewise.
37189         (FP_CMP_EQ_S): Likewise.
37190         (FP_CMP_UNORD_S): Likewise.
37191         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37192         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37193         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37194         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37195         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37196         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37197         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37198         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37199         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37200         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37201         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37202         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37203         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37204         to FP_CMP_Q.
37205         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37206         FP_CMP_Q.
37207         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37208         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37209         FP_CMP_EQ_Q.
37210         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37211         FP_CMP_Q.
37212         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37213         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37214         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37215         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37216         FP_CMP_EQ_Q.
37217         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37218         FP_CMP_Q.
37219         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37220         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37221         FP_CMP_EQ_Q.
37222         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37223         FP_CMP_Q.
37224         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37225         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37226         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37227         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37228         FP_CMP_EQ_Q.
37230         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37231         a subnormal result, set the underflow exception if trapping on
37232         underflow is enabled.
37233         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37234         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37235         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37236         redefine to 0.
37237         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37238         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37239         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37240         * soft-fp/extendxftf2.c (__extendxftf2): Use
37241         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37243         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37244         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37245         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37246         FP_HANDLE_EXCEPTIONS.
37247         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37248         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37249         FP_HANDLE_EXCEPTIONS.
37250         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37251         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37252         FP_HANDLE_EXCEPTIONS.
37253         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37254         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37255         FP_HANDLE_EXCEPTIONS.
37257 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37259         [BZ #14132]
37260         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37261         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37262         use INTUSE.
37263         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37264         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37265         Remove alias.
37266         (__adjtimex): Define using libc_hidden_ver.
37267         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37268         Remove declaration.
37269         (ntp_gettime): Call __adjtimex directly.
37270         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37271         Remove declaration.
37272         (ntp_gettimex): Call __adjtimex directly.
37273         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37274         __adjtimex_internal alias.
37276 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37278         [BZ #17460]
37279         * nscd/nscd.c (more_help): Rewrite list of tables collection
37280         using xstrdup and asprintf.
37282         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37284 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37285             Roland McGrath  <roland@hack.frob.com>
37287         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37288         (do_lookup_unique): ... local function 'enter' here; update callers.
37290 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37292         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37293         compat_symbol calls on [SHARED].
37294         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37295         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37296         Remove.
37297         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37298         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37299         (oldsetrlimit): Remove.
37300         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37302         (lchown): New syscall entry.
37303         (oldsetrlimit): Remove.
37304         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37306         (oldsetrlimit): Remove.
37307         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37309         [BZ #14138]
37310         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37311         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37312         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37313         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37314         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37315         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37316         (fchown): Likewise.
37317         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37318         (fchown): Likewise.
37319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37320         Likewise.
37322 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37325         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37326         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37327         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37328         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37329         Likewise.
37330         (__old_sem_post): Likewise.
37332 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37334         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37335         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37336         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37337         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37338         Use INLINE_VSYSCALL macro.
37339         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37340         __vdso_clock_gettime.
37341         * sysdeps/unix/sysv/linux/tile/init-first.c
37342         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37343         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37344         __vdso_clock_gettime.
37346         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
37347         to set up frame more cleanly.
37349         * sysdeps/tile/memcmp.c: New file.
37351         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
37353         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
37354         * sysdeps/tile/tilegx/strcasestr.c: New file.
37355         * sysdeps/tile/tilegx/strnlen.c: New file.
37356         * sysdeps/tile/tilegx/strstr.c: New file.
37358         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
37360 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
37362         * nptl/tst-setuid3.c: Write errors to stdout.
37364 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37366         * elf/dl-deps.c
37367         (preload): New functions broken out of _dl_map_object_deps.
37368         (_dl_map_object_deps):  Remove a nested function. Update call sites.
37370 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
37372         [BZ #14138]
37373         * sysdeps/unix/sysv/linux/execve.c: Remove file.
37374         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
37376 2014-10-01  Steve Ellcey  <sellcey@mips.com>
37378         * sysdeps/mips/strcmp.S: New.
37380 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
37382         [BZ #14138]
37383         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
37384         (linkat): Likewise.
37385         (mkdirat): Likewise.
37386         (readlinkat): Likewise.
37387         (renameat): Likewise.
37388         (symlinkat): Likewise.
37389         (unlinkat): Likewise.
37390         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
37391         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37392         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
37393         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
37394         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
37395         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
37396         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
37398 2014-09-30  Will Newton  <will.newton@linaro.org>
37400         * math/math.h: Define long double math functions if
37401         _LIBC_TEST is defined.
37402         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
37404         * localedata/Makefile: Move assignment to tests-special
37405         into an ifdef testing run-built-tests.
37406         * timezone/Makefile: Likewise.
37408 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
37410         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
37411         with $(BASH) not $(SHELL).
37413 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
37414             Matthew LeGendre  <legendre1@llnl.gov>
37416         [BZ #17411]
37417         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
37418         l_reloc_result.
37420 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37422         * stdio-common/printf_fp.c
37423         (hack_digit): New function, broken out of ...
37424         (__printf_fp): ... local function here.  Update call sites.
37425         hack_digit now takes an additional parameter that is a pointer
37426         to a struct of the referenced locals.  Those locals moved inside
37427         the struct and references updated.
37429 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37431         * aclocal.m4: Require autoconf 2.69.
37432         * configure: Regenerated.
37433         * sysdeps/aarch64/configure: Likewise.
37434         * sysdeps/alpha/configure: Likewise.
37435         * sysdeps/arm/armv7/configure: Likewise.
37436         * sysdeps/arm/configure: Likewise.
37437         * sysdeps/ia64/configure: Likewise.
37438         * sysdeps/mach/configure: Likewise.
37439         * sysdeps/mips/configure: Likewise.
37440         * sysdeps/s390/configure: Likewise.
37441         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37444         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37445         file.
37446         * sysdeps/ia64/configure.ac: Likewise.
37448 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37451         specify symbol version for ld.so.  Do not include entry for
37452         libpthread.
37453         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37454         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37455         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37457         [BZ #14171]
37458         * Makeconfig [$(build-shared) = yes]
37459         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37460         makefiles.
37461         [$(build-shared) = yes && $(soversions.mk-done) = t]
37462         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37463         [$(build-shared) = yes && $(soversions.mk-done) = t]
37464         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37465         to Makerules.
37466         [$(build-shared) = yes && $(soversions.mk-done) = t]
37467         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37468         here.
37469         [$(build-shared) = yes && $(soversions.mk-done) = t]
37470         (common-generated): Don't append gnu/lib-names.h and
37471         gnu/lib-names.stmp here.
37472         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37473         (lib-names-h-abi): New variable.
37474         [$(build-shared) = yes && $(soversions.mk-done) = t]
37475         (lib-names-stmp-abi): Likewise.
37476         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37477         abi-variants] (before-compile): Append
37478         $(common-objpfx)$(lib-names-h-abi).
37479         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37480         abi-variants] (common-generated): Append gnu/lib-names.h.
37481         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37482         abi-variants] (install-others-nosubdir): Depend on
37483         $(inst_includedir)/$(lib-names-h-abi).
37484         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37485         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37486         [$(build-shared) = yes && $(soversions.mk-done) = t]
37487         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37488         [$(build-shared) = yes && $(soversions.mk-done) = t]
37489         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37490         [$(build-shared) = yes && $(soversions.mk-done) = t]
37491         (common-generated): Append $(lib-names-h-abi) and
37492         $(lib-names-stmp-abi).
37493         * scripts/lib-names.awk: Do not handle multi being set.
37494         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37495         Remove variable.
37496         (abi-lp64_be-ld-soname): Likewise.
37497         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37498         Likewise.
37499         (abi-hard-ld-soname): Likewise.
37500         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37501         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37502         Remove variable.
37503         (abi-o32_hard-ld-soname): Likewise.
37504         (abi-o32_soft_2008-ld-soname): Likewise.
37505         (abi-o32_hard_2008-ld-soname): Likewise.
37506         (abi-n32_soft-ld-soname): Likewise.
37507         (abi-n32_hard-ld-soname): Likewise.
37508         (abi-n32_soft_2008-ld-soname): Likewise.
37509         (abi-n32_hard_2008-ld-soname): Likewise.
37510         (abi-n64_soft-ld-soname): Likewise.
37511         (abi-n64_hard-ld-soname): Likewise.
37512         (abi-n64_soft_2008-ld-soname): Likewise.
37513         (abi-n64_hard_2008-ld-soname): Likewise.
37514         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37515         Likewise.
37516         (abi-64-v2-ld-soname): Likewise.
37517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37518         ld.so entries.
37519         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37520         variable.
37521         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37522         entry.
37523         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37524         variable.
37525         (abi-64-ld-soname): Likewise.
37526         (abi-x32-ld-soname): Likewise.
37527         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37528         entry.
37529         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37531 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37533         [BZ #14138]
37534         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37535         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37536         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37537         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37538         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37539         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37540         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37541         syscall entry for GLIBC_2.2 symbol version.
37542         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37543         Likewise.
37544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37545         (setrlimit): Likewise.
37546         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37547         Likewise.
37549 2014-09-23  Will Newton  <will.newton@linaro.org>
37551         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37552         _LINUX_ARM_SYSDEP_H include guard too.
37553         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37554         define.
37556 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37558         * sysdeps/unix/sysv/linux/eventfd.c:
37559         Make first argument unsigned.
37560         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37561         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37563 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37565         [BZ #16852]
37566         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37567         * socket/sys/socket.h: Likewise.
37568         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37570 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37572         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37574 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37576         * time/tst-ftime.c: New test.
37577         * time/Makefile (tests): Add tst-ftime.
37579 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37581         * soft-fp/extended.h: Fix comment formatting.
37582         * soft-fp/op-1.h: Likewise.
37583         * soft-fp/op-2.h: Likewise.
37584         * soft-fp/op-4.h: Likewise.
37585         * soft-fp/op-8.h: Likewise.
37586         * soft-fp/op-common.h: Likewise.
37587         * soft-fp/soft-fp.h: Likewise.
37589         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37591 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37593         [BZ #6652]
37594         * Makeconfig (soversions-default-setname): Remove variable.
37595         ($(common-objpfx)soversions.i): Don't pass default_setname to
37596         soversions.awk.
37597         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37598         oldest_abi to abi-versions.awk.
37599         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37600         * config.make.in (oldest-abi): Remove variable.
37601         * configure.ac (--enable-oldest-abi): Remove configure option.
37602         * configure: Regenerated.
37603         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37604         text.
37605         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37606         * scripts/soversions.awk: Do not handle default_setname variable.
37607         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37608         variable.
37609         * sysdeps/mach/hurd/configure: Regenerated.
37610         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37611         variable.
37612         * sysdeps/unix/sysv/linux/configure: Regenerated.
37614 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37616         * elf/Makefile (CFLAGS-interp.c): Remove.
37617         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37618         path string.
37619         * elf/interp.c: Include generated runtime-linker.h
37621         * Makerules (lib%.so): Don't include $(+interp) in
37622         prerequisites.
37623         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37624         * dlfcn/eval.c: Remove file.
37626         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37627         macros.
37629         [BZ #17266]
37630         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37631         4.2 and newer.
37633         [BZ #17370]
37634         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37636 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37637             Jakub Jelinek  <jakub@redhat.com>
37639         [BZ #17266]
37640         * libio/stdio.h: Check definition of __fortify_function
37641         instead of __extern_always_inline to include bits/stdio2.h.
37642         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37643         check if __extern_always_inline is defined.
37644         [__USE_MISC || __USE_XOPEN]: Likewise.
37645         [__USE_ISOC99] Likewise.
37646         * misc/sys/cdefs.h (__fortify_function): Define only if
37647         __extern_always_inline is defined.
37648         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37649         __extern_always_inline and __extern_inline only for g++-4.3
37650         and newer or a compatible gcc.
37652 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37654         [BZ #17371]
37655         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37656         last change to handle zero prefix length.
37658 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37660         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37661         _SC_REGEX_VERSION.
37663         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37664         _POSIX_RAW_SOCKETS.
37666 2014-09-13  Allan McRae  <allan@archlinux.org>
37668         * po/ru.po: Update Russian translation from translation project.
37670 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37672         * locale/programs/locale.c (show_locale_vars): Inline local function
37673         into its sole call site.  Clean up some style nits.
37674         (print_item): New function, broken out of ...
37675         (show_info): ... local function here.  Clean up style nits.
37677         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37678         out of ...
37679         (set_class_defaults): ... local function set_default here.
37680         Define set_default as a macro locally to pass constant parameters.
37681         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37682         rather than a shared local.
37684         * stdlib/rpmatch.c (try): New function, broken out of ...
37685         (rpmatch): ... local function here.  Also, prototypify definition.
37687 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37689         * scripts/soversions.awk: Do not handle configuration names.
37690         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37691         vendor and os variables to soversions.awk.
37692         * configure.ac: Do not modify gnu-* host_os.
37693         * configure: Regenerated
37694         * shlib-versions: Remove first column with configuration names.
37695         * nptl/shlib-versions: Likewise.
37696         * nptl_db/shlib-versions: Likewise.
37697         * sysdeps/hppa/shlib-versions: Likewise.
37698         * sysdeps/m68k/shlib-versions: Likewise.
37699         * sysdeps/mach/hurd/shlib-versions: Likewise.
37700         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37701         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37702         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37703         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37704         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37705         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37706         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37707         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37709         Likewise.
37710         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37711         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37712         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37713         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37714         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37715         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37716         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37717         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37720         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37722         Regenerated.
37723         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37725         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37727         * shlib-versions: Remove OS-specific entries.  Moved to files in
37728         sysdeps.
37729         * sysdeps/mach/hurd/shlib-versions: New file.
37730         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37732         * nptl/shlib-versions: Remove architecture-specific entries.
37733         Moved to files in sysdeps.
37734         * shlib-versions: Likewise.
37735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37736         file.
37737         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37738         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37739         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37740         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37742         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37743         (UDP_NO_CHECK6_RX): Likewise.
37745 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37747         * sysdeps/posix/sysconf.c (__sysconf): Spell
37748         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37750 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37752         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37753         loading.
37754         * iconv/Versions (__gconv_transliterate): Export for use from
37755         gconv modules.
37756         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37757         (struct __gconv_trans_data, __gconv_trans_fct,
37758         __gconv_trans_context_fct, __gconv_trans_query_fct,
37759         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37760         definitions.
37761         (struct __gconv_step_data): Remove __trans member.
37762         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37763         longer hidden.  Remove unused trans_data argument.
37764         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37765         (__gconv_translit_find): Remove declaration.
37766         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37767         prototype.
37768         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37769         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37770         trans_data argument.  Add hidden definition.
37771         (__gconv_translit_find): Remove.
37772         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37773         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37774         * iconv/skeleton.c: Remove transliteration initialization.
37775         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37776         __gconv_step_data initialization.
37777         * libio/iofwide.c (__libio_translit_): Remove.
37778         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37779         * wcsmbs/btowc.c (__btowc): Likewise.
37780         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37781         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37782         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37783         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37784         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37785         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37786         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37787         * wcsmbs/wctob.c (wctob): Likewise.
37789 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37791         [BZ #16194]
37792         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37793         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37794         register usage.
37795         * sysdeps/x86/Makefile: Adjust.
37797 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37798             Roland McGrath  <roland@hack.frob.com>
37800         * locale/weight.h: Add include guard.
37801         (findidx): Make static rather than auto; take new parameters
37802         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37803         * locale/weightwc.h: Likewise.
37804         * posix/fnmatch_loop.c
37805         (FCT): Change type of EXTRA from int32_t to wint_t.
37806         Don't include either header inside the function.
37807         Call FINDIDX rather than findidx, and pass new arguments.
37808         #undef FINDIDX at the end of the file.
37809         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37810         FINDIDX before including fnmatch_loop.c for the non-wide version.
37811         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37812         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37813         for the wide version.
37814         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37815         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37816         Pass new arguments to findidx.
37817         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37818         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37819         Don't #include it inside the function.  Pass new arguments to findidx.
37820         * posix/regex_internal.h
37821         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37822         (re_string_elem_size_at): Don't #include it inside the function.
37823         Pass new arguments to findidx.
37824         * string/strcoll_l.c: #include WEIGHT_H at top level.
37825         (get_next_seq): Don't #include it inside the function.
37826         Pass new arguments to findidx.
37827         (get_next_seq_nocache): Likewise.
37828         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37829         (STRXFRM): Don't #include it inside the function.
37830         Pass new arguments to findidx.
37832 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37834         [BZ #17344]
37835         * malloc/malloc.c (unlink): Turn asserts into a call to
37836         malloc_printerr.
37838 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37840         [BZ #17370]
37841         * libio/wfileops (do_ftell_wide): Free OUT.
37843 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37845         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37847 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37849         [BZ #17363]
37850         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37851         group if the current group is empty.
37853 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37855         * benchtests/bench-memset.c (test_main): Add more test from size
37856         from 32 to 512 bytes.
37857         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37858         Add POWER8 memset object.
37859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37860         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37861         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37862         implementation.
37863         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37864         Likewise.
37865         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37866         multiarch POWER8 memset optimization.
37867         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37868         POWER8 memset optimization.
37870         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37871         Remove bzero multiarch objects.
37872         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37873         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37874         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37875         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37876         Remove define.
37877         [__bzero]: Redefine to specific name.
37878         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37879         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37880         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37881         define.
37882         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37883         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37885 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37887         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37888         warnings into errors.
37890         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37891         __cxa_thread_atexit_impl prototype.
37893 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37895         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37896         Fix capitalization of error message.
37898 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37900         * sysdeps/mips/preconfigure: Modify ABI tests.
37902 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37904         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37906 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37907             Carlos O'Donell  <carlos@systemhalted.org>
37909         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37910         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37911         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37912         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37913         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37914         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37915         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37916         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37917         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37918         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37919         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37920         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37921         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37922         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37923         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37924         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37925         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37926         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37927         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37928         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37930         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37931         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37932         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37933         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37934         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37935         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37936         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37937         Deconditionalize the code that was previously under [RESET_PID].
37938         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37939         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37940         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37941         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37942         include sysdep.h.
37944 2014-09-08  Allan McRae  <allan@archlinux.org>
37946         * version.h (RELEASE): Set to "development".
37947         (VERSION): Set to "2.20.90"
37949 2014-09-07  Allan McRae  <allan@archlinux.org
37951         * version.h (RELEASE): Set to "stable".
37952         (VERSION): Set to "2.20"
37953         * include/features.h (__GLIBC_MINOR__): Set to 20.
37955         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37956         Liebler.
37958         * po/ko.po: Update Korean translation from translation project.
37960 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37962         [BZ #17354]
37963         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37964         macro for handling signed relocations.
37966 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37968         [BZ #17325]
37969         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37970         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37971         assert.
37972         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37973         * iconvdata/ibm935.c (BODY): Likewise.
37974         * iconvdata/ibm937.c (BODY): Likewise.
37975         * iconvdata/ibm939.c (BODY): Likewise.
37976         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37977         assert.
37978         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37979         script.
37980         * iconvdata/run-iconv-test.sh: New test loop for checking for
37981         decoder crashers.
37983 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37985         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37986         libm_hidden_ver.
37988 2014-09-01  Allan McRae  <allan@archlinux.org>
37990         * po/eo.po: Update Esperanto translation from translation project.
37992         * po/ca.po: Update Catalan translation from translation project.
37994 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37996         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37997         __proc_dostop call.
37999 2014-08-27  Mark Wielaard  <mjw@redhat.com>
38001         [BZ #17319]
38002         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
38003         to call set_thread_area instead of hand written asm.
38004         (__NR_set_thread_area): Removed define.
38005         (TLS_FLAG_WRITABLE): Likewise.
38006         (__ASSUME_SET_THREAD_AREA): Remove check.
38007         (TLS_EBX_ARG): Remove define.
38008         (TLS_LOAD_EBX): Likewise.
38010 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38012         Simplify atomicity of socket creation in bind.
38014         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38015         looking up the name after linking the file.
38017 2014-08-27  Allan McRae  <allan@archlinux.org>
38019         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38021 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38023         [BZ #17187]
38024         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38025         trans_compare, open_translit, __gconv_translit_find):
38026         Remove module loading code.
38028 2014-08-26  Allan McRae  <allan@archlinux.org>
38030         * po/vi.po: Update Vietnamese translation from translation project.
38032         * po/uk.po: Update Ukrainian translation from translation project.
38034         * po/fr.po: Update French translation from translation project.
38036         * po/ru.po: Update Russian translation from translation project.
38038         * po/pl.po: Update Polish translation from translation project.
38040         * po/cs.po: Update Czech translation from translation project.
38042         * po/de.po: Update German translation from translation project.
38044         * po/bg.po: Update Bulgarian translation from translation project.
38046         * po/sv.po: Update Sweedish translation from translation project.
38048         * po/nl.po: Update Dutch translation from translation project.
38050         * po/es.po: Update Spanish translation from translation project.
38052 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38054         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38056         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38057         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38058         (CPPFLAGS-iconvconfig): Likewise.
38059         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38061         * include/libc-symbols.h: Remove unnecessary check for
38062         NOT_IN_libc.
38063         * nptl/pthreadP.h: Likewise.
38064         * sysdeps/aarch64/setjmp.S: Likewise.
38065         * sysdeps/alpha/setjmp.S: Likewise.
38066         * sysdeps/arm/sysdep.h: Likewise.
38067         * sysdeps/i386/setjmp.S: Likewise.
38068         * sysdeps/m68k/setjmp.c: Likewise.
38069         * sysdeps/posix/getcwd.c: Likewise.
38070         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38071         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38072         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38073         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38074         * sysdeps/sh/sh3/setjmp.S: Likewise.
38075         * sysdeps/sh/sh4/setjmp.S: Likewise.
38076         * sysdeps/unix/alpha/sysdep.h: Likewise.
38077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38078         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38079         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38080         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38085         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38088         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38090         * sysdeps/x86_64/setjmp.S: Likewise.
38092 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38094         [BZ #17263]
38095         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38096         <stdint.h>.
38097         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38098         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38100 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38102         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38104         [BZ #17262]
38105         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38106         and __x86_64__ when disabling x87 inline functions.
38108 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38110         [BZ #17259]
38111         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38112         asm statement with __cpuid_count.
38114 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38116         * configure.ac: Change __ehdr_start code to dereference the struct.
38117         Run readelf on the output to look for relocations.
38118         * configure: Regenerated.
38120 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38122         [BZ #17261]
38123         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38124         value to 0.
38125         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38127 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38129         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38131 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38133         [BZ #16892]
38134         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38135         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38137 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38139         * malloc/malloc.c: Fix typo in comment.
38141 2014-08-09  Allan McRae  <allan@archlinux.org>
38143         * Regenerate libc.po.
38145 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38147         * intl/tst-gettext2.sh: Check every lang file for creation.
38149 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38151         * sysdeps/aarch64/fpu/math_private.h
38152         (libc_feholdsetround_noex_aarch64_ctx): New function.
38154 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38156         * sysdeps/arm/armv6/strcpy.S (strcpy):
38157         Fix performance issue in misaligned cases.
38159 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38161         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38162         Move definition from termios.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.
38169         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38170         Move definition to ioctl-types.h
38171         (struct termio): Likewise.
38172         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38173         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38174         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38175         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38176         Likewise.
38178 2014-08-05  Richard Henderson  <rth@redhat.com>
38180         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38181         exceptions.
38182         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38183         Add fraiseexcpt.
38184         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38185         Use __feraiseexcept.
38186         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38187         Protect libm symbols with IS_IN_libm.
38189         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38191 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38193         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38195 2014-08-04  Will Newton  <will.newton@linaro.org>
38197         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38198         file.
38200 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38202         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38203         variants for each function.
38205 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38207         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38208         appended ...
38209         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38210         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38211         appended ...
38212         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38213         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38214         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38215         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38216         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38217         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38218         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38219         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38220         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38221         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38222         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38223         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38224         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38225         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38226         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38227         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38228         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38229         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38230         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38231         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38232         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38233         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38234         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38235         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38236         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38237         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38238         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38239         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38240         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38241         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38242         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38243         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38244         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38245         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38246         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38247         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38248         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38249         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38250         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38251         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38252         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38254         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38255         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38256         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38257         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38258         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38260         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38261         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38262         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38263         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38264         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38265         Update #include.
38266         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38267         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38269 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38271         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38272         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38273         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38274         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38275         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38276         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38278 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38280         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38281         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38282         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38283         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38285 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38287         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38288         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38289         (__libc_vfork): Define function under this name.
38290         (__vfork): Define as an alias.
38291         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38292         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38294 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38296         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38297         that was previously under [RESET_PID].
38298         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38300 2014-08-04  Andreas Schwab  <schwab@suse.de>
38302         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38304 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38306         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38307         (main): Likewise.
38309 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38311         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38313 2014-08-01  Richard Henderon  <rth@redhat.com>
38315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38316         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38317         typo in exact zero test.
38318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38319         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38322 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38324         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38325         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38326         * sysdeps/arm/sysdep.h: ... here.
38327         [!__ASSEMBLER__]: Include <stdint.h>.
38329 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38331         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38332         (HAVE_WCTYPE_H): Likewise.
38333         (HAVE_ISWCTYPE): Likewise.
38334         (ENABLE_NLS): Likewise.
38335         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38336         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38338         * posix/regex_internal.c: Check if DEBUG is defined and is
38339         set.
38341         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38342         (HAVE_MBSRTOWCS): Likewise.
38343         * posix/fnmatch.c: Include string.h unconditionally.
38345 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38347         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
38348         reversal.
38350 2014-07-31  Roland McGrath  <roland@hack.frob.com>
38352         * sysdeps/generic/safe-fatal.h: New file.
38353         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
38354         * nptl/forward.c: Include it.
38355         (__pthread_unwind): Use __safe_fatal as default action, rather
38356         than a bogus use of INTERNAL_SYSCALL that could never work.
38358         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38359         * configure.ac (libc_cv_builtin_trap): New test.
38360         * configure: Regenerated.
38361         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
38362         (ABORT_INSTRUCTION): Define using __builtin_trap.
38364         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
38365         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38366         * sysdeps/nptl/nptl-signals.h: New file.
38367         * nptl/pthreadP.h: Include <nptl-signals.h>.
38369 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38371         * sysdeps/s390/s390-64/utf16-utf32-z9.c
38372         (ONE_DIRECTION): Define.
38373         * sysdeps/s390/s390-64/utf8-utf16-z9.c
38374         (ONE_DIRECTION): Define.
38375         * sysdeps/s390/s390-64/utf8-utf32-z9.c
38376         (ONE_DIRECTION): Define.
38378 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38380         * sysdeps/s390/Makefile: Delete file.
38381         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38382         * sysdeps/s390/__longjmp.c: Delete file.
38383         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
38384         Remove fields __flags and __reserved.
38385         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
38386         and add versioning.
38387         * sysdeps/s390/rtld-__longjmp.c: Delete file.
38388         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
38389         * sysdeps/s390/rtld-setjmp.S: Likewise.
38390         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
38391         * sysdeps/s390/s390-32/__longjmp.c: ... here.
38392         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38393         * sysdeps/s390/s390-32/setjmp.S: ... here.
38394         Add versioning.
38395         (__sigsetjmp): Remove setting __flags field.
38396         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
38397         * sysdeps/s390/s390-64/__longjmp.c: ... here.
38398         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38399         * sysdeps/s390/s390-64/setjmp.S: ... here.
38400         Add versioning.
38401         (__sigsetjmp): Remove setting __flags field.
38402         * sysdeps/s390/setjmp.S: Delete file.
38403         * sysdeps/s390/sigjmp.c: Likewise.
38404         * sysdeps/s390/v1-longjmp.c: Likewise.
38405         * sysdeps/s390/v1-setjmp.h: Likewise.
38406         * sysdeps/s390/v1-sigjmp.c: Likewise.
38407         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
38408         Remove v1-longjmp_chk.
38409         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
38410         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
38411         Include debug/longjmp_chk.c and add versioning.
38412         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
38413         Include nptl/pt-longjmp.c and add versioning.
38414         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
38415         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
38416         Include __longjmp.c.
38417         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38418         Move to ...
38419         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
38420         (__getcontext): Remove setting __flags field.
38421         Add versioning.
38422         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38423         Don't restore upper high grps.
38424         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38425         Likewise.
38426         (__swapcontext): Remove setting uc_flags field.
38427         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38428         Delete file.
38429         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38430         Include __longjmp.c.
38431         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38432         Move to ...
38433         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38434         (__getcontext): Remove setting __flags field.
38435         Add versioning.
38436         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38437         (__swapcontext): Remove setting uc_flags field.
38438         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38439         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38440         Remove fields uc_high_gprs and __reserved.
38441         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38442         New file with reverted content.
38443         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38444         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38445         Regenerated.
38446         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38447         Regenerated.
38449 2014-07-31  Andreas Schwab  <schwab@suse.de>
38451         * config.h.in (HAVE_IFUNC): Define to 0.
38452         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38453         definedness.
38455 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38458         memmove-avx-unaligned, memcpy-avx-unaligned and
38459         mempcpy-avx-unaligned.
38460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38461         Add tests for AVX memcpy functions.
38462         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38463         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38464         memcpy_chk.
38465         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38466         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38467         memmove_chk.
38468         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38469         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38470         mempcpy_chk.
38471         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38472         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38473         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38475 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38477         [BZ #17213]
38478         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38479         powerpc64le.
38481 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38483         [BZ #16839]
38484         * manual/llio.texi: Add section about open file description locks.
38485         * manual/examples/ofdlocks.c: Example of open file description
38486         lock usage.
38487         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38488         F_OFD_SETLK, and F_OFD_SETLKW.
38490 2014-07-23  Allan McRae  <allan@archlinux.org>
38492         * po/es.po: Update Spanish translation from translation project.
38494 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38496         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38498 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38500         [BZ #17078]
38501         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38502         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38503         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38505 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38507         [BZ #17088]
38508         * math/fesetenv.c (__fesetenv)
38509         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38510         * math/feupdateenv.c (__feupdateenv)
38511         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38513         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38514         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38515         (__ASSUME_SOCKETCALL): Do not define.
38517         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38518         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38519         (__ASSUME_SOCKETCALL): Do not define.
38520         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38521         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38522         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38523         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38524         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38525         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38526         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38527         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38529         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38530         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38531         (__ASSUME_SOCKETCALL): Do not define.
38532         (__ASSUME_IPC64): Define unconditionally.
38533         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38534         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38535         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38536         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38537         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38538         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38539         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38540         Likewise.
38542         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38543         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38544         (__ASSUME_SOCKETCALL): Do not define.
38545         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38546         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38547         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38548         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38549         (__ASSUME_REQUEUE_PI): Define unconditionally.
38550         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38551         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38552         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38553         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38554         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38555         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38557         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38558         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38559         (__ASSUME_SOCKETCALL): Do not define.
38560         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38561         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38562         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38563         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38564         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38565         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38567         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38568         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38569         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38570         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38571         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38572         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38573         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38574         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38575         (__ASSUME_GETCPU_SYSCALL): Likewise.
38577         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38578         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38579         cases for individual architectures.
38580         * sysdeps/gnu/configure: Regenerated.
38581         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38582         LIBC_SLIBDIR_RTLDDIR.
38583         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38584         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38585         LIBC_SLIBDIR_RTLDDIR.
38586         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38588         LIBC_SLIBDIR_RTLDDIR.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38590         Regenerated.
38591         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38592         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38593         file.
38594         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38595         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38596         file.
38597         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38598         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38599         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38600         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38602         * sysdeps/aarch64/shlib-versions: Move to ...
38603         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38604         * sysdeps/alpha/shlib-versions: Move to ...
38605         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38606         * sysdeps/arm/shlib-versions: Move to ...
38607         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38608         * sysdeps/hppa/shlib-versions: Move all contents except for
38609         libgcc_s entry to ...
38610         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38611         entry from ...
38612         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38613         * sysdeps/ia64/shlib-versions: Move to ...
38614         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38615         entry from ...
38616         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38617         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38618         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38619         * sysdeps/microblaze/shlib-versions: Move to ...
38620         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38621         * sysdeps/mips/shlib-versions: Move to ...
38622         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38623         entry from ...
38624         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38625         * sysdeps/tile/shlib-versions: Move to ...
38626         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38627         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38628         from ...
38629         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38630         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38631         entry from ...
38632         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38634 2014-07-17  Will Newton  <will.newton@linaro.org>
38636         * sysdeps/arm/bits/atomic.h
38637         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38638         (__arch_compare_and_exchange_bool_16_int): Likewise.
38639         (__arch_compare_and_exchange_bool_64_int): Likewise.
38641         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38642         into an #else block.
38644 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38646         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38647         just Linux configurations.  Test empirically that the compiler sets
38648         __ARM_EABI__, rather than using the tuple to decide.
38649         * sysdeps/arm/preconfigure: Regenerated.
38650         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38651         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38652         contents appended ...
38653         * sysdeps/arm/configure.ac: ... here.
38654         * sysdeps/arm/configure: Regenerated.
38656 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38658         * nptl/pthread_kill.c: New file.
38659         * nptl/pthread_sigmask.c: New file.
38660         * nptl/pthread_sigqueue.c: New file.
38662         * sysdeps/nptl/lowlevellock.h: New file.
38663         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38664         * sysdeps/nptl/lowlevellock-futex.h: New file.
38666         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38667         Remove dead declarations.
38669 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38671         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38672         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38673         config-cflags-avx2.
38674         * sysdeps/x86_64/configure.ac: Likewise.
38675         * sysdeps/i386/configure: Regenerated.
38676         * sysdeps/x86_64/configure: Likewise.
38677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38678         memset-avx2 only if config-cflags-avx2 is yes.
38679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38680         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38681         defined.
38682         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38683         only if HAVE_AVX2_SUPPORT is defined.
38684         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38686 2014-07-14  Alan Modra  <amodra@gmail.com>
38688         [BZ #17153]
38689         * elf/elf.h (DT_PPC64_NUM): Correct value.
38690         * NEWS: Add to fixed bug list.
38692 2014-07-13  Jim Meyering  <meyering@fb.com>
38694         [BZ 17150]
38695         regex: don't deref NULL upon heap allocation failure
38696         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38697         failure in one more place.
38698         To trigger the segfault, configure grep -with-included-regex,
38699         build it, and run these commands:
38700         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38702 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38704         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38706 2014-07-11  Richard Henderson  <rth@redhat.com>
38708         * sysdeps/aarch64/libm-test-ulps: Update.
38710 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38712         [BZ #17135]
38713         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38714         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38715         (__nptl_setxid): Initialize error member.  Call
38716         __nptl_setxid_error.
38717         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38718         * nptl/descr.h (struct xid_command): Add error member.
38719         * nptl/tst-setuid3.c: New file.
38720         * nptl/Makefile (tests): Add it.
38722 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38724         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38725         New define.
38726         (__lll_trylock): Use __lll_base_trylock.
38727         (__lll_cond_trylock): Likewise.
38729 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38731         * nptl/pthread_create.c (start_thread): Use atomic_or and
38732         lll_futex_wake directly rather than lll_robust_dead.
38733         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38734         (lll_robust_dead): Macro removed.
38735         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38736         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38737         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38738         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38739         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38740         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38741         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38742         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38743         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38744         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38745         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38746         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38747         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38748         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38749         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38751         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38752         Use atomic_compare_and_exchange_val_acq directly rather than
38753         lll_robust_trylock.
38754         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38755         (__lll_robust_trylock, lll_robust_trylock): Removed.
38756         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38757         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38758         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38759         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38760         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38761         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38762         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38763         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38764         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38765         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38766         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38767         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38768         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38769         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38771 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38773         * manual/locale.texi (Locale Names): New section documenting
38774         locale name syntax.  Adjust menu and node chaining accordingly.
38775         (Choosing Locale): Reference Locale Names, Locale Categories.
38776         Mention setting LC_ALL=C.  Reflect that name syntax is now
38777         documented.
38778         (Locale Categories): New section title.  Reference Locale Names.
38779         LC_ALL is an environment variable, but not a category.
38780         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38781         description, now in Locale Name.  Reference that section.  Locale
38782         name syntax is now documented.
38784 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38786         [BZ #17137]
38787         * locale/findlocale.c (name_present, valid_locale_name): New
38788         functions.
38789         (_nl_find_locale): Use the loc_name variable to store name
38790         candidates.  Call name_present and valid_locale_name to check and
38791         validate locale names.  Return an error if the locale is invalid.
38793 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38795         * locale/setlocale.c (setlocale): Use strdup for allocating
38796         composite name copy.
38798 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38800         Sync up with gnulib.
38801         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38802         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38803         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38804         and _GL_ARG_NONNULL.
38805         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38806         [!_LIBC]: Include code for Windows and Cygwin.
38807         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38808         Include prototype for int strerror_r.
38809         [!_LIBC] (is_open): New function.
38810         (flush_stdout): New function.
38811         (print_errno_message): Use it.
38812         (error): Likewise.
38813         (error_at_line): Likewise.
38814         (error_tail) Add function attribute macros.  Use
38815         __builtin_expect.
38817         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38819         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38821         * io/ftw.c: Include sys/param.h unconditionally.
38823         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38825         [BZ #17125]
38826         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38827         libc_freeres_ptr.
38828         (freecache): New function to free CACHE on exit.
38830         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38831         initialization.
38833 2014-07-09  David S. Miller  <davem@davemloft.net>
38835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38837         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38838         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38839         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38840         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38841         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38842         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38843         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38844         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38845         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38846         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38847         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38848         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38849         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38851 2014-07-09  Andreas Schwab  <schwab@suse.de>
38853         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38854         output.
38855         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38856         (do_test): Likewise.
38858         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38860 2014-07-09  Will Newton  <will.newton@linaro.org>
38862         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38863         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38864         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38865         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38866         * sysdeps/hppa/start.S (_start): Likewise.
38868 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38870         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38872         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38873         defined.
38875 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38877         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38878         after checking that it is non-NULL.
38880         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38882 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38884         * sysdeps/powerpc/memmove.c: Remove file.
38885         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38886         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38887         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38888         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38889         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38890         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38891         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38892         string memmove instead of removed powerpc one.
38894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38895         [weak_alias]: Fix compiler warning due trailing data.
38896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38897         [weak_alias]: Likewise.
38898         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38899         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38902         (__libc_ifunc_impl_list): Add memmove functions.
38904 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38906         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38907         Remove code.
38908         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38909         Likewise.
38910         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38911         Likewise.
38912         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38913         Likewise.
38914         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38915         Likewise.
38916         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38917         Likewise.
38918         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38919         Likewise.
38920         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38921         Likewise.
38922         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38923         Likewise.
38924         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38925         Likewise.
38926         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38927         Likewise.
38928         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38929         Likewise.
38930         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38931         Likewise.
38932         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38933         Likewise.
38934         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38935         Likewise.
38936         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38937         Likewise.
38938         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38939         Likewise.
38941 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38943         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38944         to avoid alignment traps in non-cacheable memory.
38945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38948         multiarch objects.
38949         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38950         file: multiarch power7 memmove.
38951         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38952         multiarch default memmove.
38953         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38954         multiarch memove for powerpc32/power4.
38956         * string/bcopy.c: Use full path to include memmove.c.
38957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38958         multiarch objects.
38959         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38960         bcopy for powerpc64.
38961         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38962         bcopy for powerpc64.
38963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38964         and memmove implementations.
38965         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38966         optimized multiarch memmove for POWER7/powerpc64.
38967         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38968         default multiarch memmove for powerpc64.
38969         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38970         multiarch for powerpc64.
38971         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38972         for POWER7/powerpc64.
38973         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38974         memmove for POWER7/powerpc64.
38976         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38977         glibc default one.
38979         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38980         __ELF_NATIVE_CLASS equal to 64.
38982 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38984         * sysdeps/nptl/lowlevellock.h: File removed.
38986         * NEWS: NPTL is no longer an add-on!
38987         * nptl/internaltypes.h: Moved ...
38988         * sysdeps/nptl/internaltypes.h: ... here.
38989         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38990         * sysdeps/nptl/fork.c: Likewise.
38991         * sysdeps/nptl/gai_misc.h: Likewise.
38992         * sysdeps/nptl/librt-cancellation.c: Likewise.
38993         * sysdeps/nptl/jmp-unwind.c: Likewise.
38994         * sysdeps/nptl/setxid.h: Likewise.
38995         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38996         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38997         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38998         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38999         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
39000         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
39001         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
39002         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
39003         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
39004         * sysdeps/unix/sysv/linux/mips/Implies: New file.
39005         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
39006         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
39007         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39008         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39009         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39010         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39011         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39012         * nptl/Makeconfig: Moved ...
39013         * sysdeps/nptl/Makeconfig: ... here.
39014         * nptl/configure: File removed.
39015         * nptl/ANNOUNCE: File removed.
39016         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39017         * sysdeps/unix/sysv/linux/configure: Regenerated.
39019         * nptl/Makefile (routines): Add libc_pthread_init,
39020         libc_multiple_threads, register-atfork and unregister-atfork.
39021         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39022         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39023         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39024         pthread-pi-defines.sym, structsem.sym.
39025         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39026         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39027         [$(subdir) = nptl] (tests): Add tst-setgetname.
39028         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39029         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39030         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39031         [!LIBC_SIGACTION]: Remove aliases.
39032         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39033         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39034         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39035         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39036         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39037         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39038         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39039         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39040         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39041         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39042         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39043         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39044         __libc_allocate_rtsig_private.
39045         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39046         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39047         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39048         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39049         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39050         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39051         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39052         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39053         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39054         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39055         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39056         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39057         * nptl/internaltypes.h: ... here.
39058         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39059         * sysdeps/nptl/jmp-unwind.c: ... here.
39060         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39061         * nptl/libc-lowlevellock.c: ... here.
39062         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39063         * nptl/libc_multiple_threads.c: ... here.
39064         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39065         * nptl/libc_pthread_init.c: ... here.
39066         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39067         * nptl/lowlevelbarrier.sym: ... here.
39068         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39069         * nptl/lowlevelcond.sym: ... here.
39070         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39071         * nptl/lowlevellock.c: ... here.
39072         * nptl/lowlevellock.h: Moved ...
39073         * sysdeps/nptl/lowlevellock.h: ... here.
39074         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39075         * nptl/lowlevelrobustlock.c: ... here.
39076         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39077         * nptl/lowlevelrobustlock.sym: ... here.
39078         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39079         * nptl/lowlevelrwlock.sym: ... here.
39080         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39081         * nptl/pt-fork.c: ... here.
39082         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39083         * nptl/pthread-pi-defines.sym: ... here.
39084         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39085         * nptl/pthread_attr_getaffinity.c: ... here.
39086         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39087         * nptl/pthread_attr_setaffinity.c: ... here.
39088         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39089         * nptl/pthread_mutex_cond_lock.c: ... here.
39090         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39091         Update #include.
39092         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39093         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39094         * nptl/pthread_once.c: ... here, replacing old file.
39095         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39096         * nptl/pthread_yield.c: ... here.
39097         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39098         * nptl/register-atfork.c: ... here.
39099         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39100         * nptl/sem_post.c: ... here.
39101         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39102         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39103         * nptl/sem_timedwait.c: ... here.
39104         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39105         * nptl/sem_trywait.c: ... here.
39106         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39107         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39108         * nptl/sem_wait.c: ... here.
39109         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39110         * nptl/structsem.sym: ... here.
39111         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39112         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39113         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39114         * nptl/unregister-atfork.c: ... here.
39115         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39116         * nptl/unwindbuf.sym: ... here.
39117         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39118         * sysdeps/nptl/fork.c: ... here.
39119         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39120         * sysdeps/nptl/fork.h: ... here.
39121         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39122         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39123         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39124         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39125         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39126         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39127         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39128         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39129         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39130         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39131         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39132         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39133         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39134         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39135         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39136         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39137         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39139         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39140         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39141         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39142         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39143         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39144         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39145         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39146         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39147         * sysdeps/unix/sysv/linux/raise.c: ... here.
39148         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39149         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39150         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39151         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39152         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39153         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39154         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39155         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39156         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39157         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39158         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39159         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39160         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39161         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39162         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39164 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39166         * sysdeps/generic/memcopy.h: Add comment for
39167         MEMCPY_OK_FOR_FWD_MEMMOVE.
39169 2014-07-04  Will Newton  <will.newton@linaro.org>
39171         * string/memchr.c: Merge from gnulib.
39172         [_LIBC]: Remove conditionals.
39173         (__ptr_t): Remove define.
39174         (LONG_MAX_32_BITS): Likewise.
39175         (LONG_MAX): Likewise.
39176         (MEMCHR): Use ANSI prototype and optimize algorithm.
39178         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39180 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39182         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39183         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39185         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39186         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39187         in a bare environment with no <stdlib.h> installed.
39188         * sysdeps/nptl/configure: Regenerated.
39190         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39192         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39193         AC_EGREP_CPP for kernel header checks, so they only succeed if
39194         including <linux/version.h> actually works right.
39195         * sysdeps/unix/sysv/linux/configure: Regenerated.
39197         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39198         value so it's not diagnosed as unused.
39200         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39201         thing) with "ifeq ($(subdir),rt)".
39203 2014-07-03  Richard Henderson  <rth@redhat.com>
39205         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39206         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39207         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39209         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39210         (math_force_eval): New.
39212         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39213         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39215         * sysdeps/alpha/fpu/s_round.c: Remove file.
39216         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39218         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39219         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39220         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39221         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39222         (_dl_start, print_statistics): Likewise.
39223         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39224         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39226         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39227         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39228         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39229         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39230         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39231         (HP_SMALL_TIMING_AVAIL): Define.
39232         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39233         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39234         (HP_SMALL_TIMING_AVAIL): Define.
39235         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39236         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39238         * sysdeps/aarch64/hp-timing.h: New file.
39240         * sysdeps/generic/hp-timing.h: Remove dead comment.
39241         * sysdeps/generic/hp-timing-common.h: New file.
39242         * sysdeps/alpha/hp-timing.h: Include it.
39243         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39244         * sysdeps/i386/i686/hp-timing.h: Likewise.
39245         * sysdeps/ia64/hp-timing.h: Likewise.
39246         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39247         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39248         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39249         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39250         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39251         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39252         (hp_timing_t): New.
39254         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39255         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39256         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39257         * elf/rtld.c (_dl_start_final): Likewise.
39258         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39259         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39260         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39261         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39262         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39263         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39264         (HP_TIMING_DIFF_INIT): Remove.
39265         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39266         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39267         (HP_TIMING_DIFF_INIT): Remove.
39268         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39269         * sysdeps/i386/i686/hp-timing.c: Remove file.
39270         * sysdeps/x86_64/hp-timing.c: Remove file.
39271         * sysdeps/ia64/hp-timing.c: Remove file.
39272         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39273         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39274         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39275         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39277         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39278         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39279         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39280         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39281         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39282         (HP_TIMING_ACCUM): Remove.
39283         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39284         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39285         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39287         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39288         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39289         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39290         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39291         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39292         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39293         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39294         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39296         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39298 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39300         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39302 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39304         Sync up with gettext.
39305         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39306         [_MSC_VER]: Include malloc.h
39307         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39308         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39309         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39310         TEMP_FAILURE_RETRY.  Cast return of alloca.
39311         [!_LIBC] Call gl_rwlock_init.
39312         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39314 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39316         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39317         before checking its value.
39319 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39321         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39323         * debug/memcpy_chk.c: Don't include pagecopy.h.
39324         * debug/mempcpy_chk.c: Likewise.
39325         * string/memcpy.c: Likewise.
39326         * string/memmove.c: Likewise.
39327         * sysdeps/powerpc/memmove.c: Likewise.
39328         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39329         definition of PAGE_COPY_FWD_MAYBE here...
39330         * sysdeps/generic/pagecopy.h: ... from here.
39331         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39333 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39334             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39336         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39338         optimizations.
39339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39340         (__libc_ifunc_impl_list): Likewise.
39341         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39342         multiarch strcat for PPC64.
39343         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39344         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
39346 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39348         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
39350 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39352         * intl/loadmsgcat.c: Remove declaration of
39353         get_sysdep_segment_value.
39354         (get_sysdep_segment_value): Use ISO C style.
39355         (_nl_load_domain): Use ISO C style.  Get rid of redundant
39356         semicolon.  Fix typo and formatting in comment.
39357         (_nl_unload_domain): Use ISO C style.
39359         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
39361 2014-07-02  Will Newton  <will.newton@linaro.org>
39363         * malloc/obstack.c: Merge from gnulib master.
39364         [HAVE_CONFIG_H]: Remove conditional code.
39365         [!_LIBC]: Include config.h.
39366         [!ELIDE_CODE]: Don't include inttypes.h, include
39367         stdint.h unconditionally.
39368         (print_and_abort): Mark as _Noreturn.
39369         (_obstack_allocated_p): Mark as __attribute_pure__.
39370         (obstack_free): Rename to __obstack_free.
39371         [!__attribute__]: Remove conditional code.
39372         * malloc/obstack.h: Merge from gnulib master.
39373         [__cplusplus]: Move conditional down.
39374         [!__attribute_pure__]: Define __attribute_pure__ here
39375         if it is not already defined.
39376         (_obstack_memory_used): Mark as __attribute_pure__.
39377         [!__obstack_free]: Define as obstack_free.
39378         [__GNUC__]: Remove check for ancient NeXT gcc.
39380 2014-07-02  Will Newton  <will.newton@linaro.org>
39381             Paul Eggert  <eggert@cs.ucla.edu>
39383         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39385 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39387         * resolv/gethnamaddr.c: Add comment warning that the file is
39388         not maintained.
39390 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
39392         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
39393         entries.
39395         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
39396         entry for aio_cancel and aio_cancel64.
39397         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
39398         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
39399         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
39400         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
39401         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
39402         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
39403         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
39404         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
39405         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
39406         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
39407         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
39408         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
39409         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
39411 2014-07-01  Roland McGrath  <roland@hack.frob.com>
39413         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
39414         * nptl/pthread_mutex_lock.c: Likewise.
39415         * nptl/pthread_mutex_timedlock.c: Likewise.
39416         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
39418 2014-07-01  Richard henderson  <rth@redhat.com>
39420         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
39421         (__isnan, __isnanl): Remove.
39422         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39424         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39426 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39428         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39430 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39432         * resolv/nss_dns/dns-host.c (getanswer_r)
39433         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39435 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39437         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39438         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39439         undefine.
39440         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39441         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39443 2014-07-01  Roland McGrath <roland@hack.frob.com>
39445         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39446         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39448         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39449         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39451         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39452         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39453         ... here.
39454         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39455         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39457         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39458         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39459         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39460         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39462         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39463         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39464         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39465         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39466         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39467         Moved ...
39468         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39469         ... here.
39470         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39471         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39472         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39473         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39474         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39475         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39476         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39477         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39478         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39479         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39480         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39481         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39482         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39483         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39484         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39485         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39486         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39487         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39488         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39489         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39490         ... here.
39491         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39492         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39493         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39494         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39495         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39496         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39497         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39498         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39500 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39502         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39503         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39504         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39505         Add sysdep.
39507 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39511 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39513         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39514         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39516         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39518         * sysdeps/arm/libm-test-ulps: Regenerated.
39520 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39521             Roland McGrath <roland@hack.frob.com>
39523         * test-skeleton.c (signal_handler): Kill the whole process group
39524         before killing the child individually.
39525         (main): Report any failure on `setpgid'.
39527 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39529         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39530         from _TLS_H to _ARM_NPTL_TLS_H.
39531         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39532         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39534 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39536         [BZ #16539]
39537         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39538         (__expm1l): Return argument unchanged when small but not
39539         subnormal.
39541         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39542         include macro name.
39543         (_FP_UNPACK_RAW_1_P): Likewise.
39544         (_FP_PACK_RAW_1): Likewise.
39545         (_FP_PACK_RAW_1_P): Likewise.
39546         (_FP_MUL_MEAT_1_wide): Likewise.
39547         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39548         (_FP_MUL_MEAT_1_hard): Likewise.
39549         (_FP_DIV_MEAT_1_imm): Likewise.
39550         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39551         (_FP_DIV_MEAT_1_udiv): Likewise.
39552         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39553         (_FP_UNPACK_RAW_2): Likewise.
39554         (_FP_UNPACK_RAW_2_P): Likewise.
39555         (_FP_PACK_RAW_2): Likewise.
39556         (_FP_PACK_RAW_2_P): Likewise.
39557         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39558         (_FP_MUL_MEAT_2_wide): Likewise.
39559         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39560         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39561         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39562         (_FP_MUL_MEAT_2_gmp): Likewise.
39563         (_FP_DIV_MEAT_2_udiv): Likewise.
39564         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39565         (_FP_FRAC_SRL_4): Likewise.
39566         (_FP_FRAC_SRST_4): Likewise.
39567         (_FP_FRAC_SRS_4): Likewise.
39568         (_FP_UNPACK_RAW_4): Likewise.
39569         (_FP_UNPACK_RAW_4_P): Likewise.
39570         (_FP_PACK_RAW_4): Likewise.
39571         (_FP_PACK_RAW_4_P): Likewise.
39572         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39573         (_FP_MUL_MEAT_4_wide): Likewise.
39574         (_FP_MUL_MEAT_4_gmp): Likewise.
39575         (umul_ppppmnnn): Likewise.
39576         (_FP_DIV_MEAT_4_udiv): Likewise.
39577         (__FP_FRAC_ADD_4): Likewise.
39578         (__FP_FRAC_SUB_3): Likewise.
39579         (__FP_FRAC_SUB_4): Likewise.
39580         (__FP_FRAC_DEC_3): Likewise.
39581         (__FP_FRAC_DEC_4): Likewise.
39582         (__FP_FRAC_ADDI_4): Likewise.
39583         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39584         (_FP_FRAC_SRL_8): Likewise.
39585         (_FP_FRAC_SRS_8): Likewise.
39587         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39588         include macro name.
39589         (FP_UNPACK_RAW_EP): Likewise.
39590         (FP_PACK_RAW_E): Likewise.
39591         (FP_PACK_RAW_EP): Likewise.
39592         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39593         (_FP_ISSIGNAN): Likewise.
39594         (_FP_ADD_INTERNAL): Likewise.
39595         (_FP_FMA): Likewise.
39596         (_FP_CMP): Likewise.
39597         (_FP_SQRT): Likewise.
39598         (_FP_TO_INT): Likewise.
39599         (_FP_FROM_INT): Likewise.
39600         (FP_EXTEND): Likewise.
39601         (_FP_DIV_MEAT_N_loop): Likewise.
39603 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39605         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39606         throughout.
39608 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39610         [BZ #17097]
39611         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39612         result with correct sign in case of exponents that produce
39613         overflow except for X very close to 1.
39615 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39617         mktime: merge #if/#ifdef usage from glibc
39618         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39619         as that works with both Glibc's and Gnulib's style.
39620         See thread starting at Siddhesh Poyarekar's bug report at:
39621         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39623 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39625         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39626         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39627         * sysdeps/tile/tilegx/memmove.c: Remove file.
39629 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39631         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39632         abi-name definition.
39633         * scripts/soversions.awk: Do not handle or generate ABI lines.
39634         * shlib-versions: Remove ABI entries.
39635         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39636         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39638 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39641         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39642         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39643         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39645         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39647         Moved ...
39648         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39649         ... here.
39650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39651         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39653         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39655         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39657         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39659         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39661         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39663         Moved ...
39664         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39666         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39668         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39670         Moved ...
39671         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39673         Moved ...
39674         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39676         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39677         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39678         Moved ...
39679         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39681         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39683         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39685         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39686         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39687         Moved ...
39688         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39690         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39691         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39692         Moved ...
39693         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39694         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39695         Moved ...
39696         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39697         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39698         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39699         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39700         Moved ...
39701         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39702         ... here.
39703         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39704         Identical file removed.
39705         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39706         Moved ...
39707         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39709         Identical file removed.
39710         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39711         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39712         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39713         Moved ...
39714         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39716         Identical file removed.
39717         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39718         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39719         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39720         Identical file removed.
39721         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39722         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39724         Identical file removed.
39725         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39726         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39727         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39728         Identical file removed.
39729         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39730         Moved ...
39731         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39732         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39733         Identical file removed.
39734         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39735         Moved ...
39736         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39737         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39738         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39740         Identical file removed.
39741         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39742         Moved ...
39743         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39744         ... here.
39745         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39746         Identical file removed.
39747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39748         Moved ...
39749         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39750         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39751         Identical file removed.
39752         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39753         Moved ...
39754         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39756         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39757         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39758         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39760         Moved ...
39761         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39762         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39763         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39765         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39766         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39767         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39768         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39769         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39771 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39773         [BZ #17092]
39774         * nscd/nscd.c (monitor_child): Return exit status of child
39775         instead of return value from wait syscall.
39777 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39779         * configure.ac (libc_commonpagesize): Remove variable.
39780         (libc_relro_required): Likewise.
39781         (libc_cv_z_relro): Remove configure test.
39782         * configure: Regenerated.
39783         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39784         variable.
39785         (libc_relro_required): Likewise.
39786         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39787         (libc_relro_required): Likewise.
39788         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39789         (libc_relro_required): Likewise.
39790         * sysdeps/arm/preconfigure: Regenerated.
39791         * sysdeps/ia64/preconfigure: Remove file.
39792         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39793         variable.
39794         (libc_relro_required): Likewise.
39796         [BZ #16561]
39797         [BZ #16562]
39798         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39799         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39800         recompute overflowing results in original rounding mode.
39801         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39802         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39803         recompute overflowing results in original rounding mode.
39804         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39805         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39806         recompute overflowing results in original rounding mode.
39807         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39808         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39809         recompute overflowing results in original rounding mode.
39810         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39811         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39812         recompute overflowing results in original rounding mode.
39813         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39814         (libc_feholdsetround_ctx): New macro.
39815         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39816         * sysdeps/i386/fpu/libm-test-ulps: Update.
39817         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39819 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39821         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39822         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39823         corresponding .cpsetup call.
39825 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39827         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39828         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39829         * sysdeps/arm/Makefile [$(subdir) = csu]
39830         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39831         (static-only-routines): Add aeabi_read_tp here.
39832         (shared-only-routines): Add libc-aeabi_read_tp here.
39833         (CFLAGS-libc-start.c): Add -fexceptions here.
39834         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39835         (sysdep_routines, static-only-routines, shared-only-routines):
39836         Don't add to these here.
39837         (CFLAGS-libc-start.c): Likewise.
39839         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39840         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39841         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39842         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39843         * sysdeps/arm/Makefile [$(subdir) = rt]
39844         (librt-sysdep_routines, librt-shared-only-routines):
39845         Append rt-aeabi_unwind_cpp_pr1 here.
39846         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39847         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39848         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39849         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39850         Append nptl-aeabi_unwind_cpp_pr1 here.
39851         (tests): Filter out tst-cleanupx4 here.
39852         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39853         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39854         Don't do those here.
39856 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39858         * scripts/list-sources.sh: Do not handle ports specially.
39860 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39862         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39863         * sysdeps/arm/feupdateenv.c: Likewise.
39865         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39867 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39869         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39870         trailing whitespace removed.
39871         * scripts/config.guess: Update to version 2014-03-23.
39872         * scripts/config.sub: Update to version 2014-05-01
39873         * scripts/install-sh: Update to version 2013-12-25.23.
39874         * scripts/move-if-change: Update from gnulib.
39876 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39878         * debug/memmove_chk.c: Remove pagecopy.h include.
39880 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39882         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39883         identical to gnulib mktime.
39885 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39887         * configure.ac: Do not test for machine being rs6000.  Do not test
39888         for powerpc*-*soft.
39889         * configure: Regenerated.
39891         [BZ #11505]
39892         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39893         test.
39894         * configure: Regenerated.
39895         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39896         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39897         Remove configure test.
39898         * sysdeps/arm/configure: Regenerated.
39899         * sysdeps/nptl/configure.ac: Do not check
39900         libc_cv_asm_cfi_directives.
39901         * sysdeps/nptl/configure: Regenerated.
39902         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39903         * sysdeps/x86_64/nptl/configure: Remove generated file.
39904         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39905         unconditional.
39906         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39908 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39910         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39911         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39912         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39913         it is defined.
39915         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39916         instead of whether it is defined.
39917         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39918         * sysdeps/hppa/dl-machine.h: Likewise.
39919         * sysdeps/ia64/dl-machine.h: Likewise.
39920         * sysdeps/m68k/dl-machine.h: Likewise.
39921         * sysdeps/microblaze/dl-machine.h: Likewise.
39922         * sysdeps/mips/dl-machine.: Likewise.
39923         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39924         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39925         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39926         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39927         * sysdeps/sh/dl-machine.h: Likewise.
39928         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39929         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39930         * sysdeps/tile/dl-machine.h: Likewise.
39931         * sysdeps/x86_64/dl-machine.h: Likewise.
39933         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39934         code.
39935         (verify_persistent_db): Likewise.
39937 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39940         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39942         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39944         Moved ...
39945         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39946         ... here.
39947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39948         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39950         Identical file removed.
39951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39952         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39954         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39956         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39958         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39960         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39962         Moved ...
39963         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39965         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39967         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39969         Moved ...
39970         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39972         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39974         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39976         Identical file removed.
39977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39978         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39980         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39982         Moved ...
39983         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39984         ... here.
39985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39986         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39988         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39990         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39992         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39994         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39996         Moved ...
39997         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39999         Moved ...
40000         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
40001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
40002         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
40003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40004         Moved ...
40005         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
40006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
40007         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40009         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40010         folded into ...
40011         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40012         * sysdeps/unix/sysv/linux/s390/Versions
40013         (libpthread: GLIBC_2.19): New version set.
40014         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40015         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40016         (librt: GLIBC_2.3.3): New version set.
40017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40018         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40019         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40020         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40021         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40022         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40023         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40024         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40025         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40026         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40027         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40028         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40029         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40030         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40031         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40032         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40033         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40034         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40035         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40036         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40037         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40039         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40041         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40042         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40043         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40044         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40045         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40046         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40047         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40048         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40053         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40055         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40057         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40059         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40061         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40063         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40064         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40065         (__libc_vfork): Define the function under this name.
40066         [!NOT_IN_libc] (__vfork): Make this an alias.
40067         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40069         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40070         (__libc_vfork): Define the function under this name.
40071         [!NOT_IN_libc] (__vfork): Make this an alias.
40072         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40073         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40074         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40075         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40076         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40077         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40079         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40080         code that was previously under [RESET_PID].
40081         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40082         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40085         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40086         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40087         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40088         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40089         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40090         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40091         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40092         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40093         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40094         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40095         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40096         Moved ...
40097         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40098         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40099         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40100         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40101         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40102         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40103         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40104         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40105         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40106         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40107         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40108         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40109         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40110         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40111         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40112         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40113         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40114         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40115         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40116         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40117         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40118         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40119         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40120         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40121         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40122         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40123         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40124         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40125         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40127 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40129         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40130         that was previously under [RESET_PID].
40131         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40133 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40135         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40136         not undefine and redefine.
40137         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40138         [O_CLOEXEC]: Make code unconditional.
40139         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40140         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40141         <kernel-features.h>.
40142         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40143         conditional variable definition.
40144         (shm_open) [O_CLOEXEC]: Make code unconditional.
40145         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40146         code.
40148         * configure.ac (USE_REGPARMS): Don't define here.
40149         * configure: Regenerated.
40150         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40151         * sysdeps/i386/configure: Regenerated.
40153         * nptl/createthread.c: Don't include kernel-features.h.
40154         * nptl/pthread_cancel.c: Likewise.
40155         * nptl/pthread_condattr_setclock.c: Likewise.
40156         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40157         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40158         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40159         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40160         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40161         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40162         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40165         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40166         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40167         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40168         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40169         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40170         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40171         * nscd/gai.c: Likewise.
40172         * nss/nss_db/db-open.c: Likewise.
40173         * sysdeps/generic/ldsodefs.h: Likewise.
40174         * sysdeps/sh/nptl/tls.h: Likewise.
40175         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40176         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40177         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40178         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40179         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40180         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40181         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40182         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40184         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40185         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40186         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40187         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40188         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40189         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40190         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40191         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40192         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40193         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40194         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40197         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40198         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40203         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40204         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40205         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40206         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40207         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40208         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40209         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40210         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40211         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40212         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40213         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40214         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40215         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40216         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40217         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40218         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40219         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40220         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40221         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40222         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40223         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40224         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40225         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40226         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40227         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40228         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40229         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40230         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40231         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40232         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40255         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40256         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40257         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40258         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40259         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40260         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40261         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40262         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40263         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40264         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40265         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40266         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40267         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40268         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40269         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40270         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40271         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40272         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40273         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40274         * sysdeps/unix/sysv/linux/system.c: Likewise.
40275         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40276         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40277         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40278         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40279         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40280         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40281         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40283         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40284         * configure: Regenerated.
40285         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40287         * configure.ac (base_machine): Do not set specially for particular
40288         machines here.
40289         * configure: Regenerated.
40290         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40291         settings from configure.ac.
40292         * sysdeps/i386/preconfigure: New file.
40293         * sysdeps/s390/preconfigure: Likewise.
40294         * sysdeps/sh/preconfigure: Likewise.
40295         * sysdeps/sparc/preconfigure: Likewise.
40297 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40299         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40300         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40301         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40302         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40303         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40304         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40305         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40306         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40307         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40308         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40309         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40310         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40311         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40312         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40313         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40314         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40315         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40316         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40317         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40319         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40320         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40321         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40322         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40323         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40324         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40325         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40326         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40327         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40328         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40329         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40330         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40331         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40332         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40333         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40334         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40335         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40336         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40337         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40338         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40339         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40340         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40341         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40342         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40344         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
40345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
40346         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
40347         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
40348         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
40349         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
40350         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
40351         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
40352         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
40353         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
40354         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
40355         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
40356         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
40358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
40359         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
40360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
40361         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
40362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40363         Moved ...
40364         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
40365         ... here.
40366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
40367         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
40368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
40369         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
40371         Moved ...
40372         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
40373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
40374         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
40375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
40376         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
40377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
40378         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
40379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40380         Moved ...
40381         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40383         Moved ...
40384         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
40385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
40386         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
40387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40388         Moved ...
40389         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
40390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
40391         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
40392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
40393         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
40394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40395         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
40396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
40397         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
40398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40399         Moved ...
40400         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
40401         ... here.
40402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
40403         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
40404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
40405         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
40406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
40407         Moved ...
40408         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
40409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
40410         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
40411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
40412         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
40413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
40414         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
40415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40416         Moved ...
40417         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
40418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40419         Moved ...
40420         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
40421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40422         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40424         Moved ...
40425         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40427         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40429         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40431 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40433         * timezone/checktab.awk: Update from tzcode 2014e.
40434         * timezone/private.h: Likewise.
40435         * timezone/tzfile.h: Likewise.
40436         * timezone/zdump.c: Likewise.
40437         * timezone/zic.c: Likewise.
40439         * sysdeps/unix/sysv/linux/kernel-features.h
40440         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40441         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40442         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40443         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40444         Remove conditional code.
40446 2014-06-25  Will Newton  <will.newton@linaro.org>
40448         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40449         (_dl_arm_cap_flags): Add HWCAP2 values.
40450         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40451         (_DL_HWCAP_COUNT): Increase to 37.
40452         (_DL_HWCAP_LAST): New define.
40453         (_DL_HWCAP2_LAST): New define.
40454         (_dl_procinfo): Add support for printing
40455         AT_HWCAP2 entries.
40456         (_dl_string_hwcap): Use _dl_hwcap_string.
40458 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40462 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40464         * README: Do not mention ports directory.
40466         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40467         Remove macro.
40468         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40469         <kernel-features.h>.
40470         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40471         conditional variable definition.
40472         (__futimes): Update comment.
40473         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40474         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40476         [BZ #16560]
40477         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40478         arguments close to 0.
40479         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40480         Likewise.
40481         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40482         Likewise.
40483         * math/auto-libm-test-in: Add more tests of exp10.
40484         * math/auto-libm-test-out: Regenerated.
40485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40487         * sysdeps/unix/sysv/linux/kernel-features.h
40488         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40489         * sysdeps/unix/sysv/linux/readv.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_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40494         unconditional.
40495         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40496         conditional code.
40497         * sysdeps/unix/sysv/linux/writev.c: Do not include
40498         <kernel-features.h>.
40499         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40500         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40501         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40502         unconditional.
40503         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40504         conditional code.
40506 2014-06-25  Will Newton  <will.newton@linaro.org>
40508         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40509         comment changes throughout the file.  Remove checks
40510         for HAVE_*_H definitions that are not required.
40511         (__gen_tempname): Call abort if an unknown kind value is
40512         passed.
40514 2014-06-25  Andreas Schwab  <schwab@suse.de>
40516         [BZ #17086]
40517         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40518         scalbln, scalblnf, scalblnl in libc.
40520 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40522         [BZ #17086]
40523         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40524         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40525         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40527 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40529         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40530         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40531         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40532         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40533         Update #include.
40534         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40535         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40536         Update #include.
40537         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40538         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40539         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40540         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40541         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40542         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40543         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40544         * sysdeps/x86/bits/semaphore.h: ... here.
40545         * sysdeps/x86/nptl/elide.h: Moved ...
40546         * sysdeps/x86/elide.h: ... here.
40547         * sysdeps/x86_64/nptl/Implies: File removed.
40548         * sysdeps/i386/nptl/Implies: File removed.
40550 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40552         [BZ #16539]
40553         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40554         return the argument for normal arguments with exponent below -64.
40555         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40556         Likewise.
40557         * math/auto-libm-test-in: Add another test of expm1.
40558         * math/auto-libm-test-out: Regenerated.
40560         [BZ #16287]
40561         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40562         calling __erfcl for arguments at least 16.
40563         * math/auto-libm-test-in: Add more tests of erf.
40564         * math/auto-libm-test-out: Regenerated.
40566         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40567         individual architectures.
40568         * sysdeps/unix/sysv/linux/configure: Regenerated.
40569         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40570         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40571         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40572         (ldd_rewrite_script): Define variable.
40573         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40575         file.
40576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40577         generated file.
40578         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40579         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40580         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40581         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40582         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40583         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40584         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40585         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40587 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40589         [BZ #17084]
40590         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40591         Rename member __data.d to __data.__elision_data.
40593 2014-06-24  Wilco  <wdijkstr@arm.com>
40595         * NEWS: Add 16918 to fixed bug list.
40597 2014-06-24  Wilco  <wdijkstr@arm.com>
40599         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40601 2014-06-24  Wilco  <wdijkstr@arm.com>
40603         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40604         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40605         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40606         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40607         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40608         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40609         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40610         Use _FPU_MASK_RM.
40612 2014-06-24  Wilco  <wdijkstr@arm.com>
40614         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40616 2014-06-24  Wilco  <wdijkstr@arm.com>
40618         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40619         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40620         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40621         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40623 2014-06-24  Wilco  <wdijkstr@arm.com>
40625         [BZ #16918]
40626         * sysdeps/arm/feupdateenv.c (feupdateenv):
40627         Rewrite to reduce FPSCR accesses and fix return value.
40629 2014-06-24  Wilco  <wdijkstr@arm.com>
40631         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40632         Optimize to avoid unnecessary FPSCR writes.
40633         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40634         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40635         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40636         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40638 2014-06-24  Wilco  <wdijkstr@arm.com>
40640         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40641         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40642         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40643         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40644         Call libc_fetestexcept_vfp.
40645         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40646         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40647         __SOFTFP__ ifdef so that they can be built for softfp.
40649 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40651         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40652         argument type signed char.
40654         * Makerules (check-abi): Dump diff of symlist if the test
40655         fails.
40657 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40659         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40660         using abort.
40662         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40663         Remove unused variable ST.
40665 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40667         [BZ #16354]
40668         [BZ #17061]
40669         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40670         small arguments before calling __expm1.
40671         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40672         small arguments before calling __expm1f.
40673         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40674         small arguments before calling __expm1l.
40675         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40676         Likewise.
40677         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40678         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40679         spurious underflow for some cosh tests.
40680         * math/auto-libm-test-out: Regenerated.
40681         * sysdeps/i386/fpu/libm-test-ulps: Update.
40683         [BZ #17050]
40684         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40685         (__ieee754_y1): Set errno if return value overflows.
40686         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40687         (__ieee754_y1f): Set errno if return value overflows.
40688         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40689         (__ieee754_y1l): Set errno if return value overflows.
40690         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40691         (__ieee754_y1l): Set errno if return value overflows.
40692         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40693         * math/auto-libm-test-out: Regenerated.
40695         * math/gen-auto-libm-tests.c: Document use of
40696         ignore-zero-inf-sign.
40697         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40698         (input_flags): Add ignore-zero-inf-sign.
40699         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40700         * math/gen-libm-test.pl (generate_testfile): Handle
40701         ignore-zero-inf-sign.
40702         * math/auto-libm-test-in: Mark some cpow tests with
40703         ignore-zero-inf-sign and some with xfail-rounding.
40704         * math/auto-libm-test-out: Regenerated.
40705         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40706         * sysdeps/i386/fpu/libm-test-ulps: Update.
40707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40709         [BZ #16315]
40710         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40711         overflowing or underflowing operations take place with sign of
40712         result.
40713         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40714         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40715         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40716         (__ieee754_pow): Recompute overflowing and underflowing results in
40717         original rounding mode.
40718         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40719         (__powl_helper): Allow negative argument X and scale negated value
40720         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40721         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40722         overflowing or underflowing operations take place with sign of
40723         result.
40724         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40725         Include <math.h>.
40726         * math/auto-libm-test-in: Add more tests of pow.
40727         * math/auto-libm-test-out: Regenerated.
40728         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40729         (pow_tonearest_test_data): Remove.
40730         (pow_test_tonearest): Likewise.
40731         (pow_towardzero_test_data): Likewise.
40732         (pow_test_towardzero): Likewise.
40733         (pow_downward_test_data): Likewise.
40734         (pow_test_downward): Likewise.
40735         (pow_upward_test_data): Likewise.
40736         (pow_test_upward): Likewise.
40737         (main): Don't call removed functions.
40738         * sysdeps/i386/fpu/libm-test-ulps: Update.
40739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40741 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40744         Moved ...
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40747         Moved ...
40748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40750         Moved ...
40751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40753         Moved ...
40754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40756         File removed.
40757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40758         File removed.
40759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40760         File removed.
40761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40762         File removed.
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40764         File removed.
40765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40766         File removed.
40767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40768         File removed.
40769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40770         File removed.
40771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40772         File removed.
40773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40774         File removed.
40775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40776         File removed.
40777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40778         File removed.
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40780         Moved ...
40781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40783         Moved ...
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40785         ... here.
40786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40787         Moved ...
40788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40790         Moved ...
40791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40793         Moved ...
40794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40796         Moved ...
40797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40799         Moved ...
40800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40802         Moved ...
40803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40805         Moved ...
40806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40809         ... here.
40810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40811         Moved ...
40812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40814         Moved ...
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40816         ... here.
40817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40818         Moved ...
40819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40820         ... here.
40821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40822         Moved ...
40823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40824         ... here.
40825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40826         Moved ...
40827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40829         Moved ...
40830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40834         Moved ...
40835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40836         ... here.
40837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40838         Moved ...
40839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40840         ... here.
40841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40842         Moved ...
40843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40845         Moved ...
40846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40848         Moved ...
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40851         Moved ...
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40854         Moved ...
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40856         ... here.
40857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40858         Moved ...
40859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40861         Moved ...
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40864         Moved ...
40865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40867         Moved ...
40868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40872         Moved ...
40873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40875         Moved ...
40876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40878         Moved ...
40879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40880         ... here.
40881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40882         Moved ...
40883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40884         ... here.
40885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40886         Moved ...
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40888         ... here.
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40890         Moved ...
40891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40893         Moved ...
40894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40896         Moved ...
40897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40899         Moved ...
40900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40901         ... here.
40902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40903         Moved ...
40904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40905         ... here.
40906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40907         Moved ...
40908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40909         ... here.
40910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40911         Moved ...
40912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40914         Moved ...
40915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40917 2014-06-23  Will Newton  <will.newton@linaro.org>
40918             Wilco  <wdijkstr@arm.com>
40920         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40921         implementation.  Include get-rounding-mode.h.
40922         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40923         [!libc_feholdsetround_noex_ctx]: Define
40924         libc_feholdsetround_noex_ctx.
40925         [!libc_feholdsetround_noexf_ctx]: Define
40926         libc_feholdsetround_noexf_ctx.
40927         [!libc_feholdsetround_noexl_ctx]: Define
40928         libc_feholdsetround_noexl_ctx.
40929         (libc_feholdsetround_ctx): New function.
40930         (libc_feresetround_ctx): New function.
40931         (libc_feholdsetround_noex_ctx): New function.
40932         (libc_feresetround_noex_ctx): New function.
40934 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40936         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40937         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40938         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40939         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40940         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40941         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40943         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40944         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40945         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40946         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40947         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40948         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40949         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40950         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40951         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40952         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40954         Moved ...
40955         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40956         ... here.
40957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40958         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40960         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40962         Moved ...
40963         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40964         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40965         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40966         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40967         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40968         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40969         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40971         Moved ...
40972         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40973         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40974         Moved ...
40975         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40976         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40977         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40979         Moved ...
40980         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40981         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40982         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40983         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40984         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40985         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40986         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40987         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40988         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40989         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40990         Moved ...
40991         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40992         ... here.
40993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40994         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40996         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40998         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
41000         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
41001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
41002         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
41003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
41004         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
41005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
41006         Moved ...
41007         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41008         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41009         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41010         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41011         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41012         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41013         Moved ...
41014         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41015         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41016         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41017         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41018         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41020         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41021         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41022         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41023         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41024         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41025         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41026         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41027         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41028         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41029         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41030         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41031         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41032         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41033         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41034         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41035         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41036         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41037         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41038         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41039         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41040         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41041         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41042         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41043         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41044         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41045         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41046         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41047         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41049 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41052         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41053         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41054         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41055         (IPV6_PMTUDISC_INTERFACE): Likewise.
41056         (IPV6_PMTUDISC_OMIT): Likewise.
41058 2014-06-23  Andreas Schwab  <schwab@suse.de>
41060         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41061         Remove unused errout label.
41063 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41065         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41066         macro: hardware supports Vector Crypto instructions.
41068 2014-06-23  Will Newton  <will.newton@linaro.org>
41070         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41071         rather than __builtin_expect.
41073         * elf/dl-lookup.c (undefined_msg): Remove variable.
41074         (_dl_lookup_symbol_x): Replace undefined_msg with string
41075         literal.
41077         * elf/dl-lookup.c (do_lookup_unique): New function.
41078         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41079         to a separate function.
41081 2014-06-23  Andreas Schwab  <schwab@suse.de>
41083         [BZ #17079]
41084         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41085         before reading the next line.
41087 2014-06-23  Will Newton  <will.newton@linaro.org>
41089         * test-skeleton.c (signal_handler): Use printf and %m
41090         rather than perror.  Use printf rather than fprintf to
41091         stderr.  Use puts rather than fputs to stderr.
41092         (main): Likewise.
41094 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41096         * nscd/nscd.c (thread_info_t): Remove typedef.
41097         (thread_info): Remove variable.
41099 2014-06-21  Allan McRae  <allan@archlinux.org>
41101         * NEWS: Mention CVE-2014-4043.
41103 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41105         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41106         * nptl/smp.h: ... here.
41108         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41110         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41111         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41112         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41113         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41115         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41116         * nptl/stack-aliasing.h: New file.
41117         * sysdeps/i386/i686/stack-aliasing.h: New file.
41118         * sysdeps/i386/i686/nptl/Makefile: File removed.
41119         * sysdeps/x86_64/stack-aliasing.h: New file.
41120         * sysdeps/x86_64/nptl/Makefile
41121         (CFLAGS-pthread_create.c): Variable removed.
41123         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41124         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41125         old file.
41126         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41127         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41128         old file.
41130 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41132         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41133         (__ASSUME_SIGFRAME_V2): Remove macro.
41134         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41135         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41136         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41137         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41138         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41139         Declare as function.  Remove conditional macro definitions.
41140         (__default_rt_sa_restorer): Likewise.
41141         (__default_sa_restorer_v1): Remove declaration.
41142         (__default_sa_restorer_v2): Likewise.
41143         (__default_rt_sa_restorer_v1): Likewise.
41144         (__default_rt_sa_restorer_v2): Likewise.
41145         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41146         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41147         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41149 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41151         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41152         (libpthread-routines): Add sysdep.
41153         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41154         * sysdeps/unix/sysv/linux/sparc/Versions
41155         (libpthread: GLIBC_2.3.3): New version set.
41156         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41157         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41158         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41159         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41160         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41161         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41162         Moved ...
41163         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41164         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41165         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41166         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41167         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41168         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41169         * sysdeps/sparc/nptl/sem_init.c: ... here.
41170         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41171         * sysdeps/sparc/nptl/sem_post.c: ... here.
41172         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41173         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41174         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41175         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41176         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41177         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41178         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41179         (libpthread-routines): Add cpu_relax.
41180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41181         File removed.
41182         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41183         (librt: GLIBC_2.3.3): New version set.
41184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41185         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41186         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41187         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41190         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41192         Moved ...
41193         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41195         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41197         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41199         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41201         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41203         Moved ...
41204         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41205         Update #include.
41206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41207         Moved ...
41208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41209         Update #include.
41210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41211         Moved ...
41212         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41213         Update #include.
41214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41215         Moved ...
41216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41217         Update #include.
41218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41219         Moved ...
41220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41221         Update #include.
41222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41223         Moved ...
41224         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41225         Update #include.
41226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41227         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41233         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41235         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41237         Moved ...
41238         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41240         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41242         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41244 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41246         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41247         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41248         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41249         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41250         * nscd/nscd.c: Likewise.
41251         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41252         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41253         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41254         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41256         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41257         <kernel-features.h>.
41258         (init_mq_netlink): Remove conditional have_sock_cloexec
41259         definitions.  Remove code conditional on have_sock_cloexec < 0.
41260         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41261         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41262         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41263         <kernel-features.h>.
41264         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41265         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41267 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41270         Add tests for memset_chk and memset.
41272         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41273         with AVX2_Usable.
41275 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41277         [BZ #16046]
41278         * elf/tst-dl-iter-static.c: New file.
41279         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41281         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41282         error.
41284 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41286         * sysdeps/unix/sysv/linux/kernel-features.h
41287         (__ASSUME_F_GETOWN_EX): Remove macro.
41288         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41289         <kernel-features.h>.
41290         (miss_F_GETOWN_EX): Remove variable or macro.
41291         (do_fcntl): Do not check miss_F_GETOWN_EX.
41292         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41295         Remove macro.
41296         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41297         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41298         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41300         * sysdeps/unix/sysv/linux/kernel-features.h
41301         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41302         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41303         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41304         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41306 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41308         [BZ #17075]
41309         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41310         Fix calculation of the symbol's value.
41311         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41312         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41313         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41314         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41315         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41316         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41317         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41318         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41319         (modules-names): Add `tst-armtlsdescmod',
41320         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41321         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41322         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41323         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41324         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41325         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41326         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41327         ($(objpfx)tst-armtlsdescloc): New dependency.
41328         ($(objpfx)tst-armtlsdescextnow): Likewise.
41329         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41330         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41331         TLS scheme support.
41332         * sysdeps/arm/configure: Regenerate.
41334 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41336         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41337         (__atfct_seterrno_2): Likewise.
41338         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41339         <kernel-features.h>.
41340         (__ASSUME_ATFCTS): Do not undefine and redefine.
41341         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41342         (__have_atfcts): Remove conditional definition.
41343         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41344         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
41345         unreachable if [__ASSUME_ATFCTS].
41346         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
41347         not undefine and redefine.
41348         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
41349         <kernel-features.h>.
41350         (faccessat) [__NR_faccessat]: Make code unconditional.
41351         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
41352         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
41353         <kernel-features.h>.
41354         (fchmodat) [__NR_fchmodat]: Make code unconditional.
41355         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41356         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
41357         <kernel-features.h>.
41358         (fchownat) [__NR_fchownat]: Make code unconditional.
41359         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
41360         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
41361         <kernel-features.h>.
41362         (futimesat) [__NR_futimesat]: Make code unconditional.
41363         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
41364         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41365         <kernel-features.h>.
41366         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41367         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41368         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41369         <kernel-features.h>.
41370         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
41371         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41372         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
41373         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41374         <kernel-features.h>.
41375         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
41376         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41377         * sysdeps/unix/sysv/linux/linkat.c: Do not include
41378         <kernel-features.h>.
41379         (linkat) [__NR_linkat]: Make code unconditional.
41380         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41381         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
41382         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
41383         <kernel-features.h>.
41384         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
41385         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41386         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
41387         <kernel-features.h>.
41388         (mkdirat) [__NR_mkdirat]: Make code unconditional.
41389         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
41390         * sysdeps/unix/sysv/linux/openat.c: Do not include
41391         <kernel-features.h>.
41392         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
41393         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
41394         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
41395         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
41396         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
41397         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
41398         <kernel-features.h>.
41399         (readlinkat) [__NR_readlinkat]: Make code unconditional.
41400         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
41401         result of INLINE_SYSCALL directly, not via int variable.
41402         * sysdeps/unix/sysv/linux/renameat.c: Do not include
41403         <kernel-features.h>.
41404         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
41405         (renameat) [__NR_renameat]: Make code unconditional.
41406         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
41407         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
41408         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
41409         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
41410         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
41411         (__ASSUME_ATFCTS): Do not undefine and redefine.
41412         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
41413         <kernel-features.h>.
41414         (symlinkat) [__NR_symlinkat]: Make code unconditional.
41415         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41416         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
41417         <kernel-features.h>.
41418         (unlinkat) [__NR_unlinkat]: Make code unconditional.
41419         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41420         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
41421         (__ASSUME_ATFCTS): Do not undefine and redefine.
41422         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41423         <kernel-features.h>.
41424         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41425         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41426         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41427         <kernel-features.h>.
41428         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41429         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41431 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41433         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41435 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41437         [BZ #17069]
41438         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41439         constructed tree before returning error.
41440         * posix/bug-regexp36.c: Expand test case.
41442 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41444         [BZ #6803]
41445         * math/libm-test.inc (scalbln_test_date):
41446         Add errno expectations.
41447         * math/w_scalblnf.c: New File.
41448         Add wrapper which checks for setting errno to ERANGE.
41449         Add weak_alias for corresponding scalbln function.
41450         * math/w_scalbln.c: Likewise.
41451         * math/w_scalblnl.c: Likewise.
41452         * math/Makefile (libm-calls): Add w_scalbln.
41453         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41454         Remove weak_alias for corresponding scalbln function.
41455         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41456         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41457         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41458         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41459         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41460         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41461         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41462         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41463         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41464         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41465         Remove long_double_symbol for scalblnl function in libm, libc.
41466         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41467         Add wrapper which checks for setting errno to ERANGE.
41468         Add long_double_symbol for scalblnl function in libm, libc.
41469         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41470         Remove long_double_symbol for scalblnl in libm.
41471         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41472         Add wrapper which checks for setting errno to ERANGE.
41473         Add long_double_symbol for scalblnl function in libm.
41474         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41475         Do not use wrapper because of own implementation.
41477 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41479         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41480         3 bytes for __pad1 for x32.
41481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41483 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41484             H.J. Lu  <hongjiu.lu@intel.com>
41486         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41487         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41488         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41489         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41490         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41492 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41494         [BZ #17069]
41495         * posix/regcomp.c (parse_expression): Deallocate partially
41496         constructed tree before returning error.
41497         * posix/Makefile.c (tests): Add bug-regex36.
41498         (generated): Add bug-regex36.mtrace.
41499         (tests-special): Add $(objpfx)bug-regex36-mem.out
41500         (bug-regex36-ENV): New variable.
41501         ($(objpfx)bug-regex36-mem.out): New rule.
41502         * posix/bug-regex36.c: New file.
41504 2014-06-19  Will Newton  <will.newton@linaro.org>
41506         * malloc/malloc.c (systrim): If extra is zero then return
41507         early.
41509 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41511         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41513 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41515         * sysdeps/aarch64/strchr.S: New file.
41517 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41519         [BZ #17022]
41520         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41521         from arguments -2 or below.
41522         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41523         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41525 2014-06-18  Andreas Schwab  <schwab@suse.de>
41527         [BZ #17062]
41528         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41529         of a bracket expr not to run off the end of the string.
41530         * posix/Makefile (tests): Add tst-fnmatch3.
41531         * posix/tst-fnmatch3.c: New file.
41533 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41535         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41536         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41537         [$(cross-compiling) = no]: Likewise.
41538         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41539         [$(cross-compiling) = no]: Likewise.
41541 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41543         [BZ #17031]
41544         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41545         double, adjusted for any remainder from the high double.
41546         * math/libm-test.inc (nearbyint): Add tests.
41547         (rint): Likewise.
41549 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41551         * nptl/sysdeps/powerpc/Makefile: Moved ...
41552         * sysdeps/powerpc/nptl/Makefile: ... here.
41553         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41554         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41555         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41556         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41557         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41558         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41559         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41560         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41561         * nptl/sysdeps/powerpc/tls.h: Moved ...
41562         * sysdeps/powerpc/nptl/tls.h: ... here.
41564 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41566         [BZ #16681]
41567         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41568         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41569         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41570         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41571         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41572         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41573         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41574         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41575         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41577 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41579         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41581 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41583         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41584         defined operator.
41586         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41587         $TIMEOUTFACTOR.
41589 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41591         [BZ #17058]
41592         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41593         non-executed part of the test.
41595 2014-06-16  Andreas Schwab  <schwab@suse.de>
41597         * string/bits/string2.h (strdup, strndup): Update feature guard.
41599 2014-06-14  David S. Miller  <davem@davemloft.net>
41601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41603 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41605         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41606         that was previously under [RESET_PID].
41607         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41609         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41610         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41611         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41612         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41613         (__libc_vfork): New strong alias.
41614         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41616 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41618         * sysdeps/generic/elide.h: New file.
41620 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41622         * Makefile (installed-headers): Adjust path of pthread.h header.
41624 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41626         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41627         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41628         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41629         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41631         * nptl/sysdeps/s390/Makefile: Moved ...
41632         * sysdeps/s390/nptl/Makefile: ... here.
41633         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41634         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41635         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41636         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41637         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41638         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41639         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41640         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41641         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41642         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41643         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41644         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41645         * nptl/sysdeps/s390/tls.h: Moved ...
41646         * sysdeps/s390/nptl/tls.h: ... here.
41648         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41649         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41651 2014-06-13  David S. Miller  <davem@davemloft.net>
41653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41656         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41660         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41661         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41662         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41663         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41664         Remove RESET_PID cpp guards.
41665         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41666         Remove RESET_PID cpp guards.
41667         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41669 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41671         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41672         __sp to uintptr_t.
41674 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41676         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41677         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41678         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41679         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41680         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41681         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41683         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41684         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41685         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41686         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41687         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41688         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41689         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41690         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41691         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41692         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41693         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41694         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41697         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41698         (pthread_rwlock_rdlock): Add elision.
41699         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41700         (pthread_rwlock_wrlock): Add elision.
41701         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41702         (pthread_rwlock_trywrlock): Add elision.
41703         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41704         (pthread_rwlock_tryrdlock): Add elision.
41705         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41706         (pthread_rwlock_tryrdlock): Add elision unlock.
41707         * nptl/sysdeps/pthread/pthread.h:
41708         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41709         (PTHREAD_RWLOCK_INITIALIZER,
41710         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41711         Handle new elision field.
41712         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41713         * sysdeps/arm/nptl/bits/pthreadtypes.h
41714         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41715         * sysdeps/sh/nptl/bits/pthreadtypes.h
41716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41717         * sysdeps/tile/nptl/bits/pthreadtypes.h
41718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41719         * sysdeps/a/nptl/bits/pthreadtypes.h
41720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41721         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41723         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41725         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41727         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41729         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41731         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41733         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41735         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41737         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41738         (elision_init): Set try_xbegin to zero when no RTM.
41739         * sysdeps/x86/nptl/bits/pthreadtypes.h
41740         (pthread_rwlock_t): Change __pad1 to __rwelision.
41741         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41743 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41745         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41746         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41747         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41748         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41750 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41752         [BZ #16996]
41753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41754         that the cached result has been set before returning it.
41756 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41758         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41759         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41760         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41761         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41762         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41763         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41765         * nptl/sysdeps/sparc/Makefile: Moved ...
41766         * sysdeps/sparc/nptl/Makefile: ... here.
41767         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41768         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41769         * nptl/sysdeps/sparc/tls.h: Moved ...
41770         * sysdeps/sparc/nptl/tls.h: ... here.
41771         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41772         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41773         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41774         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41775         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41776         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41777         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41778         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41779         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41780         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41781         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41782         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41783         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41784         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41785         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41786         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41787         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41788         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41789         Update #include.
41790         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41792         Update #include.
41793         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41795         Update #include.
41796         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41797         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41798         Update #include.
41800         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41802         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41803         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41805         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41806         (struct list_links): Type removed.
41807         (struct thread_node, struct timer_node): Replace struct list_links
41808         with struct list_head.
41809         (list_unlink_ip): Likewise.
41810         * sysdeps/pthread/timer_routines.c
41811         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41812         (list_append, list_insbefore): Likewise.
41813         (list_init): Function removed.
41814         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41815         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41816         * sysdeps/pthread/Makefile: ... here, new file.
41818         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41819         * sysdeps/nptl/Implies: ... here.
41820         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41821         * nptl/sysdeps/pthread/list.h: Moved ...
41822         * include/list.h: ... here.
41823         * nptl/sysdeps/pthread/createthread.c: Moved ...
41824         * nptl/createthread.c: ... here.
41825         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41826         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41827         * nptl/pt-longjmp.c: ... here.
41828         * nptl/sysdeps/pthread/Makefile: Moved ...
41829         * sysdeps/nptl/Makefile: ... here.
41830         * nptl/sysdeps/pthread/Subdirs: Moved ...
41831         * sysdeps/nptl/Subdirs: ... here.
41832         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41833         * sysdeps/nptl/aio_misc.h: ... here.
41834         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41835         * sysdeps/nptl/bits/libc-lock.h: ... here.
41836         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41837         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41838         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41839         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41840         * nptl/sysdeps/pthread/configure: Moved ...
41841         * sysdeps/nptl/configure: ... here.
41842         * nptl/sysdeps/pthread/configure.ac: Moved ...
41843         * sysdeps/nptl/configure.ac: ... here.
41844         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41845         * sysdeps/nptl/gai_misc.h: ... here.
41846         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41847         * sysdeps/nptl/librt-cancellation.c: ... here.
41848         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41849         * sysdeps/nptl/malloc-machine.h: ... here.
41850         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41851         * sysdeps/nptl/pthread-functions.h: ... here.
41852         * nptl/sysdeps/pthread/pthread.h: Moved ...
41853         * sysdeps/nptl/pthread.h: ... here.
41854         * nptl/sysdeps/pthread/setxid.h: Moved ...
41855         * sysdeps/nptl/setxid.h: ... here.
41856         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41857         * sysdeps/nptl/sigfillset.c: ... here.
41858         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41859         * sysdeps/nptl/tcb-offsets.h: ... here.
41860         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41861         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41862         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41863         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41864         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41865         * sysdeps/pthread/allocalim.h: ... here.
41866         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41867         * sysdeps/pthread/bits/sigthread.h: ... here.
41868         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41869         * sysdeps/pthread/flockfile.c: ... here.
41870         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41871         * sysdeps/pthread/ftrylockfile.c: ... here.
41872         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41873         * sysdeps/pthread/funlockfile.c: ... here.
41874         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41875         * sysdeps/pthread/posix-timer.h: ... here.
41876         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41877         * sysdeps/pthread/timer_create.c: ... here.
41878         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41879         * sysdeps/pthread/timer_delete.c: ... here.
41880         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41881         * sysdeps/pthread/timer_getoverr.c: ... here.
41882         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41883         * sysdeps/pthread/timer_gettime.c: ... here.
41884         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41885         * sysdeps/pthread/timer_routines.c: ... here.
41886         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41887         * sysdeps/pthread/timer_settime.c: ... here.
41888         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41889         * sysdeps/pthread/tst-timer.c: ... here.
41890         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41891         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41893         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41894         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41896         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41897         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41898         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41899         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41900         Update #include target.
41901         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41902         * sysdeps/i386/i686/nptl/Makefile: ... here.
41903         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41904         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41905         Update #include target.
41906         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41907         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41908         * nptl/sysdeps/i386/Makefile: Moved ...
41909         * sysdeps/i386/nptl/Makefile: ... here.
41910         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41911         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41912         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41913         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41914         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41915         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41916         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41917         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41918         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41919         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41920         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41921         * nptl/sysdeps/i386/tls.h: Moved ...
41922         * sysdeps/i386/nptl/tls.h: ... here.
41924         * sysdeps/sh/Makefile [$(subdir) = csu]
41925         (gen-as-const-headers): Add tcb-offsets.sym.
41926         * nptl/sysdeps/sh/Makefile: File removed.
41927         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41928         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41929         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41930         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41931         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41932         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41933         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41934         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41935         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41936         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41937         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41938         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41939         * nptl/sysdeps/sh/tls.h: Moved ...
41940         * sysdeps/sh/nptl/tls.h: ... here.
41941         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41942         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41943         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41944         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41945         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41946         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41947         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41948         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41949         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41950         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41951         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41952         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41953         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41954         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41955         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41956         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41958         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41960         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41962         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41964         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41966         Moved ...
41967         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41968         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41969         Moved ...
41970         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41971         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41972         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41973         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41974         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41975         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41976         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41977         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41978         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41979         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41980         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41981         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41982         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41983         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41984         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41985         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41986         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41987         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41988         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41990 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41992         * posix/spawn_faction_addopen.c: Include string.h.
41994 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41996         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41997         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41998         * nptl/sysdeps/x86_64/Makefile: Moved ...
41999         * sysdeps/x86_64/nptl/Makefile: ... here.
42000         * nptl/sysdeps/x86_64/configure: Moved ...
42001         * sysdeps/x86_64/nptl/configure: ... here.
42002         * nptl/sysdeps/x86_64/configure.ac: Moved ...
42003         * sysdeps/x86_64/nptl/configure.ac: ... here.
42004         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
42005         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
42006         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
42007         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42008         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42009         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42010         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42011         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42012         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42013         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42014         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42015         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42016         * nptl/sysdeps/x86_64/tls.h: Moved ...
42017         * sysdeps/x86_64/nptl/tls.h: ... here.
42018         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42019         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42020         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42021         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42023         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42025 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42029 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42031         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42032         type.
42033         [POSIX] (off_t): Likewise.
42034         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42035         [POSIX] (S_ISBLK): Require macro.
42036         [POSIX] (S_ISCHR): Likewise.
42037         [POSIX] (S_ISDIR): Likewise.
42038         [POSIX] (S_ISFIFO): Likewise.
42039         [POSIX] (S_ISREG): Likewise.
42040         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42041         optional-macro.
42042         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42043         type.
42044         [POSIX] (time_t): Likewise.
42045         [POSIX] (timer_t): Likewise.
42047 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42049         [BZ #17048]
42050         * posix/spawn_int.h (struct __spawn_action): Make the path string
42051         non-const to support deallocation.
42052         * posix/spawn_faction_addopen.c
42053         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42054         * posix/spawn_faction_destroy.c
42055         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42056         path in all spawn_do_open actions.
42057         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42058         posix_spawn_file_actions_addopen.
42060 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42062         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42063         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42064         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42065         conditional code always true.
42066         (__libc_vfork): New alias.
42068 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42070         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42071         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42073         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42075         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42076         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42078         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42079         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42081         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42082         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42084 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42086         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42087         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42088         multiarch strcmp for PPC64.
42089         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42090         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42092         multiarch optimizations.
42093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42094         (__libc_ifunc_impl_list): Likewise.
42096 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42098         * benchtests/scripts/validate_benchout.py: New script.
42099         * benchtests/Makefile (bench-func): Call it.
42100         * benchtests/scripts/benchout.schema.json: New file.
42102 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42104         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42105         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42106         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42107         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42108         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42109         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42110         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42111         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42112         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42113         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42114         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42115         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42116         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42117         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42118         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42119         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42121         Moved ...
42122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42123         ... here.
42124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42125         Moved ...
42126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42130         ... here.
42131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42132         Moved ...
42133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42134         ... here.
42135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42136         Moved ...
42137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42139         Moved ...
42140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42141         ... here.
42142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42143         Moved ...
42144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42145         ... here.
42146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42147         Moved ...
42148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42150         Moved ...
42151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42152         ... here.
42153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42154         Moved ...
42155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42156         ... here.
42157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42158         Moved ...
42159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42160         ... here.
42161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42162         Moved ...
42163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42165         Moved ...
42166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42167         ... here.
42168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42169         Moved ...
42170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42171         ... here.
42172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42173         Moved ...
42174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42175         ... here.
42176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42177         Moved ...
42178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42180         Moved ...
42181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42182         ... here.
42183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42184         Moved ...
42185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42186         ... here.
42187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42188         Moved ...
42189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42191         Moved ...
42192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42193         ... here.
42194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42195         Moved ...
42196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42198         Moved ...
42199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42201         Moved ...
42202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42203         ... here.
42204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42205         Moved ...
42206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42207         ... here.
42208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42209         Moved ...
42210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42211         ... here.
42212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42213         Moved ...
42214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42216         Moved ...
42217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42218         ... here.
42219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42220         Moved ...
42221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42222         ... here.
42223         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42224         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42225         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42226         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42227         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42228         Moved ...
42229         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42230         ... here.
42231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42232         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42234         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42236         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42238         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42240         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42242         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42244         Moved ...
42245         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42246         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42247         Moved ...
42248         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42249         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42250         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42252         Moved ...
42253         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42254         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42255         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42256         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42257         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42258         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42259         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42261 2014-06-10  Wilco  <wdijkstr@arm.com>
42263         * math/test-fenv-return.c: New file.
42264         * math/Makefile: Add new test test-fenv-return.
42266 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42268         [BZ #17042]
42269         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42270         when x - 1 is zero.
42271         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42272         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42273         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42274         0.0L for an argument of 1.0L.
42275         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42276         Likewise.
42277         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42278         value when x - 1 is zero.
42279         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42280         * sysdeps/i386/fpu/libm-test-ulps: Update.
42281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42283 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42285         [BZ #15119]
42286         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42288 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42290         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42291         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42293 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42295         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42296         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42298         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42299         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42301         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42302         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42304         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42305         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42307         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42308         if not already defined.
42309         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42310         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42311         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42312         (TLS_INIT_TP): Use it.
42313         (TLS_DEFINE_INIT_TP): New macro.
42314         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42316 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42318         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42319         constant.
42320         [POSIX] (IXANY): Likewise.
42321         [POSIX] (OLCUC): Likewise.
42322         [POSIX || POSIX2008] (CBAUD): Do not allow.
42323         [POSIX || POSIX2008] (DEFECHO): Likewise.
42324         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42325         [POSIX || POSIX2008] (ECHOKE): Likewise.
42326         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42327         [POSIX || POSIX2008] (EXTA): Likewise.
42328         [POSIX || POSIX2008] (EXTB): Likewise.
42329         [POSIX || POSIX2008] (FLUSHO): Likewise.
42330         [POSIX || POSIX2008] (LOBLK): Likewise.
42331         [POSIX || POSIX2008] (PENDIN): Likewise.
42332         [POSIX || POSIX2008] (SWTCH): Likewise.
42333         [POSIX || POSIX2008] (VDISCARD): Likewise.
42334         [POSIX || POSIX2008] (VDSUSP): Likewise.
42335         [POSIX || POSIX2008] (VLNEXT): Likewise.
42336         [POSIX || POSIX2008] (VREPRINT): Likewise.
42337         [POSIX || POSIX2008] (VSTATUS): Likewise.
42338         [POSIX || POSIX2008] (VWERASE): Likewise.
42339         (B*): Change to B[0123456789]*.
42340         * conform/data/time.h-data [POSIX || UNIX98]
42341         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42342         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42343         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42344         [POSIX] (tm_*): Do not allow.
42346 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
42348         * Makefile (install): Don't set LANGUAGE.
42349         * Makefile.in (install): Likewise.
42350         * assert/Makefile (test-assert-ENV): Remove variable.
42351         (test-assert-perr-ENV): Likewise.
42352         * elf/Makefile (neededtest4-ENV): Likewise.
42353         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42354         [$(cross-compiling) = no]: Don't set LANGUAGE.
42355         * io/ftwtest-sh (LANG): Remove variable.
42356         * libio/Makefile (tst-widetext-ENV): Likewise.
42357         * manual/install.texi (Running make install): Don't refer to
42358         environment settings for make install.
42359         * INSTALL: Regenerated.
42360         * nptl/tst-tls6.sh: Don't set LANG.
42361         * posix/globtest.sh (LANG): Remove variable.
42362         * string/Makefile (tester-ENV): Likewise.
42363         (inl-tester-ENV): Likewise.
42364         (noinl-tester-ENV): Likewise.
42365         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42366         [$(cross-compiling) = no]: Don't set LANGUAGE.
42367         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
42368         without explicit environment settings.
42370 2014-06-06  Roland McGrath  <roland@hack.frob.com>
42372         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
42373         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
42374         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
42375         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
42377 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
42379         * crypt/crypt-private.h [DOS]: Add some includes taken from the
42380         other files in the crypt directory.
42381         * crypt/crypt.c: Remove duplicate includes.
42382         * crypt/crypt-entry.c: Likewise.
42383         * crypt/crypt_util.c: Likewise.
42385 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
42387         * Makeconfig (run-program-env): New variable.
42388         (run-program-prefix-before-env): Likewise.
42389         (run-program-prefix-after-env): Likewise.
42390         (run-program-prefix): Define in terms of new variables.
42391         (built-program-cmd-before-env): New variable.
42392         (built-program-cmd-after-env): Likewise.
42393         (built-program-cmd): Define in terms of new variables.
42394         (test-program-prefix-before-env): New variable.
42395         (test-program-prefix-after-env): Likewise.
42396         (test-program-prefix): Define in terms of new variables.
42397         (test-program-cmd-before-env): New variable.
42398         (test-program-cmd-after-env): Likewise.
42399         (test-program-cmd): Define in terms of new variables.
42400         * Rules (make-test-out): Use $(run-program-env).
42401         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
42402         (help): Do not mention environment variables.  Mention
42403         --timeoutfactor option.
42404         (timeoutfactor): New variable.
42405         (blacklist_exports): Remove function.
42406         (exports): Remove variable.
42407         (command): Do not include ${exports}.
42408         * manual/install.texi (Configuring and compiling): Do not mention
42409         test wrappers preserving environment variables.  Mention that last
42410         assignment to a variable must take precedence.
42411         * INSTALL: Regenerated.
42412         * benchtests/Makefile (run-bench): Use $(run-program-env).
42413         * catgets/Makefile ($(objpfx)test1.cat): Use
42414         $(built-program-cmd-before-env), $(run-program-env) and
42415         $(built-program-cmd-after-env).
42416         ($(objpfx)test2.cat): Do not specify environment variables
42417         explicitly.
42418         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
42419         $(run-program-env) and $(built-program-cmd-after-env).
42420         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
42421         $(run-program-env) and $(test-program-cmd-after-env).
42422         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42423         explicitly.
42424         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42425         run_program_env and test_program_cmd_after_env arguments.
42426         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42427         * elf/tst-pathopt.sh: Use run_program_env argument.
42428         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42429         $(test-wrapper-env) and $(run-program-env).
42430         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42431         run_program_env arguments.
42432         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42433         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42434         $(test-program-prefix-before-env), $(run-program-env) and
42435         $(test-program-prefix-after-env).
42436         ($(objpfx)tst-gettext2.out): Likewise.
42437         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42438         run_program_env and test_program_prefix_after_env arguments.
42439         * intl/tst-gettext2.sh: Likewise.
42440         * intl/tst-gettext4.sh: Do not set environment variables
42441         explicitly.
42442         * intl/tst-gettext6.sh: Likewise.
42443         * intl/tst-translit.sh: Likewise.
42444         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42445         $(test-program-prefix-before-env), $(run-program-env) and
42446         $(test-program-prefix-after-env).
42447         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42448         run_program_env and test_program_prefix_after_env arguments.
42449         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42450         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42451         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42452         explicitly with each use of ${test_wrapper_env}.
42453         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42454         $(test-program-prefix-before-env), $(run-program-env) and
42455         $(test-program-prefix-after-env).
42456         * posix/tst-getconf.sh: Do not set environment variables
42457         explicitly.
42458         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42459         run_program_env and test_program_prefix_after_env arguments.
42460         * stdio-common/tst-printf.sh: Do not set environment variables
42461         explicitly.
42462         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42463         $(test-program-prefix-before-env), $(run-program-env) and
42464         $(test-program-prefix-after-env).
42465         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42466         run_program_env and test_program_prefix_after_env arguments.
42467         Split $test calls into $test_pre and $test.
42468         * timezone/Makefile (build-testdata): Use
42469         $(built-program-cmd-before-env), $(run-program-env) and
42470         $(built-program-cmd-after-env).
42472 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42474         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42475         strlen for non SHARED builds.
42477 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42479         * nptl/allocatestack.c (check_list): Inlined function...
42480         (__reclaim_stacks): ... here.
42482 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42484         [BZ #15698]
42485         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42486         memory overrun.
42488 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42490         * Rules (make-test-out): Include
42491         LOCPATH=$(common-objpfx)localedata in default environment.
42492         * debug/Makefile (tst-chk1-ENV): Remove variable.
42493         (tst-chk2-ENV): Likewise.
42494         (tst-chk3-ENV): Likewise.
42495         (tst-chk4-ENV): Likewise.
42496         (tst-chk5-ENV): Likewise.
42497         (tst-chk6-ENV): Likewise.
42498         (tst-lfschk1-ENV): Likewise.
42499         (tst-lfschk2-ENV): Likewise.
42500         (tst-lfschk3-ENV): Likewise.
42501         (tst-lfschk4-ENV): Likewise.
42502         (tst-lfschk5-ENV): Likewise.
42503         (tst-lfschk6-ENV): Likewise.
42504         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42505         (tst-iconv7-ENV): Likewise.
42506         * intl/Makefile (LOCPATH-ENV): Likewise.
42507         (tst-codeset-ENV): Likewise.
42508         (tst-gettext3-ENV): Likewise.
42509         (tst-gettext5-ENV): Likewise.
42510         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42511         (tst-fopenloc-ENV): Likewise.
42512         (tst-fgetws-ENV): Remove variable.
42513         (tst-ungetwc1-ENV): Likewise.
42514         (tst-ungetwc2-ENV): Likewise.
42515         (bug-ungetwc2-ENV): Likewise.
42516         (tst-swscanf-ENV): Likewise.
42517         (bug-ftell-ENV): Likewise.
42518         (tst-fgetwc-ENV): Likewise.
42519         (tst-fseek-ENV): Likewise.
42520         (tst-ftell-partial-wide-ENV): Likewise.
42521         (tst-ftell-active-handler-ENV): Likewise.
42522         (tst-ftell-append-ENV): Likewise.
42523         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42524         (tst-regexloc-ENV): Likewise.
42525         (bug-regex1-ENV): Likewise.
42526         (tst-regex-ENV): Likewise.
42527         (tst-regex2-ENV): Likewise.
42528         (bug-regex5-ENV): Likewise.
42529         (bug-regex6-ENV): Likewise.
42530         (bug-regex17-ENV): Likewise.
42531         (bug-regex18-ENV): Likewise.
42532         (bug-regex19-ENV): Likewise.
42533         (bug-regex20-ENV): Likewise.
42534         (bug-regex22-ENV): Likewise.
42535         (bug-regex23-ENV): Likewise.
42536         (bug-regex25-ENV): Likewise.
42537         (bug-regex26-ENV): Likewise.
42538         (bug-regex30-ENV): Likewise.
42539         (bug-regex32-ENV): Likewise.
42540         (bug-regex33-ENV): Likewise.
42541         (bug-regex34-ENV): Likewise.
42542         (bug-regex35-ENV): Likewise.
42543         (tst-rxspencer-ENV): Likewise.
42544         (tst-rxspencer-no-utf8-ENV): Likewise.
42545         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42546         (tst-sscanf-ENV): Likewise.
42547         (tst-swprintf-ENV): Likewise.
42548         (tst-swscanf-ENV): Likewise.
42549         (test-vfprintf-ENV): Likewise.
42550         (scanf13-ENV): Likewise.
42551         (bug14-ENV): Likewise.
42552         (tst-grouping-ENV): Likewise.
42553         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42554         (tst-strtod3-ENV): Likewise.
42555         (tst-strtod4-ENV): Likewise.
42556         (tst-strtod5-ENV): Likewise.
42557         (testmb2-ENV): Likewise./
42558         * string/Makefile (tst-strxfrm-ENV): Likewise.
42559         (tst-strxfrm2-ENV): Likewise.
42560         (bug-strcoll1-ENV): Likewise.
42561         (test-strcasecmp-ENV): Likewise.
42562         (test-strncasecmp-ENV): Likewise.
42563         * time/Makefile (tst-strptime-ENV): Likewise.
42564         (tst-ftime_l-ENV): Likewise.
42565         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42566         (tst-mbrtowc-ENV): Likewise.
42567         (tst-wcrtomb-ENV): Likewise.
42568         (tst-mbrtowc2-ENV): Likewise.
42569         (tst-c16c32-1-ENV): Likewise.
42570         (tst-mbsnrtowcs-ENV): Likewise.
42572 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42574         * manual/resource.texi (How to get information about the memory
42575         subsystem?): Fix typo.
42576         Reported by Peon de la Parra Ivan <peon@keba.com>
42578 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42580         [BZ #16882]
42581         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42582         (pthread_spin_lock): Branch out of spin loop to proper location.
42583         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42584         (pthread_spin_lock): Likewise.
42586         * nptl/tst-spin4.c: New test.
42587         * nptl/Makefile (tests): Add tst-spin4.
42589 2014-06-03  Andreas Schwab  <schwab@suse.de>
42591         [BZ #15946]
42592         * resolv/res_send.c (send_dg): Reload file descriptor after
42593         calling reopen.
42595 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42597         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42599 2014-06-03  Richard Henderson  <rth@redhat.com>
42601         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42602         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42603         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42604         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42605         in the SAVE_PID block.
42606         (__libc_vfork): New alias.
42607         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42609         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42610         child in registers, not on the stack.  Remove RESET_PID conditionals.
42611         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42613 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42615         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42617 2014-06-03  Wilco  <wdijkstr@arm.com>
42619         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42620         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42621         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42622         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42623         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42624         Likewise.
42626 2014-06-03  Wilco  <wdijkstr@arm.com>
42628         * sysdeps/aarch64/fpu/math_private.h
42629         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42630         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42631         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42632         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42633         Fix declarations.
42635 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42637         * crypt/crypt-private.h: Include ufc-crypt.h.
42638         (__b64_from_24bit): Declare extern.
42639         * crypt/crypt_util.c(__b64_from_24bit): New function.
42640         (b64t): New static const variable.
42641         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42642         (b64t): Remove variable.
42643         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42644         * crypt/sha256-crypt.c: Include crypt-private.h.
42645         (b64t): Remove variable.
42646         (__sha256_crypt_r): Remove b64_from_24bit and replace
42647         with __b64_from_24bit.
42648         * crypt/sha512-crypt.c: Likewise.
42650 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42652         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42653         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42654         Label the code __libc_vfork rather than __vfork.
42655         [!NOT_IN_libc] (vfork): Define as weak alias.
42656         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42657         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42658         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42660 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42662         * malloc/malloc.c (malloc_info): Fix format specifier for
42663         n_mmaps.
42665 2014-06-02  Wilco  <wdijkstr@arm.com>
42667         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42668         FPCR write.
42670 2014-06-02  Wilco  <wdijkstr@arm.com>
42672         [BZ #17009]
42673         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42674         Rewrite to reduce FPCR/FPSR accesses.
42676 2014-06-01  David S. Miller  <davem@davemloft.net>
42678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42680 2014-05-31  David S. Miller  <davem@davemloft.net>
42682         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42683         to occur in round to nearest mode when |x| >= 2.0
42685 2014-05-30  Richard Henderson  <rth@twiddle.net>
42687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42688         (PSEUDO_RET_NOERRNO): Remove.
42689         (ret): Don't redefine.
42690         (ret_NOERRNO): Define in terms of ret.
42691         (ret_ERRVAL): Likewise.
42693         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42694         use of PSEUDO_RET; perform the error check directly.
42696 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42698         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42699         with __int128_t.
42701 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42703         * malloc/malloc (malloc_info): Fix formatting.
42705 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42706             Roland McGrath  <roland@hack.frob.com>
42708         * malloc/malloc (malloc_info): Also print mmapped statistics.
42710 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42712         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42713         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42715 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42717         * malloc/malloc.c (malloc_info): Inline mi_arena.
42719 2014-05-29  Richard Henderson  <rth@twiddle.net>
42721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42722         Remove comma before expanding ASM_ARGS_##nr.
42723         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42724         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42725         of ASM_ARGS_##nr.
42726         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42727         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42728         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42729         (ASM_ARGS_1): Add leading comma.
42731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42732         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42733         to __errno_location.
42734         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42735         Remove the expected plt for __errno_location.
42737         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42738         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42739         call to __read_tp.
42741         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42742         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42743         it and break it down.
42744         (DOCARGS_0, DOCARGS_1): Do nothing.
42745         (DOCARGS_2): Update to store into the new stack frame.
42746         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42747         (UNDOCARGS_1): Update to restore from the new stack frame.
42748         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42749         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42751         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42752         (SINGLE_THREAD_P): New parameter for result regno.
42753         (PSEUDO): Update to match; use cbz instead of beq.
42755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42756         Use ENTRY to define the _nocancel entry point.  Share the syscall
42757         and syscall error check paths with the cancel path.
42758         (PSEUDO_END): New.
42760         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42761         whitespace; tabs before and after asm mnemonics.
42763 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42765         [BZ #15132]
42766         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42767         Call fstat64 or stat64 internally, depending on arguments passed.
42768         Replace stat buffer argument with file descriptor argument.
42769         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42770         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42771         Pass fd to __internal_statvfs instead of calling fstat64.
42772         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42773         Pass fd to __internal_statvfs64 instead of calling fstat64.
42774         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42775         Pass -1 to __internal_statvfs instead of calling stat64.
42776         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42777         Pass -1 to __internal_statvfs64 instead of calling stat64.
42779 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42781         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42782         that was previously under [RESET_PID].
42783         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42785         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42786         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42788 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42790         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42792         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42793         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42795 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42797         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42799 2014-05-27  Andreas Schwab  <schwab@suse.de>
42801         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42802         TLS_INIT_TP macro.
42803         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42804         * elf/rtld.c (init_tls, dl_main): Likewise.
42805         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42806         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42807         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42808         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42809         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42810         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42811         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42812         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42813         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42814         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42815         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42816         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42817         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42818         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42819         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42820         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42821         * sysdeps/generic/tls.h: Update description.
42823 2014-05-27  Will Newton  <will.newton@linaro.org>
42825         [BZ #16990]
42826         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42827         and restore r2 rather than just restoring.
42829 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42831         [BZ #16724]
42832         * libio/tst-ftell-append.c: New test case.
42833         * libio/Makefile (tests): Add test case.
42834         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42835         append mode.
42836         * libio/wfileops.c (do_ftell_wide): Likewise.
42838 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42842         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42843         ...
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42846         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42847         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42848         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42849         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42850         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42851         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42853         Moved ...
42854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42856         Moved ...
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42858         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42859         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42860         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42861         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42862         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42863         ...
42864         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42865         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42866         Moved ...
42867         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42868         here.
42869         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42870         ...
42871         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42872         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42873         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42875         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42876         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42877         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42878         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42881         merge into ...
42882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42883         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42884         ...
42885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42887         ...
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42890         Moved ...
42891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42892         here.
42893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42894         Moved ...
42895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42897         Moved ...
42898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42901         conditional [RESET_PID].
42902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42903         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42904         removed.
42905         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42906         removed.
42908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42909         <tcb-offsets.h>.
42910         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42911         (__libc_vfork): New strong alias.
42912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42913         removed.
42914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42915         Removed.
42917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42918         <tcb-offsets.h>.
42919         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42920         (__libc_vfork): New strong alias.
42921         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42922         removed.
42923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42924         removed.
42926 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42928         * malloc/malloc.c (mi_arena): New function.
42929         (malloc_info): Remove nested function mi_arena. Call non-nosted
42930         function mi_arena.
42932 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42934         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42935         by insrwi.
42936         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42937         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42938         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42939         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42940         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42941         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42942         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42944 2014-05-26  Andreas Schwab  <schwab@suse.de>
42946         [BZ #16984]
42947         * locale/programs/repertoire.c (repertoire_read): Add slash
42948         between I18NPATH element and file name.
42949         * locale/programs/locfile.c (locfile_read): Likewise.
42951 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42953         * nptl/pthread_mutexattr_settype.c
42954         (__pthread_mutexattr_settype):
42955         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42957 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42959         * nptl/tst-mutex5 (do_test):
42960         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42962 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42964         * benchtests/README: Document 'init' directive.
42965         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42966         BENCH_INIT.
42967         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42968         (parse_file): Recognize 'init' directive.
42970 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42972         [BZ #16796]
42973         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42974         alignment of struct pthread.
42976 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42978         [BZ #16878]
42979         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42980         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42981         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42982         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42984 2014-05-25  Richard Henderson  <rth@twiddle.net>
42986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42987         (SINGLE_THREAD_P_PIC): Remove.
42988         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42989         (SINGLE_THREAD_P_PIC): Remove.
42991         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42992         branch to syscall error ...
42993         (PSEUDO): ... here.
42994         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42995         from __local_syscall_error to .Lsyscall_error.
42996         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42997         (SYSCALL_ERROR): Update label name.
42999         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43000         Do not use DOARGS/UNDOARGS.
43001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
43002         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
43003         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
43004         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
43005         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
43007         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43008         block comment.
43010         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43011         define if !NOT_IN_libc.
43012         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43013         define with non-default symbol versions.
43015 2014-05-23  Richard Henderson  <rth@twiddle.net>
43017         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43018         (vfork, __vfork): Define via compat_symbol.
43020         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43021         [!HAVE_IFUNC] (vfork_compat): Remove.
43022         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43024 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43026         [BZ #16978]
43027         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43028         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43029         variable.
43031 2014-05-23  Richard Henderson  <rth@twiddle.net>
43033         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43034         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43035         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43036         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43038         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43039         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43040         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43041         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43042         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43043         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43044         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43045         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43046         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43047         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43048         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43049         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43050         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43051         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43052         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43053         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43054         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43055         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43056         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43057         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43058         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43059         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43060         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43061         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43062         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43063         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43064         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43065         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43066         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43067         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43068         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43069         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43070         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43071         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43072         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43073         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43074         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43075         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43076         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43077         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43078         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43079         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43080         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43081         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43082         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43083         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43084         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43085         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43087         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43089         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43091         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43093         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43095         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43096         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43097         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43098         before exiting on error.
43099         (__libc_vfork): New strong alias.
43100         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43101         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43103         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43104         that was previously under [RESET_PID].
43105         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43107         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43109 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43111         [BZ #16977]
43112         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43113         value when x - 1 is zero.
43114         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43115         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43116         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43117         0.0L for an argument of 1.0L.
43118         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43119         Likewise.
43120         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43121         value when x - 1 is zero.
43122         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43123         * sysdeps/i386/fpu/libm-test-ulps: Update.
43124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43126 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43128         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43129         alphasort and versionsort.
43131 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43133         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43134         macro.
43135         [copysignf]: Likewise.
43137 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43139         * crypt/md5-crypt.c: Fix formatting.
43141 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43143         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43144         (b64_from_24bit): New function.
43146 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43148         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43149         libc_hidden_builtin_def to ifunc.
43150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43151         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43153 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43155         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43156         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43158 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43160         * nscd/Depend (linuxthreads): Remove.
43161         (nptl): Add.
43162         * resolv/Depend (linuxthreads): Remove.
43163         * rt/Depend (linuxthreads): Remove.
43165         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43166         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43167         $(common-objpfx)elf/.
43168         (link-libc-before-gnulib): Likewise.
43169         (elfobjdir): Remove variable.
43170         * Makefile (install): Use $(elf-objpfx) instead of
43171         $(common-objpfx)elf/.
43172         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43173         $(elfobjdir)/.
43174         (link-libc-deps): Likewise.
43175         ($(common-objpfx)libc.so): Likewise.
43176         ($(common-objpfx)linkobj/libc.so): Likewise.
43177         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43178         instead of $(common-objpfx)elf/.
43179         (symbolic-link-list): Likewise.
43180         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43181         [$(cross-compiling) = no]: Likewise.
43182         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43183         $(elfobjdir)/.
43184         (static-gnulib-arch): Likewise.
43185         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43186         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43187         $(common-objpfx)elf/.
43189 2014-05-21  Richard Henderson  <rth@redhat.com>
43191         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43192         (SINGLE_THREAD_P): Use the correct width load.  Fold
43193         into the ldr offset.
43195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43196         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43198 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43200         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43201         (libgcc_s_resume): Use __attribute_used__.
43202         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43203         Likewise.
43205 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43207         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43208         optimization when used with float constants.
43210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43212 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43214         [BZ #16915]
43215         * locale/nl_langinfo_l.c: Make direct reference to every
43216         _nl_current_CATEGORY symbol.
43217         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43218         (tests-static): Add tst-langinfo-static.
43219         (tests-special): Add tst-langinfo-static.out.
43220         ($(objpfx)tst-langinfo.out): Redirect output.
43221         ($(objpfx)tst-langinfo-static.out): New.
43222         * localedata/tst-langinfo.sh: Send output to stdout.
43223         * localedata/tst-langinfo-static.c: New file.
43225         [BZ #16965]
43226         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43227         when the shift amount is modulo the limb size.
43229 2014-05-20  Richard Henderson  <rth@redhat.com>
43231         [BZ #16967]
43232         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43233         Change type of sa_flags from unsigned int to int.
43235         [BZ #16966]
43236         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43238         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43240 2014-05-20  Will Newton  <will.newton@linaro.org>
43242         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43243         Test the return value of the system call in the nocancel case.
43245 2014-05-20  Will Newton  <will.newton@linaro.org>
43246             Yvan Roux  <yvan.roux@linaro.org>
43248         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43249         #include of asm/ptrace.h.
43250         (PTRACE_GET_THREAD_AREA): Remove #undef.
43251         (PTRACE_GETHBPREGS): Likewise.
43252         (PTRACE_SETHBPREGS): Likewise.
43253         (struct user_regs_struct): New structure.
43254         (struct user_fpsimd_struct): New structure.
43255         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43256         #include of asm/ptrace.h and second #include of sys/user.h.
43257         (PTRACE_GET_THREAD_AREA): Remove #undef.
43258         (PTRACE_GETHBPREGS): Likewise.
43259         (PTRACE_SETHBPREGS): Likewise.
43260         (ELF_NGREG): Use new struct user_regs_struct.
43261         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43263 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43265         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43266         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43268 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43270         [BZ #16958]
43271         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43272         membar to avoid block loads/stores to overlap previous stores.
43274 2014-05-17  Richard Henderson  <rth@redhat.com>
43276         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43277         Create the __##syscall_name##_nocancel entry point.
43278         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43279         Remove; let the sysdep-cancel.h code create it.
43281 2014-05-17  David S. Miller  <davem@davemloft.net>
43283         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43284         Protect with __USE_GNU.
43285         (TIOCSET_TEMPT): Likewise.
43286         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43287         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43288         these are already provided in bits/ioctl-types.h
43290 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43292         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43293         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43295         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43296         Use wait4 regardless of [__NR_waitpid].
43298 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43300         PR libgcc/60166
43301         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43302         (_FP_NANSIGN_Q): Set the quiet bit.
43304 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43306         * benchtests/Makefile
43307         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43308         not $(common-objpfx)math/libm.so.
43309         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43310         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43311         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43312         $(common-objpfx)dlfcn/libdl.so.
43313         ($(objpfx)tst-audit8): Depend on $(libm), not
43314         $(common-objpfx)math/libm.so.
43315         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43316         not $(common-objpfx)dlfcn/libdl.so.
43317         * math/Makefile
43318         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43319         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43320         [$(build-shared) = yes].
43321         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43322         $(common-objpfx)nptl/libpthread.so.
43323         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43324         $(common-objpfx)math/libm.so$(libm.so-version) or
43325         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43326         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43327         $(common-objpfx)dlfcn/libdl.so.
43328         * setjmp/Makefile (link-libm): Remove variable.
43329         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43330         * stdio-common/Makefile (link-libm): Remove variable.
43331         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43332         * stdlib/Makefile (link-libm): Remove variable.
43333         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43334         ($(objpfx)tst-strtod-round): Likewise.
43335         ($(objpfx)tst-tininess): Likewise.
43336         ($(objpfx)tst-strtod-underflow): Likewise.
43337         ($(objpfx)tst-strtod6): Likewise.
43338         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43339         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43340         $(common-objpfx)dlfcn/libdl.so.
43342 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43344         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
43345         BSD terminal modes definitions.
43347 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43349         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
43350         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
43352         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
43353         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
43354         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
43355         Don't do #include_next.
43356         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
43357         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
43358         Don't do #include_next.
43359         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
43360         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
43361         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
43362         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
43364 2014-05-16  Allan McRae  <allan@archlinux.org>
43366         * po/sv.po: Update Swedish translation from translation project.
43368         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
43369         in sed expression.
43371 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
43373         [BZ #16917]
43374         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
43375         errno if the TIOCGPTN ioctl fails with an error different than
43376         EINVAL.
43377         * login/tst-ptsname.c: New file.
43378         * login/Makefile (tests): Add tst-ptsname.
43380         [BZ #16943]
43381         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
43382         and prlimit64.
43384 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43386         [BZ #16849]
43387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
43388         herrno to return EAI_AGAIN.
43390 2014-05-14  Roland McGrath  <roland@hack.frob.com>
43392         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43393         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
43394         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
43395         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
43396         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
43397         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
43399         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
43400         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
43401         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
43402         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
43403         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
43404         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
43405         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
43406         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
43407         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43408         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
43409         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
43410         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
43411         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
43413         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
43414         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
43415         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
43416         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
43417         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
43418         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
43419         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
43420         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
43421         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43423         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43425         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43427         Moved ...
43428         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43430         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43432         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43434         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43436         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43438         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43440         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43442         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43444         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43446         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43448         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43450         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43452         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43454         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43456         Moved ...
43457         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43459         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43461         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43463         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43465         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43467         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43469         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43471         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43473         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43475         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43477         Moved ...
43478         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43480         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43482         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43483         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43484         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43485         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43486         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43487         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43488         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43489         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43490         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43491         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43492         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43493         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43494         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43495         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43496         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43497         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43498         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43499         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43500         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43501         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43502         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43503         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43504         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43505         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43506         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43507         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43508         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43509         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43510         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43511         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43512         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43514         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43515         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43517         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43518         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43519         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43520         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43521         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43522         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43523         Moved ...
43524         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43525         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43526         Moved ...
43527         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43529         Moved ...
43530         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43531         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43532         Moved ...
43533         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43534         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43535         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43536         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43537         Moved ...
43538         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43539         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43540         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43542         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43543         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43544         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43545         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43546         Moved ...
43547         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43548         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43549         Moved ...
43550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43551         ... here.
43552         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43553         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43554         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43555         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43557         Moved ...
43558         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43559         ... here.
43560         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43561         Moved ...
43562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43563         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43564         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43565         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43566         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43567         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43568         Moved ...
43569         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43570         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43571         Moved ...
43572         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43574         Moved ...
43575         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43576         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43577         Moved ...
43578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43579         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43580         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43581         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43582         Moved ...
43583         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43584         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43585         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43587         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43588         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43589         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43590         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43591         Moved ...
43592         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43593         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43594         Moved ...
43595         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43596         ... here.
43597         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43598         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43599         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43600         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43601         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43602         Moved ...
43603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43604         ... here.
43605         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43606         Moved ...
43607         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43608         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43609         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43610         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43611         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43612         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43613         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43614         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43615         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43616         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43617         Moved ...
43618         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43619         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43620         Moved ...
43621         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43623         Moved ...
43624         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43625         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43626         Moved ...
43627         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43628         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43629         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43630         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43631         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43632         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43633         Moved ...
43634         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43635         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43636         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43638         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43639         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43640         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43641         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43642         Moved ...
43643         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43644         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43645         Moved ...
43646         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43647         ... here.
43648         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43649         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43650         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43651         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43652         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43653         Moved ...
43654         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43655         ... here.
43656         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43657         Moved ...
43658         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43659         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43660         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43661         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43662         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43663         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43664         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43665         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43666         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43667         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43668         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43670         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43671         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43673         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43674         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43676         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43677         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43678         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43679         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43680         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43681         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43682         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43683         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43684         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43685         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43686         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43687         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43689         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43690         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43691         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43692         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43694         Moved ...
43695         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43697         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43699         Moved ...
43700         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43701         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43702         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43704         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43705         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43706         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43708         Moved ...
43709         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43711         Moved ...
43712         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43714         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43715         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43716         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43718         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43719         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43720         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43721         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43722         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43723         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43724         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43725         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43726         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43727         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43728         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43730         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43731         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43732         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43733         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43734         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43736         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43737         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43738         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43739         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43740         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43741         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43742         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43743         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43744         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43745         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43747         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43748         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43750         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43751         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43752         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43753         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43754         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43755         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43756         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43757         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43758         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43759         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43760         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43761         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43762         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43763         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43765         Update #include.
43766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43767         Likewise.
43768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43769         Likewise.
43770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43771         Likewise.
43772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43773         Likewise.
43774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43775         Likewise.
43776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43777         Likewise.
43778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43779         Likewise.
43780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43781         Likewise.
43782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43783         Likewise.
43784         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43786         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43787         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43791         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43793         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43794         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43795         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43796         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43797         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43798         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43800         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43801         that was previously under [RESET_PID].
43802         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43803         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43804         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43806         * sysdeps/i386/nptl/Implies: New file.
43807         * sysdeps/x86_64/nptl/Implies: New file.
43808         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43809         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43810         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43811         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43813         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43814         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43815         (__libc_vfork): New strong alias.
43816         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43817         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43819         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43820         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43821         (__libc_vfork): New strong alias.
43822         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43823         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43825         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43826         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43827         (__libc_vfork): New strong alias.
43828         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43829         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43830         * nptl/pt-vfork.c: New file.
43831         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43832         (libpthread: GLIBC_2.20): New version set (empty).
43834 2014-05-14  Will Newton  <will.newton@linaro.org>
43836         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43837         rather than #if.
43839 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43841         [BZ #16564]
43842         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43843         arguments with exponent 65 or above.
43844         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43845         arguments 0x1p113L or above.
43846         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43847         to arguments 0x1p107L or above.
43848         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43849         positive arguments with exponent 65 or above.
43850         * math/auto-libm-test-in: Add more tests of log1p.
43851         * math/auto-libm-test-out: Regenerated.
43853         [BZ #16928]
43854         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43855         non-finite arguments is +0.
43856         * math/s_cacosf.c (__cacosf): Likewise.
43857         * math/s_cacosl.c (__cacosl): Likewise.
43858         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43859         * sysdeps/i386/fpu/libm-test-ulps: Update.
43860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43862         [BZ #16927]
43863         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43864         value.
43865         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43866         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43867         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43868         for explicit high bit of mantissa when testing for argument equal
43869         to 1.
43870         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43871         * sysdeps/i386/fpu/libm-test-ulps: Update.
43872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43874         [BZ #16516]
43875         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43876         (__erf): Scale by 16 instead of 8 in potentially underflowing
43877         case.  Ensure exception if result actually underflows.
43878         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43879         (__erff): Scale by 16 instead of 8 in potentially underflowing
43880         case.  Ensure exception if result actually underflows.
43881         * sysdeps/ieee754/ldbl-128/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         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43886         (efx8): Remove variable.
43887         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43888         case.  Ensure exception if result actually underflows.
43889         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43890         (efx8): Remove variable.
43891         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43892         case.  Ensure exception if result actually underflows.
43893         * math/auto-libm-test-in: Add more tests of erf.
43894         * math/auto-libm-test-out: Regenerated.
43896 2014-05-14  Andreas Schwab  <schwab@suse.de>
43898         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43899         Remove code conditionalized on USE___THREAD.
43901         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43902         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43903         not definedness.
43905 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43907         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43908         Define unconditionally.
43909         (__ASSUME_O_CLOEXEC): Likewise.
43910         (__ASSUME_SOCK_CLOEXEC): Likewise.
43911         (__ASSUME_IN_NONBLOCK): Likewise.
43912         (__ASSUME_PIPE2): Likewise.
43913         (__ASSUME_EVENTFD2): Likewise.
43914         (__ASSUME_SIGNALFD4): Likewise.
43915         (__ASSUME_DUP3): Likewise.
43916         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43917         (__ASSUME_DUP3): Do not define.
43918         (__ASSUME_EVENTFD2): Likewise.
43919         (__ASSUME_IN_NONBLOCK): Likewise.
43920         (__ASSUME_O_CLOEXEC): Likewise.
43921         (__ASSUME_PIPE2): Likewise.
43922         (__ASSUME_SIGNALFD4): Likewise.
43923         (__ASSUME_SOCK_CLOEXEC): Likewise.
43924         (__ASSUME_UTIMES): Undefine.
43925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43926         (__ASSUME_UTIMES): Do not define.
43927         (__ASSUME_O_CLOEXEC): Likewise.
43928         (__ASSUME_SOCK_CLOEXEC): Likewise.
43929         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43930         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43931         0x020621].
43932         (__ASSUME_PIPE2): Likewise.
43933         (__ASSUME_EVENTFD2): Likewise.
43934         (__ASSUME_SIGNALFD4): Likewise.
43935         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43936         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43937         Do not define.
43938         (__ASSUME_EVENTFD2): Likewise.
43939         (__ASSUME_SIGNALFD4): Likewise.
43940         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43941         (__ASSUME_32BITUIDS): Likewise.
43942         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43943         (__ASSUME_IPC64): Likewise.
43944         (__ASSUME_ST_INO_64_BIT): Likewise.
43945         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43946         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43947         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43948         (__ASSUME_UTIMES): Do not define.
43949         (__ASSUME_PSELECT): Likewise.
43950         (__ASSUME_PPOLL): Likewise.
43951         (__ASSUME_O_CLOEXEC): Likewise.
43952         (__ASSUME_SOCK_CLOEXEC): Likewise.
43953         (__ASSUME_IN_NONBLOCK): Likewise.
43954         (__ASSUME_PIPE2): Likewise.
43955         (__ASSUME_EVENTFD2): Likewise.
43956         (__ASSUME_SIGNALFD4): Likewise.
43957         (__ASSUME_DUP3): Likewise.
43958         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43959         (__ASSUME_UTIMES): Likewise.
43960         (__ASSUME_O_CLOEXEC): Likewise.
43961         (__ASSUME_SOCK_CLOEXEC): Likewise.
43962         (__ASSUME_IN_NONBLOCK): Likewise.
43963         (__ASSUME_PIPE2): Likewise.
43964         (__ASSUME_EVENTFD2): Likewise.
43965         (__ASSUME_SIGNALFD4): Likewise.
43966         (__ASSUME_DUP3): Likewise.
43967         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43968         (__ASSUME_UTIMES): Likewise.
43969         (__ASSUME_O_CLOEXEC): Likewise.
43970         (__ASSUME_SOCK_CLOEXEC): Likewise.
43971         (__ASSUME_IN_NONBLOCK): Likewise.
43972         (__ASSUME_PIPE2): Likewise.
43973         (__ASSUME_EVENTFD2): Likewise.
43974         (__ASSUME_SIGNALFD4): Likewise.
43975         (__ASSUME_DUP3): Likewise.
43976         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43977         Likewise.
43978         (__ASSUME_UTIMES): Likewise.
43979         (__ASSUME_EVENTFD2): Likewise.
43980         (__ASSUME_SIGNALFD4): Likewise.
43981         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43982         (__ASSUME_O_CLOEXEC): Likewise.
43983         (__ASSUME_SOCK_CLOEXEC): Likewise.
43984         (__ASSUME_IN_NONBLOCK): Likewise.
43985         (__ASSUME_PIPE2): Likewise.
43986         (__ASSUME_EVENTFD2): Likewise.
43987         (__ASSUME_SIGNALFD4): Likewise.
43988         (__ASSUME_DUP3): Likewise.
43989         (__ASSUME_UTIMES): Undefine.
43991         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43992         feclearexcept.  Remove symbol versioning code.
43993         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43994         symbol versioning code.
43995         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43996         symbol versioning code.
43997         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43998         feupdateenv.  Remove symbol versioning code.
43999         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
44000         fegetexceptflag.  Remove symbol versioning code.
44001         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
44002         fesetexceptflag.  Remove symbol versioning code.
44003         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
44004         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
44005         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
44006         (__posix_fadvise64_l32): Remove prototype.
44007         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44008         code.
44010 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44012         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44013         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44014         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44015         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44017 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44019         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44020         current working directory
44022 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44024         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44025         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44026         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44027         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44028         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44029         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44030         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44031         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44032         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44033         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44034         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44035         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44036         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44037         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44038         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44039         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44040         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44041         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44042         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44043         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44044         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44045         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44046         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44047         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44048         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44049         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44050         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44051         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44052         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44053         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44054         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44055         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44056         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44057         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44058         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44059         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44060         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44061         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44062         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44063         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44064         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44065         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44067         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44068         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44070         * sysdeps/unix/sysv/linux/arm/Makefile
44071         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44072         Add rt-aeabi_unwind_cpp_pr1.
44073         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44074         Add nptl-aeabi_unwind_cpp_pr1.
44075         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44076         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44077         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44078         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44079         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44080         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44082         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44083         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44084         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44085         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44087         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44088         Deconditionalize the code that was previously under [RESET_PID].
44089         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44091         * sysdeps/generic/exit-thread.h: New file.
44092         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44093         * include/unistd.h (__exit_thread): Remove declaration.
44094         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44095         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44096         * csu/libc-start.c: Include <exit-thread.h>.
44097         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44098         * nptl/pthread_create.c: Include <exit-thread.h>.
44099         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44100         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44101         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44102         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44103         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44104         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44105         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44106         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44107         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44108         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44109         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44110         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44111         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44112         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44113         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44114         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44115         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44117 2014-05-13  Andreas Schwab  <schwab@suse.de>
44119         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44121 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44123         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44124         (__ASSUME_UTIMES): Do not condition on kernel version.
44125         (__ASSUME_PSELECT): Define unconditionally.
44126         (__ASSUME_PPOLL): Likewise.
44127         (__ASSUME_ATFCTS): Likewise.
44128         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44129         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44130         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44131         (__ASSUME_UTIMENSAT): Define unconditionally.
44132         (__ASSUME_PRIVATE_FUTEX): Likewise.
44133         (__ASSUME_FALLOCATE): Likewise.
44134         (__ASSUME_O_CLOEXEC): Likewise.
44135         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44136         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44137         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44138         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44139         (__ASSUME_IN_NONBLOCK): Likewise.
44140         (__ASSUME_PIPE2): Likewise.
44141         (__ASSUME_EVENTFD2): Likewise.
44142         (__ASSUME_SIGNALFD4): Likewise.
44143         (__ASSUME_DUP3): Likewise.
44144         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44145         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44146         (__ASSUME_AT_RANDOM): Likewise.
44147         (__ASSUME_PREADV): Likewise.
44148         (__ASSUME_PWRITEV): Likewise.
44149         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44150         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44151         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44152         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44153         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44154         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44155         (__ASSUME_O_CLOEXEC): Define unconditionally.
44156         (__ASSUME_PSELECT): Do not undefine conditionally.
44157         (__ASSUME_PPOLL): Likewise.
44158         (__ASSUME_ATFCTS): Likewise.
44159         (__ASSUME_SET_ROBUST_LIST): Likewise.
44160         (__ASSUME_UTIMENSAT): Likewise.
44161         (__ASSUME_FDATASYNC): Define unconditionally.
44162         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44163         (__ASSUME_SIGFRAME_V2): Likewise.
44164         )__ASSUME_EVENTFD2): Likewise.
44165         (__ASSUME_SIGNALFD4): Likewise.
44166         (__ASSUME_PSELECT): Do not undefine conditionally.
44167         (__ASSUME_PPOLL): Likewise.
44168         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44169         (__ASSUME_PSELECT): Define unconditionally.
44170         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
44179         (__ASSUME_O_CLOEXEC): Likewise.
44180         (__ASSUME_SOCK_CLOEXEC): Likewise.
44181         (__ASSUME_IN_NONBLOCK): Likewise.
44182         (__ASSUME_PIPE2): Likewise.
44183         (__ASSUME_EVENTFD2): Likewise.
44184         (__ASSUME_SIGNALFD4): Likewise.
44185         (__ASSUME_DUP3): Likewise.
44186         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44187         (__ASSUME_EVENTFD2): Likewise.
44188         (__ASSUME_SIGNALFD4): Likewise.
44189         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44191 2014-05-12  Andreas Schwab  <schwab@suse.de>
44193         [BZ #16932]
44194         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44195         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44196         than maximum RPC packet size.
44197         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44198         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44199         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44200         (_nss_nis_getservbyport_r): Likewise.
44202 2014-05-12  Will Newton  <will.newton@linaro.org>
44204         * malloc/Makefile (tests): Add tst-mallopt.
44205         * malloc/tst-mallopt.c: New file.
44207 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44209         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44210         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44212 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44214         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44215         (tst-tlsmod6.so): Likewise.
44217 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44219         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44221 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44223         [BZ #16064]
44224         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44225         and <dl-procinfo.h>.
44226         (__fegetenv): Save SSE state in envp->__eip if supported.
44227         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44228         envp->__eip if supported.
44229         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44230         and <dl-procinfo.h>.
44231         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44232         __data_offset and __data_selector in environment to 0.  Set SSE
44233         state if supported.
44234         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44235         test-fenv-sse.
44236         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44237         -mfpmath=sse.
44238         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44240 2014-05-09  Will Newton  <will.newton@linaro.org>
44242         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44243         and libc_relro_required for ARM.
44244         * sysdeps/arm/preconfigure: Regenerate.
44246 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44247             Stefan Liebler  <stli@linux.vnet.ibm.com>
44249         * config.make.in (enable-lock-elision): New Makefile variable.
44250         * configure.ac: Likewise.
44251         * configure: Regenerate.
44252         * sysdeps/s390/configure.ac:
44253         Add check for gcc transactions support.
44254         * sysdeps/s390/configure: Regenerate.
44255         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44256         Build elision files if enabled.
44257         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44258         Add lock elision support for s390.
44259         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44260         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44261         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44262         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44263         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44264         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44265         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44266         Likewise.
44267         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44268         Likewise.
44269         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44270         Likewise.
44271         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44272         Likewise.
44273         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44274         (__lll_timedlock_elision, __lll_lock_elision)
44275         (__lll_unlock_elision, __lll_trylock_elision)
44276         (lll_timedlock_elision, lll_lock_elision)
44277         (lll_unlock_elision, lll_trylock_elision): Add.
44278         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44279         (pthread_mutex_t): Add lock elision support for s390.
44281 2014-05-14  Wilco  <wdijkstr@arm.com>
44283         * sysdeps/arm/fclrexcpt.c: Cleanup.
44284         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44285         * sysdeps/arm/feenablxcpt.c: Cleanup.
44286         * sysdeps/arm/fegetenv.c: Cleanup.
44287         * sysdeps/arm/fegetexcept.c: Cleanup.
44288         * sysdeps/arm/fegetround.c: Cleanup.
44289         * sysdeps/arm/feholdexcpt.c: Cleanup.
44290         * sysdeps/arm/fesetenv.c: Cleanup.
44291         * sysdeps/arm/fesetround.c: Cleanup.
44292         * sysdeps/arm/feupdateenv.c: Cleanup.
44293         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44294         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44295         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44296         * sysdeps/arm/ftestexcept.c: Cleanup.
44297         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44298         * sysdeps/arm/setfpucw.c: Cleanup.
44300 2014-05-09  Will Newton  <will.newton@linaro.org>
44302         * sysdeps/arm/armv7/strcmp.S: New file.
44303         * NEWS: Mention addition of ARMv7 optimized strcmp.
44305 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44307         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44308         look for %.ac rather than %.in.
44310         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44311         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44312         * sysdeps/mach/hurd/configure: Regenerated.
44313         * sysdeps/unix/sysv/linux/configure: Regenerated.
44315         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44317 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44319         [BZ# 16922]
44320         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44321         (LONG_SUB): Ditto.
44322         (PTR_SUB): Ditto.
44324 2014-05-07  Andreas Schwab  <schwab@suse.de>
44326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44327         when skipping over non-matching result from nscd.
44329 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44331         [BZ #16876]
44332         * nptl/sockperf.c (client): Check socket return value.
44334         [BZ #16877]
44335         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44336         nscd security class.
44338 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44340         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44341         * sysdeps/arm/unwind.h: ... here.
44343 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
44345         [BZ# 16916]
44346         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
44347         Define.
44349 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44351         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
44352         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
44353         multiarch strncpy for PPC64.
44354         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
44355         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
44357         multiarch optimizations.
44358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44359         (__libc_ifunc_impl_list): Likewise.
44360         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
44361         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
44362         multiarch stpncpy for PPC64.
44363         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
44364         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
44366 2014-05-06  Andreas Schwab  <schwab@suse.de>
44368         [BZ #16912]
44369         * gmon/mcount.c (_MCOUNT_DECL): Use
44370         atomic_compare_and_exchange_bool_acq instead of
44371         catomic_compare_and_exchange_bool_acq.
44373 2014-05-05  Roland McGrath  <roland@hack.frob.com>
44375         * elf/Makefile (others, install-bin): Remove pldd.
44376         (pldd-modules): Variable removed.
44377         ($(objpfx)pldd): Target removed.
44378         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
44379         (others, install-bin): Append pldd here.
44380         ($(objpfx)pldd): New target.
44382         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
44383         to 0, so the first #if test emitted later doesn't see it undefined.
44384         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
44385         * sysdeps/gnu/errlist.c: Regenerated.
44387 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44389         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44390         [libc_hidden_builtin_def]: Define to empty value.
44391         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
44392         [libc_hidden_builtin_def]: Likewise.
44393         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
44394         [libc_hidden_builtin_def]: Likewise.
44395         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
44396         [libc_hidden_builtin_def]: Likewise.
44397         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
44398         __redirect_memcpy and define ifunc as default hidden symbol.
44399         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
44400         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
44402 2014-05-04  Adam Conrad  <adconrad@0c3.net>
44404         * locale/iso-4217.def: Reintroduce XDR currency.
44406 2014-05-04  Allan McRae  <allan@archlinux.org>
44408         * po/eo.po: Update Esperanto translation from translation project.
44410 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
44412         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
44413         and FEATURE_INDEX_MAX to 1.
44414         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
44416 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44418         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
44419         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
44420         * iconvdata/big5.c (ONE_DIRECTION): Define.
44421         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44422         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44423         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44424         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44425         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44426         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44427         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44428         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44429         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44430         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44431         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44432         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44433         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44434         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44435         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44436         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44437         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44438         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44439         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44440         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44441         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44442         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44443         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44444         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44445         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44446         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44447         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44448         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44449         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44450         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44451         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44452         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44453         * iconvdata/johab.c (ONE_DIRECTION): Define.
44454         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44455         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44456         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44457         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44458         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44459         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44460         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44461         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44462         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44463         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44465 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44467         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44468         (_IO_JUMPS_OFFSET): Define to 0.
44470         * nptl/sysdeps/pthread/bits/libc-lock.h
44471         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44472         (__libc_lock_define_initialized_recursive): Always define using
44473         initializer.  Modern compilers treat uninitialized (implicit zero) and
44474         explicit zero initializers the same (i.e. put the datum in bss).
44476 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44478         * nscd/nscd-client.h: Include <string.h>.
44480 2014-05-01  David S. Miller  <davem@davemloft.net>
44482         [BZ #16885]
44483         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44484         multiple zero bytes exist at the end of a string.
44485         Reported by Aurelien Jarno <aurelien@aurel32.net>
44487         * string/test-strcmp.c (check): Add explicit test for situations where
44488         there are multiple zero bytes after the first.
44490 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44492         [BZ #16890]
44493         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44494         when compiling wprintf.
44495         * stdio-common/tstdiomisc.c (t3): New function.
44496         (main): Call it.
44498 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44500         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44501         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44502         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44503         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44505 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44507         * stdlib/longlong.h: Updated from GCC.
44509 2014-05-01  Will Newton  <will.newton@linaro.org>
44510             Bernard Ogden  <bernie.ogden@linaro.org>
44512         * NEWS: Update fixed bug list.
44514         [BZ #15119]
44515         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44517 2014-04-30  David S. Miller  <davem@davemloft.net>
44519         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44520         (libc_feholdexcept_setround_sparc_ctx): New function.
44521         (libc_fesetenv_sparc_ctx): Likewise.
44522         (libc_feupdateenv_sparc_ctx): Likewise.
44523         (libc_feholdsetround_sparc_ctx): Likewise.
44524         (libc_feholdexcept_setround_ctx): Define.
44525         (libc_feholdexcept_setroundf_ctx): Likewise.
44526         (libc_feholdexcept_setroundl_ctx): Likewise.
44527         (libc_fesetenv_ctx): Likewise.
44528         (libc_fesetenvf_ctx): Likewise.
44529         (libc_fesetenvl_ctx): Likewise.
44530         (libc_feupdateenv_ctx): Likewise.
44531         (libc_feupdateenvf_ctx): Likewise.
44532         (libc_feupdateenvl_ctx): Likewise.
44533         (libc_feresetround_ctx): Likewise.
44534         (libc_feresetroundf_ctx): Likewise.
44535         (libc_feresetroundl_ctx): Likewise.
44536         (libc_feholdsetround_ctx): Likewise.
44537         (libc_feholdsetroundf_ctx): Likewise.
44538         (libc_feholdsetroundl_ctx): Likewise.
44540         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44541         with __USE_GNU instead of XOPEN cpp guards.
44543         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44544         0.
44546         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44547         with XOPEN cpp guards.
44549 2014-04-30  Julian Brown  <julian@codesourcery.com>
44551         [BZ #16888]
44552         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44553         handling.
44555 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44557         [BZ #9894]
44558         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44559         Change to 2.6.32.
44560         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44561         * sysdeps/unix/sysv/linux/configure: Regenerated.
44562         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44563         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44564         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44565         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44566         * README: Update reference to required Linux kernel version.
44567         * manual/install.texi (Linux): Update reference to required Linux
44568         kernel headers version.
44569         * INSTALL: Regenerated.
44571         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44572         header inclusion.
44573         [POSIX] (limits.h): Likewise.
44574         [POSIX] (math.h): Likewise.
44575         [POSIX] (sys/wait.h): Likewise.
44576         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44577         function.
44578         [POSIX] (stddef.h): Do not allow header inclusion.
44580 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44582         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44584 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44586         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44587         Return immediately after lll_futex_wake.
44589 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44591         [BZ #16791]
44592         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44593         structure.
44594         (datahead_init_pos): Call datahead_init_common early.
44595         (datahead_init_neg): Likewise.
44597         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44598         datahead_init_neg): New functions.
44599         * nscd/aicache.c (addhstaiX): Use them.
44600         * nscd/grpcache.c (cache_addgr): Likewise.
44601         * nscd/hstcache.c (cache_addhst): Likewise.
44602         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44603         * nscd/netgroupcache.c (do_notfound): Likewise.
44604         (addgetnetgrentX): Likewise.
44605         (addinnetgrX): Likewise.
44606         * nscd/pwdcache.c (cache_addpw): Likewise.
44607         * nscd/servicescache.c (cache_addserv): Likewise.
44609 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44610             Atsushi Onoe  <atsushi@onoe.org>
44612         [BZ #14308]
44613         [BZ #12994]
44614         [BZ #13651]
44615         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44616         one response is valid.
44617         * resolv/res_send.c (send_dg): Check for validity of other
44618         response if the current response is a referral.
44620 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44622         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44624 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44626         [BZ #16823]
44627         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44628         Always divide by positive zero when computing -Inf result.
44629         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44630         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44632 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44634         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44635         FPSCR if value do not change.
44636         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44637         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44638         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44639         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44640         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44641         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44642         function.
44644 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44646         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44647         * sysdeps/unix/sysv/linux/hppa: Move directory from
44648         ports/systeps/unix/sysv/linux/hppa.
44649         * README: Update listing for hppa-*-linux-gnu.
44651 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44653         [BZ #16754]
44654         * manual/stdio.texi (Hook functions): Fix types of stream hook
44655         functions.
44656         [BZ #16854]
44657         * socket/sys/socket.h: Fix typo in comment.
44659 2014-04-28  Wilco  <wdijkstr@arm.com>
44661         * sysdeps/arm/fenv_private.h: New file.
44662         * sysdeps/arm/math_private.h: New file.
44663         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44665 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44667         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44668         with __int128_t.
44669         (La_x86_64_retval): Likewise.
44671 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44673         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44674         fpsr if value didn't change.
44675         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44676         to fpcr if value didn't change.
44677         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44678         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44679         fpsr or fpcr if value didn't change.
44680         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44681         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44682         fpcr if value didn't change.
44683         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44684         to fpsr if value didn't change.
44686 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44688         * nptl/tst-sem3.c: Use test-skeleton.c
44689         (main): Rename to do_test.  Use return instead of
44690         exit.
44691         * nptl/tst-sem4.c: Use test-skeleton.c
44692         (main): Rename to do_test.
44694 2014-04-22  David S. Miller  <davem@davemloft.net>
44696         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44697         (struct sigaction): New struct member __glibc_reserved0, change
44698         type of sa_flags to int.
44700 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44702         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44703         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44705 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44707         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44708         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44710 2014-04-22  Will Newton  <will.newton@linaro.org>
44711             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44713         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44714         (__longjmp): Add longjmp and longjmp_target SystemTap
44715         probes.
44716         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44717         (__sigsetjmp): Add setjmp SystemTap probe.
44719 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44721         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44722         match manual order.
44724 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44726         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44728         * sysdeps/powerpc/fpu/fenv_private.h
44729         (libc_feholdexcept_setroundl_ctx): Define to
44730         libc_feholdexcept_setround_ppc_ctx.
44731         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44732         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44733         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44734         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44736 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44738         * sysdeps/aarch64/math-tests.h: New file.
44740 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44742         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44743         New.
44744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44745         Check and set bit_AVX2_Usable.
44746         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44747         macro.
44748         (bit_AVX2): Likewise.
44749         (index_AVX2_Usable): Likewise.
44750         (CPUID_AVX2): Likewise.
44751         (HAS_AVX2): Likewise.
44753 2014-04-17  Will Newton  <will.newton@linaro.org>
44755         * manual/setjmp.texi (System V contexts): Add note that
44756         calling setcontext on a context created by a call to a
44757         signal handler is undefined.  Update text to note that
44758         setcontext from a signal handler is possible but not
44759         recommended.
44761         [BZ #16629]
44762         * stdlib/tst-setcontext.c: Include signal.h.
44763         (main): Check that the signal stack before and
44764         after swapcontext is the same.
44766         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44767         Re-implement to restore registers in user code and avoid
44768         rt_sigreturn system call.
44770 2014-04-17  Wilco  <wdijkstr@arm.com>
44772         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44773         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44774         * math/test-fenv.c: Skip exception trap tests on targets which only
44775         support non-stop mode.
44777 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44778             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44780         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44781         (libc_feholdsetround_aarch64_ctx)
44782         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44783         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44784         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44785         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44786         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44787         (libc_feresetround_noexl_ctx): Define.
44789 2014-04-16  Richard Henderson  <rth@redhat.com>
44791         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44793         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44794         unwind tables.
44796         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44797         const from the non-libc, non-ldso copy.
44799         * sysdeps/alpha/libm-test-ulps: Regenerate.
44801 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44802             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44804         * sysdeps/aarch64/fpu/math_private.h: New file.
44806 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44808         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44810 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44812         [BZ #16275]
44813         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44814         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44815         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44816         Intel MPX bound registers before _dl_profile_fixup.
44817         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44818         registers after _dl_profile_fixup.  Save and restore bound
44819         registers bnd0/bnd1 when calling _dl_call_pltexit.
44820         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44821         (LR_BND_OFFSET): Likewise.
44822         (LRV_BND0_OFFSET): Likewise.
44823         (LRV_BND1_OFFSET): Likewise.
44825 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44827         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44828         to...
44829         * sysdeps/mach/hurd/i386/tls.h: ... here.
44830         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44831         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44832         fields.
44834 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44836         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44838 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44840         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44842 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44844         [BZ #14770]
44845         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44846         * sysdeps/s390/configure: Regenerate.
44848         [BZ #16824]
44849         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44850         Set round-to-nearest internally to reduce error accumulation.
44852 2014-04-16  Alan Modra  <amodra@gmail.com>
44854         [BZ #16740]
44855         [BZ #16619]
44856         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44857         * math/libm-test.inc (frexp_test_data): Add tests.
44858         * NEWS: Update fixed bug list.
44860 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44862         * benchtests/Makefile: Depend on libraries in build directory.
44863         (bench-math): Separate out math tests.
44864         (bench-pthread): Separate out pthread tests.
44865         (bench): Include math and pthread tests.
44867 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44869         [BZ #16831]
44870         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44871         _dl_debug_initialize.
44873         * configure.ac: Remove SELinux header check.
44874         * configure: Regenerate.
44875         * nscd/selinux.c (perms): Array of const char* to permission names.
44876         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44877         default policy. Call string_to_security_class and string_to_av_perm to
44878         translate strings. Enforce default policy and call avs_has_perm with
44879         results of translated strings.
44881 2014-04-13  David S. Miller  <davem@davemloft.net>
44883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44885 2014-04-12  Allan McRae  <allan@archlinux.org>
44887         [BZ #16838]
44888         * manual/string.texi (Collation Functions): Fix qsort argument
44889         order in example.
44890         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44892 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44894         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44895         Make the test a no-op if there are no exceptions defined.
44897 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44899         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44900         enable-hardcoded-path-in-tests
44902 2014-04-11  Will Newton  <will.newton@linaro.org>
44904         * benchtests/Makefile (extra-objs): Add json-lib.o.
44905         (bench-func): Tidy up JSON output.
44906         * benchtests/bench-skeleton.c: Include json-lib.h.
44907         (main): Use JSON library functions to do output of
44908         benchmark results.
44909         * benchtests/bench-timing-type.c (main): Output the
44910         timing type simply, leaving formatting to the user.
44911         * benchtests/json-lib.c: New file.
44912         * benchtests/json-lib.h: Likewise.
44914 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44916         [BZ #15215]
44917         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44918         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44919         memory barriers.  Add comments.
44920         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44921         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44922         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44923         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44924         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44925         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44927 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44929         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44930         * sysdeps/s390/s390-64/configure.ac: ... this ...
44931         * sysdeps/s390/configure.ac: ... to here.
44932         * sysdeps/s390/s390-32/configure: Delete file.
44933         * sysdeps/s390/s390-64/configure: Delete file.
44934         * sysdeps/s390/configure: Regenerate.
44936 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44938         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44940 2014-04-11  Will Newton  <will.newton@linaro.org>
44942         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44943         to zero if it is not defined elsewhere.  (mtrim): Test
44944         the value of MALLOC_DEBUG with #if rather than #ifdef.
44946 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44948         * benchtests/pthread_once-inputs: New file.
44949         * benchtests/pthread_once-source.c: New file.
44950         * benchtests/README: Update documentation.
44952 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44953             H.J. Lu  <hongjiu.lu@intel.com>
44955         [BZ #16275]
44956         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44957         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44958         * sysdeps/x86_64/configure: Regenerated.
44959         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44960         macro.
44961         (REGISTER_SAVE_RAX): Likewise.
44962         (REGISTER_SAVE_RCX): Likewise.
44963         (REGISTER_SAVE_RDX): Likewise.
44964         (REGISTER_SAVE_RSI): Likewise.
44965         (REGISTER_SAVE_RDI): Likewise.
44966         (REGISTER_SAVE_R8): Likewise.
44967         (REGISTER_SAVE_R9): Likewise.
44968         (REGISTER_SAVE_BND0): Likewise.
44969         (REGISTER_SAVE_BND1): Likewise.
44970         (REGISTER_SAVE_BND2): Likewise.
44971         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44972         bound registers when calling _dl_fixup.
44974 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44976         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44977         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44978         of its definition.
44979         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44980         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44981         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44982         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44983         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44984         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44985         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44987 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44989         [BZ #15514]
44990         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44991         pathconf(_PC_NAME_MAX).
44993 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44995         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44996         Remove macro usage.
44997         (__PTHREAD_SPINS): Move definition to ...
44998         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44999         (__PTHREAD_SPINS): ... here.
45000         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45001         (__PTHREAD_SPIN): Likewise.
45002         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
45003         (__PTHREAD_SPIN): Likewise.
45004         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
45005         (__PTHREAD_SPIN): Likewise.
45006         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
45007         (__PTHREAD_SPIN): Likewise.
45008         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45009         (__PTHREAD_SPIN): Likewise.
45010         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45011         (__PTHREAD_SPIN): Likewise.
45012         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45013         (__PTHREAD_SPIN): Likewise.
45014         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45015         (__PTHREAD_SPIN): Likewise.
45016         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45017         (__PTHREAD_SPIN): Likewise.
45018         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45019         (__PTHREAD_SPIN): Likewise.
45020         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45021         (__PTHREAD_SPIN): Likewise.
45022         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45023         (__PTHREAD_SPIN): Likewise.
45025         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45026         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45027         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45028         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45029         imply folder.
45030         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45031         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45032         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45033         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45034         correct imply path.
45035         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45036         strlen symbol for non multi-arch builds.
45037         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45038         missing hidden_def and weak_alias.
45040 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45042         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45044 2014-04-07  Will Newton  <will.newton@linaro.org>
45046         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45047         and contents.  [!_LIBC] Remove #ifndef and contents.
45048         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45049         * string/memccpy.c (__memccpy): Use ANSI prototype.
45050         * string/memfrob.c (memfrob): Likewise.
45051         * string/strcoll.c (STRCOLL): Likewise.
45052         * string/strlen.c (strlen): Likewise.
45053         * string/strtok.c (STRTOK): Likewise.
45054         * string/strcat.c: Remove unused #include of memcopy.h.
45055         (strcat): Use ANSI prototype.
45056         * string/strchr.c: Remove unused #include of memcopy.h.
45057         (strchr): Use ANSI prototype.
45058         * string/strcmp.c: Remove unused #include of memcopy.h.
45059         (strcmp): Use ANSI prototype.
45060         * string/strcpy.c: Remove unused #include of memcopy.h.
45061         (strcpy): Use ANSI prototype.
45063 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45065         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45066         * config.make.in (config-extra-cppflags): Set it from
45067         libc_extra_cppflags.
45068         * configure.ac (libc_extra_cflags): Make it accumulate over
45069         configure fragments.
45070         (libc_extra_cppflags): New flag.
45071         * configure. Regenerate.
45072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45073         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45074         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45077         [BZ #16815]
45078         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45079         result for FE_DOWNWARD rounding mode.
45080         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45081         Likewise.
45082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45084 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45086         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45087         in function argument name.
45089 2014-04-03  David Svoboda  <svoboda@cert.org>
45091         [BZ #5666]
45092         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45093         explicitly.
45095 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45097         * elf/dl-unmap-segments.h: New file.
45098         * sysdeps/generic/ldsodefs.h
45099         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45100         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45101         * elf/dl-fptr.c: Likewise.
45102         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45103         * sysdeps/aarch64/tlsdesc.c: Likewise.
45104         * sysdeps/arm/tlsdesc.c: Likewise.
45105         * sysdeps/i386/tlsdesc.c: Likewise.
45106         * sysdeps/tile/dl-runtime.c: Likewise.
45107         * sysdeps/x86_64/tlsdesc.c: Likewise.
45108         * elf/dl-load.h: New file.
45109         * elf/dl-load.c: Include it.
45110         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45111         Macros moved to dl-load.h.
45112         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45113         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45114         Use _dl_unmap_segments in place of __munmap.
45115         Break out segment-mapping loop into ...
45116         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45118 2014-04-03  Will Newton  <will.newton@linaro.org>
45120         * elf/dl-lookup.c (do_lookup_x): Remove comment
45121         referring to nested function and move variable
45122         declarations down to before first use.
45124 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45126         [BZ #16799]
45127         [BZ #16800]
45128         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45129         with 0 numerator.
45130         * math/s_catanf.c (__catanf): Likewise.
45131         * math/s_catanh.c (__catanh): Likewise.
45132         * math/s_catanhf.c (__catanhf): Likewise.
45133         * math/s_catanhl.c (__catanhl): Likewise.
45134         * math/s_catanl.c (__catanl): Likewise.
45135         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45136         by positive zero when computing -Inf result.
45137         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45138         (catanh_test): Likewise.
45139         * sysdeps/i386/fpu/libm-test-ulps: Update.
45140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45142         [BZ #16789]
45143         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45144         instead of using underflowing value in computing result.
45145         * math/s_clog10.c (__clog10): Likewise.
45146         * math/s_clog10f.c (__clog10f): Likewise.
45147         * math/s_clog10l.c (__clog10l): Likewise.
45148         * math/s_clogf.c (__clogf): Likewise.
45149         * math/s_clogl.c (__clogl): Likewise.
45150         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45151         (clog10_test): Likewise.
45152         * sysdeps/i386/fpu/libm-test-ulps: Update.
45153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45155 2014-04-02  Alan Modra  <amodra@gmail.com>
45157         [BZ #16739]
45158         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45159         output when value is near a power of two.  Use int64_t for lx and
45160         remove casts.  Use decimal rather than hex exponent constants.
45161         Don't use long double multiplication when double will suffice.
45162         * math/libm-test.inc (nextafter_test_data): Add tests.
45163         * NEWS: Add 16739 and 16786 to bug list.
45165         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45167         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45169 2014-04-01  Will Newton  <will.newton@linaro.org>
45171         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45172         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45174 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45176         [BZ #13347]
45177         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45178         * nptl/tst-setuid2.c: New file.
45179         * nptl/Makefile (xtests): Add tst-setuid2.
45181 2014-04-01  Alan Modra  <amodra@gmail.com>
45183         [BZ #16786]
45184         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45186 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45188         [BZ #6803]
45189         [BZ #6804]
45190         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45191         set errno as appropriate.
45192         * math/w_scalbf.c (__scalbf): Likewise.
45193         * math/w_scalbl.c (__scalbl): Likewise.
45194         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45195         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45196         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45197         Add more NaN tests.
45199         [BZ #16349]
45200         * math/w_atan2.c: Include <errno.h>.
45201         (__atan2): Set errno for result underflowing to zero.
45202         * math/w_atan2f.c: Include <errno.h>.
45203         (__atan2f): Set errno for result underflowing to zero.
45204         * math/w_atan2l.c: Include <errno.h>.
45205         (__atan2l): Set errno for result underflowing to zero.
45206         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45207         tests.
45208         * math/auto-libm-test-out: Regenerated.
45210 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45213         Encode instruction correctly in little endian.
45214         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45215         Likewise.
45216         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45217         Likewise.
45218         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45219         Likewise.
45220         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45221         Likewise.
45223 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45225         [BZ #9894]
45226         * sysdeps/unix/sysv/linux/kernel-features.h
45227         [__sparc__ && !__arch64__ && !__sparc_v9__]
45228         (__ASSUME_SET_ROBUST_LIST): Do not define.
45229         [__sparc__ && !__arch64__ && !__sparc_v9__]
45230         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45231         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45232         Likewise.
45233         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45234         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45235         (__ASSUME_REQUEUE_PI): Likewise.
45236         (__ASSUME_SET_ROBUST_LIST): Likewise.
45237         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45238         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45239         Undefine.
45240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45241         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45242         Likewise.
45243         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45244         Likewise.
45245         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45246         Likewise.
45247         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45248         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45249         Undefine.
45250         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45251         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45252         Likewise.
45254         [BZ #16648]
45255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45256         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45257         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45259 2014-03-31  Will Newton  <will.newton@linaro.org>
45261         * benchtests/Makefile (bench): Add ffs and ffsll to list
45262         of tests.
45263         * benchtests/ffs-inputs: New file.
45264         * benchtests/ffsll-inputs: Likewise.
45266 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45268         [BZ #16770]
45269         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45270         too large before casting to int.
45271         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45272         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45273         * math/libm-test.inc (scalb_test_data): Add more tests.
45275 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45277         * benchtests/Makefile (DETAILED_OPT): New make option.
45278         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45279         set.
45280         * benchtests/bench-skeleton.c: Include stdbool.h.
45281         (main): Store and print timings per input.
45282         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45283         member to each argument value.
45284         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45285         (_print_arg_data): Initialize per-input timing to 0.
45287         * benchtests/Makefile (timing-type): New binary.
45288         (bench-clean): Also remove bench-timing-type.
45289         (bench): New target for timing-type.
45290         (bench-func): Print output in JSON format.
45291         * benchtests/bench-skeleton.c (main): Print output in JSON
45292         format.
45293         * benchtests/bench-timing-type.c: New file.
45294         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45295         (TIMING_PRINT_STATS): Remove.
45296         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45297         name separately.
45299         * benchtests/bench-modf.c: Remove.
45300         * benchtests/modf-inputs: New inputs file.
45302 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45304         [BZ #16362]
45305         * math/s_clog10.c (M_PI_LOG10E): New macro.
45306         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45307         imaginary parts are 0.
45308         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45309         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45310         imaginary parts are 0.
45311         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45312         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45313         imaginary parts are 0.
45314         * math/libm-test.inc (clog10_test_data): Update expected results
45315         for when real and imaginary parts are 0.
45317 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45319         * elf/dl-load.c: Finish conversion of __builtin_expect into
45320         __glibc_{un}likely.
45322 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45324         [BZ #16348]
45325         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45326         1+x for argument with exponent below -67.
45327         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45328         Likewise.
45329         * math/auto-libm-test-in: Add more tests of exp.
45330         * math/auto-libm-test-out: Regenerated.
45332 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45334         [BZ #16759]
45335         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45336         (nscd_getnetgrent): Use it.
45338         [BZ #16760]
45339         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45340         of stpcpy.
45342 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45344         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
45345         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45346         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45347         (lll_robust_unlock): Remove out of line section. Use cfi
45348         intrinsics.
45349         (LLL_STUB_UNWIND_INFO*): Remove.
45350         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
45351         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45352         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45353         (lll_robust_unlock): Remove out of line section. Use cfi
45354         intrinsics.
45355         (LLL_STUB_UNWIND_INFO*): Remove.
45357 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45359         [BZ #16758]
45360         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
45361         blank values.
45363 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
45365         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
45367 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
45369         [BZ #16198]
45370         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
45371         fnstenv.
45372         * math/test-fenv-preserve.c: New file.
45373         * math/Makefile (tests): Add test-fenv-preserve.
45375 2014-03-26  Will Newton <will.newton@linaro.org>
45377         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45379 2014-03-25  Roland McGrath  <roland@hack.frob.com>
45381         * scripts/versionlist.awk: Partition the version sets and emit all
45382         GLIBC_* (sorted) before all others (sorted).
45384 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45386         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
45387         GLIBC_2.2.5 version.
45389 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45391         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
45392         calls.
45394         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
45395         previous change.
45397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45399 2014-03-25  Andreas Schwab  <schwab@suse.de>
45401         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
45402         label to be used after in6ailist is initialized.
45404 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45406         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45407         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45409 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45411         [BZ #16357]
45412         [BZ #16599]
45413         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
45414         min_plus_half.
45415         (fp_formats): Update initializers.
45416         (init_fp_formats): Initialize new field.
45417         (output_for_one_input_case): Allow underflow for results up to
45418         min_plus_half.
45419         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
45420         * math/auto-libm-test-in: Don't mark some underflows from asin and
45421         atanh as spurious.
45422         * math/auto-libm-test-out: Regenerated.
45423         * sysdeps/i386/fpu/libm-test-ulps: Update.
45424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45426 2014-03-25  Andreas Schwab  <schwab@suse.de>
45428         * libio/Makefile (tst-ftell-partial-wide-ENV)
45429         (tst-ftell-active-handler-ENV): Define.
45431 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45433         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45435 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45437         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45439 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45441         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45442         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45443         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45445 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45447         [BZ #16634]
45448         * elf/dl-load.c (open_verify): Add mode parameter.
45449         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45450         (open_path): Change from boolean 'secure' to complete flag 'mode'
45451         (_dl_map_object): Adjust.
45452         * elf/Makefile (tests): Add tst-dlopen-aout.
45453         * elf/tst-dlopen-aout.c: New test.
45455 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45457         [BZ #16714]
45458         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45459         (struct stat): Rename member pad0 to __glibc_reserved0.
45461         [BZ #16712]
45462         * sysdeps/s390/s390-32/bits/wordsize.h
45463         (__WORDSIZE32_SIZE_ULONG): New define.
45464         * sysdeps/s390/s390-64/bits/wordsize.h
45465         (__WORDSIZE32_SIZE_ULONG): Likewise.
45466         * sysdeps/generic/stdint.h (SIZE_MAX):
45467         Define as UL if __WORDSIZE32_SIZE_ULONG.
45469         [BZ #16713]
45470         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45471         (__glibc_reserved0): New variable.
45472         (sa_flags): Change type to int.
45474         * posix/Makefile (before-compile): Use += before-compile instead
45475         of a :=.
45477         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45478         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45480 2014-03-20  Andreas Schwab  <schwab@suse.de>
45482         [BZ #16743]
45483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45484         non-matching result from nscd.
45486 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45488         * scripts/bench.py: Moved to ...
45489         * benchtests/scripts/bench.py: ... here.
45490         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45492 2014-03-24  Andreas Schwab  <schwab@suse.de>
45494         [BZ #16002]
45495         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45496         alloca_account and account alloca use for struct in6ailist.
45498 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45500         [BZ #16284]
45501         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45502         rounding mode to recompute results that overflow to infinity or
45503         underflow to zero.
45504         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45505         bug 16284.
45506         * math/auto-libm-test-out: Regenerated.
45507         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45508         (ccosh_test): Likewise.
45509         (csin_test_data): Use plus_oflow.
45510         (csin_test): Use ALL_RM_TEST.
45511         (csinh_test_data): Use plus_oflow.
45512         (csinh_test): Use ALL_RM_TEST.
45513         * sysdeps/i386/fpu/libm-test-ulps: Update.
45514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45516 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45518         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45519         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45520         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45522         [BZ #16731]
45523         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45524         when x - 1 is zero.
45525         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45526         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45527         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45528         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45529         argument is 1.
45530         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45531         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45532         zero.
45533         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45534         * sysdeps/i386/fpu/libm-test-ulps: Update.
45535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45537 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45539         * scripts/bench.pl: Remove file.
45540         * scripts/bench.py: New benchmark script.
45541         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45542         * benchtests/README: Mention python dependency.
45543         * scripts/pylintrc: New file.
45544         * scripts/pylint: New file.
45546         * bits/mathdef.h: Use #ifdef instead of #if.
45547         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45548         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45549         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45550         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45551         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45552         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45554 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45555             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45557         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45559         and strpbrk-ppc64 objects.
45560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45561         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45562         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45563         multiarch strpbrk for POWER7.
45564         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45565         multiarch strpbrk for PPC64.
45566         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45567         ifunc selector.
45568         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45569         strpbrk for POWER7.
45571 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45573         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45574         (atan_test): Likewise.
45575         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45576         (atanh_test): Use ALL_RM_TEST.
45577         (atan2_test_data): Likewise.
45578         (cabs_test): Likewise.
45579         (cacosh_test): Likewise.
45580         (carg_test): Likewise.
45581         (casin_test): Likewise.
45582         (casinh_test): Likewise.
45583         (cbrt_test): Likewise.
45584         (csqrt_test): Likewise.
45585         (erf_test): Likewise.
45586         (erfc_test): Likewise.
45587         (pow10_test): Likewise.
45588         (exp2_test): Likewise.
45589         (hypot_test): Likewise.
45590         (j0_test): Likewise.
45591         (j1_test): Likewise.
45592         (lgamma_test): Likewise.
45593         (gamma_test): Likewise.
45594         (sincos_test): Likewise.
45595         (tanh_test): Likewise.
45596         (y0_test): Likewise.
45597         (y1_test): Likewise.
45598         * sysdeps/i386/fpu/libm-test-ulps: Update.
45599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45601 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45603         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45605         and strcspn-ppc64 objects.
45606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45607         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45608         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45609         multiarch strcspn for POWER7.
45610         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45611         multiarch strcspn for PPC64.
45612         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45613         ifunc selector.
45614         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45615         strcspn for POWER7.
45617 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45619         * math/gen-libm-test.pl (generate_testfile): Expect only function
45620         name as argument to AUTO_TESTS_* and pass results for all rounding
45621         modes to parse_args.
45622         (parse_auto_input): Separate inputs of automatic tests from
45623         outputs before storing in %auto_tests.
45624         * math/libm-test.inc (acos_test_data): Update call to
45625         AUTO_TESTS_f_f.
45626         (acos_test): Use ALL_RM_TEST.
45627         (acos_tonearest_test_data): Remove.
45628         (acos_test_tonearest): Likewise.
45629         (acos_towardzero_test_data): Likewise.
45630         (acos_test_towardzero): Likewise.
45631         (acos_downward_test_data): Likewise.
45632         (acos_test_downward): Likewise.
45633         (acos_upward_test_data): Likewise.
45634         (acos_test_upward): Likewise.
45635         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45636         (asin_test_data): Likewise.
45637         (asin_test): Use ALL_RM_TEST.
45638         (asin_tonearest_test_data): Remove.
45639         (asin_test_tonearest): Likewise.
45640         (asin_towardzero_test_data): Likewise.
45641         (asin_test_towardzero): Likewise.
45642         (asin_downward_test_data): Likewise.
45643         (asin_test_downward): Likewise.
45644         (asin_upward_test_data): Likewise.
45645         (asin_test_upward): Likewise.
45646         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45647         (atan_test_data): Likewise.
45648         (atanh_test_data): Likewise.
45649         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45650         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45651         (carg_test_data): Likewise.
45652         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45653         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45654         (ccosh_test_data): Likewise.
45655         (cexp_test_data): Likewise.
45656         (clog_test_data): Likewise.
45657         (clog10_test_data): Likewise.
45658         (cos_test_data): Update call to AUTO_TESTS_f_f.
45659         (cos_test): Use ALL_RM_TEST.
45660         (cos_tonearest_test_data): Remove.
45661         (cos_test_tonearest): Likewise.
45662         (cos_towardzero_test_data): Likewise.
45663         (cos_test_towardzero): Likewise.
45664         (cos_downward_test_data): Likewise.
45665         (cos_test_downward): Likewise.
45666         (cos_upward_test_data): Likewise.
45667         (cos_test_upward): Likewise.
45668         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45669         (cosh_test): Use ALL_RM_TEST.
45670         (cosh_tonearest_test_data): Remove.
45671         (cosh_test_tonearest): Likewise.
45672         (cosh_towardzero_test_data): Likewise.
45673         (cosh_test_towardzero): Likewise.
45674         (cosh_downward_test_data): Likewise.
45675         (cosh_test_downward): Likewise.
45676         (cosh_upward_test_data): Likewise.
45677         (cosh_test_upward): Likewise.
45678         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45679         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45680         (ctan_test_data): Likewise.
45681         (ctan_test): Use ALL_RM_TEST.
45682         (ctan_tonearest_test_data): Remove.
45683         (ctan_test_tonearest): Likewise.
45684         (ctan_towardzero_test_data): Likewise.
45685         (ctan_test_towardzero): Likewise.
45686         (ctan_downward_test_data): Likewise.
45687         (ctan_test_downward): Likewise.
45688         (ctan_upward_test_data): Likewise.
45689         (ctan_test_upward): Likewise.
45690         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45691         (ctanh_test): Use ALL_RM_TEST.
45692         (ctanh_tonearest_test_data): Remove.
45693         (ctanh_test_tonearest): Likewise.
45694         (ctanh_towardzero_test_data): Likewise.
45695         (ctanh_test_towardzero): Likewise.
45696         (ctanh_downward_test_data): Likewise.
45697         (ctanh_test_downward): Likewise.
45698         (ctanh_upward_test_data): Likewise.
45699         (ctanh_test_upward): Likewise.
45700         (erf_test_data): Update call to AUTO_TESTS_f_f.
45701         (erfc_test_data): Likewise.
45702         (exp_test_data): Likewise.
45703         (exp_test): Use ALL_RM_TEST.
45704         (exp_tonearest_test_data): Remove.
45705         (exp_test_tonearest): Likewise.
45706         (exp_towardzero_test_data): Likewise.
45707         (exp_test_towardzero): Likewise.
45708         (exp_downward_test_data): Likewise.
45709         (exp_test_downward): Likewise.
45710         (exp_upward_test_data): Likewise.
45711         (exp_test_upward): Likewise.
45712         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45713         (exp10_test): Use ALL_RM_TEST.
45714         (exp10_tonearest_test_data): Remove.
45715         (exp10_test_tonearest): Likewise.
45716         (exp10_towardzero_test_data): Likewise.
45717         (exp10_test_towardzero): Likewise.
45718         (exp10_downward_test_data): Likewise.
45719         (exp10_test_downward): Likewise.
45720         (exp10_upward_test_data): Likewise.
45721         (exp10_test_upward): Likewise.
45722         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45723         (expm1_test_data): Likewise.
45724         (expm1_test): Use ALL_RM_TEST.
45725         (expm1_tonearest_test_data): Remove.
45726         (expm1_test_tonearest): Likewise.
45727         (expm1_towardzero_test_data): Likewise.
45728         (expm1_test_towardzero): Likewise.
45729         (expm1_downward_test_data): Likewise.
45730         (expm1_test_downward): Likewise.
45731         (expm1_upward_test_data): Likewise.
45732         (expm1_test_upward): Likewise.
45733         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45734         (fma_test): Use ALL_RM_TEST.
45735         (fma_towardzero_test_data): Remove.
45736         (fma_test_towardzero): Likewise.
45737         (fma_downward_test_data): Likewise.
45738         (fma_test_downward): Likewise.
45739         (fma_upward_test_data): Likewise.
45740         (fma_test_upward): Likewise.
45741         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45742         (j0_test_data): Update call to AUTO_TESTS_f_f.
45743         (j1_test_data): Likewise.
45744         (jn_test_data): Update call to AUTO_TESTS_if_f.
45745         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45746         (log_test_data): Update call to AUTO_TESTS_f_f.
45747         (log10_test_data): Likewise.
45748         (log1p_test_data): Likewise.
45749         (log2_test_data): Likewise.
45750         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45751         (pow_tonearest_test_data): Likewise.
45752         (sin_test_data): Update call to AUTO_TESTS_f_f.
45753         (sin_test): Use ALL_RM_TEST.
45754         (sin_tonearest_test_data): Remove.
45755         (sin_test_tonearest): Likewise.
45756         (sin_towardzero_test_data): Likewise.
45757         (sin_test_towardzero): Likewise.
45758         (sin_downward_test_data): Likewise.
45759         (sin_test_downward): Likewise.
45760         (sin_upward_test_data): Likewise.
45761         (sin_test_upward): Likewise.
45762         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45763         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45764         (sinh_test): Use ALL_RM_TEST.
45765         (sinh_tonearest_test_data): Remove.
45766         (sinh_test_tonearest): Likewise.
45767         (sinh_towardzero_test_data): Likewise.
45768         (sinh_test_towardzero): Likewise.
45769         (sinh_downward_test_data): Likewise.
45770         (sinh_test_downward): Likewise.
45771         (sinh_upward_test_data): Likewise.
45772         (sinh_test_upward): Likewise.
45773         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45774         (sqrt_test): Use ALL_RM_TEST.
45775         (sqrt_tonearest_test_data): Remove.
45776         (sqrt_test_tonearest): Likewise.
45777         (sqrt_towardzero_test_data): Likewise.
45778         (sqrt_test_towardzero): Likewise.
45779         (sqrt_downward_test_data): Likewise.
45780         (sqrt_test_downward): Likewise.
45781         (sqrt_upward_test_data): Likewise.
45782         (sqrt_test_upward): Likewise.
45783         (tan_test_data): Update call to AUTO_TESTS_f_f.
45784         (tan_test): Use ALL_RM_TEST.
45785         (tan_tonearest_test_data): Remove.
45786         (tan_test_tonearest): Likewise.
45787         (tan_towardzero_test_data): Likewise.
45788         (tan_test_towardzero): Likewise.
45789         (tan_downward_test_data): Likewise.
45790         (tan_test_downward): Likewise.
45791         (tan_upward_test_data): Likewise.
45792         (tan_test_upward): Likewise.
45793         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45794         (tgamma_test_data): Likewise.
45795         (y0_test_data): Likewise.
45796         (y1_test_data): Likewise.
45797         (yn_test_data): Update call to AUTO_TESTS_if_f.
45798         (main): Do not call removed functions.
45800 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45802         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45803         (ldexp_test_data): Remove.
45804         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45805         scalbn_test_data.
45806         (scalb_test): Use ALL_RM_TEST.
45808 2014-03-19  Andreas Schwab  <schwab@suse.de>
45810         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45812 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45814         [BZ #16649]
45815         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45816         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45817         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45819         (__ASSUME_PREADV): Undefine.
45820         (__ASSUME_PWRITEV): Likewise.
45822 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45824         * bits/mman-linux.h: Add comment about non-Linux use.
45825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45826         bits/mman-linux.h resting place.
45828         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45829         * bits/mman-linux.h: ... here.
45831 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45833         * conform/conformtest.pl: Add standard definition when calling C
45834         preprocessor on data files.
45835         (checknamespace): Remove unused variable.
45837 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45839         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45840         minus_oflow, plus_uflow and minus_uflow in expected results.
45841         * math/libm-test.inc (scalbn_test_data): Add more tests of
45842         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45843         minus_uflow.
45844         (scalbn_test): Use ALL_RM_TEST.
45845         (scalbln_test_data): Add more tests of negative arguments.  Use
45846         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45847         (scalbln_test): Use ALL_RM_TEST.
45849 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45851         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45853 2014-03-18  Will Newton  <will.newton@linaro.org>
45855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45856         inaccurate comment.
45858 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45860         * Makerules [!subdir] (check-abi): Exit with error status if a
45861         test failed.
45863 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45865         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45866         for rint.  Include results for all rounding modes.
45867         (nearbyint_test): Use ALL_RM_TEST.
45868         (rint_test_data): Include all tests used for nearbyint.
45870 2014-03-17  Will Newton  <will.newton@linaro.org>
45872         * nptl/sysdeps/pthread/pthread.h: Revert previous
45873         change.
45875         * sysdeps/generic/ldsodefs.h: Revert previous
45876         change.
45878         * libio/genops.c: Revert previous change.
45879         * libio/libioP.h: Likewise.
45880         * stdio-common/vfprintf.c: Likewise.
45882         * sysdeps/generic/math_private.h: Revert previous
45883         change.
45885         * sysdeps/generic/math_private.h: Check whether
45886         HAVE_RM_CTX is defined with #ifdef rather
45887         than #if.
45889         * argp/argp-fmtstream.h: Check whether
45890         __STRICT_ANSI__ is defined with #ifdef rather
45891         than #if.
45892         * argp/argp.h: Likewise.
45894         * libio/genops.c: Check whether
45895         _IO_JUMPS_OFFSET is defined with #ifdef rather
45896         than #if.
45897         * libio/libioP.h: Likewise.
45898         * stdio-common/vfprintf.c: Likewise.
45900         * sysdeps/generic/ldsodefs.h: Check whether
45901         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45902         than #if.
45904         * nptl/sysdeps/pthread/pthread.h: Check
45905         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45906         its value.
45908 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45910         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45911         setting O_APPEND.
45912         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45913         test case.
45915         [BZ #16680]
45916         * libio/fileops.c (_IO_file_open): Seek to end of file but
45917         don't cache the offset.
45918         (get_file_offset): Remove function.
45919         (do_ftell): Use cached offset when available.
45920         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45921         don't cache the offset.
45922         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45923         case.
45924         (do_one_test): Call it.
45925         (do_ftell_test): Fix up expected old offset for a+ mode.
45926         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45927         available.
45929         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45930         up test status with function return status.
45931         (do_write_test): Likewise.
45932         (do_append_test): Likewise.
45934         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45935         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45936         Remove.
45938 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45940         * math/gen-libm-test.pl (parse_args): Handle results specified for
45941         each rounding mode separately.
45942         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45943         tests and results from lrint_tonearest_test_data,
45944         lrint_towardzero_test_data, lrint_downward_test_data and
45945         lrint_upward_test_data.
45946         (lrint_test): Use ALL_RM_TEST.
45947         (lrint_tonearest_test_data): Remove.
45948         (lrint_test_tonearest): Likewise.
45949         (lrint_towardzero_test_data): Likewise.
45950         (lrint_test_towardzero): Likewise.
45951         (lrint_downward_test_data): Likewise.
45952         (lrint_test_downward): Likewise.
45953         (lrint_upward_test_data): Likewise.
45954         (lrint_test_upward): Likewise.
45955         (llrint_test_data): Merge in per-rounding-mode tests and results
45956         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45957         llrint_downward_test_data and llrint_upward_test_data.
45958         (llrint_test): Use ALL_RM_TEST.
45959         (llrint_tonearest_test_data): Remove.
45960         (llrint_test_tonearest): Likewise.
45961         (llrint_towardzero_test_data): Likewise.
45962         (llrint_test_towardzero): Likewise.
45963         (llrint_downward_test_data): Likewise.
45964         (llrint_test_downward): Likewise.
45965         (llrint_upward_test_data): Likewise.
45966         (llrint_test_upward): Likewise.
45967         (rint_test_data): Merge in per-rounding-mode tests and results
45968         from rint_tonearest_test_data, rint_towardzero_test_data,
45969         rint_downward_test_data and rint_upward_test_data.  Add
45970         per-rounding-mode results for tests not in those arrays.
45971         (rint_test): Use ALL_RM_TEST.
45972         (rint_tonearest_test_data): Remove.
45973         (rint_test_tonearest): Likewise.
45974         (rint_towardzero_test_data): Likewise.
45975         (rint_test_towardzero): Likewise.
45976         (rint_downward_test_data): Likewise.
45977         (rint_test_downward): Likewise.
45978         (rint_upward_test_data): Likewise.
45979         (rint_test_upward): Likewise.
45980         (main): Don't call removed functions.
45982 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45984         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45985         "Compiled on ..." crapola.  It is anti-useful.
45987 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45989         * scripts/evaluate-test.sh: Handle fourth argument to determine
45990         whether test run should stop on failure.
45991         * Makeconfig (stop-on-test-failure): New variable.
45992         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45993         $(stop-on-test-failure).
45994         * Makefile (tests): Give a summary of results from testing and
45995         exit with failure status if they include an ERROR or FAIL.
45996         (xtests): Likewise.
45997         * manual/install.texi (Configuring and compiling): Mention
45998         stop-on-test-failure=y.
45999         * INSTALL: Regenerated.
46001 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46003         * scripts/versionlist.awk: New file.
46004         * Makerules [$(build-shared) = yes]
46005         (postclean-generated): Add Versions.def, not Versions.def.v and
46006         Versions.def.v.i.
46007         ($(common-objpfx)Versions.def.v.i): Target removed.
46008         ($(common-objpfx)Versions.def): New target.
46009         ($(common-objpfx)Versions.all): Depend on that rather that
46010         $(common-objpfx)Versions.def.v.
46011         * Versions.def: File removed.
46013         * Makeconfig (+gccwarn): Add -Wundef.
46014         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46015         a dl-sysdep.h breaking its contract.
46016         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46017         * include/stackinfo.h: New file.
46018         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46019         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46020         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46021         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46022         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46023         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46024         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46025         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46026         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46027         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46028         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46029         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46030         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46031         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46032         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46034 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46036         [BZ #16707]
46037         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46038         implementation.
46039         * math/libm-test.inc (round_test_data): Add more tests.
46041         [BZ #16706]
46042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46043         implementation.
46044         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46046         [BZ #16701]
46047         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46048         implementation.
46049         * math/libm-test.inc (ceil_test_data): Add more tests.
46051         * math/libm-test.inc (trunc_test_data): Add more tests related to
46052         BZ#16414.
46054 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46056         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46057         with #if rather than #ifdef.
46058         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46060 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46062         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46063         first.  Disable AVX-512 GCC support if assembler doesn't support
46064         it.
46065         * sysdeps/x86_64/configure: Regenerated.
46067 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46069         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46070         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46071         (__old_pthread_attr_setstack): Likewise.
46072         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46073         [!_STACK_GROWS_DOWN]: Likewise.
46075 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46077         * config.make.in (have-bash2): Delete.
46078         * configure.ac (libc_cv_have_bash2): Delete.
46079         * configure: Regenerate.
46080         * elf/Makefile (common-ldd-rewrite): Rename to ...
46081         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46082         (sh-ldd-rewrite): Delete.
46083         (bash-ldd-rewrite): Delete.
46084         (have-bash2): Delete checks.
46085         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46086         ldd-rewrite.
46088         * config.make.in (have-ksh): Delete.
46089         (KSH): Delete.
46090         * configure.ac (libc_cv_have_ksh): Delete.
46091         * configure: Regenerate.
46093         * elf/Makefile: Delete $(have-ksh) check.
46094         ($(objpfx)sotruss): Change KSH to BASH.
46095         * elf/sotruss.ksh: Rename to ...
46096         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46097         function style to match POSIX.  Drop ksh vim mode setting.
46099         * manual/time.texi (Specifying the Time Zone with TZ): Change
46100         Tuesday to Thursday.
46102         * debug/tst-longjmp_chk2.c: Update header comment.
46103         (stackoverflow_handler): Add comment.  Call assert on pass value.
46105 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46107         [BZ #16194]
46108         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46109         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46110         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46111         (La_x86_64_vector): Add zmm.
46112         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46113         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46114         ($(objpfx)tst-audit10): New target.
46115         ($(objpfx)tst-audit10.out): Likewise.
46116         (tst-audit10-ENV): New.
46117         (AVX512-CFLAGS): Likewise.
46118         (CFLAGS-tst-audit10.c): Likewise.
46119         (CFLAGS-tst-auditmod10a.c): Likewise.
46120         (CFLAGS-tst-auditmod10b.c): Likewise.
46121         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46122         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46123         * sysdeps/x86_64/configure: Regenerated.
46124         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46125         AVX-512 zmm register support.
46126         (_dl_x86_64_save_sse): Likewise.
46127         (_dl_x86_64_restore_sse): Likewise.
46128         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46129         size vector registers.
46130         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46131         (ZMM_SIZE): Likewise.
46132         * sysdeps/x86_64/tst-audit10.c: New file.
46133         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46134         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46136 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46138         * configure.ac (HAVE_EHDR_START): New check.
46139         * configure: Regenerated.
46140         * config.h.in (HAVE_EHDR_START): New #undef.
46141         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46142         assuming the lowest-addressed segment maps the start of the file.
46144 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46146         * INSTALL: Regenerated.
46148 2014-03-13  Will Newton  <will.newton@linaro.org>
46150         * manual/setjmp.texi (System V contexts): Improve
46151         clarity and grammar of documentation.
46153 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46155         [BZ #16381]
46156         * elf/Makefile (tests): Add tst-pie2.
46157         (tests-pie): Add tst-pie2.
46158         * elf/tst-pie2.c: New file.
46159         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46160         for ET_EXEC.
46161         * elf/rtld.c (map_doit): Load executable as lt_executable.
46162         (dl_main): Likewise.
46164 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46166         [BZ #16642]
46167         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46168         (__ASSUME_PSELECT): Undefine.
46170 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46172         [BZ #16689]
46173         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46174         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46175         static build.
46176         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46177         selector for static builds.
46179 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46181         [BZ #16695]
46182         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46183         key in the buffer.
46185 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46187         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46188         IFUNC selector for static builds.
46190 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46192         * sysdeps/mips/math_private.h [__mips_hard_float]
46193         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46194         libc_feresetround_mips_ctx.
46195         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46196         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46197         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46199         [BZ #16677]
46200         * math/s_nextafter.c (__nextafter): Do not return value from
46201         overflowing computation.
46202         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46203         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46204         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46205         Likewise.
46206         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46207         Likewise.
46208         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46209         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46211 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46213         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46214         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46215         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46216         the new mov targetting sp.
46218 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46220         [BZ #16683]
46221         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46222         Define it for static builds as well.
46223         (NO_BZERO_IMPL): Likewise.
46225 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46227         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46228         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46229         multiarch strspn for PPC64.
46230         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46231         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46233         (__libc_ifunc_impl_list): Likewise.
46234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46235         multiarch optimizations
46236         * string/strspn.c (strspn): Using macro to redefine symbol name.
46238 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46239             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46241         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46242         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46243         multiarch strncat for PPC64.
46244         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46245         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46247         (__libc_ifunc_impl_list): Likewise.
46248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46249         multiarch optimizations
46251 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46253         [BZ #16639]
46254         * nscd/nscd.service: Make service type forking.
46256 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46258         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46259         sign in non default rounding modes.
46260         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46262 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46264         * math/libm-test.inc (ALL_RM_TEST): New macro.
46265         (ceil_test): Use ALL_RM_TEST.
46266         (cimag_test): Likewise.
46267         (conj_test): Likewise.
46268         (copysign_test): Likewise.
46269         (cproj_test): Likewise.
46270         (creal_test): Likewise.
46271         (fabs_test): Likewise.
46272         (floor_test): Likewise.
46273         (fmax_test): Likewise.
46274         (fmin_test): Likewise.
46275         (fmod_test): Likewise.
46276         (fpclassify_test): Likewise.
46277         (frexp_test): Likewise.
46278         (ilogb_test): Likewise.
46279         (isfinite_test): Likewise.
46280         (finite_test): Likewise.
46281         (isgreater_test): Likewise.
46282         (isgreaterequal_test): Likewise.
46283         (isinf_test): Likewise.
46284         (isless_test): Likewise.
46285         (islessequal_test): Likewise.
46286         (islessgreater_test): Likewise.
46287         (isnan_test): Likewise.
46288         (isnormal_test): Likewise.
46289         (issignaling_test): Likewise.
46290         (isunordered_test): Likewise.
46291         (logb_test): Likewise.
46292         (logb_downward_test_data): Remove.
46293         (logb_test_downward): Likewise.
46294         (lround_test): Use ALL_RM_TEST.
46295         (llround_test): Likewise.
46296         (modf_test): Likewise.
46297         (nexttoward_test): Likewise.
46298         (remainder_test): Likewise.
46299         (drem_test): Likewise.
46300         (remainder_tonearest_test_data): Likewise.
46301         (remainder_test_tonearest): Likewise.
46302         (drem_test_tonearest): Likewise.
46303         (remainder_towardzero_test_data): Likewise.
46304         (remainder_test_towardzero): Likewise.
46305         (drem_test_towardzero): Likewise.
46306         (remainder_downward_test_data): Likewise.
46307         (remainder_test_downward): Likewise.
46308         (drem_test_downward): Likewise.
46309         (remainder_upward_test_data): Likewise.
46310         (remainder_test_upward): Likewise.
46311         (drem_test_upward): Likewise.
46312         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46313         (round_test): Use ALL_RM_TEST.
46314         (signbit_test): Likewise.
46315         (trunc_test): Likewise.
46316         (significand_test): Likewise.
46317         (main): Don't call removed functions.
46319 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46321         [BZ #16674]
46322         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46323         || __USE_XOPEN2K8].
46324         (ILL_ILLOPN): Likewise.
46325         (ILL_ILLADR): Likewise.
46326         (ILL_ILLTRP): Likewise.
46327         (ILL_PRVOPC): Likewise.
46328         (ILL_PRVREG): Likewise.
46329         (ILL_COPROC): Likewise.
46330         (ILL_BADSTK): Likewise.
46331         (FPE_INTDIV): Likewise.
46332         (FPE_INTOVF): Likewise.
46333         (FPE_FLTDIV): Likewise.
46334         (FPE_FLTOVF): Likewise.
46335         (FPE_FLTUND): Likewise.
46336         (FPE_FLTRES): Likewise.
46337         (FPE_FLTINV): Likewise.
46338         (FPE_FLTSUB): Likewise.
46339         (SEGV_MAPERR): Likewise.
46340         (SEGV_ACCERR): Likewise.
46341         (BUS_ADRALN): Likewise.
46342         (BUS_ADRERR): Likewise.
46343         (BUS_OBJERR): Likewise.
46344         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46345         (TRAP_TRACE): Likewise.
46346         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46347         __USE_XOPEN2K8].
46348         (CLD_KILLED): Likewise.
46349         (CLD_DUMPED): Likewise.
46350         (CLD_TRAPPED): Likewise.
46351         (CLD_STOPPED): Likewise.
46352         (CLD_CONTINUED): Likewise.
46353         (POLL_IN): Likewise.
46354         (POLL_OUT): Likewise.
46355         (POLL_MSG): Likewise.
46356         (POLL_ERR): Likewise.
46357         (POLL_PRI): Likewise.
46358         (POLL_HUP): Likewise.
46359         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
46360         Likewise.
46361         (ILL_ILLOPN): Likewise.
46362         (ILL_ILLADR): Likewise.
46363         (ILL_ILLTRP): Likewise.
46364         (ILL_PRVOPC): Likewise.
46365         (ILL_PRVREG): Likewise.
46366         (ILL_COPROC): Likewise.
46367         (ILL_BADSTK): Likewise.
46368         (FPE_INTDIV): Likewise.
46369         (FPE_INTOVF): Likewise.
46370         (FPE_FLTDIV): Likewise.
46371         (FPE_FLTOVF): Likewise.
46372         (FPE_FLTUND): Likewise.
46373         (FPE_FLTRES): Likewise.
46374         (FPE_FLTINV): Likewise.
46375         (FPE_FLTSUB): Likewise.
46376         (SEGV_MAPERR): Likewise.
46377         (SEGV_ACCERR): Likewise.
46378         (BUS_ADRALN): Likewise.
46379         (BUS_ADRERR): Likewise.
46380         (BUS_OBJERR): Likewise.
46381         (BUS_MCEERR_AR): Likewise.
46382         (BUS_MCEERR_AO): Likewise.
46383         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46384         (TRAP_TRACE): Likewise.
46385         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46386         __USE_XOPEN2K8].
46387         (CLD_KILLED): Likewise.
46388         (CLD_DUMPED): Likewise.
46389         (CLD_TRAPPED): Likewise.
46390         (CLD_STOPPED): Likewise.
46391         (CLD_CONTINUED): Likewise.
46392         (POLL_IN): Likewise.
46393         (POLL_OUT): Likewise.
46394         (POLL_MSG): Likewise.
46395         (POLL_ERR): Likewise.
46396         (POLL_PRI): Likewise.
46397         (POLL_HUP): Likewise.
46398         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
46399         (ILL_ILLOPN): Likewise.
46400         (ILL_ILLADR): Likewise.
46401         (ILL_ILLTRP): Likewise.
46402         (ILL_PRVOPC): Likewise.
46403         (ILL_PRVREG): Likewise.
46404         (ILL_COPROC): Likewise.
46405         (ILL_BADSTK): Likewise.
46406         (FPE_INTDIV): Likewise.
46407         (FPE_INTOVF): Likewise.
46408         (FPE_FLTDIV): Likewise.
46409         (FPE_FLTOVF): Likewise.
46410         (FPE_FLTUND): Likewise.
46411         (FPE_FLTRES): Likewise.
46412         (FPE_FLTINV): Likewise.
46413         (FPE_FLTSUB): Likewise.
46414         (SEGV_MAPERR): Likewise.
46415         (SEGV_ACCERR): Likewise.
46416         (BUS_ADRALN): Likewise.
46417         (BUS_ADRERR): Likewise.
46418         (BUS_OBJERR): Likewise.
46419         (BUS_MCEERR_AR): Likewise.
46420         (BUS_MCEERR_AO): Likewise.
46421         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46422         (TRAP_TRACE): Likewise.
46423         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46424         __USE_XOPEN2K8].
46425         (CLD_KILLED): Likewise.
46426         (CLD_DUMPED): Likewise.
46427         (CLD_TRAPPED): Likewise.
46428         (CLD_STOPPED): Likewise.
46429         (CLD_CONTINUED): Likewise.
46430         (POLL_IN): Likewise.
46431         (POLL_OUT): Likewise.
46432         (POLL_MSG): Likewise.
46433         (POLL_ERR): Likewise.
46434         (POLL_PRI): Likewise.
46435         (POLL_HUP): Likewise.
46436         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46437         Likewise.
46438         (ILL_ILLOPN): Likewise.
46439         (ILL_ILLADR): Likewise.
46440         (ILL_ILLTRP): Likewise.
46441         (ILL_PRVOPC): Likewise.
46442         (ILL_PRVREG): Likewise.
46443         (ILL_COPROC): Likewise.
46444         (ILL_BADSTK): Likewise.
46445         (ILL_BADIADDR): Likewise.
46446         (ILL_BREAK): Likewise.
46447         (FPE_INTDIV): Likewise.
46448         (FPE_INTOVF): Likewise.
46449         (FPE_FLTDIV): Likewise.
46450         (FPE_FLTOVF): Likewise.
46451         (FPE_FLTUND): Likewise.
46452         (FPE_FLTRES): Likewise.
46453         (FPE_FLTINV): Likewise.
46454         (FPE_FLTSUB): Likewise.
46455         (FPE_DECOVF): Likewise.
46456         (FPE_DECDIV): Likewise.
46457         (FPE_DECERR): Likewise.
46458         (FPE_INVASC): Likewise.
46459         (FPE_INVDEC): Likewise.
46460         (SEGV_MAPERR): Likewise.
46461         (SEGV_ACCERR): Likewise.
46462         (SEGV_PSTKOVF): Likewise.
46463         (BUS_ADRALN): Likewise.
46464         (BUS_ADRERR): Likewise.
46465         (BUS_OBJERR): Likewise.
46466         (BUS_MCEERR_AR): Likewise.
46467         (BUS_MCEERR_AO): Likewise.
46468         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46469         (TRAP_TRACE): Likewise.
46470         (TRAP_BRANCH): Likewise.
46471         (TRAP_HWBKPT): Likewise.
46472         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46473         __USE_XOPEN2K8].
46474         (CLD_KILLED): Likewise.
46475         (CLD_DUMPED): Likewise.
46476         (CLD_TRAPPED): Likewise.
46477         (CLD_STOPPED): Likewise.
46478         (CLD_CONTINUED): Likewise.
46479         (POLL_IN): Likewise.
46480         (POLL_OUT): Likewise.
46481         (POLL_MSG): Likewise.
46482         (POLL_ERR): Likewise.
46483         (POLL_PRI): Likewise.
46484         (POLL_HUP): Likewise.
46485         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46486         (ILL_ILLOPN): Likewise.
46487         (ILL_ILLADR): Likewise.
46488         (ILL_ILLTRP): Likewise.
46489         (ILL_PRVOPC): Likewise.
46490         (ILL_PRVREG): Likewise.
46491         (ILL_COPROC): Likewise.
46492         (ILL_BADSTK): Likewise.
46493         (FPE_INTDIV): Likewise.
46494         (FPE_INTOVF): Likewise.
46495         (FPE_FLTDIV): Likewise.
46496         (FPE_FLTOVF): Likewise.
46497         (FPE_FLTUND): Likewise.
46498         (FPE_FLTRES): Likewise.
46499         (FPE_FLTINV): Likewise.
46500         (FPE_FLTSUB): Likewise.
46501         (SEGV_MAPERR): Likewise.
46502         (SEGV_ACCERR): Likewise.
46503         (BUS_ADRALN): Likewise.
46504         (BUS_ADRERR): Likewise.
46505         (BUS_OBJERR): Likewise.
46506         (BUS_MCEERR_AR): Likewise.
46507         (BUS_MCEERR_AO): Likewise.
46508         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46509         (TRAP_TRACE): Likewise.
46510         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46511         __USE_XOPEN2K8].
46512         (CLD_KILLED): Likewise.
46513         (CLD_DUMPED): Likewise.
46514         (CLD_TRAPPED): Likewise.
46515         (CLD_STOPPED): Likewise.
46516         (CLD_CONTINUED): Likewise.
46517         (POLL_IN): Likewise.
46518         (POLL_OUT): Likewise.
46519         (POLL_MSG): Likewise.
46520         (POLL_ERR): Likewise.
46521         (POLL_PRI): Likewise.
46522         (POLL_HUP): Likewise.
46523         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46524         (ILL_ILLOPN): Likewise.
46525         (ILL_ILLADR): Likewise.
46526         (ILL_ILLTRP): Likewise.
46527         (ILL_PRVOPC): Likewise.
46528         (ILL_PRVREG): Likewise.
46529         (ILL_COPROC): Likewise.
46530         (ILL_BADSTK): Likewise.
46531         (FPE_INTDIV): Likewise.
46532         (FPE_INTOVF): Likewise.
46533         (FPE_FLTDIV): Likewise.
46534         (FPE_FLTOVF): Likewise.
46535         (FPE_FLTUND): Likewise.
46536         (FPE_FLTRES): Likewise.
46537         (FPE_FLTINV): Likewise.
46538         (FPE_FLTSUB): Likewise.
46539         (SEGV_MAPERR): Likewise.
46540         (SEGV_ACCERR): Likewise.
46541         (BUS_ADRALN): Likewise.
46542         (BUS_ADRERR): Likewise.
46543         (BUS_OBJERR): Likewise.
46544         (BUS_MCEERR_AR): Likewise.
46545         (BUS_MCEERR_AO): Likewise.
46546         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46547         (TRAP_TRACE): Likewise.
46548         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46549         __USE_XOPEN2K8].
46550         (CLD_KILLED): Likewise.
46551         (CLD_DUMPED): Likewise.
46552         (CLD_TRAPPED): Likewise.
46553         (CLD_STOPPED): Likewise.
46554         (CLD_CONTINUED): Likewise.
46555         (POLL_IN): Likewise.
46556         (POLL_OUT): Likewise.
46557         (POLL_MSG): Likewise.
46558         (POLL_ERR): Likewise.
46559         (POLL_PRI): Likewise.
46560         (POLL_HUP): Likewise.
46561         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46562         (ILL_ILLOPN): Likewise.
46563         (ILL_ILLADR): Likewise.
46564         (ILL_ILLTRP): Likewise.
46565         (ILL_PRVOPC): Likewise.
46566         (ILL_PRVREG): Likewise.
46567         (ILL_COPROC): Likewise.
46568         (ILL_BADSTK): Likewise.
46569         (FPE_INTDIV): Likewise.
46570         (FPE_INTOVF): Likewise.
46571         (FPE_FLTDIV): Likewise.
46572         (FPE_FLTOVF): Likewise.
46573         (FPE_FLTUND): Likewise.
46574         (FPE_FLTRES): Likewise.
46575         (FPE_FLTINV): Likewise.
46576         (FPE_FLTSUB): Likewise.
46577         (SEGV_MAPERR): Likewise.
46578         (SEGV_ACCERR): Likewise.
46579         (BUS_ADRALN): Likewise.
46580         (BUS_ADRERR): Likewise.
46581         (BUS_OBJERR): Likewise.
46582         (BUS_MCEERR_AR): Likewise.
46583         (BUS_MCEERR_AO): Likewise.
46584         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46585         (TRAP_TRACE): Likewise.
46586         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46587         __USE_XOPEN2K8].
46588         (CLD_KILLED): Likewise.
46589         (CLD_DUMPED): Likewise.
46590         (CLD_TRAPPED): Likewise.
46591         (CLD_STOPPED): Likewise.
46592         (CLD_CONTINUED): Likewise.
46593         (POLL_IN): Likewise.
46594         (POLL_OUT): Likewise.
46595         (POLL_MSG): Likewise.
46596         (POLL_ERR): Likewise.
46597         (POLL_PRI): Likewise.
46598         (POLL_HUP): Likewise.
46599         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46600         (ILL_ILLOPN): Likewise.
46601         (ILL_ILLADR): Likewise.
46602         (ILL_ILLTRP): Likewise.
46603         (ILL_PRVOPC): Likewise.
46604         (ILL_PRVREG): Likewise.
46605         (ILL_COPROC): Likewise.
46606         (ILL_BADSTK): Likewise.
46607         (ILL_DBLFLT): Likewise.
46608         (ILL_HARDWALL): Likewise.
46609         (FPE_INTDIV): Likewise.
46610         (FPE_INTOVF): Likewise.
46611         (FPE_FLTDIV): Likewise.
46612         (FPE_FLTOVF): Likewise.
46613         (FPE_FLTUND): Likewise.
46614         (FPE_FLTRES): Likewise.
46615         (FPE_FLTINV): Likewise.
46616         (FPE_FLTSUB): Likewise.
46617         (SEGV_MAPERR): Likewise.
46618         (SEGV_ACCERR): Likewise.
46619         (BUS_ADRALN): Likewise.
46620         (BUS_ADRERR): Likewise.
46621         (BUS_OBJERR): Likewise.
46622         (BUS_MCEERR_AR): Likewise.
46623         (BUS_MCEERR_AO): Likewise.
46624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46625         (TRAP_TRACE): Likewise.
46626         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46627         __USE_XOPEN2K8].
46628         (CLD_KILLED): Likewise.
46629         (CLD_DUMPED): Likewise.
46630         (CLD_TRAPPED): Likewise.
46631         (CLD_STOPPED): Likewise.
46632         (CLD_CONTINUED): Likewise.
46633         (POLL_IN): Likewise.
46634         (POLL_OUT): Likewise.
46635         (POLL_MSG): Likewise.
46636         (POLL_ERR): Likewise.
46637         (POLL_PRI): Likewise.
46638         (POLL_HUP): Likewise.
46639         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46640         (ILL_ILLOPN): Likewise.
46641         (ILL_ILLADR): Likewise.
46642         (ILL_ILLTRP): Likewise.
46643         (ILL_PRVOPC): Likewise.
46644         (ILL_PRVREG): Likewise.
46645         (ILL_COPROC): Likewise.
46646         (ILL_BADSTK): Likewise.
46647         (FPE_INTDIV): Likewise.
46648         (FPE_INTOVF): Likewise.
46649         (FPE_FLTDIV): Likewise.
46650         (FPE_FLTOVF): Likewise.
46651         (FPE_FLTUND): Likewise.
46652         (FPE_FLTRES): Likewise.
46653         (FPE_FLTINV): Likewise.
46654         (FPE_FLTSUB): Likewise.
46655         (SEGV_MAPERR): Likewise.
46656         (SEGV_ACCERR): Likewise.
46657         (BUS_ADRALN): Likewise.
46658         (BUS_ADRERR): Likewise.
46659         (BUS_OBJERR): Likewise.
46660         (BUS_MCEERR_AR): Likewise.
46661         (BUS_MCEERR_AO): Likewise.
46662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46663         (TRAP_TRACE): Likewise.
46664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46665         __USE_XOPEN2K8].
46666         (CLD_KILLED): Likewise.
46667         (CLD_DUMPED): Likewise.
46668         (CLD_TRAPPED): Likewise.
46669         (CLD_STOPPED): Likewise.
46670         (CLD_CONTINUED): Likewise.
46671         (POLL_IN): Likewise.
46672         (POLL_OUT): Likewise.
46673         (POLL_MSG): Likewise.
46674         (POLL_ERR): Likewise.
46675         (POLL_PRI): Likewise.
46676         (POLL_HUP): Likewise.
46677         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46678         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46680         [BZ #16670]
46681         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46682         before #include of <time.h>.
46683         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46684         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46685         (test-xfail-UNIX98/sched.h/conform): Likewise.
46687 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46689         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46690         error absence of trapping exception support.
46691         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46693 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46695         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46696         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46697         * timezone/Makefile (testdata): Move definition above include of
46698         Rules.
46699         (test-zones): New variable.
46700         (tests-special): Add zone files.
46701         (build-testdata): Use $(evaluate-test).
46703         * elf/Makefile (tests-special): Rename tests to end with .out.
46704         ($(objpfx)noload-mem): Likewise.
46705         ($(objpfx)tst-leaks1-mem): Likewise.
46706         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46707         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46708         $(objpfx)test-iconvconfig.out.
46709         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46710         set -e inside subshell and redirect output to file.
46711         * iconvdata/Makefile (generated): Rename tests to end with .out.
46712         Correct type.
46713         (tests-special): Rename tests to end with .out.
46714         ($(objpfx)mtrace-tst-loading): Likewise.
46715         * intl/Makefile (generated): Likewise.
46716         (tests-special): Likewise.
46717         ($(objpfx)mtrace-tst-gettext): Likewise.
46718         * misc/Makefile (generated): Likewise.
46719         (tests-special): Likewise.
46720         ($(objpfx)tst-error1-mem): Likewise.
46721         * nptl/Makefile (tests-special): Likewise.
46722         ($(objpfx)tst-stack3-mem): Likewise.
46723         (generated): Likewise.
46724         * posix/Makefile (generated): Likewise.
46725         (tests-special): Likewise.
46726         (xtests-special): Likewise.
46727         ($(objpfx)tst-fnmatch-mem): Likewise.
46728         ($(objpfx)bug-regex2-mem): Likewise.
46729         ($(objpfx)bug-regex14-mem): Likewise.
46730         ($(objpfx)bug-regex21-mem): Likewise.
46731         ($(objpfx)bug-regex31-mem): Likewise.
46732         ($(objpfx)tst-vfork3-mem): Likewise.
46733         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46734         ($(objpfx)tst-pcre-mem): Likewise.
46735         ($(objpfx)tst-boost-mem): Likewise.
46736         ($(objpfx)bug-ga2-mem): Likewise.
46737         ($(objpfx)bug-glob2-mem): Likewise.
46738         * resolv/Makefile (generate): Likewise.
46739         (tests-special): Likewise.
46740         (xtests-special): Likewise.
46741         (generated): Likewise.
46742         ($(objpfx)mtrace-tst-leaks): Likewise.
46743         ($(objpfx)mtrace-tst-leaks2): Likewise.
46745         * scripts/merge-test-results.sh: New file.
46746         * Makefile (tests-special-notdir): New variable.
46747         (tests): Run merge-test-results.sh.
46748         (xtests): Likewise.
46749         * Rules (tests-special-notdir): New variable.
46750         (xtests-special-notdir): Likewise.
46751         (tests): Run merge-test-results.sh
46752         (xtests): Likewise.
46754         * Makeconfig (test-xfail-name): New variable.
46755         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46756         compute variable name for expected failures.
46757         * conform/Makefile (conformtest-headers-data): New variable.
46758         (conformtest-standards): Likewise.
46759         (conformtest-headers-ISO): Likewise.
46760         (conformtest-headers-ISO99): Likewise.
46761         (conformtest-headers-ISO11): Likewise.
46762         (conformtest-headers-POSIX): Likewise.
46763         (conformtest-headers-XPG3): Likewise.
46764         (conformtest-headers-XPG4): Likewise.
46765         (conformtest-headers-UNIX98): Likewise.
46766         (conformtest-headers-XOPEN2K): Likewise.
46767         (conformtest-headers-POSIX2008): Likewise.
46768         (conformtest-headers-XOPEN2K8): Likewise.
46769         (conformtest-header-list-base): Likewise.
46770         (conformtest-header-list-tests): Likewise.
46771         (conformtest-header-base): Likewise.
46772         (conformtest-header-tests): Likewise.
46773         (tests-special): Add $(conformtest-header-list-tests).  If
46774         [$(fast-check) && !$(cross-compiling)], add
46775         $(conformtest-header-tests) instead of
46776         $(objpfx)run-conformtest.out.
46777         (generated): Add $(conformtest-header-list-base).  If
46778         [$(fast-check) && !$(cross-compiling)], add
46779         $(conformtest-header-base).  Remove previous setting.
46780         ($(conformtest-header-list-tests)): New target.
46781         (test-xfail-run-conformtest): Remove variable.
46782         ($(objpfx)run-conformtest.out): Remove target.
46783         (test-xfail-ISO11/complex.h/conform): New variable.
46784         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46785         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46786         (test-xfail-XPG3/varargs.h/conform): Likewise.
46787         (test-xfail-XPG4/varargs.h/conform): Likewise.
46788         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46789         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46790         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46791         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46792         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46793         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46794         (test-xfail-XPG3/ftw.h/conform): Likewise.
46795         (test-xfail-XPG3/grp.h/conform): Likewise.
46796         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46797         (test-xfail-XPG3/limits.h/conform): Likewise.
46798         (test-xfail-XPG3/pwd.h/conform): Likewise.
46799         (test-xfail-XPG3/search.h/conform): Likewise.
46800         (test-xfail-XPG3/signal.h/conform): Likewise.
46801         (test-xfail-XPG3/stdio.h/conform): Likewise.
46802         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46803         (test-xfail-XPG3/string.h/conform): Likewise.
46804         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46805         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46806         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46807         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46808         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46809         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46810         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46811         (test-xfail-XPG3/termios.h/conform): Likewise.
46812         (test-xfail-XPG3/time.h/conform): Likewise.
46813         (test-xfail-XPG3/unistd.h/conform): Likewise.
46814         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46815         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46816         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46817         (test-xfail-XPG4/netdb.h/conform): Likewise.
46818         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46819         (test-xfail-XPG4/signal.h/conform): Likewise.
46820         (test-xfail-XPG4/stdio.h/conform): Likewise.
46821         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46822         (test-xfail-XPG4/stropts.h/conform): Likewise.
46823         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46824         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46825         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46826         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46827         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46828         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46829         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46830         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46831         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46832         (test-xfail-XPG4/termios.h/conform): Likewise.
46833         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46834         (test-xfail-XPG4/unistd.h/conform): Likewise.
46835         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46836         (test-xfail-POSIX/sched.h/conform): Likewise.
46837         (test-xfail-POSIX/signal.h/conform): Likewise.
46838         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46839         (test-xfail-POSIX/tar.h/conform): Likewise.
46840         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46841         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46842         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46843         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46844         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46845         (test-xfail-UNIX98/sched.h/conform): Likewise.
46846         (test-xfail-UNIX98/signal.h/conform): Likewise.
46847         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46848         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46849         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46850         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46851         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46852         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46853         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46854         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46855         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46856         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46857         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46858         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46859         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46860         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46861         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46862         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46863         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46864         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46865         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46866         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46867         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46868         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46869         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46870         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46871         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46872         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46873         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46874         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46875         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46876         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46877         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46878         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46879         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46880         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46881         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46882         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46883         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46884         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46885         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46886         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46887         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46888         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46889         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46890         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46891         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46892         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46893         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46894         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46895         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46896         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46897         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46898         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46899         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46900         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46901         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46902         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46903         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46904         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46905         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46906         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46907         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46908         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46909         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46910         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46911         (conformtest-cc-flags): Likewise.
46912         ($(conformtest-header-tests): New target.
46913         * conform/check-header-lists.sh: New file.
46914         * conform/run-conformtest.sh: Remove.
46916         * conform/conformtest.pl: Allow ' and \ in values given for
46917         constants.
46918         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46919         inclusion.
46920         [POSIX] (sys/types.h): Likewise.
46921         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46922         inclusion.
46923         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46924         inclusion.
46925         * conform/data/signal.h-data (SIGIO): Remove expectation.
46926         [XPG3] (SIGBUS): Do not expect.
46927         [POSIX || XPG3] (SIGPOLL): Likewise.
46928         [POSIX || XPG3] (SIGPROF): Likewise.
46929         [POSIX || XPG3] (SIGSYS): Likewise.
46930         [XPG3] (SIGTRAP): Likewise.
46931         [POSIX || XPG3] (SIGURG): Likewise.
46932         [POSIX || XPG3] (SIGVTALRM): Likewise.
46933         [POSIX || XPG3] (SIGXCPU): Likewise.
46934         [POSIX || XPG3] (SIGXFSZ): Likewise.
46935         [POSIX] (SA_SIGINFO): Expect.
46936         [XPG3] (siginfo_t): Do not expect type or contents.
46937         [POSIX] (si_pid): Do not expect element.
46938         [POSIX] (si_uid): Likewise.
46939         [POSIX] (si_addr): Likewise.
46940         [POSIX] (si_status): Likewise.
46941         [POSIX] (si_band): Likewise.
46942         [XPG4] (si_value): Likewise.
46943         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46944         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46945         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46946         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46947         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46948         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46949         [POSIX || XPG3] (ILL_COPROC): Likewise.
46950         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46951         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46952         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46953         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46954         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46955         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46956         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46957         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46958         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46959         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46960         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46961         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46962         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46963         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46964         [POSIX || XPG3] (CLD_EXITED): Likewise.
46965         [POSIX || XPG3] (CLD_KILLED): Likewise.
46966         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46967         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46968         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46969         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46970         [POSIX || XPG3] (POLL_IN): Likewise.
46971         [POSIX || XPG3] (POLL_OUT): Likewise.
46972         [POSIX || XPG3] (POLL_MSG): Likewise.
46973         [POSIX || XPG3] (POLL_ERR): Likewise.
46974         [POSIX || XPG3] (POLL_PRI): Likewise.
46975         [POSIX || XPG3] (POLL_HUP): Likewise.
46976         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46977         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46978         (SIG*): Do not allow.
46979         [XPG3] (si_*): Likewise.
46980         [XPG3] (SI_*): Likewise.
46981         [XPG3 || XPG4] (sigev_*): Likewise.
46982         [XPG3 || XPG4] (SIGEV_*): Likewise.
46983         [XPG3 || XPG4] (sival_*): Likewise.
46984         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46985         [POSIX || XPG3] (BUS_*): Likewise.
46986         [POSIX || XPG3] (CLD_*): Likewise.
46987         [POSIX || XPG3] (FPE_*): Likewise.
46988         [POSIX || XPG3] (ILL_*): Likewise.
46989         [POSIX || XPG3] (POLL_*): Likewise.
46990         [POSIX || XPG3] (SEGV_*): Likewise.
46991         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46992         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46993         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46994         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46995         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46996         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46997         Specify type and value.
46998         (TVERSLEN): Likewise.
46999         (REGTYPE): Likewise.
47000         (AREGTYPE): Likewise.
47001         (LNKTYPE): Likewise.
47002         (SYMTYPE): Likewise.
47003         (CHRTYPE): Likewise.
47004         (BLKTYPE): Likewise.
47005         (DIRTYPE): Likewise.
47006         (FIFOTYPE): Likewise.
47007         (CONTTYPE): Likewise.
47008         (TSUID): Likewise.
47009         (TSGID): Likewise.
47010         (TSVTX): Likewise.
47011         (TUREAD): Likewise.
47012         (TUWRITE): Likewise.
47013         (TUEXEC): Likewise.
47014         (TGREAD): Likewise.
47015         (TGWRITE): Likewise.
47016         (TGEXEC): Likewise.
47017         (TOREAD): Likewise.
47018         (TOWRITE): Likewise.
47019         (TOEXEC): Likewise.
47020         [POSIX] (TSVTX): Expect constant.
47022 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47024         * Makefile (tests): Change dependencies to ....
47025         (tests-special): ... additions to this variable.
47026         (tests): Depend on $(tests-special).
47027         * Makerules (check-abi-list): New variable.
47028         (check-abi): Depend on $(check-abi-list).
47029         [$(subdir) = elf] (tests-special): Add
47030         $(objpfx)check-abi-libc.out.
47031         [$(build-shared) = yes && subdir] (tests-special): Add
47032         $(check-abi-list).
47033         [$(build-shared) = yes && subdir] (tests): Do not depend on
47034         check-abi.
47035         * Rules (tests): Depend on $(tests-special).
47036         (xtests): Depend on $(xtests-special).
47037         * catgets/Makefile (tests): Change dependencies to ....
47038         (tests-special): ... additions to this variable.
47039         * conform/Makefile (tests): Change dependencies to ....
47040         (tests-special): ... additions to this variable.
47041         * elf/Makefile (tests): Change dependencies to ....
47042         (tests-special): ... additions to this variable.
47043         * grp/Makefile (tests): Change dependencies to ....
47044         (tests-special): ... additions to this variable.
47045         * iconv/Makefile (xtests): Change dependencies to ....
47046         (xtests-special): ... additions to this variable.
47047         * iconvdata/Makefile (tests): Change dependencies to ....
47048         (tests-special): ... additions to this variable.
47049         * intl/Makefile (tests): Change dependencies to ....
47050         (tests-special): ... additions to this variable.  Also add
47051         $(objpfx)tst-gettext.out.
47052         * io/Makefile (tests): Change dependencies to ....
47053         (tests-special): ... additions to this variable.
47054         * libio/Makefile (tests): Change dependencies to ....
47055         (tests-special): ... additions to this variable.
47056         * malloc/Makefile (tests): Change dependencies to ....
47057         (tests-special): ... additions to this variable.
47058         * misc/Makefile (tests): Change dependencies to ....
47059         (tests-special): ... additions to this variable.
47060         * nptl/Makefile (tests): Change dependencies to ....
47061         (tests-special): ... additions to this variable.
47062         * nptl_db/Makefile (tests): Change dependencies to ....
47063         (tests-special): ... additions to this variable.
47064         * posix/Makefile (tests): Change dependencies to ....
47065         (tests-special): ... additions to this variable.
47066         (xtests): Change dependencies to ....
47067         (xtests-special): ... additions to this variable.
47068         * resolv/Makefile (tests): Change dependencies to ....
47069         (tests-special): ... additions to this variable.
47070         (xtests): Change dependencies to ....
47071         (xtests-special): ... additions to this variable.
47072         * stdio-common/Makefile (tests): Change dependencies to ....
47073         (tests-special): ... additions to this variable.
47074         (do-tst-unbputc): Remove target.
47075         (do-tst-printf): Likewise.
47076         * stdlib/Makefile (tests): Change dependencies to ....
47077         (tests-special): ... additions to this variable.
47078         * string/Makefile (tests): Change dependencies to ....
47079         (tests-special): ... additions to this variable.
47080         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47081         (tests-special): ... additions to this variable.
47083         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47084         whole file.
47085         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47086         whole file.
47087         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47088         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47090         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47091         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47092         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47093         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47094         * conform/data/libgen.h-data [XPG3]: Likewise.
47095         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47096         * conform/data/ndbm.h-data [XPG3]: Likewise.
47097         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47098         * conform/data/netdb.h-data [XPG3]: Likewise.
47099         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47100         * conform/data/poll.h-data [XPG3]: Likewise.
47101         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47102         * conform/data/strings.h-data [XPG3]: Likewise.
47103         * conform/data/stropts.h-data [XPG3]: Likewise.
47104         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47105         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47106         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47107         Likewise.
47108         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47109         * conform/data/sys/time.h-data [XPG3]: Likewise.
47110         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47111         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47112         * conform/data/sys/un.h-data [XPG3]: Likewise.
47113         * conform/data/syslog.h-data [XPG3]: Likewise.
47114         * conform/data/ucontext.h-data [XPG3]: Likewise.
47115         * conform/data/utmpx.h-data [XPG3]: Likewise.
47116         * conform/data/varargs.h-data [UNIX98]: Enable file.
47118         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47120         * math/libm-test.inc (struct test_f_f_data): Move expected results
47121         into structure for each rounding mode.
47122         (struct test_ff_f_data): Likewise.
47123         (struct test_ff_f_data_nexttoward): Likewise.
47124         (struct test_fi_f_data): Likewise.
47125         (struct test_fl_f_data): Likewise.
47126         (struct test_if_f_data): Likewise.
47127         (struct test_fff_f_data): Likewise.
47128         (struct test_c_f_data): Likewise.
47129         (struct test_f_f1_data): Likewise.
47130         (struct test_fF_f1_data): Likewise.
47131         (struct test_ffI_f1_data): Likewise.
47132         (struct test_c_c_data): Likewise.
47133         (struct test_cc_c_data): Likewise.
47134         (struct test_f_i_data): Likewise.
47135         (struct test_ff_i_data): Likewise.
47136         (struct test_f_l_data): Likewise.
47137         (struct test_f_L_data): Likewise.
47138         (struct test_fFF_11_data): Likewise.
47139         (RM_): New macro.
47140         (RM_FE_DOWNWARD): Likewise.
47141         (RM_FE_TONEAREST): Likewise.
47142         (RM_FE_TOWARDZERO): Likewise.
47143         (RM_FE_UPWARD): Likewise.
47144         (RUN_TEST_LOOP_f_f): Update references to expected results.
47145         (RUN_TEST_LOOP_2_f): Likewise.
47146         (RUN_TEST_LOOP_fff_f): Likewise.
47147         (RUN_TEST_LOOP_c_f): Likewise.
47148         (RUN_TEST_LOOP_f_f1): Likewise.
47149         (RUN_TEST_LOOP_fF_f1): Likewise.
47150         (RUN_TEST_LOOP_fI_f1): Likewise.
47151         (RUN_TEST_LOOP_ffI_f1): Likewise.
47152         (RUN_TEST_LOOP_c_c): Likewise.
47153         (RUN_TEST_LOOP_cc_c): Likewise.
47154         (RUN_TEST_LOOP_f_i): Likewise.
47155         (RUN_TEST_LOOP_f_i_tg): Likewise.
47156         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47157         (RUN_TEST_LOOP_f_b): Likewise.
47158         (RUN_TEST_LOOP_f_b_tg): Likewise.
47159         (RUN_TEST_LOOP_f_l): Likewise.
47160         (RUN_TEST_LOOP_f_L): Likewise.
47161         (RUN_TEST_LOOP_fFF_11): Likewise.
47162         * math/gen-libm-test.pl (parse_args): Output four copies of
47163         expected results for each test.
47165         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47166         (__ASSUME_UTIMES): Remove.
47167         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47168         (__ASSUME_UTIMES): Likewise.
47170         * math/gen-auto-libm-tests.c: Update comment on output format.
47171         (output_for_one_input_case): Generate before-rounding and
47172         after-rounding information as conditions on output flags not
47173         floating-point format.
47174         * math/auto-libm-test-out: Regenerated.
47175         * math/gen-libm-test.pl (cond_value): New function.
47176         (or_cond_value): Use cond_value.
47177         (generate_testfile): Handle conditional exceptions.
47179 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47181         * math/libm-test.inc (max_valid_error): New variable.
47182         (init_max_error): Take new argument specifying whether function
47183         results are exactly determined.  Set max_valid_error and bound
47184         other variables for errors based on this argument.
47185         (set_max_error): Do not record results above max_valid_error.
47186         (check_float_internal): Only accept errors of up to 0.5ulps if
47187         also at most max_valid_error.
47188         (START): Take new argument EXACT and pass it to init_max_error.
47189         (acos_test): Update call to START.
47190         (acos_test_tonearest): Likewise.
47191         (acos_test_towardzero): Likewise.
47192         (acos_test_downward): Likewise.
47193         (acos_test_upward): Likewise.
47194         (acosh_test): Likewise.
47195         (asin_test): Likewise.
47196         (asin_test_tonearest): Likewise.
47197         (asin_test_towardzero): Likewise.
47198         (asin_test_downward): Likewise.
47199         (asin_test_upward): Likewise.
47200         (asinh_test): Likewise.
47201         (atan_test): Likewise.
47202         (atanh_test): Likewise.
47203         (atan2_test): Likewise.
47204         (cabs_test): Likewise.
47205         (cacos_test): Likewise.
47206         (cacosh_test): Likewise.
47207         (carg_test): Likewise.
47208         (casin_test): Likewise.
47209         (casinh_test): Likewise.
47210         (catan_test): Likewise.
47211         (catanh_test): Likewise.
47212         (cbrt_test): Likewise.
47213         (ccos_test): Likewise.
47214         (ccosh_test): Likewise.
47215         (ceil_test): Likewise.
47216         (cexp_test): Likewise.
47217         (cimag_test): Likewise.
47218         (clog_test): Likewise.
47219         (clog10_test): Likewise.
47220         (conj_test): Likewise.
47221         (copysign_test): Likewise.
47222         (cos_test): Likewise.
47223         (cos_test_tonearest): Likewise.
47224         (cos_test_towardzero): Likewise.
47225         (cos_test_downward): Likewise.
47226         (cos_test_upward): Likewise.
47227         (cosh_test): Likewise.
47228         (cosh_test_tonearest): Likewise.
47229         (cosh_test_towardzero): Likewise.
47230         (cosh_test_downward): Likewise.
47231         (cosh_test_upward): Likewise.
47232         (cpow_test): Likewise.
47233         (cproj_test): Likewise.
47234         (creal_test): Likewise.
47235         (csin_test): Likewise.
47236         (csinh_test): Likewise.
47237         (csqrt_test): Likewise.
47238         (ctan_test): Likewise.
47239         (ctan_test_tonearest): Likewise.
47240         (ctan_test_towardzero): Likewise.
47241         (ctan_test_downward): Likewise.
47242         (ctan_test_upward): Likewise.
47243         (ctanh_test): Likewise.
47244         (ctanh_test_tonearest): Likewise.
47245         (ctanh_test_towardzero): Likewise.
47246         (ctanh_test_downward): Likewise.
47247         (ctanh_test_upward): Likewise.
47248         (erf_test): Likewise.
47249         (erfc_test): Likewise.
47250         (exp_test): Likewise.
47251         (exp_test_tonearest): Likewise.
47252         (exp_test_towardzero): Likewise.
47253         (exp_test_downward): Likewise.
47254         (exp_test_upward): Likewise.
47255         (exp10_test): Likewise.
47256         (exp10_test_tonearest): Likewise.
47257         (exp10_test_towardzero): Likewise.
47258         (exp10_test_downward): Likewise.
47259         (exp10_test_upward): Likewise.
47260         (pow10_test): Likewise.
47261         (exp2_test): Likewise.
47262         (expm1_test): Likewise.
47263         (expm1_test_tonearest): Likewise.
47264         (expm1_test_towardzero): Likewise.
47265         (expm1_test_downward): Likewise.
47266         (expm1_test_upward): Likewise.
47267         (fabs_test): Likewise.
47268         (fdim_test): Likewise.
47269         (floor_test): Likewise.
47270         (fma_test): Likewise.
47271         (fma_test_towardzero): Likewise.
47272         (fma_test_downward): Likewise.
47273         (fma_test_upward): Likewise.
47274         (fmax_test): Likewise.
47275         (fmin_test): Likewise.
47276         (fmod_test): Likewise.
47277         (fpclassify_test): Likewise.
47278         (frexp_test): Likewise.
47279         (hypot_test): Likewise.
47280         (ilogb_test): Likewise.
47281         (isfinite_test): Likewise.
47282         (finite_test): Likewise.
47283         (isgreater_test): Likewise.
47284         (isgreaterequal_test): Likewise.
47285         (isinf_test): Likewise.
47286         (isless_test): Likewise.
47287         (islessequal_test): Likewise.
47288         (islessgreater_test): Likewise.
47289         (isnan_test): Likewise.
47290         (isnormal_test): Likewise.
47291         (issignaling_test): Likewise.
47292         (isunordered_test): Likewise.
47293         (j0_test): Likewise.
47294         (j1_test): Likewise.
47295         (jn_test): Likewise.
47296         (ldexp_test): Likewise.
47297         (lgamma_test): Likewise.
47298         (gamma_test): Likewise.
47299         (lrint_test): Likewise.
47300         (lrint_test_tonearest): Likewise.
47301         (lrint_test_towardzero): Likewise.
47302         (lrint_test_downward): Likewise.
47303         (lrint_test_upward): Likewise.
47304         (llrint_test): Likewise.
47305         (llrint_test_tonearest): Likewise.
47306         (llrint_test_towardzero): Likewise.
47307         (llrint_test_downward): Likewise.
47308         (llrint_test_upward): Likewise.
47309         (log_test): Likewise.
47310         (log10_test): Likewise.
47311         (log1p_test): Likewise.
47312         (log2_test): Likewise.
47313         (logb_test): Likewise.
47314         (logb_test_downward): Likewise.
47315         (lround_test): Likewise.
47316         (llround_test): Likewise.
47317         (modf_test): Likewise.
47318         (nearbyint_test): Likewise.
47319         (nextafter_test): Likewise.
47320         (nexttoward_test): Likewise.
47321         (pow_test): Likewise.
47322         (pow_test_tonearest): Likewise.
47323         (pow_test_towardzero): Likewise.
47324         (pow_test_downward): Likewise.
47325         (pow_test_upward): Likewise.
47326         (remainder_test): Likewise.
47327         (drem_test): Likewise.
47328         (remainder_test_tonearest): Likewise.
47329         (drem_test_tonearest): Likewise.
47330         (remainder_test_towardzero): Likewise.
47331         (drem_test_towardzero): Likewise.
47332         (remainder_test_downward): Likewise.
47333         (drem_test_downward): Likewise.
47334         (remainder_test_upward): Likewise.
47335         (drem_test_upward): Likewise.
47336         (remquo_test): Likewise.
47337         (rint_test): Likewise.
47338         (rint_test_tonearest): Likewise.
47339         (rint_test_towardzero): Likewise.
47340         (rint_test_downward): Likewise.
47341         (rint_test_upward): Likewise.
47342         (round_test): Likewise.
47343         (scalb_test): Likewise.
47344         (scalbn_test): Likewise.
47345         (scalbln_test): Likewise.
47346         (signbit_test): Likewise.
47347         (sin_test): Likewise.
47348         (sin_test_tonearest): Likewise.
47349         (sin_test_towardzero): Likewise.
47350         (sin_test_downward): Likewise.
47351         (sin_test_upward): Likewise.
47352         (sincos_test): Likewise.
47353         (sinh_test): Likewise.
47354         (sinh_test_tonearest): Likewise.
47355         (sinh_test_towardzero): Likewise.
47356         (sinh_test_downward): Likewise.
47357         (sinh_test_upward): Likewise.
47358         (sqrt_test): Likewise.
47359         (sqrt_test_tonearest): Likewise.
47360         (sqrt_test_towardzero): Likewise.
47361         (sqrt_test_downward): Likewise.
47362         (sqrt_test_upward): Likewise.
47363         (tan_test): Likewise.
47364         (tan_test_tonearest): Likewise.
47365         (tan_test_towardzero): Likewise.
47366         (tan_test_downward): Likewise.
47367         (tan_test_upward): Likewise.
47368         (tanh_test): Likewise.
47369         (tgamma_test): Likewise.
47370         (trunc_test): Likewise.
47371         (y0_test): Likewise.
47372         (y1_test): Likewise.
47373         (yn_test): Likewise.
47374         (significand_test): Likewise.
47376         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
47377         individual tests in comment.
47378         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
47379         (prev_max_error): New variable.
47380         (prev_real_max_error): Likewise.
47381         (prev_imag_max_error): Likewise.
47382         (compare_ulp_data): Don't refer to test names in comment.
47383         (find_test_ulps): Remove function.
47384         (find_function_ulps): Likewise.
47385         (find_complex_function_ulps): Likewise.
47386         (init_max_error): Take function name as argument.  Look up ulps
47387         for that function.
47388         (print_ulps): Remove function.
47389         (print_max_error): Use prev_max_error instead of calling
47390         find_function_ulps.
47391         (print_complex_max_error): Use prev_real_max_error and
47392         prev_imag_max_error instead of calling find_complex_function_ulps.
47393         (check_float_internal): Take max_ulp parameter instead of calling
47394         find_test_ulps.  Don't call print_ulps.
47395         (check_float): Update call to check_float_internal.
47396         (check_complex): Update calls to check_float_internal.
47397         (START): Pass argument to init_max_error.
47398         * math/gen-libm-test.pl (%results): Don't include "kind"
47399         information.
47400         (parse_ulps): Don't handle ulps of individual tests.
47401         (print_ulps_file): Likewise.
47402         (output_ulps): Likewise.
47403         * math/README.libm-test: Update.
47404         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
47405         individual tests.
47406         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
47407         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
47408         * sysdeps/arm/libm-test-ulps: Likewise.
47409         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
47410         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
47411         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
47412         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
47413         * sysdeps/microblaze/libm-test-ulps: Likewise.
47414         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
47415         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47417         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47418         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47419         * sysdeps/sh/libm-test-ulps: Likewise.
47420         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47421         * sysdeps/tile/libm-test-ulps: Likewise.
47422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47424 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47426         * math/libm-test.inc (print_complex_max_error): Check separately
47427         whether real and imaginary errors are within allowed range and
47428         pass 0 to print_complex_function_ulps instead of value within
47429         allowed range.
47431 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47433         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47434         formatting.
47435         (get_handles_fopen): Likewise.
47436         (do_write_test): Likewise.
47438         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47440         * libio/fileops.c (do_ftell): Use cached offset when
47441         available.
47442         * libio/iofwide.c (do_ftell_wide): Likewise.
47443         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47444         _IO_file_attach.
47445         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47447         [BZ #16532]
47448         * libio/libioP.h (get_file_offset): New function.
47449         * libio/fileops.c (get_file_offset): Likewise.
47450         (do_ftell): Likewise.
47451         (_IO_new_file_seekoff): Split out ftell logic.
47452         * libio/wfileops.c (do_ftell_wide): Likewise.
47453         (_IO_wfile_seekoff): Split out ftell logic.
47454         * libio/tst-ftell-active-handler.c: New test case.
47455         * libio/Makefile (tests): Add it.
47457 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47459         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47460         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47462 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47464         [BZ #16639]
47465         * nscd/connections.c (nscd_init): Call do_exit.
47466         (start_threads): Call do_exit and notify_parent.
47467         (begin_drop_privileges): Call do_exit.
47468         (finish_drop_privileges): Likewise.
47469         * nscd/selinux.c (preserve_capabilities): Likewise.
47470         (install_real_capabilities): Likewise.
47471         (nscd_selinux_enabled): Likewise.
47472         (avc_create_thread): Likewise.
47473         (avc_alloc_lock): Likewise.
47474         (nscd_avc_init): Likewise.
47475         * nscd/nscd.c (parent_fd): New static variable.
47476         (main): Create a pipe between parent and child processes.
47477         Skip closing parent_fd.
47478         (monitor_child): New function.
47479         (do_exit): Likewise.
47480         (notify_parent): Likewise.
47481         * nscd/nscd.h (notify_parent): Likewise.
47482         (do_exit): Likewise.
47484 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47486         * malloc/malloc.c (__libc_calloc): Revert last change.
47488 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47492 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47494         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47496         implementation.
47497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47498         (__libc_ifunc_impl_list): Likewise.
47499         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47500         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47501         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47502         * string/strrchr.c: Define STRRCHR.
47504 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47506         * benchtest/bench-strtok.c (simple_strtok): Delete.
47507         (strtok_string): Use as benchmark.
47508         * string/strtok (STRTOK): New macro.
47510 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47512         * manual/threads.texi: Add header and standard comments to all
47513         functions.
47515         * elf/dl-lookup.c (check_match): New function.
47516         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47517         (do_lookup_x): Remove nested function check_match. Use non-nested
47518         function check_match.
47520 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47522         * csu/Makefile (generated, before-compile): Use += rather than =.
47523         * catgets/Makefile (generated, generated-dirs): Likewise.
47524         * debug/Makefile (generated): Likewise.
47525         * dlfcn/Makefile (generated): Likewise.
47526         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47527         * iconvdata/Makefile (before-compile, generated): Likewise.
47528         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47529         * libio/Makefile (generated): Likewise.
47530         * malloc/Makefile (generated): Likewise.
47531         * manual/Makefile (generated, generated-dirs): Likewise.
47532         * misc/Makefile (generated): Likewise.
47533         * posix/Makefile (generated): Likewise.
47534         * resolv/Makefile (generated): Likewise.
47535         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47536         * timezone/Makefile (generated, generated-dirs): Likewise.
47538         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47540 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47543         power8 implementation.
47544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47545         file: POWER8 llround ifunc implementation.
47546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47547         (__lllround): Add POWER8 implementation.
47548         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47549         POWER8 llround implementation.
47551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47552         power8 implementation.
47553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47554         file: POWER8 llrint ifunc implementation.
47555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47556         Add POWER8 implementation.
47557         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47558         POWER8 llrint implementation.
47560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47561         power8 implementation.
47562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47563         file: POWER8 finite ifunc implementation.
47564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47565         Add POWER8 implementation.
47566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47567         Likewise.
47568         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47569         POWER8 finite implementation.
47570         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47573         power8 implementation.
47574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47575         file: POWER8 isinf ifunc implementation.
47576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47577         POWER8 implementation.
47578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47579         Likewise.
47580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47581         isinf implementation.
47582         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47584         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47585         (INIT_ARCH): Add hwcap2 initialization.
47586         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47587         power8 implementation.
47588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47589         file: POWER8 isnan ifunc implementation.
47590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47591         POWER8 implementation.
47592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47593         Likewise.
47594         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47595         isnan implementation.
47596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47598 2014-02-27  Joey Ye  <joey.ye@arm.com>
47600         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47601         (_FP_NANFRAC_Q): Set to zero.
47603 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47605         [BZ #16623]
47606         * math/auto-libm-test-in: New test inputs.
47607         * math/auto-libm-test-out: Regenerate.
47608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47609         and DA.
47610         (__cos): Likewise.
47611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47613 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47615         * scripts/evaluate-test.sh: Take new argument indicating whether
47616         failure is expected.
47617         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47618         indicating whether failure is expected.
47619         * conform/Makefile (test-xfail-run-conformtest): New variable.
47620         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47621         level.
47622         * posix/Makefile (test-xfail-annexc): New variable.
47623         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47625 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47627         * argp/Makefile: Include Makeconfig immediately after defining
47628         subdir.
47629         * assert/Makefile: Likewise.
47630         * benchtests/Makefile: Likewise.
47631         * catgets/Makefile: Likewise.
47632         * conform/Makefile: Likewise.
47633         * crypt/Makefile: Likewise.
47634         * csu/Makefile: Likewise.
47635         (all): Remove target.
47636         * ctype/Makefile: Include Makeconfig immediately after defining
47637         subdir.
47638         * debug/Makefile: Likewise.
47639         * dirent/Makefile: Likewise.
47640         * dlfcn/Makefile: Likewise.
47641         * gmon/Makefile: Likewise.
47642         * gnulib/Makefile: Likewise.
47643         * grp/Makefile: Likewise.
47644         * gshadow/Makefile: Likewise.
47645         * hesiod/Makefile: Likewise.
47646         * hurd/Makefile: Likewise.
47647         (all): Remove target.
47648         * iconvdata/Makefile: Include Makeconfig immediately after
47649         defining subdir.
47650         * inet/Makefile: Likewise.
47651         * intl/Makefile: Likewise.
47652         * io/Makefile: Likewise.
47653         * libio/Makefile: Likewise.
47654         (all): Remove target.
47655         * locale/Makefile: Include Makeconfig immediately after defining
47656         subdir.
47657         * login/Makefile: Likewise.
47658         * mach/Makefile: Likewise.
47659         (all): Remove target.
47660         * malloc/Makefile: Include Makeconfig immediately after defining
47661         subdir.
47662         (all): Remove target.
47663         * manual/Makefile: Include Makeconfig immediately after defining
47664         subdir.
47665         * math/Makefile: Likewise.
47666         * misc/Makefile: Likewise.
47667         * nis/Makefile: Likewise.
47668         * nss/Makefile: Likewise.
47669         * po/Makefile: Likewise.
47670         (all): Remove target.
47671         * posix/Makefile: Include Makeconfig immediately after defining
47672         subdir.
47673         * pwd/Makefile: Likewise.
47674         * resolv/Makefile: Likewise.
47675         * resource/Makefile: Likewise.
47676         * rt/Makefile: Likewise.
47677         * setjmp/Makefile: Likewise.
47678         * shadow/Makefile: Likewise.
47679         * signal/Makefile: Likewise.
47680         * socket/Makefile: Likewise.
47681         * soft-fp/Makefile: Likewise.
47682         * stdio-common/Makefile: Likewise.
47683         * stdlib/Makefile: Likewise.
47684         * streams/Makefile: Likewise.
47685         * string/Makefile: Likewise.
47686         * sunrpc/Makefile: Likewise.
47687         (all): Remove target.
47688         * sysvipc/Makefile: Include Makeconfig immediately after defining
47689         subdir.
47690         * termios/Makefile: Likewise.
47691         * time/Makefile: Likewise.
47692         * timezone/Makefile: Likewise.
47693         (all): Remove target.
47694         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47695         subdir.
47696         * wctype/Makefile: Likewise.
47698 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47700         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47701         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47702         (libc_feholdexcept_setround_mips): Ditto.
47703         (libc_feholdsetround): New.
47704         (libc_feholdsetroundf): New.
47705         (libc_feholdsetroundl): New.
47706         (libc_feupdateenv_test_mips): New.
47707         (libc_feupdateenv_test): New.
47708         (libc_feupdateenv_testf): New.
47709         (libc_feupdateenv_testl): New.
47710         (libc_feresetround): New.
47711         (libc_feresetroundf): New.
47712         (libc_feresetroundl): New.
47713         (libc_fetestexcept_mips): New.
47714         (libc_fetestexcept): New.
47715         (libc_fetestexceptf): New.
47716         (libc_fetestexceptl): New.
47717         (HAVE_RM_CTX): New.
47718         (libc_feholdexcept_setround_mips_ctx): New.
47719         (libc_feholdexcept_setround_ctx): New.
47720         (libc_feholdexcept_setroundf_ctx): New.
47721         (libc_feholdexcept_setroundl_ctx): New.
47722         (libc_fesetenv_mips_ctx): New.
47723         (libc_fesetenv_ctx): New.
47724         (libc_fesetenv_ctxf): New.
47725         (libc_fesetenv_ctxl): New.
47726         (libc_feupdateenv_mips_ctx): New.
47727         (libc_feupdateenv_ctx): New.
47728         (libc_feupdateenvf_ctx): New.
47729         (libc_feupdateenvl_ctx): New.
47730         (libc_feholdsetround_mips_ctx): New.
47731         (libc_feholdsetround_ctx): New.
47732         (libc_feholdsetroundf_ctx): New.
47733         (libc_feholdsetroundl_ctx): New.
47734         (libc_feresetround_mips_ctx): New.
47735         (libc_feresetround_ctx): New.
47736         (libc_feresetroundf_ctx): New.
47737         (libc_feresetroundl_ctx): New.
47739 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47741         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47743         * manual/ipc.texi: New file.
47744         * manual/Makefile (chapters): Add ipc.
47745         * manual/job.texi: Add "Inter-Process Communication" to next.
47746         * manual/process.texi: Add "Inter-Process Communication" to prev.
47748 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47752 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47754         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47756         * manual/arith.texi: Fix spaces after sentences.
47757         * manual/charset.texi: Likewise.
47758         * manual/errno.texi: Likewise.
47759         * manual/install.texi: Likewise.
47760         * manual/llio.texi: Likewise.
47761         * manual/locale.texi: Likewise.
47762         * manual/maint.texi: Likewise.
47763         * manual/math.texi: Likewise.
47764         * manual/memory.texi: Likewise.
47765         * manual/message.texi: Likewise.
47766         * manual/probes.texi: Likewise.
47767         * manual/resource.texi: Likewise.
47768         * manual/signal.texi: Likewise.
47769         * manual/socket.texi: Likewise.
47770         * manual/stdio.texi: Likewise.
47771         * manual/string.texi: Likewise.
47772         * manual/time.texi: Likewise.
47773         * manual/users.texi: Likewise.
47775 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47777         [BZ #16632]
47778         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47779         _DEFAULT_SOURCE is defined.
47781 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47782             Carlos O'Donell  <carlos@redhat.com>
47784         [BZ #16613]
47785         * elf/dl-tls.c (_dl_count_modids): New function.
47786         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47787         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47788         audit library and increment generation counter.
47789         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47790         * elf/tst-audit9.c: New file.
47791         * elf/tst-auditmod9a.c: New file.
47792         * elf/tst-auditmod9b.c: New file.
47793         * elf/Makefile: Add rules to build and run tst-audit9.
47795 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47797         [BZ #15347]
47798         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47800 2014-02-25  Will Newton  <will.newton@linaro.org>
47802         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47803         (__longjmp): Restore sp and lr before restoring callee
47804         saved registers.  Add longjmp and longjmp_target
47805         SystemTap probe point.
47806         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47807         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47808         Define to zero to match jmpbuf layout.
47809         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47810         (__sigsetjmp): Save sp and lr before saving callee
47811         saved registers.  Add setjmp SystemTap probe point.
47813 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47815         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47817 2014-02-24  Andreas Schwab  <schwab@suse.de>
47819         [BZ #15804]
47820         * elf/pldd.c (wait_for_ptrace_stop): New function.
47821         (main): Call it after attaching.
47823 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47825         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47826         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47827         Versions files is now verboten.
47828         * hurd/Versions (libc: GLIBC_2.0):
47829         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47830         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47831         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47832         * mach/Versions: Likewise.
47834         * csu/Versions: Remove unused %include.
47835         * resolv/Versions: Likewise.
47837 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47839         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47840         ($(objpfx)check-local-headers.out): Likewise.
47841         ($(objpfx)begin-end-check.out): Likewise.
47842         * Makerules (check-abi-%.out): Likewise.
47843         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47844         ($(objpfx)test2.cat): Likewise.
47845         ($(objpfx)de/libc.cat): Likewise.
47846         ($(objpfx)test-gencat.out): Likewise.
47847         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47848         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47849         ($(objpfx)noload-mem): Likewise.
47850         ($(objpfx)tst-pathopt.out): Likewise.
47851         ($(objpfx)tst-rtld-load-self.out): Likewise.
47852         ($(objpfx)tst-array1-cmp.out): Likewise.
47853         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47854         ($(objpfx)tst-array2-cmp.out): Likewise.
47855         ($(objpfx)tst-array3-cmp.out): Likewise.
47856         ($(objpfx)tst-array4-cmp.out): Likewise.
47857         ($(objpfx)tst-array5-cmp.out): Likewise.
47858         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47859         ($(objpfx)check-textrel.out): Likewise.
47860         ($(objpfx)check-execstack.out): Likewise.
47861         ($(objpfx)check-localplt.out): Likewise.
47862         ($(objpfx)order2-cmp.out): Likewise.
47863         ($(objpfx)tst-leaks1-mem): Likewise.
47864         ($(objpfx)tst-leaks1-static-mem): Likewise.
47865         ($(objpfx)tst-initorder-cmp.out): Likewise.
47866         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47867         ($(objpfx)tst-unused-dep.out): Likewise.
47868         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47869         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47870         * iconv/Makefile (test-iconvconfig): Likewise.
47871         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47872         ($(objpfx)iconv-test.out): Likewise.
47873         ($(objpfx)tst-tables.out): Likewise.
47874         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47875         ($(objpfx)tst-gettext.out): Likewise.
47876         ($(objpfx)tst-translit.out): Likewise.
47877         ($(objpfx)tst-gettext2.out): Likewise.
47878         ($(objpfx)tst-gettext4.out): Likewise.
47879         ($(objpfx)tst-gettext6.out): Likewise.
47880         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47881         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47882         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47883         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47884         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47885         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47886         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47887         ($(objpfx)wordexp-tst.out): Likewise.
47888         ($(objpfx)annexc.out): Likewise.
47889         ($(objpfx)tst-fnmatch-mem): Likewise.
47890         ($(objpfx)bug-regex2-mem): Likewise.
47891         ($(objpfx)bug-regex14-mem): Likewise.
47892         ($(objpfx)bug-regex21-mem): Likewise.
47893         ($(objpfx)bug-regex31-mem): Likewise.
47894         ($(objpfx)tst-vfork3-mem): Likewise.
47895         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47896         ($(objpfx)tst-pcre-mem): Likewise.
47897         ($(objpfx)tst-boost-mem): Likewise.
47898         ($(objpfx)tst-getconf.out): Likewise.
47899         ($(objpfx)bug-ga2-mem): Likewise.
47900         ($(objpfx)bug-glob2-mem): Likewise.
47901         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47902         ($(objpfx)mtrace-tst-leaks2): Likewise.
47903         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47904         ($(objpfx)tst-printf.out): Likewise.
47905         ($(objpfx)tst-setvbuf1.out): Likewise.
47906         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47907         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47908         ($(objpfx)tst-fmtmsg.out): Likewise.
47909         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47910         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47912         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47913         * bits/sigaction.h [__USE_MISC]: Likewise.
47914         * bits/waitstatus.h: Update #endif comments.
47915         * ctype/ctype.h: Likewise.
47916         * dirent/dirent.h: Likewise.
47917         [__USE_MISC]: Remove redundant conditionals.
47918         * grp/grp.h: Update #endif comments.
47919         [__USE_GNU]: Remove redundant conditionals.
47920         [__USE_MISC]: Likewise.
47921         * inet/netinet/in.h [__USE_GNU]: Likewise.
47922         * io/sys/stat.h [__USE_MISC]: Likewise.
47923         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47924         * libio/bits/stdio.h: Update #endif comments.
47925         [__USE_MISC]: Remove redundant conditionals.
47926         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47927         * libio/stdio.h: Update #endif comments.
47928         [__USE_MISC]: Remove redundant conditionals.
47929         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47930         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47931         * math/math.h: Update #else and #endif comments.
47932         [__USE_MISC]: Remove redundant conditionals.
47933         * misc/sys/uio.h: Update #endif comments.
47934         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47935         * posix/glob.h [__USE_MISC]: Likewise.
47936         * posix/sys/types.h: Update #endif comments.
47937         [__USE_MISC]: Remove redundant conditionals.
47938         * posix/sys/wait.h: Update #endif comments.
47939         [__USE_MISC]: Remove redundant conditionals.
47940         * posix/unistd.h: Update #endif comments.
47941         [__USE_MISC]: Remove redundant conditionals.
47942         * pwd/pwd.h [__USE_GNU]: Likewise.
47943         [__USE_MISC]: Likewise.
47944         * resolv/netdb.h [__USE_GNU]: Likewise.
47945         * signal/signal.h: Update #endif comments.
47946         [__USE_MISC]: Remove redundant conditionals.
47947         * stdlib/stdlib.h: Update #else and #endif comments.
47948         [__USE_MISC]: Remove redundant conditionals.
47949         [__USE_GNU]: Likewise.
47950         * string/bits/string2.h [__USE_MISC]: Likewise.
47951         * string/string.h: Update #endif comments.
47952         [__USE_MISC]: Remove redundant conditionals.
47953         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47954         Likewise.
47955         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47956         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47957         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47958         Likewise.
47959         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47960         Likewise.
47961         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47962         comments.
47963         [__USE_MISC]: Remove redundant conditionals.
47964         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47965         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47966         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47967         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47968         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47969         Likewise.
47970         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47971         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47972         Likewise.
47973         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47974         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47975         Likewise.
47976         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47977         Likewise.
47978         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47979         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47980         Likewise.
47981         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47982         Likewise.
47983         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47984         * sysdeps/x86/bits/string.h: Update #endif comments.
47985         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47986         conditionals.
47987         * time/sys/time.h: Update #endif comments.
47988         * time/time.h: Likewise.
47989         [__USE_MISC]: Remove redundant conditionals.
47991 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47993         [BZ #16600]
47994         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47996 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47998         * Versions.def (librt): Add GLIBC_2.17.
48000 2014-02-21  Adam Conrad  <adconrad@0c3.net>
48002         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
48003         synonym for _SYS_AUXV_H to allow direct inclusion.
48004         * sysdeps/sparc/bits/hwcap.h: Likewise.
48005         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
48006         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
48007         * sysdeps/sparc/sysdep.h: Likewise.
48009 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48011         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48013 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48015         * benchtests/bench-strrchr.c: Print length instead of position.
48017 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48019         [BZ #16611]
48020         * sysdeps/unix/sysv/linux/kernel-features.h
48021         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48022         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48023         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48024         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48025         Likewise.
48026         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48027         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48028         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48029         (__ASSUME_SENDMMSG): Define instead of using previous
48030         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48031         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48032         (__ASSUME_SENDMMSG_SYSCALL): Define.
48033         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48034         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48035         Likewise.
48036         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48037         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48038         Likewise.
48039         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48040         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48041         Likewise.
48042         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48043         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48044         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48045         [__ASSUME_SENDMMSG]: Change conditionals to
48046         [__ASSUME_SENDMMSG_SOCKETCALL].
48047         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48048         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48049         Define.
48050         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48051         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48052         Likewise.
48053         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48054         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48055         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48056         [!__ASSUME_SENDMMSG]: Change conditional to
48057         [!__ASSUME_SENDMMSG_SOCKETCALL].
48058         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48059         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48060         Define.
48062         [BZ #16610]
48063         * sysdeps/unix/sysv/linux/kernel-features.h
48064         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48065         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48066         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48067         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48068         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48069         [__i386__ || __sparc__]
48070         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48071         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48072         (__ASSUME_RECVMMSG): Define instead of using previous
48073         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48074         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48075         (__ASSUME_RECVMMSG_SYSCALL): Define.
48076         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48077         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48078         Likewise.
48079         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48080         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48081         Likewise.
48082         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48083         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48084         Likewise.
48085         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48086         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48087         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48088         [__ASSUME_RECVMMSG]: Change condition to
48089         [__ASSUME_RECVMMSG_SOCKETCALL].
48090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48091         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48092         Define.
48093         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48094         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48096         Likewise.
48097         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48098         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48099         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48100         [!__ASSUME_RECVMMSG]: Change condition to
48101         [!__ASSUME_RECVMMSG_SOCKETCALL].
48102         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48103         (__ASSUME_RECVMMSG_SYSCALL): Define.
48105         [BZ #16609]
48106         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48107         __powerpc__ || __s390__ || __sh__ || __sparc__]
48108         (__ASSUME_SOCKETCALL): Define.
48109         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48110         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48111         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48112         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48113         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48114         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48115         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48116         (__ASSUME_ACCEPT4): Define instead of using previous
48117         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48118         __powerpc__ || __sparc__ || __s390__)] condition.
48119         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48120         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48121         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48122         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48123         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48124         [!__ASSUME_ACCEPT4]: Change condition to
48125         [!__ASSUME_ACCEPT4_SOCKETCALL].
48126         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48127         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48128         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48129         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48130         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48131         __ASSUME_ACCEPT4_SYSCALL.
48132         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48133         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48134         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48135         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48136         __ASSUME_ACCEPT4_SYSCALL.
48137         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48138         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48139         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48140         [__ASSUME_ACCEPT4]: Change condition to
48141         [__ASSUME_ACCEPT4_SOCKETCALL].
48142         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48143         (__ASSUME_SOCKETCALL): Define.
48144         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48146         (__ASSUME_SOCKETCALL): Define.
48147         (__ASSUME_ACCEPT4): Remove.
48148         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48149         Define.
48150         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48151         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48152         Likewise.
48153         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48154         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48156         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48157         macro.
48158         (HWCAP_ARM_LPAE): Likewise.
48159         (HWCAP_ARM_EVTSTRM): Likewise.
48160         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48161         Add vpfd32, lpae and evtstrm.
48162         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48163         Increase to 22.
48165 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48167         * math/auto-libm-test-in: Add tests of clog10.
48168         * math/auto-libm-test-out: Regenerated.
48169         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48170         * sysdeps/i386/fpu/libm-test-ulps: Update.
48171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48173 2014-02-18  Andreas Schwab  <schwab@suse.de>
48175         [BZ #16574]
48176         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48177         Store non-zero if the second buffer was newly allocated.
48178         (send_dg): Likewise.
48179         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48180         to send_vc and send_dg.
48181         (res_nsend): Pass NULL for ansp2_malloced.
48182         * resolv/res_query.c (__libc_res_nquery): Add parameter
48183         answerp2_malloced and pass it down to __libc_res_nsend.
48184         (res_nquery): Pass additional NULL to __libc_res_nquery.
48185         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48186         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48187         second answer buffer if answerp2_malloced was set.
48188         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48189         (__libc_res_nquerydomain): Add parameter
48190         answerp2_malloced and pass it down to __libc_res_nquery.
48191         (res_nquerydomain): Pass additional NULL to
48192         __libc_res_nquerydomain.
48193         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48194         additional NULL to __libc_res_nsend and __libc_res_nquery.
48195         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48196         additional NULL to __libc_res_nsearch.
48197         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48198         parameter of __libc_res_nsearch to check for separately allocated
48199         second buffer.
48200         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48201         __libc_res_nquery.
48202         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48203         additional NULL to __libc_res_nquery.
48204         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48205         __libc_res_nsearch.
48206         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48207         * include/resolv.h: Update prototypes of __libc_res_nquery,
48208         __libc_res_nsearch, __libc_res_nsend.
48210 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48212         * math/auto-libm-test-in: Add tests of fma.
48213         * math/auto-libm-test-out: Regenerated.
48214         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48215         (fma_towardzero_test_data): Likewise.
48216         (fma_downward_test_data): Likewise.
48217         (fma_upward_test_data): Likewise.
48218         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48219         mpc_mode.
48220         (rounding_modes): Add values for new field.
48221         (func_calc_method): Add value mpfr_fff_f.
48222         (func_calc_desc): Add mpfr_fff_f union field.
48223         (test_function): Add field exact_args.
48224         (FUNC): Add macro argument EXACT_ARGS.
48225         (FUNC_mpfr_f_f): Update call to FUNC.
48226         (FUNC_mpfr_f_f): Likewise.
48227         (FUNC_mpfr_ff_f): Likewise.
48228         (FUNC_mpfr_if_f): Likewise.
48229         (FUNC_mpc_c_f): Likewise.
48230         (FUNC_mpc_c_c): Likewise.
48231         (test_functions): Add fma.  Update calls to FUNC.
48232         (handle_input_arg): Add argument exact_args.
48233         (add_test): Update call to handle_input_arg.
48234         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48235         (output_for_one_input_case): Update call to calc_generic_results.
48236         Recalculate exact zero results in each rounding mode.
48238         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48239         non-negative before setting low bit.
48240         * math/auto-libm-test-in: Mark one asin test possibly having
48241         spurious underflow.
48242         * math/auto-libm-test-out: Regenerated.
48243         * sysdeps/i386/fpu/libm-test-ulps: Update.
48244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48246 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48248         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48249         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48250         ports/sysdeps/unix/sysv/linux/microblaze.
48251         * README: Add missing listing for microblaze*-*-linux-gnu.
48253 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48255         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48256         duplicate code
48258 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48260         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48261         * sysdeps/unix/sysv/linux/ia64: Move directory from
48262         ports/sysdeps/unix/sysv/linux/ia64.
48263         * README: Update listing for ia64-*-linux-gnu.
48265 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48266             Joseph Myers  <joseph@codesourcery.com>
48268         * Makeconfig (test-name): New variable.
48269         (evaluate-test): Likewise.
48270         * Makerules (do-test-clean): Remove .test-result files.
48271         (common-mostlyclean): Likewise.
48272         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48273         * scripts/evaluate-test.sh: New file.
48275 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48277         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48278         separate $(objpfx)tst-fopenloc-cmp.out and
48279         $(objpfx)tst-fopenloc-mem.out targets.
48280         (tests): Update dependencies.
48281         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48282         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48283         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48284         (tst-rxspencer-no-utf8-ARGS): New variable.
48285         (tst-rxspencer-no-utf8-ENV): Likewise.
48286         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48287         instead of $(objpfx)tst-rxspencer-mem.
48288         ($(objpfx)tst-rxspencer-mem): Change target to
48289         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48290         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48291         * posix/tst-rxspencer-no-utf8.c: New file.
48293         * elf/Makefile ($(objpfx)order.out): Remove rule.
48294         [$(run-built-tests) = yes] (tests): Depend on
48295         $(objpfx)order-cmp.out.
48296         ($(objpfx)order-cmp.out): New rule.
48297         [$(run-built-tests) = yes] (tests): Depend on
48298         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48299         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48300         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48301         $(objpfx)tst-array5-static-cmp.out.
48302         ($(objpfx)tst-array1.out): Remove rule.
48303         ($(objpfx)tst-array1-cmp.out): New rule.
48304         ($(objpfx)tst-array1-static.out): Remove rule.
48305         ($(objpfx)tst-array1-static-cmp.out): New rule.
48306         ($(objpfx)tst-array2.out): Remove rule.
48307         ($(objpfx)tst-array2-cmp.out): New rule.
48308         ($(objpfx)tst-array3.out): Remove rule.
48309         ($(objpfx)tst-array3-cmp.out): New rule.
48310         ($(objpfx)tst-array4.out): Remove rule.
48311         ($(objpfx)tst-array4-cmp.out): New rule.
48312         ($(objpfx)tst-array5.out): Remove rule.
48313         ($(objpfx)tst-array5-cmp.out): New rule.
48314         ($(objpfx)tst-array5-static.out): Remove rule.
48315         ($(objpfx)tst-array5-static-cmp.out): New rule.
48316         [$(run-built-tests) = yes] (tests): Depend on
48317         $(objpfx)order2-cmp.out.
48318         ($(objpfx)order2.out): Remove rule.
48319         ($(objpfx)order2-cmp.out): New rule.
48320         ($(objpfx)tst-initorder.out): Remove rule.
48321         [$(run-built-tests) = yes] (tests): Depend on
48322         $(objpfx)tst-initorder-cmp.out.
48323         ($(objpfx)tst-initorder-cmp.out): New rule.
48324         ($(objpfx)tst-initorder2.out): Remove rule.
48325         [$(run-built-tests) = yes] (tests): Depend on
48326         $(objpfx)tst-initorder2-cmp.out.
48327         ($(objpfx)tst-initorder2-cmp.out): New rule.
48328         [$(run-built-tests) = yes] (tests): Depend on
48329         $(objpfx)tst-unused-dep-cmp.out.
48330         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48331         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48332         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48333         on $(objpfx)tst-setvbuf1-cmp.out.
48334         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48335         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48336         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48337         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48338         ($(objpfx)tst-svc.out): Remove rule.
48339         ($(objpfx)tst-svc-cmp.out): New rule.
48341 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48343         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48344         * ctype/ctype.h [__USE_MISC]: Likewise.
48345         * dirent/dirent.h [__USE_MISC]: Likewise.
48346         * grp/grp.h [__USE_MISC]: Likewise.
48347         * io/fcntl.h [__USE_MISC]: Likewise.
48348         * io/sys/stat.h [__USE_MISC]: Likewise.
48349         * libio/stdio.h [__USE_MISC]: Likewise.
48350         * posix/unistd.h [__USE_MISC]: Likewise.
48351         * pwd/pwd.h [__USE_MISC]: Likewise.
48352         * stdlib.h [__USE_MISC]: Likewise.
48353         * string/bits/string2.h [__USE_MISC]: Likewise.
48354         * string/string.h [__USE_MISC]: Likewise.
48355         * time/time.h [__USE_MISC]: Likewise.
48357 2014-02-13  Andreas Schwab  <schwab@suse.de>
48359         [BZ #16574]
48360         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
48361         second answer buffer if it was separately allocated.
48363 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
48365         * sysdeps/mips/math-tests.h: Include <features.h>.
48366         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48367         (ROUNDING_TESTS_long_double): Do not define.
48368         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48369         (EXCEPTION_TESTS_long_double): Likewise.
48370         * sysdeps/mips/mips64/libm-test-ulps: Update.
48372         * include/features.h (__USE_BSD): Remove macro definitions.
48373         (__USE_SVID): Likewise.
48374         (_BSD_SOURCE): Likewise.
48375         (_SVID_SOURCE): Likewise.
48376         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
48377         from definition of _DEFAULT_SOURCE.
48378         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
48379         [_DEFAULT_SOURCE].
48380         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
48381         * bits/mman.h [__USE_BSD]: Likewise.
48382         * bits/termios.h [__USE_BSD]: Likewise.
48383         * bits/waitstatus.h [__USE_BSD]: Likewise.
48384         * ctype/ctype.h [__USE_SVID]: Likewise.
48385         * dirent/dirent.h [__USE_BSD]: Likewise.
48386         * grp/grp.h [__USE_SVID]: Likewise.
48387         [__USE_BSD]: Likewise.
48388         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
48389         * io/fcntl.h [__USE_BSD]: Likewise.
48390         * io/ftw.h [__USE_BSD]: Likewise.
48391         * io/sys/stat.h [__USE_BSD]: Likewise.
48392         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
48393         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
48394         * libio/stdio.h [__USE_SVID]: Likewise.
48395         [__USE_BSD]: Likewise.
48396         * math/math.h [__USE_SVID]: Likewise.
48397         [__USE_BSD]: Likewise.
48398         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
48399         * misc/bits/syslog.h [__USE_BSD]: Likewise.
48400         * misc/search.h [__USE_SVID]: Likewise.
48401         * misc/sys/mman.h [__USE_BSD]: Likewise.
48402         * misc/sys/syslog.h [__USE_BSD]: Likewise.
48403         * misc/sys/uio.h [__USE_BSD]: Likewise.
48404         * posix/bits/unistd.h [__USE_BSD]: Likewise.
48405         * posix/glob.h [__USE_BSD]: Likewise.
48406         * posix/regex.h [__USE_BSD]: Likewise.
48407         * posix/sys/types.h [__USE_BSD]: Likewise.
48408         [__USE_SVID]: Likewise.
48409         * posix/sys/utsname.h [__USE_SVID]: Likewise.
48410         * posix/sys/wait.h [__USE_BSD]: Likewise.
48411         [__USE_SVID]: Likewise.
48412         * posix/unistd.h [__USE_BSD]: Likewise.
48413         [__USE_SVID]: Likewise.
48414         * pwd/pwd.h [__USE_SVID]: Likewise.
48415         * resolv/netdb.h [__USE_BSD]: Likewise.
48416         * setjmp/setjmp.h [__USE_BSD]: Likewise.
48417         * signal/signal.h [__USE_BSD]: Likewise.
48418         [__USE_SVID]: Likewise.
48419         * socket/sys/socket.h [__USE_BSD]: Likewise.
48420         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
48421         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48422         [__USE_SVID]: Likewise.
48423         * string/bits/string2.h [__USE_BSD]: Likewise.
48424         [__USE_SVID]: Likewise.
48425         * string/bits/string3.h [__USE_BSD]: Likewise.
48426         * string/endian.h [__USE_BSD]: Likewise.
48427         * string/string.h [__USE_SVID]: Likewise.
48428         [__USE_BSD]: Likewise.
48429         * string/strings.h [__USE_BSD]: Likewise.
48430         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48431         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48432         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48433         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48434         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48435         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48436         Likewise.
48437         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48438         Likewise.
48439         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48440         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48441         Likewise.
48442         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48443         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48444         Likewise.
48445         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48446         Likewise.
48447         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48448         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48449         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48450         Likewise.
48451         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48452         Likewise.
48453         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48454         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48455         * termios/termios.h [__USE_BSD]: Likewise.
48456         * time/sys/time.h [__USE_BSD]: Likewise.
48457         * time/time.h [__USE_BSD]: Likewise.
48458         [__USE_SVID]: Likewise.
48460         * Makefile (subdir_targets): Remove subdir_lint.out.
48462         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48463         (do-tst-printf): Likewise.
48464         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48465         $(objpfx)tst-printf.out.
48467         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48469         * Makerules (check-abi-%): Change target to
48470         $(objpfx)check-abi-%.out.
48471         (check-abi target): Update dependencies.
48472         (check-abi-pattern variable): Redirect output of diff to $@.
48473         (check-abi variable): Likewise.
48474         * elf/Makefile (check-abi): Update dependencies.
48476         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48477         unused.
48478         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48479         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48480         subnormal range.
48481         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48482         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48483         value has largest subnormal exponent.
48484         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48485         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48486         * sysdeps/aarch64/soft-fp/sfp-machine.h
48487         (_FP_TININESS_AFTER_ROUNDING): New macro.
48488         * sysdeps/alpha/soft-fp/sfp-machine.h
48489         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48490         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48491         Likewise.
48492         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48493         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48494         * sysdeps/mips/soft-fp/sfp-machine.h
48495         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48496         * sysdeps/powerpc/soft-fp/sfp-machine.h
48497         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48498         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48499         Likewise.
48500         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48501         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48502         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48503         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48504         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48505         Likewise.
48507 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48509         [BZ #16545]
48510         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48511         model 1.
48513 2014-02-12  Richard Henderson  <rth@redhat.com>
48515         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48516         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48517         * sysdeps/unix/sysv/linux/alpha: Move directory from
48518         ports/sysdeps/unix/sysv/linux/alpha.
48519         * README: Update listing for alpha-*-linux-gnu.
48521 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48523         * include/features.h: Update comment documenting feature test
48524         macros.
48525         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48526         _DEFAULT_SOURCE.
48527         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48528         (_SVID_SOURCE): Likewise.
48529         (_DEFAULT_SOURCE): Update description of default features.
48530         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48531         with _GNU_SOURCE.
48532         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48533         (S_ISVTX): Likewise.
48534         * manual/math.texi (Mathematical Constants): Likewise.
48535         * manual/signal.texi (Interrupted Primitives): Likewise.
48536         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48537         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48538         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48539         Don't refer to _SVID_SOURCE in warning text.
48541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48543         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48544         already defined.
48545         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48546         * sysdeps/mips/dl-lookup.c: Remove.
48547         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48549 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48551         [BZ #16447]
48552         * math/auto-libm-test-in: Add testcase for expl.
48553         * math/auto-libm-test-out: Regenerate.
48554         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48555         calculation of unsafe.
48556         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48558 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48560         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48561         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48562         ports/sysdeps/unix/sysv/linux/aarch64.
48563         * README: Update listing for aarch64*-*-linux-gnu.
48565 2014-02-11  Will Newton  <will.newton@linaro.org>
48567         * manual/probes.texi (Mathematical Function Probes): Use
48568         "triggered" instead of "hit".
48570         * manual/probes.texi (Internal Probes): Add documentation
48571         of setjmp, longjmp and longjmp_target probes.
48573         * include/stap-probe.h: Add comment about probe argument
48574         format.
48576         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48577         definition.  (tr_where, tr_freehook, tr_mallochook,
48578         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48580 2014-02-11  David S. Miller  <davem@davemloft.net>
48582         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48583         processing int_tests.
48585 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48587         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48588         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48589         * sysdeps/unix/sysv/linux/mips: Move directory from
48590         ports/sysdeps/unix/sysv/linux/mips.
48591         * README: Update listing for mips-*-linux-gnu and
48592         mips64-*-linux-gnu.
48594 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48596         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48597         * sysdeps/unix/sysv/linux/m68k: Move directory from
48598         ports/sysdeps/unix/sysv/linux/m68k.
48599         * README: Update listing for m68k-*-linux-gnu.
48601 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48603         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48604         * sysdeps/unix/sysv/linux/generic: Move directory from
48605         ports/sysdeps/unix/sysv/linux/generic.
48606         * sysdeps/unix/sysv/linux/tile: Move directory from
48607         ports/sysdeps/unix/sysv/linux/tile.
48608         * README: Update listing for tile*-*-linux-gnu.
48610 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48612         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48613         __builtin_expect.
48614         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48615         * catgets/open_catalog.c (__open_catalog): Likewise.
48616         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48617         * debug/confstr_chk.c: Likewise.
48618         * debug/fread_chk.c (__fread_chk): Likewise.
48619         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48620         * debug/getgroups_chk.c: Likewise.
48621         * debug/mbsnrtowcs_chk.c: Likewise.
48622         * debug/mbsrtowcs_chk.c: Likewise.
48623         * debug/mbstowcs_chk.c: Likewise.
48624         * debug/memcpy_chk.c: Likewise.
48625         * debug/memmove_chk.c: Likewise.
48626         * debug/mempcpy_chk.c: Likewise.
48627         * debug/memset_chk.c: Likewise.
48628         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48629         * debug/strcat_chk.c (__strcat_chk): Likewise.
48630         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48631         * debug/strncat_chk.c (__strncat_chk): Likewise.
48632         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48633         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48634         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48635         * debug/wcpncpy_chk.c: Likewise.
48636         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48637         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48638         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48639         * debug/wcsncpy_chk.c: Likewise.
48640         * debug/wcsnrtombs_chk.c: Likewise.
48641         * debug/wcsrtombs_chk.c: Likewise.
48642         * debug/wcstombs_chk.c: Likewise.
48643         * debug/wmemcpy_chk.c: Likewise.
48644         * debug/wmemmove_chk.c: Likewise.
48645         * debug/wmempcpy_chk.c: Likewise.
48646         * debug/wmemset_chk.c: Likewise.
48647         * dirent/scandirat.c (SCANDIRAT): Likewise.
48648         * dlfcn/dladdr1.c (dladdr1): Likewise.
48649         * dlfcn/dladdr.c (dladdr): Likewise.
48650         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48651         * dlfcn/dlerror.c (__dlerror): Likewise.
48652         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48653         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48654         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48655         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48656         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48657         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48658         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48659         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48660         Likewise.
48661         * elf/dl-conflict.c: Likewise.
48662         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48663         * elf/dl-dst.h: Likewise.
48664         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48665         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48666         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48667         * elf/dl-init.c (call_init, _dl_init): Likewise.
48668         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48669         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48670         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48671         Likewise.
48672         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48673         Likewise.
48674         * elf/dl-minimal.c (__libc_memalign): Likewise.
48675         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48676         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48677         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48678         * elf/dl-sym.c (do_sym): Likewise.
48679         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48680         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48681         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48682         * elf/dl-writev.h (_dl_writev): Likewise.
48683         * elf/ldconfig.c (search_dir): Likewise.
48684         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48685         (dl_main): Likewise.
48686         * elf/setup-vdso.h (setup_vdso): Likewise.
48687         * grp/compat-initgroups.c (compat_call): Likewise.
48688         * grp/fgetgrent.c (fgetgrent): Likewise.
48689         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48690         * grp/putgrent.c (putgrent): Likewise.
48691         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48692         Likewise.
48693         * hurd/hurdinit.c: Likewise.
48694         * iconvdata/8bit-gap.c (struct): Likewise.
48695         * iconvdata/ansi_x3.110.c : Likewise.
48696         * iconvdata/big5.c : Likewise.
48697         * iconvdata/big5hkscs.c : Likewise.
48698         * iconvdata/cp1255.c: Likewise.
48699         * iconvdata/cp1258.c : Likewise.
48700         * iconvdata/cp932.c : Likewise.
48701         * iconvdata/euc-cn.c: Likewise.
48702         * iconvdata/euc-jisx0213.c : Likewise.
48703         * iconvdata/euc-jp.c: Likewise.
48704         * iconvdata/euc-jp-ms.c : Likewise.
48705         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48706         * iconvdata/gb18030.c : Likewise.
48707         * iconvdata/gbbig5.c (const): Likewise.
48708         * iconvdata/gbgbk.c: Likewise.
48709         * iconvdata/gbk.c : Likewise.
48710         * iconvdata/ibm1364.c : Likewise.
48711         * iconvdata/ibm930.c : Likewise.
48712         * iconvdata/ibm932.c: Likewise.
48713         * iconvdata/ibm933.c : Likewise.
48714         * iconvdata/ibm935.c : Likewise.
48715         * iconvdata/ibm937.c : Likewise.
48716         * iconvdata/ibm939.c : Likewise.
48717         * iconvdata/ibm943.c: Likewise.
48718         * iconvdata/iso_11548-1.c: Likewise.
48719         * iconvdata/iso-2022-cn.c : Likewise.
48720         * iconvdata/iso-2022-cn-ext.c : Likewise.
48721         * iconvdata/iso-2022-jp-3.c: Likewise.
48722         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48723         * iconvdata/iso-2022-kr.c : Likewise.
48724         * iconvdata/iso646.c (gconv_end): Likewise.
48725         * iconvdata/iso_6937-2.c : Likewise.
48726         * iconvdata/iso_6937.c : Likewise.
48727         * iconvdata/iso8859-1.c: Likewise.
48728         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48729         * iconvdata/shift_jisx0213.c : Likewise.
48730         * iconvdata/sjis.c : Likewise.
48731         * iconvdata/t.61.c : Likewise.
48732         * iconvdata/tcvn5712-1.c : Likewise.
48733         * iconvdata/tscii.c: Likewise.
48734         * iconvdata/uhc.c : Likewise.
48735         * iconvdata/unicode.c (gconv_end): Likewise.
48736         * iconvdata/utf-16.c (gconv_end): Likewise.
48737         * iconvdata/utf-32.c (gconv_end): Likewise.
48738         * iconvdata/utf-7.c (base64): Likewise.
48739         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48740         * iconv/gconv_close.c (__gconv_close): Likewise.
48741         * iconv/gconv_open.c (__gconv_open): Likewise.
48742         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48743         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48744         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48745         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48746         (ucs4le_internal_loop_single): Likewise.
48747         * iconv/iconv.c (iconv): Likewise.
48748         * iconv/iconv_close.c: Likewise.
48749         * iconv/loop.c (SINGLE): Likewise.
48750         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48751         * include/atomic.h: Likewise.
48752         * inet/inet6_option.c (option_alloc): Likewise.
48753         * intl/bindtextdom.c (set_binding_values): Likewise.
48754         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48755         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48756         * intl/localealias.c (read_alias_file): Likewise.
48757         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48758         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48759         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48760         * libio/fmemopen.c (fmemopen): Likewise.
48761         * libio/iofgets.c (_IO_fgets): Likewise.
48762         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48763         * libio/iofgetws.c (fgetws): Likewise.
48764         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48765         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48766         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48767         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48768         * locale/findlocale.c (_nl_find_locale): Likewise.
48769         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48770         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48771         Likewise.
48772         * locale/setlocale.c (setlocale): Likewise.
48773         * login/programs/pt_chown.c (main): Likewise.
48774         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48775         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48776         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48777         (mmap, mmap64, mremap, munmap): Likewise.
48778         * math/e_exp2l.c: Likewise.
48779         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48780         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48781         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48782         * math/s_catan.c (__catan): Likewise.
48783         * math/s_catanf.c (__catanf): Likewise.
48784         * math/s_catanh.c (__catanh): Likewise.
48785         * math/s_catanhf.c (__catanhf): Likewise.
48786         * math/s_catanhl.c (__catanhl): Likewise.
48787         * math/s_catanl.c (__catanl): Likewise.
48788         * math/s_ccosh.c (__ccosh): Likewise.
48789         * math/s_ccoshf.c (__ccoshf): Likewise.
48790         * math/s_ccoshl.c (__ccoshl): Likewise.
48791         * math/s_cexp.c (__cexp): Likewise.
48792         * math/s_cexpf.c (__cexpf): Likewise.
48793         * math/s_cexpl.c (__cexpl): Likewise.
48794         * math/s_clog10.c (__clog10): Likewise.
48795         * math/s_clog10f.c (__clog10f): Likewise.
48796         * math/s_clog10l.c (__clog10l): Likewise.
48797         * math/s_clog.c (__clog): Likewise.
48798         * math/s_clogf.c (__clogf): Likewise.
48799         * math/s_clogl.c (__clogl): Likewise.
48800         * math/s_csin.c (__csin): Likewise.
48801         * math/s_csinf.c (__csinf): Likewise.
48802         * math/s_csinh.c (__csinh): Likewise.
48803         * math/s_csinhf.c (__csinhf): Likewise.
48804         * math/s_csinhl.c (__csinhl): Likewise.
48805         * math/s_csinl.c (__csinl): Likewise.
48806         * math/s_csqrt.c (__csqrt): Likewise.
48807         * math/s_csqrtf.c (__csqrtf): Likewise.
48808         * math/s_csqrtl.c (__csqrtl): Likewise.
48809         * math/s_ctan.c (__ctan): Likewise.
48810         * math/s_ctanf.c (__ctanf): Likewise.
48811         * math/s_ctanh.c (__ctanh): Likewise.
48812         * math/s_ctanhf.c (__ctanhf): Likewise.
48813         * math/s_ctanhl.c (__ctanhl): Likewise.
48814         * math/s_ctanl.c (__ctanl): Likewise.
48815         * math/w_pow.c: Likewise.
48816         * math/w_powf.c: Likewise.
48817         * math/w_powl.c: Likewise.
48818         * math/w_scalb.c (sysv_scalb): Likewise.
48819         * math/w_scalbf.c (sysv_scalbf): Likewise.
48820         * math/w_scalbl.c (sysv_scalbl): Likewise.
48821         * misc/error.c (error_tail): Likewise.
48822         * misc/pselect.c (__pselect): Likewise.
48823         * nis/nis_callback.c (__nis_create_callback): Likewise.
48824         * nis/nis_call.c (__nisfind_server): Likewise.
48825         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48826         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48827         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48828         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48829         * nis/nis_lookup.c (nis_lookup): Likewise.
48830         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48831         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48832         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48833         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48834         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48835         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48836         * nis/nss_compat/compat-initgroups.c (add_group)
48837         (internal_getgrent_r): Likewise.
48838         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48839         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48840         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48841         (internal_getspnam_r): Likewise.
48842         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48843         (_nss_nis_getaliasbyname_r): Likewise.
48844         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48845         (_nss_nis_getntohost_r): Likewise.
48846         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48847         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48848         (_nss_nis_getgrgid_r): Likewise.
48849         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48850         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48851         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48852         (_nss_nis_gethostbyname4_r): Likewise.
48853         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48854         (initgroups_netid): Likewise.
48855         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48856         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48857         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48858         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48859         (_nss_nis_getprotobynumber_r): Likewise.
48860         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48861         (_nss_nis_getsecretkey): Likewise.
48862         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48863         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48864         (_nss_nis_getpwuid_r): Likewise.
48865         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48866         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48867         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48868         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48869         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48870         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48871         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48872         Likewise.
48873         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48874         (_nss_nisplus_getntohost_r): Likewise.
48875         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48876         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48877         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48878         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48879         Likewise.
48880         * nis/nss_nisplus/nisplus-initgroups.c
48881         (_nss_nisplus_initgroups_dyn): Likewise.
48882         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48883         (_nss_nisplus_getnetbyaddr_r): Likewise.
48884         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48885         (_nss_nisplus_getprotobynumber_r): Likewise.
48886         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48887         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48888         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48889         Likewise.
48890         * nis/nss_nisplus/nisplus-service.c
48891         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48892         (_nss_nisplus_getservbyport_r): Likewise.
48893         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48894         (_nss_nisplus_getspnam_r): Likewise.
48895         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48896         Likewise.
48897         * nscd/aicache.c (addhstaiX): Likewise.
48898         * nscd/cache.c (cache_search, prune_cache): Likewise.
48899         * nscd/connections.c (register_traced_file, send_ro_fd)
48900         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48901         (main_loop_epoll): Likewise.
48902         * nscd/grpcache.c (addgrbyX): Likewise.
48903         * nscd/hstcache.c (addhstbyX): Likewise.
48904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48905         * nscd/mem.c (gc, mempool_alloc): Likewise.
48906         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48907         (addinnetgrX): Likewise.
48908         * nscd/nscd-client.h (__nscd_acquire_maplock)
48909         (__nscd_drop_map_ref): Likewise.
48910         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48911         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48912         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48913         Likewise.
48914         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48915         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48916         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48917         (__nscd_get_map_ref): Likewise.
48918         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48919         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48920         Likewise.
48921         * nscd/pwdcache.c (addpwbyX): Likewise.
48922         * nscd/selinux.c (preserve_capabilities): Likewise.
48923         * nscd/servicescache.c (addservbyX): Likewise.
48924         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48925         * posix/fnmatch.c (fnmatch): Likewise.
48926         * posix/getopt.c (_getopt_internal_r): Likewise.
48927         * posix/glob.c (glob, glob_in_dir): Likewise.
48928         * posix/wordexp.c (exec_comm_child): Likewise.
48929         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48930         (getanswer_r, gaih_getanswer_slice): Likewise.
48931         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48932         * resolv/res_init.c: Likewise.
48933         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48934         * resolv/res_query.c (__libc_res_nquery): Likewise.
48935         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48936         Likewise.
48937         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48938         * stdio-common/perror.c (perror): Likewise.
48939         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48940         * stdio-common/tmpnam.c (tmpnam): Likewise.
48941         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48942         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48943         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48944         Likewise.
48945         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48946         * stdlib/putenv.c (putenv): Likewise.
48947         * stdlib/setenv.c (__add_to_environ): Likewise.
48948         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48949         * stdlib/strtol_l.c (INTERNAL): Likewise.
48950         * string/memmem.c (memmem): Likewise.
48951         * string/strerror.c (strerror): Likewise.
48952         * string/strnlen.c (__strnlen): Likewise.
48953         * string/test-memmem.c (simple_memmem): Likewise.
48954         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48955         * sunrpc/pm_getport.c (__get_socket): Likewise.
48956         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48957         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48958         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48959         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48960         Likewise.
48961         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48962         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48963         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48964         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48965         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48966         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48967         Likewise.
48968         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48969         Likewise.
48970         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48971         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48972         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48973         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48974         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48976         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48977         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48978         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48979         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48980         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48981         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48982         Likewise.
48983         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48984         Likewise.
48985         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48986         Likewise.
48987         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48988         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48989         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48990         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48991         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48992         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48993         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48994         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48996         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48997         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48999         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49000         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
49001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49002         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
49003         Likewise.
49004         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
49005         Likewise.
49006         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
49007         Likewise.
49008         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49009         Likewise.
49010         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49011         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49012         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49013         Likewise.
49014         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49015         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49016         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49017         * sysdeps/posix/sleep.c: Likewise.
49018         * sysdeps/posix/tempname.c: Likewise.
49019         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49020         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49021         Likewise.
49022         * sysdeps/powerpc/powerpc32/dl-machine.h
49023         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49024         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49026         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49027         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49028         Likewise.
49029         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49030         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49031         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49032         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49033         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49034         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49035         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49036         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49037         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49038         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49039         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49040         (elf_machine_lazy_rel): Likewise.
49041         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49042         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49043         (elf_machine_lazy_rel): Likewise.
49044         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49045         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49046         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49047         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49048         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49049         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49050         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49051         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49052         Likewise.
49053         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49054         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49055         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49056         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49057         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49058         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49059         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49060         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49061         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49062         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49063         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49064         Likewise.
49065         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49066         (__posix_fallocate64_l64): Likewise.
49067         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49068         (posix_fallocate): Likewise.
49069         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49070         Likewise.
49071         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49072         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49073         (getifaddrs_internal): Likewise.
49074         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49075         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49076         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49077         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49078         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49079         (__posix_fallocate64_l64): Likewise.
49080         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49081         Likewise.
49082         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49083         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49084         (__get_clockfreq): Likewise.
49085         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49086         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49087         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49088         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49089         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49090         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49091         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49092         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49093         Likewise.
49094         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49095         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49096         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49097         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49098         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49099         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49100         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49101         Likewise.
49102         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49103         (posix_fallocate): Likewise.
49104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49105         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49106         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49107         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49108         (elf_machine_rela, elf_machine_rela_relative)
49109         (elf_machine_lazy_rel): Likewise.
49110         * time/asctime.c (asctime_internal): Likewise.
49111         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49112         * time/tzset.c (__tzset_parse_tz): Likewise.
49113         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49114         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49115         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49116         * wcsmbs/wcsmbsload.h: Likewise.
49118         [BZ #15894]
49119         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49121         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49122         (arena_get2): Remove THREAD_STATS conditionals.
49123         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49124         (__malloc_stats, int): Likewise.
49126 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49128         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49129         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49131         * manual/setjmp.texi: Fix typos/grammar errors.
49133         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49134         Only return early when n is <= 0.  Delete unused return statement.
49136         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49137         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49138         * debug/tst-longjmp_chk3.c: New file.
49140         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49141         (test_main): Replace code with set_fortify_handler call.
49142         * debug/test-strcpy_chk.c: Likewise.
49143         * debug/tst-chk1.c: Likewise.
49144         * debug/tst-longjmp_chk.c: Likewise.
49145         * test-skeleton.c: Include fcntl.h & paths.h
49146         (set_fortify_handler): Define.
49148         * debug/tst-longjmp_chk.c: Add header comment and include
49149         ../test-skeleton.c.
49150         (do_test): Mark static.
49151         (TEST_FUNCTION): Define.
49153         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49154         (IP_PMTUDISC_INTERFACE): Likewise.
49155         (IP_MULTICAST_IF): Likewise.
49156         (IP_MULTICAST_TTL): Likewise.
49157         (IP_MULTICAST_LOOP): Likewise.
49158         (IP_ADD_MEMBERSHIP): Likewise.
49159         (IP_DROP_MEMBERSHIP): Likewise.
49160         (IP_UNBLOCK_SOURCE): Likewise.
49161         (IP_BLOCK_SOURCE): Likewise.
49162         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49163         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49164         (IP_MSFILTER): Likewise.
49165         (MCAST_JOIN_GROUP): Likewise.
49166         (MCAST_BLOCK_SOURCE): Likewise.
49167         (MCAST_UNBLOCK_SOURCE): Likewise.
49168         (MCAST_LEAVE_GROUP): Likewise.
49169         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49170         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49171         (MCAST_MSFILTER): Likewise.
49172         (IP_MULTICAST_ALL): Likewise.
49173         (IP_UNICAST_IF): Likewise.
49175         * timezone/Makefile: Delete $(have-ksh) check.
49176         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49177         * timezone/tzselect.ksh: Add +x mode bits.
49179         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49180         (ANON_INODE_FS_MAGIC): Likewise.
49181         (BDEVFS_MAGIC): Likewise.
49182         (BINFMTFS_MAGIC): Likewise.
49183         (BTRFS_TEST_MAGIC): Likewise.
49184         (CRAMFS_MAGIC_WEND): Likewise.
49185         (DEBUGFS_MAGIC): Likewise.
49186         (ECRYPTFS_SUPER_MAGIC): Likewise.
49187         (EXT3_SUPER_MAGIC): Likewise.
49188         (EXT4_SUPER_MAGIC): Likewise.
49189         (FUTEXFS_SUPER_MAGIC): Likewise.
49190         (HOSTFS_SUPER_MAGIC): Likewise.
49191         (HUGETLBFS_MAGIC): Likewise.
49192         (MINIX3_SUPER_MAGIC): Likewise.
49193         (MTD_INODE_FS_MAGIC): Likewise.
49194         (NILFS_SUPER_MAGIC): Likewise.
49195         (OPENPROM_SUPER_MAGIC): Likewise.
49196         (PIPEFS_MAGIC): Likewise.
49197         (PSTOREFS_MAGIC): Likewise.
49198         (QNX6_SUPER_MAGIC): Likewise.
49199         (RAMFS_MAGIC): Likewise.
49200         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49201         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49202         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49203         (SECURITYFS_MAGIC): Likewise.
49204         (SELINUX_MAGIC): Likewise.
49205         (SMACK_MAGIC): Likewise.
49206         (SOCKFS_MAGIC): Likewise.
49207         (SQUASHFS_MAGIC): Likewise.
49208         (STACK_END_MAGIC): Likewise.
49209         (TMPFS_MAGIC): Likewise.
49210         (USBDEVICE_SUPER_MAGIC): Likewise.
49211         (V9FS_MAGIC): Likewise.
49212         (XENFS_SUPER_MAGIC): Likewise.
49213         (CRAMFS_MAGIC): Fix typo in comment.
49214         (EXT2_SUPER_MAGIC): Update comment.
49215         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49217 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49219         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49220         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49221         * sysdeps/unix/sysv/linux/arm: Move directory from
49222         ports/sysdeps/unix/sysv/linux/arm.
49223         * README: Update listing for arm-*-linux-gnueabi.
49225         * README: Remove mention of am33.
49227 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49229         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49230         than the comma operator, to avoid "rhs of comma has no effect"
49231         compiler warnings.
49232         (__sigfillset, __sigandset, __sigorset): Likewise.
49233         * include/signal.h (__sigemptyset): Likewise.
49234         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49236 2014-02-07  Allan McRae  <allan@archlinux.org>
49238         * version.h (RELEASE): Set to "development".
49239         (VERSION): Set to "2.19.90"
49240         * NEWS: Add 2.20 section.
49242 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49244         [BZ #16529]
49245         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49247 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49249         * manual/contrib.texi: Update entry for Carlos O'Donell,
49250         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49252 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49254         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49256         * sysdeps/unix/sysv/linux/kernel-features.h
49257         [__LINUX_KERNEL_VERSION >= 0x020621]
49258         (__ASSUME_PROC_PID_TASK_COMM): Define.
49260 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49262         [BZ #16398]
49263         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49264         conversion when destination buffer does not have enough space.
49265         * libio/tst-ftell-partial-wide.c: New test case.
49266         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49268         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49269         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49270         Leonard and Allan McRae.
49272 2014-02-04  David S. Miller  <davem@davemloft.net>
49274         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49275         32-bit.
49277 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49280         New file
49281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49282         New file
49283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49284         New file.
49285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49286         New file.
49287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49288         New file.
49289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49290         New file.
49291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49292         New file.
49293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49294         New file.
49295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49296         New file.
49297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49298         New file.
49299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49300         New file.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49302         New file.
49303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49304         New file.
49306 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49308         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49309         * shlib-versions: Likewise.
49311 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49312             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49314         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49315         (abilist-pattern): New variable, set to %-le.abilist.
49317         * Makerules (abilist-pattern): New variable.
49318         (vpath): Use $(abilist-pattern) in place of %.abilist.
49319         (check-abi-% pattern rule): Likewise.
49320         (check-abi, update-abi): Likewise.
49322 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49326 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49328         * manual/startup.texi: Add next, previous, and top entries for
49329         the `Program Arguments' and `Environment Variables' nodes.
49331 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49333         * manual/macros.texi: Add comments before MTASC-safety macros.
49335         * manual/users.texi: Document MTASC-safety properties.
49337         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49338         (pthread_getspecific, pthread_setspecific): Format with
49339         @deftypefun, and add @safety note.
49340         * manual/signal.texi: Move comments that analyze the above
49341         functions to their home place.
49343 2014-02-03  Allan McRae  <allan@archlinux.org>
49345         * po/sl.po: Update Slovenian translation from translation project.
49347 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
49349         * manual/time.texi (timegm): Add missing blank after @c.
49350         Reported by Joseph Myers <joseph@codesourcery.com>.
49352 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
49354         * manual/check-safety.sh: New.
49355         * manual/Makefile ($(objpfx)stamp-summary): Run it.
49357         * manual/terminal.texi: Document MTASC-safety properties.
49359         * manual/filesys.texi: Document MTASC-safety properties.
49361         * manual/errno.texi: Document MTASC-safety properties.
49363         * manual/intro.texi: Document safety identifiers and
49364         conditionals.
49366         * manual/string.texi (wcstok): Fix prototype.
49367         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
49369         * manual/time.texi: Document MTASC-safety properties.
49371         * manual/string.texi: Document MTASC-safety properties.
49373         * manual/threads.texi: Document MTASC-safety properties.
49375         * manual/stdio.texi: Document MTASC-safety properties.
49377         * manual/syslog.texi: Document MTASC-safety properties.
49379         * manual/sysinfo.texi: Document MTASC-safety properties.
49381         * manual/startup.texi: Document MTASC-safety properties.
49383         * manual/socket.texi: Document MTASC-safety properties.
49385         * manual/signal.texi: Document MTASC-safety properties.
49387 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
49389         * manual/setjmp.texi: Document MTASC-safety properties.
49391         * manual/search.texi: Document MTASC-safety properties.
49393         * manual/resource.texi: Document MTASC-safety properties.
49395         * manual/process.texi: Document MTASC-safety properties.
49397         * manual/platform.texi: Document MTASC-safety properties.
49399         * manual/pipe.texi: Document MTASC-safety properties.
49401         * manual/pattern.texi: Document MTASC-safety properties.
49403         * manual/message.texi: Document MTASC-safety properties.
49405         [BZ #12751]
49406         * manual/memory.texi: Document MTASC-safety properties.
49408         * manual/math.texi: Document MTASC-safety properties.
49410         * manual/locale.texi: Document MTASC-safety properties.
49412         * manual/llio.texi: Document MTASC-safety properties.
49414         * manual/libdl.texi: New.
49416         * manual/lang.texi: Document MTASC-safety properties.
49418         * manual/job.texi: Document MTASC-safety properties.
49420         * manual/getopt.texi: Document MTASC-safety properties.
49422         * manual/ctype.texi: Document MTASC-safety properties.
49424 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49426         [BZ #16046]
49427         * csu/libc-tls.c (static_map): Remove variable.
49428         (__libc_setup_tls): Use main executable's link map for TLS data.
49429         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49430         casing for LM_ID_BASE and GL(dl_nns).
49431         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49432         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49433         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49434         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49435         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49436         member.
49437         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49438         l_phnum members.
49440 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49442         * manual/debug.texi: Document MTASC-safety properties.
49444 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49446         [BZ #16510]
49447         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49448         of __x86_64__ when disabling x87 inline functions.
49450 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49452         * manual/charset.texi: Document MTASC-safety properties.
49454         * manual/crypt.texi: Document MTASC-safety properties.
49456         * manual/conf.texi: Document MTASC-safety properties.
49458         * manual/arith.texi: Document MTASC-safety properties.
49460         * manual/argp.texi: Document MTASC-safety properties.
49462         * manual/macros.texi: Introduce macros to document multi
49463         thread, asynchronous signal and asynchronous cancellation
49464         safety properties.
49465         * manual/intro.texi: Introduce the properties themselves.
49467 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49469         * sysdeps/sh/sh4/Makefile: New file.
49471 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49473         * math/gen-libm-test.pl ($srcdir): New variable.
49474         ($auto_input): Use it.
49476 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49478         [BZ #16506]
49479         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49480         access beyond array bounds when parsing netgroups file.
49482         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49483         the old buffer before realloc.
49485 2014-01-27  Allan McRae  <allan@archlinux.org>
49487         * po/fr.po: Update French translation from translation project.
49489 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49491         * sysdeps/sh/libm-test-ulps: Regenerate.
49493 2014-01-24  David S. Miller  <davem@davemloft.net>
49495         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49497 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49499         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49500         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49502 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49504         [BZ #16474]
49505         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49506         string pointers after reallocation.
49508 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49510         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49511         __SH4A__ instead of __SH_FPU_ANY__.
49513 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49515         * sysdeps/sh/fpu_control.h: New file.
49516         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49517         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49518         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49519         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49520         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49521         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49522         * sysdeps/sh/sys/ucontext.h: Remove.
49523         * sysdeps/sh/sys: Remove directory.
49525 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49527         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49528         s390/sys/ucontext.h.
49529         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49530         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49532 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49534         [BZ #15605]
49535         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49537 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49539         [BZ#16431]
49540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49541         Adjust the vDSO correctly for internal calls.
49542         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49544 2014-01-20  Allan McRae  <allan@archlinux.org>
49546         * po/ca.po: Update Catalan translation from translation project.
49548 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49550         * sysdeps/s390/sotruss-lib.c: New file.
49552 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49554         [BZ#16430]
49555         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49556         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49557         local calls issues by not having a PLT stub required for IFUNC calls.
49558         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49560 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49562         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49563         * math/test-fpucw-static.c: Likewise.
49565 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49567         [BZ #16453]
49568         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49570 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49572         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49573         implementation for powerpc.
49575 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49577         [BZ #14782]
49578         * sysdeps/posix/system.c (__libc_system): Do not enable
49579         asynchronous cancellation.
49581 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49583         [BZ #16427]
49584         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49585         handling only for numbers special also in the IEEE case.
49587 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49589         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49591 2014-01-11  Allan McRae  <allan@archlinux.org>
49593         * po/bg.po: Update Bulgarian translation from translation project.
49595         * po/de.po: Update German translation from translation project.
49597 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49599         * sysdeps/generic/gcc-compat.h: New file.
49601 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49603         * benchtests/asin-inputs: Correct slow inputs.
49604         * benchtests/acos-inputs: Likewise.
49606 2014-01-10  Allan McRae  <allan@archlinux.org>
49608         * po:sv.po: Update Swedish translation from translation project.
49610         * po/vi.po: Update Vietnamese translation from translation project.
49612         * po/eo.po: Update Esperanto translation from translation project.
49614         * po/cs.po: Update Czech translation from translation project.
49616         * po/nl.po: Update Dutch translation from translation project.
49618         * po/pl.po: Update Polish translation from translation project.
49620         * po/ru.po: Update Russian translation from translation project.
49622         * po/uk.po: Update Ukrainian translation from translation project.
49624 2014-01-08  Brooks Moses  <bmoses@google.com>
49626         * elf/dl-load.c: Fix comment typo.
49628 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49630         * po/header.pot: Rename to...
49631         * po/pot.header: ... this.
49632         * po/Makefile: Use pot.header.
49634 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49635             Maxim Kuvyrkov  <maxim@kugelworks.com>
49637         [BZ #16394]
49638         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49639         SRC and DEST against LEN.
49641 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49643         [BZ #16414]
49644         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49645         implementation.
49646         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49648 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49652 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49654         [BZ #16408]
49655         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49656         for large positive arguments.
49658 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49660         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49662         * math/auto-libm-test-in: Mark various tests with
49663         xfail-rounding:ldbl-128ibm.
49664         * math/auto-libm-test-out: Regenerated.
49666         [BZ #16407]
49667         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49668         Increase overflow threshold.
49670 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49672         [BZ #14286]
49673         * stdio-common/vfprintf.c: Check for integer overflow.
49675 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49677         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49678         the first argument and return value of __tls_get_addr_internal.
49680 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49682         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49683         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49685 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49687         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49688         * sysdeps/s390/rtld-global-offsets.sym: New file.
49689         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49690         GLIBC_2.19 symbol.
49691         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49692         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49693         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49694         ... this.
49695         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49696         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49697         ... this.
49698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49699         Regenerate.
49700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49701         Regenerate.
49702         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49703         halfs of GPRs for high_gprs contexts.
49704         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49705         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49706         field.
49707         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49708         uc_flags field.
49709         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49710         64 bit versions:
49711         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49712         for high GPRs (uc_high_gprs) and for future extensions
49713         (__reserved).
49714         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49715         for future extensions (__reserved).
49716         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49717         64 bit versions:
49718         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49719         SC_HIGHGPRS offset definition.
49720         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49721         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49723         * Versions.def: Add GLIBC_2.19 for libpthread.
49724         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49725         siglongjmp for libpthread with GLIBC_2.19 symver.
49726         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49727         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49728         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49729         * sysdeps/s390/__longjmp.c: New file.
49730         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49731         * sysdeps/s390/longjmp.c: New file.
49732         * sysdeps/s390/setjmp.S: New file.
49733         * sysdeps/s390/sigjmp.S: New file.
49734         * sysdeps/s390/v1-longjmp.c: New file.
49735         * sysdeps/s390/v1-setjmp.h: New file.
49736         * sysdeps/s390/v1-sigjmp.c: New file.
49737         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49738         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49739         GLIBC_2.19 version.
49740         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49741         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49742         versioned symbols for ____longjmp_chk.
49743         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49744         Likewise.
49745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49746         Regenerate.
49747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49748         Regenerate.
49749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49750         Regenerate.
49751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49752         Regenerate.
49753         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49754         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49755         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49756         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49757         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49758         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49759         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49760         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49761         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49762         * sysdeps/s390/rtld-__longjmp.c: New file.
49763         * sysdeps/s390/rtld-setjmp.S: New file.
49765 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49767         [BZ #16400]
49768         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49769         Return -__logl (x) for small positive arguments without evaluating
49770         a polynomial.
49772 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49774         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49775         Rename to ...
49776         (__ptrace_peeksiginfo_args): ... this.
49777         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49779         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49781 2014-01-06  Allan McRae  <allan@archlinux.org>
49783         * inet/netinet/in.h: Fix typo in comment.
49785 2014-01-05  Andreas Jaeger  <aj@suse.de>
49787         * sysdeps/i386/fpu/libm-test-ulps: Update.
49789 2014-01-05  Allan McRae  <allan@archlinux.org>
49791         * po/libc.pot: Regenerated.
49793         * malloc/memusagestat.c: Fix gettext call formatting.
49795 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49797         * nscd/nscd.c: Improve usage() output.
49799 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49801         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49802         * sysdeps/unix/sysv/linux/configure: Regenerated.
49803         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49804         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49806 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49808         [BZ #16390]
49809         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49810         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49812 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49814         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49815         extra tokens at end of #undef directive.
49816         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49817         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49818         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49820 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49822         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49824         * math/auto-libm-test-in: Mark various tests with
49825         xfail-rounding:ldbl-128ibm.
49826         * math/auto-libm-test-out: Regenerated.
49828 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49830         [BZ #16386]
49831         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49832         numbers with subnormal high part when calculating exponent.
49834         [BZ #16385]
49835         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49836         fabs.
49838         [BZ #16384]
49839         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49840         M_LN2l.
49841         (__ieee754_acoshl): Use __log1pl not __log1p.
49843 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49845         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49846         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49847         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49848         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49849         (reused_arena, arena_get2): Convert to GNU style.
49850         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49851         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49852         (memalign_check, __malloc_set_state): Likewise.
49853         * malloc/mallocbug.c (main): Likewise.
49854         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49855         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49856         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49857         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49858         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49859         (__posix_memalign, malloc_info): Likewise.
49860         * malloc/malloc.h: Likewise.
49861         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49862         (mallochook, memalignhook, reallochook, mabort): Likewise.
49863         * malloc/mcheck.h: Likewise.
49864         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49865         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49866         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49867         * malloc/morecore.c (__default_morecore): Likewise.
49868         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49869         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49870         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49871         (print_and_abort): Likewise.
49872         * malloc/obstack.h: Likewise.
49873         * malloc/set-freeres.c (__libc_freeres): Likewise.
49874         * malloc/tst-mallocstate.c (main): Likewise.
49875         * malloc/tst-mtrace.c (main): Likewise.
49876         * malloc/tst-realloc.c (do_test): Likewise.
49878 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49880         [BZ #16366]
49881         * nscd/netgroupcache.c (do_notfound): New function.
49882         (addgetnetgrentX): Use it.
49884         [BZ # 16365]
49885         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49886         NSS_STATUS_NOTFOUND.
49888 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49890         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49893 2014-01-01  Allan McRae  <allan@archlinux.org>
49895         * scripts/update-copyrights: Update configure input file suffix.
49897         * NEWS: Update copyright year.
49898         * catgets/gencat.c: Likewise.
49899         * csu/version.c: Likewise.
49900         * debug/catchsegv.sh: Likewise.
49901         * debug/pcprofiledump.c: Likewise.
49902         * debug/xtrace.sh: Likewise.
49903         * elf/ldconfig.c: Likewise.
49904         * elf/ldd.bash.in: Likewise.
49905         * elf/pldd.c: Likewise.
49906         * elf/sotruss.ksh: Likewise.
49907         * elf/sprof.c: Likewise.
49908         * iconv/iconv_prog.c: Likewise.
49909         * iconv/iconvconfig.c: Likewise.
49910         * locale/programs/locale.c: Likewise.
49911         * locale/programs/localedef.c: Likewise.
49912         * login/programs/pt_chown.c: Likewise.
49913         * malloc/memusage.sh: Likewise.
49914         * malloc/memusagestat.c: Likewise.
49915         * malloc/mtrace.pl: Likewise.
49916         * manual/libc.texinfo: Likewise.
49917         * nscd/nscd.c: Likewise.
49918         * nss/getent.c: Likewise.
49919         * nss/makedb.c: Likewise.
49920         * posix/getconf.c: Likewise.
49921         * scripts/test-installation.pl: Likewise.
49923         * All files with FSF copyright notices: Update copyright dates
49924         using scripts/update-copyrights.
49925         * intl/plural.c: Regenerated.
49926         * locale/programs/charmap-kw.h: Likewise.
49927         * locale/programs/locfile-kw.h: Likewise.
49929 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49931         * sysdeps/unix/sysv/linux/configure: Regenerated.
49932         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49933         the linux/fanotify.h header.
49934         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49935         HAVE_LINUX_FANOTIFY_H is defined.
49937 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49939         * benchtests/cos-inputs: New inputs.
49940         * benchtests/sin-inputs: Likewise.
49942         * benchtests/atan-inputs: New inputs. Fix name of multiple
49943         precision fallback inputs.
49945         * benchtests/atanh-inputs: New inputs.
49946         * benchtests/tanh-inputs: Likewise.
49948         * benchtests/acosh-inputs: New inputs.
49949         * benchtests/asinh-inputs: Likewise.
49951         * benchtests/cosh-inputs: New inputs.
49952         * benchtests/sinh-inputs: Likewise.
49954         * benchtests/acos-inputs: Add more inputs.
49955         * benchtests/asin-inputs: Likewise.
49957 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49959         [BZ #16375]
49960         * manual/arith.texi: Fix spelling.
49961         * manual/charset.texi: Likewise.
49962         * manual/errno.texi: Likewise.
49963         * manual/filesys.texi: Likewise.
49964         * manual/lang.texi: Likewise.
49965         * manual/llio.texi: Likewise.
49966         * manual/locale.texi: Likewise.
49967         * manual/message.texi: Likewise.
49968         * manual/resource.texi: Likewise.
49969         * manual/search.texi: Likewise.
49970         * manual/setjmp.texi: Likewise.
49971         * manual/stdio.texi: Likewise.
49972         * manual/string.texi: Likewise.
49973         * manual/sysinfo.texi: Likewise.
49974         * manual/time.texi: Likewise.
49976 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49978         * po/sl.po: New file.
49980 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49982         * .gitignore: Add core/.gdbinit/.gdb_history.
49984 2013-12-27  Allan McRae  <allan@archlinux.org>
49986         [BZ #16369]
49987         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49988         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49990 2013-12-24  Brooks Moses  <bmoses@google.com>
49992         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49993         all compilers that claim C++98 compliance, not just GCC.
49994         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49995         Likewise.
49997 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49999         * NEWS: Restore accidentally deleted bug-fix entries.
50001 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50002             Ondřej Bílka  <neleai@seznam.cz>
50004         [BZ #15073]
50005         * malloc/malloc.c (_int_free): Perform sanity check only if we
50006         have_lock.
50008 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50010         [BZ #12986]
50011         * manual/stdio.texi (String Input Conversions): Clarify that character
50012         classes are not supported.
50014 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50018 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50020         [BZ #16337]
50021         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50022         Calculate results for small negative arguments directly rather
50023         than using reflection formula with special underflow handling.
50025         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50026         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50027         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50028         (fchflags): Likewise.
50029         (revoke): Likewise.
50030         (setlogin): Likewise.
50031         (sigaltstack): Likewise.
50032         (wait4): Likewise.
50033         (sigblock): Remove.
50034         (sigsetmask): Likewise.
50035         (wait3): Likewise.
50036         (waitpid): Likewise.
50037         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50038         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50039         file.
50040         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50041         * sysdeps/unix/bsd/Makefile: ... here.
50042         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50043         * sysdeps/unix/bsd/Versions: ... here.
50044         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50045         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50046         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50047         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50048         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50049         * sysdeps/unix/bsd/sigblock.c: ... here.
50050         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50051         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50052         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50053         * sysdeps/unix/bsd/sigvec.c: ... here.
50054         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50055         * sysdeps/unix/bsd/tcdrain.c: ... here.
50056         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50057         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50058         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50059         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50060         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50061         * sysdeps/unix/bsd/wait.c: ... here.
50062         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50063         * sysdeps/unix/bsd/wait3.c: ... here.
50064         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50065         * sysdeps/unix/bsd/waitpid.c: ... here.
50067 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50069         [BZ #16356]
50070         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50071         round-to-nearest for [!USE_AS_EXPM1L].
50072         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50073         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50074         more tests of exp and exp10.  Expect some exp10 tests to miss
50075         exceptions or fail in directed rounding modes.
50076         * math/auto-libm-test-out: Regenerated.
50077         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50078         (exp10_test_tonearest): New function.
50079         (exp10_towardzero_test_data): New array.
50080         (exp10_test_towardzero): New function.
50081         (exp10_downward_test_data): New array.
50082         (exp10_test_downward): New function.
50083         (exp10_upward_test_data): New array.
50084         (exp10_test_upward): New function.
50085         (main): Call the new functions.
50086         * sysdeps/i386/fpu/libm-test-ulps: Update.
50087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50089 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50091         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50092         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50093         * math/auto-libm-test-out: Regenerated.
50094         * math/libm-test.inc (acosh_test_data): Add more tests.
50095         (atanh_test_data): Likewise.
50096         (ceil_test_data): Likewise.
50097         (copysign_test_data): Likewise.
50098         * sysdeps/i386/fpu/libm-test-ulps: Update.
50099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50101         * timezone/checktab.awk: Update from tzcode 2013i.
50102         * timezone/private.h: Likewise.
50103         * timezone/scheck.c: Likewise.
50104         * timezone/tzfile.h: Likewise.
50105         * timezone/tzselect.ksh: Likewise.
50106         * timezone/zdump.c: Likewise.
50107         * timezone/zic.c: Likewise.
50109         * math/auto-libm-test-in: Add tests of cpow.
50110         * math/auto-libm-test-out: Regenerated.
50111         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50112         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50113         mpc_cc_c.
50114         (func_calc_desc): Add mpc_cc_c union field.
50115         (test_functions): Add cpow.
50116         (special_fill_2pi): New function.
50117         (special_real_inputs): Add 2pi.
50118         (calc_generic_results): Handle mpc_cc_c.
50119         * sysdeps/i386/fpu/libm-test-ulps: Update.
50120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50122         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50123         csqrt, ctan and ctanh.
50124         * math/auto-libm-test-out: Regenerated.
50125         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50126         (TEST_COND_x86): Likewise.
50127         (ccos_test_data): Use AUTO_TESTS_c_c.
50128         (ccosh_test_data): Likewise.
50129         (cexp_test_data): Likewise.
50130         (clog_test_data): Likewise.
50131         (csqrt_test_data): Likewise.
50132         (ctan_test_data): Likewise.
50133         (ctan_tonearest_test_data): Likewise.
50134         (ctan_towardzero_test_data): Likewise.
50135         (ctan_downward_test_data): Likewise.
50136         (ctan_upward_test_data): Likewise.
50137         (ctanh_test_data): Likewise.
50138         (ctanh_tonearest_test_data): Likewise.
50139         (ctanh_towardzero_test_data): Likewise.
50140         (ctanh_downward_test_data): Likewise.
50141         (ctanh_upward_test_data): Likewise.
50142         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50143         mpc_c_c.
50144         (func_calc_desc): Add mpc_c_c union field.
50145         (FUNC_mpc_c_c): New macro.
50146         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50147         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50148         ctanh.
50149         (special_fill_min_subnorm_p120): New function.
50150         (special_real_inputs): Add min_subnorm_p120.
50151         (calc_generic_results): Handle mpc_c_c.
50152         * sysdeps/i386/fpu/libm-test-ulps: Update.
50153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50155 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50157         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50158         (do_sin_slow): New functions.
50159         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50160         (cslow2, csloww1, csloww2): Use the new functions.
50162         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50163         Use M to change sign of result instead of X.  Assume X is
50164         positive.
50165         (csloww1): Likewise.
50166         (__sin): Adjust.
50167         (__cos): Adjust.
50169         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50170         arguments A and DA.
50171         (__sin): Adjust.
50172         (__cos): Likewise.
50174         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50175         (__cos): Likewise.
50176         (sloww1): Don't adjust sign of DX.
50177         (csloww1): Likewise.
50178         (sloww2): Use X directly and don't adjust sign of DX.
50179         (csloww2): Likewise.
50181 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50183         * math/auto-libm-test-in: Add tests of cabs and carg.
50184         * math/auto-libm-test-out: Regenerated.
50185         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50186         (carg_test_data): Likewise.
50187         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50188         mpc_c_f.
50189         (func_calc_desc): Add mpc_c_f union field.
50190         (test_functions): Add cabs and carg.
50191         (calc_generic_results): Handle mpc_c_f.
50193         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50194         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50195         as a macro and a compat symbol.
50196         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50197         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50198         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50199         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50200         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50201         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50202         not use .hidden.
50203         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50204         Likewise.
50205         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50206         Likewise.
50207         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50208         Likewise.
50209         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50210         Likewise.
50211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50212         Likewise.
50213         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50214         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50215         from GLIBC_2.3.2.
50217 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50221 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50223         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50224         trailing whitespace removed.
50225         * scripts/config.guess: Update to version 2013-11-29.
50226         * scripts/config.sub: Update to version 2013-10-01.
50228         * math/auto-libm-test-in: Add tests of sincos.
50229         * math/auto-libm-test-out: Regenerated.
50230         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50231         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50232         mpfr_f_11.
50233         (func_calc_desc): Add mpfr_f_11 union field.
50234         (test_functions): Add sincos.
50235         (calc_generic_results): Handle mpfr_f_11.
50236         * sysdeps/i386/fpu/libm-test-ulps: Update.
50237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50239 2013-12-19  Andreas Schwab  <schwab@suse.de>
50241         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50242         CALL_MCOUNT.
50243         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50244         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50245         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50247 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50249         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50250         * sysdeps/i386/fpu/libm-test-ulps: Update.
50251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50253         [BZ #16293]
50254         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50255         round-to-nearest mode when using frndint.
50256         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50257         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50258         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50259         Likewise.
50260         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50261         sinh test to fail.
50262         * math/auto-libm-test-out: Regenerated.
50263         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50264         (TEST_COND_x86): Likewise.
50265         (expm1_tonearest_test_data): New array.
50266         (expm1_test_tonearest): New function.
50267         (expm1_towardzero_test_data): New array.
50268         (expm1_test_towardzero): New function.
50269         (expm1_downward_test_data): New array.
50270         (expm1_test_downward): New function.
50271         (expm1_upward_test_data): New array.
50272         (expm1_test_upward): New function.
50273         (main): Run the new test functions.
50274         * sysdeps/i386/fpu/libm-test-ulps: Update.
50275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50277         * include/features.h: Update comment documenting feature test
50278         macros.  Mention _DEFAULT_SOURCE in comment.
50279         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50280         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50281         _BSD_SOURCE and _SVID_SOURCE.
50282         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50283         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50284         !_SVID_SOURCE]: Likewise.
50285         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50286         (__USE_POSIX_IMPLICITLY): Define.
50287         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50288         (_POSIX_SOURCE): Undefine and redefine.
50289         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50290         (_POSIX_C_SOURCE): Likewise.
50291         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50292         (Feature Test Macros): Update documentation of default features.
50294 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50296         * benchtests/Makefile: Add bench-strtok.
50297         * benchtests/bench-strtok.c: New file: strtok benchtest.
50299 2013-12-19  Allan McRae  <allan@archlinux.org>
50301         * manual/install.texi: Suppress menu for plain text output.
50302         * INSTALL: Regenerated.
50304 2013-12-18  Brooks Moses  <bmoses@google.com>
50306         [BZ #15846]
50307         * misc/getauxval.c: Include errno.h.
50308         (__getauxval): Set errno to ENOENT if the requested type is not
50309         found.
50310         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50311         don't declare with __attribute_const__.
50312         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50313         * manual/startup.texi: Document that getauxval sets errno.
50315 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50317         * math/auto-libm-test-in: Add tests of jn and yn.
50318         * math/auto-libm-test-out: Regenerated.
50319         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50320         (yn_test_data): Likewise.
50321         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50322         mpfr_if_f.
50323         (func_calc_desc): Add mpfr_if_f union field.
50324         (FUNC_mpfr_if_f): New macro.
50325         (test_functions): Add jn and yn.
50326         (calc_generic_results): Assert type of second input for
50327         mpfr_ff_f.  Handle mpfr_if_f.
50328         (output_for_one_input_case): Disable all checking for arguments
50329         fitting floating-point types in case of an integer argument.
50330         * sysdeps/i386/fpu/libm-test-ulps: Update.
50331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50334         Don't expect fegetround reference in libm.so.
50336 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50338         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50339         $(config-cflags-nofma).
50341 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50343         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50344         * math/auto-libm-test-out: Regenerated.
50346         [BZ #16338]
50347         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
50348         to determine exponent and adjust argument to have exponent of -1.
50349         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
50350         log2.
50351         * math/auto-libm-test-out: Regenerated.
50352         * sysdeps/i386/fpu/libm-test-ulps: Update.
50353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50355 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
50357         * manual/probes.texi: Remove cases when per-thread arenas are
50358         disabled.
50360 2013-12-18  Andreas Schwab  <schwab@suse.de>
50362         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
50363         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
50364         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
50365         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
50366         * sysdeps/i386/i686/multiarch/Makefile: Update.
50367         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
50369 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50371         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
50372         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
50374 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
50376         [BZ #15968]
50377         Support TZ transition times < 00:00:00.
50378         This is needed for version-3 tz-format files; it supports time
50379         stamps past 2037 for America/Godthab (the only entry in the tz
50380         database for which this change is relevant).
50381         * manual/time.texi (TZ Variable): Document transition times
50382         from -167:59:59 through -00:00:01.
50383         * time/tzset.c (tz_rule): Time of day is now signed.
50384         (__tzset_parse_tz): Parse negative time of day.
50386         Document TZ transition times >= 25:00:00.
50387         * manual/time.texi (TZ Variable): Document transition times from
50388         25:00:00 through 167:59:59.  These are already supported, and this
50389         support will help with version-3 tz-format files.
50391         * manual/time.texi (TZ Variable): Modernize North America example
50392         to reflect current (i.e., 2007-and-later) daylight saving rules.
50394         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
50396 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50398         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
50399         * sysdeps/unix/bsd/bits/stat.h: Likewise.
50400         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
50401         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50402         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
50403         * sysdeps/unix/bsd/bsdstat.h: Likewise.
50404         * sysdeps/unix/bsd/clock.c: Likewise.
50405         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
50406         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
50407         * sysdeps/unix/bsd/init-posix.c: Likewise.
50408         * sysdeps/unix/bsd/poll.c: Likewise.
50409         * sysdeps/unix/bsd/ptsname.c: Likewise.
50410         * sysdeps/unix/bsd/seekdir.c: Likewise.
50411         * sysdeps/unix/bsd/setegid.c: Likewise.
50412         * sysdeps/unix/bsd/seteuid.c: Likewise.
50413         * sysdeps/unix/bsd/setgid.c: Likewise.
50414         * sysdeps/unix/bsd/setrgid.c: Likewise.
50415         * sysdeps/unix/bsd/setruid.c: Likewise.
50416         * sysdeps/unix/bsd/setsid.c: Likewise.
50417         * sysdeps/unix/bsd/setuid.c: Likewise.
50418         * sysdeps/unix/bsd/sigaction.c: Likewise.
50419         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
50420         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
50421         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50422         * sysdeps/unix/bsd/telldir.c: Likewise.
50423         * sysdeps/unix/bsd/times.c: Likewise.
50424         * sysdeps/unix/bsd/usleep.c: Likewise.
50426         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50427         ($(objpfx)libbsd-compat.a): Remove rule.
50429         * include/features.h (__FAVOR_BSD): Do not define.
50430         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50431         features conflicting with POSIX.
50432         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50433         (_BSD_SOURCE): Remove description of not being a subset of other
50434         feature test macros.
50435         * manual/job.texi (getpgrp): Do not document BSD version.
50436         (getpgid): Do not document by reference to BSD getpgrp.
50437         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50438         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50439         * signal/signal.h [__FAVOR_BSD]: Likewise.
50440         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50441         instead of making contents conditional on [__FAVOR_BSD].
50442         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50444 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50448 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50450         [BZ #16314]
50451         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50452         values below 2**-450, not 2**-500.
50453         * math/auto-libm-test-in: Don't allow spurious underflow from
50454         hypot.
50455         * math/auto-libm-test-out: Regenerated.
50457         [BZ #16316]
50458         [BZ #16330]
50459         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50460         values of ha and hb and sort them after adjusting subnormal
50461         arguments.
50462         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50463         Likewise.
50464         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50465         values of ea and eb and sort them after adjusting subnormal
50466         arguments.
50467         * math/auto-libm-test-in: Do not expect some hypot tests of
50468         subnormals to fail.  Add more hypot tests.
50469         * math/auto-libm-test-out: Regenerated.
50471 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50473         [BZ #13304]
50474         * sysdeps/sh/s_fma.c: New file.
50475         * sysdeps/sh/s_fmaf.c: New file.
50476         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50477         version.
50478         * sysdeps/sh/Implies: Add sh/soft-fp.
50480 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50482         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50483         level of indirection to members `objname', `errstring', `malloced'.
50484         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50485         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50486         it as the __longjmp argument (just pass 1 instead).
50487         (_dl_catch_error): Initialize C with argument pointers and address of
50488         volatile local ERRCODE rather than copying values out of C at return.
50490 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50492         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50493         * math/auto-libm-test-out: Regenerated.
50494         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50495         (hypot_test_data): Likewise.
50496         (pow_test_data): Likewise.
50497         (pow_tonearest_test_data): Likewise.
50498         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50499         mpfr_ff_f.
50500         (func_calc_desc): Add mpfr_ff_f union field.
50501         (FUNC_mpfr_ff_f): New macro.
50502         (test_functions): Add atan2, hypot and pow.
50503         (special_fill_min): New function.
50504         (special_fill_minus_min): Likewise.
50505         (special_fill_min_subnorm): Likewise.
50506         (special_fill_minus_min_subnorm): Likewise.
50507         (special_real_inputs): Add min, -min, min_subnorm and
50508         -min_subnorm.
50509         (calc_generic_results): Handle mpfr_ff_f.
50510         * sysdeps/i386/fpu/libm-test-ulps: Update.
50511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50513 2013-12-16  Will Newton  <will.newton@linaro.org>
50515         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50516         (Aligned Memory Blocks): Add documentation for aligned_alloc
50517         and suggest it as an alternative to posix_memalign.
50518         (Hooks for Malloc): Document __memalign_hook is also called
50519         for aligned_alloc.  (Summary of Malloc): Add summary for
50520         aligned alloc.  Document __memalign_hook is also called
50521         for aligned_alloc.
50523 2013-12-16  Will Newton  <will.newton@linaro.org>
50525         * manual/memory.texi (Malloc Examples): Clarify default
50526         alignment documentation.  Suggest posix_memalign rather
50527         than memalign or valloc.
50528         (Aligned Memory Blocks): Remove suggestion to use memalign
50529         or valloc.  Remove obsolete comment about BSD.
50530         Document memalign errno values and mark the function obsolete.
50531         Document posix_memalign returned error codes.  Mark valloc
50532         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50533         called for posix_memalign and valloc.
50534         (Summary of Malloc): Add posix_memalign to function summary.
50535         __memalign_hook is also called for posix_memalign and valloc.
50537 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50539         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50540         TAYLOR_SIN.
50541         (__sin): Adjust.
50542         (__cos): Likewise.
50543         (sloww): Use mynumber union.  Expand ternary operator into
50544         if-else statements.
50545         (cslow): use mynumber union.
50547 2013-12-16  Allan McRae  <allan@archlinux.org>
50549         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50550         * configure: Regenerated.
50552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50554         [BZ #14120]
50555         * configure.ac: Added --enable-maintainer-mode. Check for
50556         autoconf when enabled.
50557         * configure: Regenerated.
50559         * nscd/nscd.service: New file.
50560         * nscd/nscd.tmpfiles: New file.
50562 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50564         [BZ #12100]
50565         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50566         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50567         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50568         (strstr): Add __strstr_sse2_unaligned ifunc.
50569         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50570         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50571         (strcasestr): Remove __strcasestr_sse42 ifunc.
50572         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50576 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50578         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50579         * sysdeps/sh/bits/fenv.h: ... here.
50580         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50582 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50584         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50586         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50587         hypotf multiarch implementations.
50588         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50589         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50590         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50591         multiarch hypot for PPC64.
50592         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50593         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50594         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50595         multiarch hypotf for PPC64.
50597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50598         modff multiarch implementations.
50599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50602         multiarch modf for PPC64.
50603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50606         multiarch modff for PPC64.
50608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50609         and logl multiarch implementations.
50610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50613         multiarch logb for PPC64.
50614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50617         multiarch logb for PPC64.
50618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50621         multiarch logb for PPC64.
50623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50624         isinff multiarch implementation.
50625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50626         file.
50627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50629         multiarch isinf for PPC64.
50630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50631         file.
50632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50633         multiarch isinff for PPC64.
50635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50636         finitef multiarch implementation.
50637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50638         file.
50639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50641         multiarch finite for PPC64.
50642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50643         file.
50644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50645         multiarch finitef for PPC64.
50647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50648         lrint multiarch implementation.
50649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50650         file.
50651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50653         multiarch llrint for PPC64.
50654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50655         multiarch lrint for PPC64.
50657         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50658         copysignf multiarch implementation.
50659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50660         file.
50661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50662         file.
50663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50664         multiarch copysign for PPC64.
50665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50666         multiarch copysignf for PPC64.
50668         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50669         multiarch implementation.
50670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50671         file.
50672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50673         file.
50674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50675         file.
50676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50677         file.
50678         multiarch llround for PPC64.
50679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50680         multiarch trunc for PPC64.
50681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50682         multiarch truncf for PPC64.
50684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50685         multiarch implementation.
50686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50687         file.
50688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50689         file.
50690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50691         file.
50692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50693         file.
50694         multiarch llround for PPC64.
50695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50696         multiarch round for PPC64.
50697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50698         multiarch roundf for PPC64.
50700         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50701         multiarch implementation.
50702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50703         file.
50704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50705         file.
50706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50707         file.
50708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50709         file.
50710         multiarch llround for PPC64.
50711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50712         multiarch floor for PPC64.
50713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50714         multiarch floorf for PPC64.
50716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50717         multiarch implementation.
50718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50719         file.
50720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50721         file.
50722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50723         file.
50724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50725         file.
50726         multiarch llround for PPC64.
50727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50728         multiarch ceil for PPC64.
50729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50730         multiarch ceilf for PPC64.
50732         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50733         multiarch implementation.
50734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50735         file.
50736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50737         file.
50738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50739         file.
50740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50741         multiarch llround for PPC64.
50742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50743         multiarch lround for PPC64.
50745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50746         multiarch implementation.
50747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50750         file.
50751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50754         multiarch isnan for PPC64.
50755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50756         multiarch isnanf for PPC64.
50758         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50759         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50760         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50761         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50762         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50765         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50766         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50771         multiarch implementations.
50772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50773         (__libc_ifunc_impl_list): Likewise.
50774         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50775         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50776         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50777         multiarch stpcpy for PPC64.
50779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50780         multiarch implementations.
50781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50782         (__libc_ifunc_impl_list): Likewise.
50783         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50784         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50785         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50786         multiarch strcpy for PPC64.
50788         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50789         redefine function name.
50790         (_wordcopy_fwd_dest_aligned): Likewise.
50791         (_wordcopy_bwd_aligned): Likewise.
50792         (_wordcopy_bwd_dest_aligned): Likewise.
50793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50794         multiarch implementations.
50795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50796         (__libc_ifunc_impl_list): Likewise.
50797         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50798         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50799         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50800         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50801         multiarch wcscpy for PPC64.
50803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50804         multiarch implementations.
50805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50806         (__libc_ifunc_impl_list): Likewise.
50807         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50808         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50809         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50810         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50811         multiarch wcscpy for PPC64.
50813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50814         multiarch implementations.
50815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50816         (__libc_ifunc_impl_list): Likewise.
50817         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50818         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50819         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50820         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50821         multiarch wcsrchr for PPC64.
50823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50824         multiarch implementations.
50825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50826         (__libc_ifunc_impl_list): Likewise.
50827         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50828         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50829         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50830         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50831         multiarch wcschr for PPC64.
50833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50834         multiarch implementations.
50835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50836         (__libc_ifunc_impl_list): Likewise.
50837         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50838         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50839         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50840         multiarch strchrnul for PPC64.
50842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50843         implementations.
50844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50845         (__libc_ifunc_impl_list): Likewise.
50846         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50847         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50848         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50849         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50850         strchr for PPC64.
50852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50853         implementations.
50854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50855         (__libc_ifunc_impl_list): Likewise.
50856         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50857         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50858         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50859         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50860         strncmp for PPC64.
50862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50863         multiarch implementations.
50864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50865         (__libc_ifunc_impl_list): Likewise.
50866         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50867         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50868         strncasecmp for PPC64.
50869         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50870         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50871         multiarch strncasecmp_l for PPC64.
50873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50874         multiarch implementations.
50875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50876         (__libc_ifunc_impl_list): Likewise.
50877         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50878         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50879         multiarch strcasecmp for PPC64.
50880         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50881         file.
50882         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50883         multiarch strcasecmp_l for PPC64.
50885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50886         implementations.
50887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50888         (__libc_ifunc_impl_list): Likewise.
50889         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50890         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50891         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50892         strnlen for PPC64.
50894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50895         implementations.
50896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50897         (__libc_ifunc_impl_list): Likewise.
50898         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50899         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50900         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50901         strlen for PPC64.
50903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50904         implementations.
50905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50906         (__libc_ifunc_impl_list): Likewise.
50907         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50908         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50909         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50910         rawmemrchr for PPC64.
50912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50913         implementation.
50914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50915         (__libc_ifunc_impl_list): Likewise.
50916         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50917         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50918         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50919         memrchr for PPC64.
50921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50922         implementation.
50923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50924         (__libc_ifunc_impl_list): Likewise.
50925         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50926         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50927         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50928         memchr for PPC64.
50930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50931         implementation.
50932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50933         (__libc_ifunc_impl_list): Likewise.
50934         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50935         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50936         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50937         mempcpy for PPC64.
50939         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50940         avoid cretion of __bzero symbol.
50941         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50942         Likewise.
50943         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50944         Likewise.
50945         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50946         Likewise.
50947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50948         multiarch implementations.
50949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50950         (__libc_ifunc_impl_list): Likewise.
50951         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50952         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50953         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50954         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50955         bzero for PPC32.
50956         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50957         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50958         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50959         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50960         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50961         memset for PPC64.
50962         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50964         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50966         implementations.
50967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50968         (__libc_ifunc_impl_list): Likewise.
50969         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50970         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50971         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50972         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50973         memcmp for PPC64.
50975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50976         multiarch for POWER/PPC64.
50977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50978         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50979         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50980         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50981         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50982         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50983         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50984         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50985         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50986         memcpy for PPC64.
50988         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50989         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50990         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50991         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50992         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50993         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50994         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50995         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50996         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50997         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50998         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50999         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
51000         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
51001         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
51002         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
51003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
51004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
51005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
51006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
51007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51011 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51013         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51015 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51017         * benchtests/Makefile (bench): Add exp2 and log2.
51018         (LDLIBS-bench-exp2): Add -lm.
51019         (LDLIBS-bench-log2): Likewise.
51020         * benchtests/exp2-inputs: New inputs file.
51021         * benchtests/log2-inputs: New inputs file.
51022         * benchtests/log-inputs: Add new inputs.
51023         * benchtests/tan-inputs: Likewise.
51025 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51027         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51028         definition...
51029         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51030         (csloww2): ... from here.
51032         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51033         instead of structures.
51034         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51035         (POLYNOMIAL): Likewise.
51036         (TAYLOR_SLOW): Likewise.
51037         (__sin): Likewise.
51038         (__cos): Likewise.
51039         (slow1): Likewise.
51040         (slow2): Likewise.
51041         (sloww): Likewise.
51042         (sloww1); Likewise.
51043         (sloww2): Likewise.
51044         (bsloww1): Likewise.
51045         (bsloww2): Likewise.
51046         (cslow2): Likewise.
51047         (csloww): Likewise.
51048         (csloww1): Likewise.
51049         (csloww2): Likewise.
51051 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51053         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51054         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51055         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51056         * malloc/hooks.c (realloc_check): Likewise.
51058         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51059         * malloc/arena.c: Remove PER_THREAD conditional.
51060         [!PER_THREAD]: Remove code.
51061         (ptmalloc_unlock_all2): Likewise.
51062         (ptmalloc_init): Likewise.
51063         (_int_new_arena): Likewise.
51064         (arena_get2): Likewise.
51065         * malloc/hooks.c (__malloc_get_state): Likewise.
51066         (__malloc_set_state): Likewise.
51067         * malloc/malloc.c: Likewise.
51068         (struct malloc_state): Likewise.
51069         (struct malloc_par): Likewise.
51070         (__libc_realloc): Likewise.
51071         (__libc_mallopt): Likewise.
51073 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51075         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51077 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51079         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51080         macro to a function.  Check for zero perturb_byte.
51081         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51083         * malloc/malloc.c: (force_reg): Remove.
51084         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51085         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51086         force_reg by atomic_forced_read.
51087         * malloc/arena.c (ptmalloc_init): Likewise.
51088         * malloc/hooks.c (top_check): Likewise.
51090 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51094 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51098 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51100         * math/auto-libm-test-in: Add tests of lgamma.
51101         * math/auto-libm-test-out: Regenerated.
51102         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51103         (M_LOG_2_SQRT_PIl): Likewise.
51104         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51105         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51106         mpfr_f_f1.
51107         (func_calc_desc): Add mpfr_f_f1 union field.
51108         (ARGS1): New macro.
51109         (ARGS2): Likewise.
51110         (ARGS3): Likewise.
51111         (ARGS4): Likewise.
51112         (RET1): Likewise.
51113         (RET2): Likewise.
51114         (CALC): Likewise.
51115         (FUNC): Likewise.
51116         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51117         (test_functions): Add lgamma.
51118         (calc_generic_results): Handle mpfr_f_f1.
51119         * sysdeps/i386/fpu/libm-test-ulps: Update.
51120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51122 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51124         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51125         __mpn_add_n for PowerPC64/POWER7.
51126         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51127         __mpn_sub_n for PowerPC64/POWER7.
51129         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51130         __mpn_addmul_1 for PowerPC64.
51131         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51132         __mpn_submul_1 for PowerPC64.
51133         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51134         for PowerPC64.
51135         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51136         for PowerPC64.
51138 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51140         [BZ #15089]
51141         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51143 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51145         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51147         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51148         add multiarch folders.
51149         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51150         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51151         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51152         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51153         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51154         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51155         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51156         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51157         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51158         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51159         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51168         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51170         New file.
51171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51172         New file.
51173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51174         multiarch __ieee754_hypot for PowerPC32.
51175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51176         New file.
51177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51178         New file.
51179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51180         multiarch __ieee754_hypotf for PowerPC32.
51182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51183         long_double_symbol only if __logbl is defined.
51184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51185         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51186         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51187         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51188         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51189         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51190         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51191         path for implementation.
51192         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51193         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51195         logb, and logbl multiarch implementations for PowerPC32.
51196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51197         file.
51198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51199         file.
51200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51201         multiarch logb for PowerPC32.
51202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51203         file.
51204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51205         file.
51206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51207         multiarch logbf for PowerPC32.
51208         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51210         file.
51211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51212         multiarch logbl implementation for PowerPC32.
51214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51215         and modff multiarch implementations.
51216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51217         New file.
51218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51219         New file.
51220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51221         multiarch modf for PowerPC32.
51222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51223         New file.
51224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51225         New file.
51226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51227         multiarch modff for PowerPC32.
51229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51230         and lrintf multiarch implementations.
51231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51232         New file.
51233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51234         New file.
51235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51236         multiarch lrint for PowerPC32.
51237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51238         file: multiarch lrintf for PowerPC32.
51240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51241         and lroundf multiarch implementations.
51242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51243         New file.
51244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51245         New file.
51246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51247         New file.
51248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51249         multiarch lround for PowerPC32.
51250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51251         file: multiarch lroundf for PowerPC32.
51253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51254         copysign and copysignf multiarch implementations.
51255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51256         New file.
51257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51258         New file.
51259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51260         file: multiarch copysign for PowerPC32.
51261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51262         file: multiarch copysignf for PowerPC32.
51264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51265         and truncf multiarch implementations.
51266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51267         New file.
51268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51269         file.
51270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51271         multiarch trunc for PowerPC32.
51272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51273         New file.
51274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51275         New file.
51276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51277         multiarch truncf for PowerPC32.
51279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51280         and roundf multiarch implementations.
51281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51282         New file.
51283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51284         file.
51285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51286         multiarch round for PowerPC32.
51287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51288         New file.
51289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51290         New file.
51291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51292         multiarch roundf for PowerPC32.
51294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51295         and floorf multiarch implementations.
51296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51297         New file.
51298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51299         file.
51300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51301         multiarch floor for PowerPC32.
51302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51303         New file.
51304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51305         New file.
51306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51307         multiarch floorf for PowerPC32.
51309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51310         and ceilf multiarch implementations.
51311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51312         New file.
51313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51314         file.
51315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51316         multiarch ceil for PowerPC32.
51317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51318         New file.
51319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51320         file.
51321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51322         multiarch ceilf for PowerPC32.
51324         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51325         is defined.
51326         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51327         FINITEF is defined.
51328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51329         and finitef multiarch implementations.
51330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51331         New file.
51332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51333         file.
51334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51335         multiarch finite for PowerPC32.
51336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51337         New file.
51338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51339         file: multiarch finitef for PowerPC32.
51341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51342         and isinff multiarch implementations.
51343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51344         file.
51345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
51346         file.
51347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
51348         multiarch isinf for PowerPC32.
51349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
51350         New file.
51351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
51352         multiarch isinff for PowerPC32.
51354         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
51355         alias when __isnan is defined.
51356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
51357         and isnanf multiarch implementations.
51358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
51359         file.
51360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
51361         file.
51362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
51363         file.
51364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
51365         file.
51366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
51367         multiarch isnan for PowerPC32.
51368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
51369         New file.
51370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
51371         New file.
51372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
51373         multiarch isnanf for PowerPC32.
51375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
51376         and sqrtf multiarch implementations.
51377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
51378         file.
51379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
51380         file.
51381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
51382         multiarch sqrt for PowerPC32.
51383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
51384         file.
51385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
51386         file.
51387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
51388         multiarch sqrtf for PowerPC32.
51390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
51391         and llroundf multiarch implementations.
51392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
51393         New file.
51394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
51395         New file.
51396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
51397         New file.
51398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
51399         file: multiarch llround for PowerPC32.
51400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
51401         file: multiarch llroundf for PowerPC32.
51403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
51404         multiarch PowerPC32 fpu implementations.
51405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
51406         New file.
51407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
51408         New file.
51409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
51410         multiarch llrint for PowerPC32.
51411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
51412         New file.
51413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
51414         New file.
51415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
51416         file.
51418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
51420         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
51421         file.
51422         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51423         file.
51424         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51425         file.
51426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51427         multiarch wordcopy for PPC32.
51428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51429         wordcopy objects.
51430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51431         (__libc_ifunc_impl_list): Likewise.
51432         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51433         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51434         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51435         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51436         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51437         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51439         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51441         file.
51442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51443         file.
51444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51445         file.
51446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51447         multiarch wcscpy for PPC32.
51448         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51449         multiarch objects.
51450         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51451         (__libc_ifunc_impl_list): Likewise.
51452         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51453         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51454         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51455         sysdeps/powerpc/power6/wcscpy.c.
51457         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51459         file.
51460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51461         file.
51462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51463         file.
51464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51465         multiarch wcsrchr for PPC32.
51466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51467         multiarch objects.
51468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51469         (__libc_ifunc_impl_list): Likewise.
51470         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51471         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51472         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51473         sysdeps/powerpc/power6/wcsrchr.c.
51475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51476         file.
51477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51478         file.
51479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51480         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51481         multiarch wcschr for PPc32.
51482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51483         multiarch objects.
51484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51485         (__libc_ifunc_impl_list): Likewise.
51486         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51487         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51488         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51489         sysdeps/powerpc/power6/wcschr.c.
51491         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51492         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51493         file.
51494         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51495         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51496         file: multiarch strchr for PPC32.
51497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51498         multiarch objects.
51499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51500         (__libc_ifunc_impl_list): Likewise.
51502         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51503         name.
51504         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51505         file.
51506         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51507         file.
51508         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51509         multiarch strchrnul for PPC32.
51510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51511         multiarch objects.
51512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51513         (__libc_ifunc_impl_list): Likewise.
51515         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51516         file.
51517         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51518         multiarch strncasecmp for PPC32.
51519         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51520         file.
51521         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51522         multiarch strncasecmp_l for PPC32.
51523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51524         strncasecmp multiarch objects.
51525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51526         (__libc_ifunc_impl_list): Likewise.
51528         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51529         file.
51530         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51531         multiarch strncasecmp for PPC32.
51532         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51533         New file.
51534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51535         multiarch strcasecmp_l for PPC32.
51536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51537         multiarch objects.
51538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51539         (__libc_ifunc_impl_list): Likewise.
51541         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51542         file.
51543         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51544         file.
51545         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51546         multiarch strncmp for PPC32.
51547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51548         multiarch objects.
51549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51550         (__libc_ifunc_impl_list): Likewise.
51552         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51553         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51554         file.
51555         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51556         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51558         multiarch objects.
51559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51560         (__libc_ifunc_impl_list): Likewise.
51562         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51563         file.
51564         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51565         file.
51566         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51568         multiarch objects.
51569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51570         (__libc_ifunc_impl_list): Likewise.
51572         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51573         file.
51574         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51575         file.
51576         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51577         multiarch rawmemchr for PPC32.
51578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51579         multiarch objects.
51580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51581         (__libc_ifunc_impl_list): Likewise.
51583         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51584         file.
51585         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51586         file.
51587         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51588         file: memrchr multiarch for PPC32.
51589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51590         multiarch objects.
51591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51592         (__libc_ifunc_impl_list): Likewise.
51594         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51595         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51596         file.
51597         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51598         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51599         multiarch memchr for PPC32.
51600         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51601         multiarch objects.
51602         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51603         (__libc_ifunc_impl_list): Likewise.
51605         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51606         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51607         file.
51608         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51609         file.
51610         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51611         file: multiarch mempcpy for PPC32.
51612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51613         multiarch objects.
51614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51615         (__libc_ifunc_impl_list): Likewise.
51617         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51618         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51620         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51621         multiarch bzero for PPC32.
51622         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51623         file.
51624         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51625         file.
51626         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51627         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51628         file: multiarch memset for PPC32.
51629         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51631         memset multiarch objects.
51632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51633         (__libc_ifunc_impl_list): Likewise.
51635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51636         file.
51637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51638         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51639         memcmp for PPC32.
51640         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51642         multiarch objects.
51643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51644         (__libc_ifunc_impl_list): Likewise.
51646         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51647         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51648         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51649         file.
51650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51651         file.
51652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51653         file.
51654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51655         multiarch memcpy for PPC32.
51656         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51657         multiarch objects.
51658         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51659         (__libc_ifunc_impl_list): Likewise.
51661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51662         support multiarch for POWER/PPC32.
51663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51664         Likewise.
51665         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51667         Implies file to make multiarch folder appers before the fpu and
51668         default folder for power4 configuration.
51670 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51672         * scripts/bench.pl: Append volatile keyword to type.
51674 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51676         * sysdeps/sh/sotruss-lib.c: New file.
51677         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51679 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51683 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51685         [BZ #6810]
51686         * math/w_tgamma.c: Include <errno.h>.
51687         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51688         * math/w_tgammaf.c: Include <errno.h>.
51689         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51690         * math/w_tgammal.c: Include <errno.h>.
51691         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51692         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51693         underflow.  Add more tgamma tests.
51694         * math/auto-libm-test-out: Regenerated.
51695         * sysdeps/i386/fpu/libm-test-ulps: Update.
51696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51698         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51699         sin, sinh, tan, tanh, tgamma, y0 and y1.
51700         * math/auto-libm-test-out: Regenerated.
51701         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51702         (TEST_COND_x86): Likewise.
51703         (M_E2l): Remove macro.
51704         (M_E3l): Likewise.
51705         (M_2_SQRT_PIl): Likewise.
51706         (M_SQRT_PIl): Likewise.
51707         (M_1_DIV_El): Likewise.
51708         (log_test_data): Use AUTO_TESTS_f_f.
51709         (log10_test_data): Likewise.
51710         (log1p_test_data): Likewise.
51711         (log2_test_data): Likewise.
51712         (sin_test_data): Likewise.
51713         (sin_tonearest_test_data): Likewise.
51714         (sin_towardzero_test_data): Likewise.
51715         (sin_downward_test_data): Likewise.
51716         (sin_upward_test_data): Likewise.
51717         (sinh_test_data): Likewise.
51718         (sinh_tonearest_test_data): Likewise.
51719         (sinh_towardzero_test_data): Likewise.
51720         (sinh_downward_test_data): Likewise.
51721         (sinh_upward_test_data): Likewise.
51722         (tan_test_data): Likewise.
51723         (tan_tonearest_test_data): Likewise.
51724         (tan_towardzero_test_data): Likewise.
51725         (tan_downward_test_data): Likewise.
51726         (tan_upward_test_data): Likewise.
51727         (tanh_test_data): Likewise.
51728         (tgamma_test_data): Likewise.
51729         (y0_test_data): Likewise.
51730         (y1_test_data): Likewise.
51731         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51732         (special_real_inputs): Add pi/4.
51733         * sysdeps/i386/fpu/libm-test-ulps: Update.
51734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51736 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51738         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51739         "longjmp_target" static probes.
51740         (__longjmp): Rename to __longjmp_symbol.
51741         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51742         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51743         on which longjmp to generate.
51744         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51745         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51746         probe.
51747         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51748         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51749         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51750         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51751         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51752         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51754         __longjmp_symbol based on which __longjmp to generate.
51755         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51756         probe.
51757         (setjmp): Rename to setjmp_symbol.
51758         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51759         (_setjmp): Rename to _setjmp_symbol.
51760         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51761         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51762         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51763         which setjmp to generate.
51764         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51765         "longjmp_target" static probes.
51767 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51769         * benchtests/README: Add note about output arguments.
51770         * benchtests/bench-sincos.c: Remove file.
51771         * benchtests/sincos-inputs: New file.
51772         * scripts/bench.pl: Identify output arguments and define
51773         static variables for them.
51775         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51777         [BZ #15941]
51778         * Makefile (INSTALL): Add install-plain.texi as the primary
51779         dependency.
51780         * manual/install-plain.texi: New file.
51781         * manual/install.texi: Include node directive only for
51782         non-plaintext output.
51784 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51786         * stdlib/longlong.h: Update from GCC.
51788         [BZ #6807]
51789         [BZ #15901]
51790         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51791         * math/w_j0f.c (y0f): Likewise.
51792         * math/w_j0l.c (__y0l): Likewise.
51793         * math/w_j1.c (y1): Likewise.
51794         * math/w_j1f.c (y1f): Likewise.
51795         * math/w_j1l.c (__y1l): Likewise.
51796         * math/w_jn.c (yn): Likewise.
51797         * math/w_jnf.c (ynf): Likewise.
51798         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51799         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51800         value for Bessel function domain errors outside _SVID_ mode.
51801         Adjust sign of return value for yn (negative integer, 0).
51802         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51803         by zero in return for negative x and set sign appropriately for
51804         negative n.
51805         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51806         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51807         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51808         expectations in error cases.
51809         (y1_test_data): Likewise.
51810         (yn_test_data): Likewise.
51811         * sysdeps/i386/fpu/libm-test-ulps: Update.
51812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51814 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51816         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51817         "64" to "64-v1".  Add "64-v2".
51818         (abi-64-options): Rename to ...
51819         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51820         (abi-64-condition): Rename to ...
51821         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51822         (abi-64-ld-soname): Rename to ...
51823         (abi-64-v1-ld-soname): ... this.
51824         (abi-64-v2-options): Define.
51825         (abi-64-v2-condition): Likewise.
51826         (abi-64-v2-ld-soname): Likewise.
51827         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51828         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51833 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51834             Alan Modra  <amodra@gmail.com>
51836         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51837         New versions for use with the ELFv2 ABI.
51838         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51839         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51840         declaration.
51841         (struct La_ppc64v2_retval): Likewise.
51842         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51843         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51844         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51845         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51846         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51847         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51848         Do not save or restore CR.
51849         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51850         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51851         return values for ELFv2 ABI.  Fix location of FPR return registers.
51852         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51853         updated values for _CALL_ELF == 2.
51854         (La_regs, La_retval, int_retval): Likewise.
51856 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51858         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51859         (FRAME_MIN_SIZE_PARM): Likewise.
51860         (FRAME_BACKCHAIN): Likewise.
51861         (FRAME_CR_SAVE): Likewise.
51862         (FRAME_LR_SAVE): Likewise.
51863         (FRAME_TOC_SAVE): Likewise.
51864         (FRAME_PARM_SAVE): Likewise.
51865         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51866         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51867         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51868         (call_mcount_parm_offset): New macro.
51869         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51870         (PROF): Use symbolic stack frame offsets.
51871         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51872         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51873         Redefine in terms of FRAME_MIN_SIZE.
51874         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51875         (_dl_profile_resolve): Likewise.  Update comment.
51876         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51877         symbols stack frame offsets.
51878         (__sigsetjmp): Likewise.
51879         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51880         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51881         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51882         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51885         (FRAME_BACKCHAIN): Remove.
51886         (FRAME_CR_SAVE): Likewise.
51887         (FRAME_LR_SAVE): Likewise.
51888         (FRAME_COMPILER_DW): Likewise.
51889         (FRAME_LINKER_DW): Likewise.
51890         (FRAME_TOC_SAVE): Likewise.
51891         (FRAME_PARM_SAVE): Likewise.
51892         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51893         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51894         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51896         (CHECK_SP): Use symbolic stack frame offsets.
51897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51898         zone" instead of caller's parameter save area for temp storage.
51899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51900         Likewise.  Also, use symbolic stack frame offsets.
51901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51902         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51903         our own stack frame instead of the caller's.
51904         (__socket): Use symbolic stack frame offsets.
51906 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51907             Alan Modra  <amodra@gmail.com>
51909         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51910         Define.
51911         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51912         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51913         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51914         New function.
51915         (elf_machine_fixup_plt): Call it.
51916         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51917         reloc arguments.
51918         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51919         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51920         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51921         r2 before calling target.
51923 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51924             Alan Modra  <amodra@gmail.com>
51926         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51927         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51928         versions of macros to support ELFv2 ABI.
51929         (LOCALENTRY): New macro.
51930         (ENTRY, EALIGN): Use it.
51931         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51932         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51933         fall through into ENTRY entry point.
51934         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51935         Only define if _CALL_ELF != 2.
51937         (elf_machine_matches_host): Verify ABI version matches.
51938         (RTLD_START): Use LOCALENTRY.
51939         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51940         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51941         (PLT_ENTRY_WORDS): New macro.
51942         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51943         (elf_machine_runtime_setup): Support ELFv2 ABI.
51944         (elf_machine_fixup_plt): Likewise.
51945         (elf_machine_plt_conflict): Likewise.
51946         (resolve_ifunc): Likewise.
51947         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51948         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51949         Likewise.
51950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51951         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51953         (makecontext): Support ELFv2 ABI.
51954         * elf/elf.h (EF_PPC64_ABI): Define.
51956 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51958         * sysdeps/powerpc/powerpc64/sysdep.h
51959         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51960         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51961         (ENTRY) [ASSEMBLER]: ... but instead here ...
51962         (EALIGN) [ASSEMBLER]: ... and here.
51963         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51964         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51965         (ENTRY_2) [!ASSEMBLER]: Use it.
51966         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51967         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51968         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51969         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51970         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51972         Use PPC64_LOAD_FUNCPTR.
51974         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51976 2013-12-04  Alan Modra  <amodra@gmail.com>
51978         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51979         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51980         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51981         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51983         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51984         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51985         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51986         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51987         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51988         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51990 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51993         (__makecontext): Fix incorrect CFI when backtracing out of
51994         context created via makecontext.
51995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51996         (__setcontext): Fix incorrect CFI during switch to new context.
51997         (__novec_setcontext): Likewise.
51999 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52001         [BZ #4772]
52002         * time/strptime_l.c (__strptime_internal): Allow modifiers
52003         in strptime.
52004         * time/tst-strptime.c (day_tests): Add testcase.
52006 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52008         * scripts/bench.pl: Skip over blank lines.
52010 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52012         [BZ #926]
52013         * manual/time.texi (Calendar Time): Clarify what timezone functions
52014         use.
52016 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52020 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52022         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52023         implementation.
52024         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52025         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52026         * debug/memset_chk.c (__memset_chk): Likewise.
52027         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52028         * debug/strncpy_chk.c: Likewise.
52030 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52032         [BZ #15268]
52033         [BZ #15425]
52034         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52035         (__ieee754_exp): For possibly underflowing results, check size of
52036         result and force underflow exception if required.
52037         * math/auto-libm-test-in: Add more tests of exp.
52038         * math/auto-libm-test-out: Regenerated.
52039         * sysdeps/i386/fpu/libm-test-ulps: Update.
52040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52042         [BZ #16283]
52043         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52044         * math/w_exp2f.c (__exp2f): Likewise.
52045         * math/w_exp2l.c (__exp2l): Likewise.
52046         * math/auto-libm-test-in: Do not allow missing errno on exp2
52047         underflow.
52048         * math/auto-libm-test-out: Regenerated.
52050 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52052         [BZ #16274]
52053         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52054         handle filename validation.
52055         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52056         (do_open): Delete.
52058 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52060         [BZ #6786]
52061         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52062         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52063         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52064         <float.h>.
52065         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52066         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52067         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52068         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52069         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52070         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52071         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52072         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52073         Add more erfc tests.
52074         * math/auto-libm-test-out: Regenerated.
52075         * sysdeps/i386/fpu/libm-test-ulps: Update.
52076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52078         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52079         exp2, expm1, j0 and j1.
52080         * math/auto-libm-test-out: Regenerated.
52081         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52082         (erfc_test_data): Likewise.
52083         (exp_test_data): Likewise.
52084         (exp_tonearest_test_data): Likewise.
52085         (exp_towardzero_test_data): Likewise.
52086         (exp_downward_test_data): Likewise.
52087         (exp_upward_test_data): Likewise.
52088         (exp10_test_data): Likewise.
52089         (exp2_test_data): Likewise.
52090         (expm1_test_data): Likewise.
52091         (j0_test_data): Likewise.
52092         (j1_test_data): Likewise.
52093         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52094         (input_flag_type): Add flag_xfail_rounding.
52095         (input_flags): Add xfail-rounding.
52096         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52097         (output_for_one_input_case): Handle flag_xfail_rounding.
52098         * sysdeps/i386/fpu/libm-test-ulps: Update.
52099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52101 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52103         [BZ #16289]
52104         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52105         division by 0.
52107 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52109         [BZ #16195]
52110         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52111         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52112         (STAP_PROBE0): New macro.
52113         (STAP_PROBE1): Likewise.
52114         (STAP_PROBE2): Likewise.
52115         (STAP_PROBE3): Likewise.
52116         (STAP_PROBE4): Likewise.
52118 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52120         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52122 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52124         * benchtests/Makefile (bench): Add sqrt.
52125         (LDLIBS-bench-sqrt): New.
52126         * benchtests/sqrt-input: New.
52128 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52130         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52131         (GAIH_EAI): Likewise.
52132         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52133         (gaih_inet): Likewise.
52134         (getaddrinfo): Don't use GAIH_EAI.
52136         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52137         (struct gaih): Remove definition.
52139 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52141         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52142         Use HERRNOP directly.
52144 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52148 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52150         * math/gen-auto-libm-tests.c (test_functions): Add more
52151         single-argument functions.
52152         (special_fill_pi_2): New function.
52153         (special_fill_minus_pi_2): Likewise.
52154         (special_fill_pi_6): Likewise.
52155         (special_fill_minus_pi_6): Likewise.
52156         (special_fill_pi_3): Likewise.
52157         (special_fill_2pi_3): Likewise.
52158         (special_fill_e): Likewise.
52159         (special_fill_1_e): Likewise.
52160         (special_fill_e_minus_1): Likewise.
52161         (special_real_inputs): Add more special inputs.
52162         (output_for_one_input_case): Do not require ERANGE on underflow to
52163         zero if round-to-nearest result does not underflow to zero, unless
52164         exact results required.
52165         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52166         atan, atanh, cbrt, cos and cosh.
52167         * math/auto-libm-test-out: Regenerated.
52168         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52169         (acos_tonearest_test_data): Likewise.
52170         (acos_towardzero_test_data): Likewise.
52171         (acos_downward_test_data): Likewise.
52172         (acos_upward_test_data): Likewise.
52173         (acosh_test_data): Likewise.
52174         (asin_test_data): Likewise.
52175         (asin_tonearest_test_data): Likewise.
52176         (asin_towardzero_test_data): Likewise.
52177         (asin_upward_test_data): Likewise.
52178         (asinh_test_data): Likewise.
52179         (atan_test_data): Likewise.
52180         (atanh_test_data): Likewise.
52181         (cbrt_test_data): Likewise.
52182         (cos_test_data): Likewise.
52183         (cos_tonearest_test_data): Likewise.
52184         (cos_towardzero_test_data): Likewise.
52185         (cos_downward_test_data): Likewise.
52186         (cos_upward_test_data): Likewise.
52187         (cosh_test_data): Likewise.
52188         (cosh_tonearest_test_data): Likewise.
52189         (cosh_towardzero_test_data): Likewise.
52190         (cosh_downward_test_data): Likewise.
52191         (cosh_upward_test_data): Likewise.
52192         * sysdeps/i386/fpu/libm-test-ulps: Update.
52193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52195 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52197         [BZ #6787]
52198         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52199         * math/w_exp10f.c (__exp10f): Likewise.
52200         * math/w_exp10l.c (__exp10l): Likewise.
52201         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52202         errno settings in existing tests.
52204         [BZ #14032]
52205         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52206         precision control set to double precision.
52207         * sysdeps/i386/fpu/w_sqrt.c: New file.
52208         * math/auto-libm-test-in: Add more tests.
52209         * math/auto-libm-test-out: Update.
52211         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52212         (sqrt_test_tonearest): New function.
52213         (sqrt_towardzero_test_data): New variable.
52214         (sqrt_test_towardzero): New function.
52215         (sqrt_downward_test_data): New variable.
52216         (sqrt_test_downward): New function.
52217         (sqrt_upward_test_data): New variable.
52218         (sqrt_test_upward): New function.
52219         (main): Call the new functions.
52221         * math/gen-auto-libm-tests.c: New file.
52222         * math/auto-libm-test-in: Likewise.
52223         * math/auto-libm-test-out: New generated file.
52224         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52225         variables.
52226         (%beautify): Add generated representations of zero.
52227         (top level): Set $auto_input and call parse_auto_input.
52228         (beautify): Remove trailing "f" from hex float constants.
52229         (parse_args): Handle XFAIL_TEST.
52230         (convert_condition): New function.
52231         (or_value): Likewise.
52232         (or_cond_value): Likewise.
52233         (generate_testfile): Handle AUTO_TESTS_* lines.
52234         (parse_auto_input): New function.
52235         * math/libm-test.inc (XFAIL_TEST): New macro.
52236         (ERRNO_UNCHANGED): Update value.
52237         (ERRNO_EDOM): Likewise.
52238         (ERRNO_ERANGE): Likewise.
52239         (IGNORE_RESULT): Likewise.
52240         (TEST_COND_flt_32): New macro.
52241         (TEST_COND_dbl_64): Likewise.
52242         (TEST_COND_ldbl_96_intel): Likewise.
52243         (TEST_COND_ldbl_96_m68k): Likewise.
52244         (TEST_COND_ldbl_128): Likewise.
52245         (TEST_COND_ldbl_128ibm): Likewise.
52246         (TEST_COND_long32): Likewise.
52247         (TEST_COND_long64): Likewise.
52248         (TEST_COND_before_rounding): Likewise.
52249         (TEST_COND_after_rounding): Likewise.
52250         (enable_test): Handle XFAIL_TEST flag.
52251         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52252         with finite results.
52253         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52254         auto-libm-test-out.
52256 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52257             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52259         [BZ #16214]
52260         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52261         __tls_get_addr_internal instead of __tls_get_offset in order to
52262         avoid GOT pointer dependency.  Make rtld export
52263         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52264         __tls_get_addr since we are a __tls_get_offset platform.
52265         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52266         GOT pointer being set up before.
52267         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52269 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52271         * manual/math.texi (Errors in Math Functions): Document accuracy
52272         goals.
52274         [BZ #15004]
52275         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52276         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52277         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52278         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52279         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52280         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52281         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52282         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52283         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52284         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52285         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52286         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52287         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52288         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52289         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52290         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52292         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52293         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52294         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52295         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52296         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52297         Likewise.
52298         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52299         Likewise.
52300         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52301         Likewise.
52302         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52303         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52304         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52305         atomic-feupdateenv and flt-rounds.
52306         * sysdeps/powerpc/nofpu/Versions (libc): Add
52307         __atomic_feholdexcept, __atomic_feclearexcept,
52308         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52309         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52310         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52311         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52312         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52313         here.
52314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52315         Update.
52317         * manual/arith.texi (FP Exceptions): Document that exceptions may
52318         not be raised when matherr is used.
52319         (Math Error Reporting): Document overflow in directed rounding
52320         modes.  Document that errno may not be set when finite values are
52321         returned on overflow.  Document intent to set errno on underflow
52322         only for underflow to zero.
52324         [BZ #16271]
52325         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52326         round-to-nearest then adjust result for other rounding modes.
52327         * include/fenv.h (fegetround): Use libm_hidden_proto.
52328         * math/fegetround.c (fegetround): Use libm_hidden_def.
52329         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52330         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52331         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52332         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52333         Likewise.
52334         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52335         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52336         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52337         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52339 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52341         [BZ #16077]
52342         * nss/Versions (libnss_files): Add
52343         _nss_files_gethostbyname3_r.
52344         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
52345         New function.
52346         (HOST_DB_LOOKUP): Remove macro.
52347         (_nss_files_gethostbyname_r): Implement function without the
52348         HOST_DB_LOOKUP macro.
52349         (_nss_files_gethostbyname2_r): Likewise.
52351 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
52353         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
52355 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
52357         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
52358         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
52359         warning.
52361 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52363         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52364         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
52365         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52366         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52367         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
52368         __fe_nomask_env_priv and attribute_hidden.
52369         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
52370         (libc_feupdateenv_test_ppc): Likewise.
52371         (libc_feresetround_ppc): Likewise.
52372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52373         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
52374         compat_symbol macro.
52375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52376         (__fe_nomask_env): Likewise.
52377         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
52379 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52381         * string/Makefile: Remove ifunc tests.
52382         * string/test-string.h: Define TEST_IFUNC.
52383         * string/test-bcopy-ifunc.c: Remove.
52384         * string/test-bzero-ifunc.c: Likewise.
52385         * string/test-memccpy-ifunc.c: Likewise.
52386         * string/test-memchr-ifunc.c: Likewise.
52387         * string/test-memcmp-ifunc.c: Likewise.
52388         * string/test-memcpy-ifunc.c: Likewise.
52389         * string/test-memmem-ifunc.c: Likewise.
52390         * string/test-memmove-ifunc.c: Likewise.
52391         * string/test-mempcpy-ifunc.c: Likewise.
52392         * string/test-memrchr-ifunc.c: Likewise.
52393         * string/test-memset-ifunc.c: Likewise.
52394         * string/test-rawmemchr-ifunc.c: Likewise.
52395         * string/test-stpcpy-ifunc.c: Likewise.
52396         * string/test-stpncpy-ifunc.c: Likewise.
52397         * string/test-strcasecmp-ifunc.c: Likewise.
52398         * string/test-strcasestr-ifunc.c: Likewise.
52399         * string/test-strcat-ifunc.c: Likewise.
52400         * string/test-strchr-ifunc.c: Likewise.
52401         * string/test-strchrnul-ifunc.c: Likewise.
52402         * string/test-strcmp-ifunc.c: Likewise.
52403         * string/test-strcpy-ifunc.c: Likewise.
52404         * string/test-strcspn-ifunc.c: Likewise.
52405         * string/test-strlen-ifunc.c: Likewise.
52406         * string/test-strncasecmp-ifunc.c: Likewise.
52407         * string/test-strncat-ifunc.c: Likewise.
52408         * string/test-strncmp-ifunc.c: Likewise.
52409         * string/test-strncpy-ifunc.c: Likewise.
52410         * string/test-strnlen-ifunc.c: Likewise.
52411         * string/test-strpbrk-ifunc.c: Likewise.
52412         * string/test-strrchr-ifunc.c: Likewise.
52413         * string/test-strspn-ifunc.c: Likewise.
52414         * string/test-strstr-ifunc.c: Likewise.
52416 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52418         * benchtests/Makefile: Remove ifunc tests.
52419         * benchtests/bench-string.h: Define TEST_IFUNC.
52420         * benchtests/bench-bcopy-ifunc.c: Remove.
52421         * benchtests/bench-bzero-ifunc.c: Likewise.
52422         * benchtests/bench-memccpy-ifunc.c: Likewise.
52423         * benchtests/bench-memchr-ifunc.c: Likewise.
52424         * benchtests/bench-memcmp-ifunc.c: Likewise.
52425         * benchtests/bench-memcpy-ifunc.c: Likewise.
52426         * benchtests/bench-memmem-ifunc.c: Likewise.
52427         * benchtests/bench-memmove-ifunc.c: Likewise.
52428         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52429         * benchtests/bench-memrchr-ifunc.c: Likewise.
52430         * benchtests/bench-memset-ifunc.c: Likewise.
52431         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52432         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52433         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52434         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52435         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52436         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52437         * benchtests/bench-strcat-ifunc.c: Likewise.
52438         * benchtests/bench-strchr-ifunc.c: Likewise.
52439         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52440         * benchtests/bench-strcmp-ifunc.c: Likewise.
52441         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52442         * benchtests/bench-strcpy-ifunc.c: Likewise.
52443         * benchtests/bench-strcspn-ifunc.c: Likewise.
52444         * benchtests/bench-strlen-ifunc.c: Likewise.
52445         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52446         * benchtests/bench-strncat-ifunc.c: Likewise.
52447         * benchtests/bench-strncmp-ifunc.c: Likewise.
52448         * benchtests/bench-strncpy-ifunc.c: Likewise.
52449         * benchtests/bench-strnlen-ifunc.c: Likewise.
52450         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52451         * benchtests/bench-strrchr-ifunc.c: Likewise.
52452         * benchtests/bench-strsep-ifunc.c: Likewise.
52453         * benchtests/bench-strspn-ifunc.c: Likewise.
52454         * benchtests/bench-strstr-ifunc.c: Likewise.
52456 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52458         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52460 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52462         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52463         * rt/aio.h: Likewise.
52464         * sysdeps/gnu/bits/utmp.h: Likewise.
52465         * sysdeps/gnu/bits/utmpx.h: Likewise.
52466         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52467         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52468         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52469         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52470         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52471         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52472         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52473         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52474         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52475         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52476         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52477         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52478         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52480         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52481         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52482         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52483         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52484         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52485         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52486         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52487         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52488         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52489         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52490         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52491         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52492         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52493         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52494         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52495         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52496         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52497         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52498         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52499         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52500         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52501         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52502         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52503         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52504         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52505         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52506         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52507         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52509 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52511         [BZ #16245]
52512         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52513         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52515 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52517         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52518         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52519         Likewise.
52521 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52523         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52524         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52525         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52526         (__fesetround): Remove define.
52527         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52528         rounding and exceptions handling.
52529         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52530         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52531         (__fe_nomask_env): Likewise.
52532         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52533         __fegetround instead of fegetround.
52534         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52535         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52537 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52539         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52540         it's there.
52542         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52544 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52546         [BZ #11157]
52547         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52548         (encrypt_r): Likewise.
52549         * malloc/obstack.h (obstack_free): Likewise.
52550         * posix/unistd.h (encrypt): Likewise.
52552 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52554         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52555         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52556         DL_CALL_DT_FINI() that call the functions directly.
52557         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52558         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52559         * elf/dl-fini.c: Likewise.
52561 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52563         * malloc/hooks.c (memalign_check): Add alignment rounding.
52564         * malloc/malloc.c (_mid_memalign): New function.
52565         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52566         Implement by calling _mid_memalign.
52567         * manual/probes.texi (Memory Allocation Probes): Remove
52568         memory_valloc_retry and memory_pvalloc_retry.
52570 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52572         * locale/programs/locarchive.c (open_archive): Add const
52573         qualifier to ARCHIVEFNAME and copy default fname to
52574         DEFAULT_FNAME.
52576         [BZ #15601]
52577         * libio/tst-widetext.input: Rename Oriya to Odia.
52578         * locale/iso-639.def: Likewise.
52580         * manual/probes.texi (Mathematical Function Probes): Add
52581         documentation for sin, cos, asin and acos probes.
52582         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52583         (__sin32): Add slowasin probe.
52584         (__cos32): Add slowacos probe.
52585         (__mpsin): Add slowsin probe.
52586         (__mpcos): Add slowcos probe.
52588 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52590         [BZ #15483]
52591         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52592         thread-local __sim_exceptions_thread and global
52593         __sim_exceptions_global.
52594         (__sim_disabled_exceptions): Change to thread-local
52595         __sim_disabled_exceptions_thread and global
52596         __sim_disabled_exceptions_global.
52597         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52598         and global __sim_round_mode_global.
52599         (__simulate_exceptions): Use thread-local floating-point state and
52600         set global state from it as needed.
52601         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52602         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52603         __sim_round_mode_thread.
52604         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52605         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52606         and global __sim_exceptions_global.
52607         (__sim_disabled_exceptions): Change to thread-local
52608         __sim_disabled_exceptions_thread and global
52609         __sim_disabled_exceptions_global.
52610         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52611         and global __sim_round_mode_global.
52612         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52613         (SIM_SET_GLOBAL): Likewise.
52614         * sysdeps/powerpc/soft-fp/sfp-machine.h
52615         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52616         __sim_round_mode_thread.
52617         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52618         __sim_disabled_exceptions_thread.
52619         (__sim_exceptions): Change to __sim_exceptions_thread.
52620         (__sim_disabled_exceptions): Change to
52621         __sim_disabled_exceptions_thread.
52622         (__sim_round_mode): Change to __sim_round_mode_thread.
52623         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52624         thread-local floating-point state and set global state from it as
52625         needed.
52626         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52627         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52628         (__sim_disabled_exceptions): Remove extern declaration.
52629         (feenableexcept): Use thread-local floating-point state and set
52630         global state from it as needed.
52631         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52632         extern declaration.
52633         (__sim_disabled_exceptions): Likewise.
52634         (__sim_round_mode): Likewise.
52635         (__fegetenv): Use thread-local floating-point state.
52636         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52637         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52638         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52639         floating-point state and set global state from it as needed.
52640         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52641         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52642         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52643         Likewise.
52644         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52645         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52646         Likewise.
52647         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52648         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52649         Use __sim_round_mode_thread.
52650         * math/test-fenv-tls.c: New file.
52651         * math/Makefile (tests): Add test-fenv-tls.
52652         ($(objpfx)test-fenv-tls): Depend on
52653         $(common-objpfx)nptl/libpthread.so.
52655 2013-11-19  Andreas Schwab  <schwab@suse.de>
52657         * locale/programs/locale.c (show_info): Decode wordarray elements.
52658         * locale/categories.def (LC_MONETARY): Add element for
52659         _NL_MONETARY_CRNCYSTR.
52660         * locale/C-monetary.c (conversion_rate): New variable.
52661         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52662         element.
52664 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52666         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52667         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52669 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52671         * elf/Makefile (tst-auxv): New test.
52672         * elf/tst-auxv.c: New
52673         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52675 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52677         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52678         (hidden_proto): Caller changed.
52679         (hidden_tls_proto): New macro.
52680         (libc_hidden_tls_proto): Likewise.
52681         (rtld_hidden_tls_proto): Likewise.
52682         (libm_hidden_tls_proto): Likewise.
52683         (libresolv_hidden_tls_proto): Likewise.
52684         (librt_hidden_tls_proto): Likewise.
52685         (libdl_hidden_tls_proto): Likewise.
52686         (libnss_files_hidden_tls_proto): Likewise.
52687         (libnsl_hidden_tls_proto): Likewise.
52688         (libnss_nisplus_hidden_tls_proto): Likewise.
52689         (libutil_hidden_tls_proto): Likewise.
52691 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52693         [BZ #10253]
52694         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52695         (decompose_rpath): Defer expansion to fillin_rpath.
52696         (_dl_init_paths): Pass linkmap to fillin_rpath.
52698 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52700         * benchtests/Makefile: Add strsep.
52701         * benchtests/bench-strsep.c: New file: strsep benchtest.
52702         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52704 2013-11-18  Andreas Schwab  <schwab@suse.de>
52706         * locale/programs/locale.c (show_info) [case byte]: Check for
52707         '\377' instead of '\177'.
52708         * locale/C-monetary.c (not_available): Always use "\377".
52709         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52710         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52711         detect unavailable sign_posn locale elements.
52712         * locale/localeconv.c (__localeconv): For grouping and
52713         mon_grouping handle "\177" and "\377" like no grouping.
52714         (INT_ELEM): New macro.  Use it to set all numeric members.
52715         * locale/programs/ld-monetary.c (monetary_read)
52716         <tok_mon_grouping>: Normalize single -1 to the empty string.
52717         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52718         Likewise.
52720 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52722         [BZ #16055]
52723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52724         when we match (nil).
52725         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52727 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52729         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52730         (NO_TEST_INLINE): Update value.
52731         (ERRNO_UNCHANGED): Likewise.
52732         (ERRNO_EDOM): Likewise.
52733         (ERRNO_ERANGE): Likewise.
52734         (IGNORE_RESULT): Likewise.
52735         (check_float_internal): Check signs of NaN results if
52736         TEST_NAN_SIGN used.
52737         (check_complex): Pass TEST_NAN_SIGN flag through to second
52738         check_float_internal call.
52739         (copysign_test_data): Add tests with quiet NaNs as second
52740         argument.  Use TEST_NAN_SIGN.
52741         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52742         TEST_NAN_SIGN.
52743         (signbit_test_data): Add tests of quiet NaN argument.
52744         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52746         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52747         $ignore_result.
52748         (parse_args): Handle function results specified as IGNORE.
52749         * math/libm-test.inc (IGNORE_RESULT): New macro.
52750         (check_float_internal): Do not check numerical result if flag
52751         IGNORE_RESULT set.
52752         (check_complex): Pass through IGNORE_RESULT to second
52753         check_float_internal call.
52754         (check_int): Do not check numerical result if flag IGNORE_RESULT
52755         set.
52756         (check_long): Likewise.
52757         (check_bool): Likewise.
52758         (check_longlong): Likewise.
52759         (lrint_test_data): Add tests of infinite and NaN arguments.
52760         (lrint_tonearest_test_data): Likewise.
52761         (lrint_towardzero_test_data): Likewise.
52762         (lrint_downward_test_data): Likewise.
52763         (lrint_upward_test_data): Likewise.
52764         (llrint_test_data): Likewise.
52765         (llrint_tonearest_test_data): Likewise.
52766         (llrint_towardzero_test_data): Likewise.
52767         (llrint_downward_test_data): Likewise.
52768         (llrint_upward_test_data): Likewise.
52769         (lround_test_data): Likewise.
52770         (llround_test_data): Likewise.
52772         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52773         (ERRNO_UNCHANGED): Update value.
52774         (ERRNO_EDOM): Likewise.
52775         (ERRNO_ERANGE): Likewise.
52776         (NO_TEST_INLINE_FLOAT): New macro.
52777         (NO_TEST_INLINE_DOUBLE): Likewise.
52778         (enable_test): New function.
52779         (RUN_TEST_f_f): Check enable_test before running test.
52780         (RUN_TEST_2_f): Likewise.
52781         (RUN_TEST_fff_f): Likewise.
52782         (RUN_TEST_c_f): Likewise.
52783         (RUN_TEST_f_f1): Likewise.
52784         (RUN_TEST_fF_f1): Likewise.
52785         (RUN_TEST_fI_f1): Likewise.
52786         (RUN_TEST_ffI_f1): Likewise.
52787         (RUN_TEST_c_c): Likewise.
52788         (RUN_TEST_cc_c): Likewise.
52789         (RUN_TEST_f_i): Likewise.
52790         (RUN_TEST_f_i_tg): Likewise.
52791         (RUN_TEST_ff_i_tg): Likewise.
52792         (RUN_TEST_f_b): Likewise.
52793         (RUN_TEST_f_b_tg): Likewise.
52794         (RUN_TEST_f_l): Likewise.
52795         (RUN_TEST_f_L): Likewise.
52796         (RUN_TEST_fFF_11): Likewise.
52797         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52798         conditionals.
52799         (cosh_test_data): Likewise.
52800         (exp_test_data): Likewise.
52801         (expm1_test_data): Likewise.
52802         (hypot_test_data): Likewise.
52803         (pow_test_data): Likewise.
52804         (sinh_test_data): Likewise.
52805         (tanh_test_data): Likewise.
52806         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52807         flags argument.
52809         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52810         tests with quiet NaN input and output.
52811         (acosh_test_data): Likewise.
52812         (asin_test_data): Likewise.
52813         (asinh_test_data): Likewise.
52814         (atan_test_data): Likewise.
52815         (atanh_test_data): Likewise.
52816         (atan2_test_data): Likewise.
52817         (cbrt_test_data): Likewise.
52818         (cos_test_data): Likewise.
52819         (cosh_test_data): Likewise.
52820         (erf_test_data): Likewise.
52821         (erfc_test_data): Likewise.
52822         (exp_test_data): Likewise.
52823         (exp10_test_data): Likewise.
52824         (exp2_test_data): Likewise.
52825         (expm1_test_data): Likewise.
52826         (hypot_test_data): Likewise.
52827         (j0_test_data): Likewise.
52828         (j1_test_data): Likewise.
52829         (jn_test_data): Likewise.
52830         (lgamma_test_data): Likewise.
52831         (log_test_data): Likewise.
52832         (log10_test_data): Likewise.
52833         (log1p_test_data): Likewise.
52834         (log2_test_data): Likewise.
52835         (pow_test_data): Likewise.
52836         (scalb_test_data): Likewise.
52837         (sin_test_data): Likewise.
52838         (sincos_test_data): Likewise.
52839         (sinh_test_data): Likewise.
52840         (tan_test_data): Likewise.
52841         (tanh_test_data): Likewise.
52842         (tgamma_test_data): Likewise.
52843         (y0_test_data): Likewise.
52844         (y1_test_data): Likewise.
52845         (yn_test_data): Likewise.
52847         [BZ #16167]
52848         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52849         argument being NaN and avoid computations with second argument in
52850         that case.
52851         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52852         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52853         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52855 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52857         * locale/iso-639.def: Add Chitwani Tharu (the).
52859 2013-11-14  Andreas Schwab  <schwab@suse.de>
52861         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52862         word instead of empty string.
52864 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52867         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52869         (__fe_nomask_env): Likewise.
52871 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52873         * benchtests/bench-timing.h: Include time.h.
52875 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52877         [BZ #15997]
52878         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52879         to 3.4.0 for x32.
52880         * sysdeps/unix/sysv/linux/configure: Regenerated.
52882 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52884         [BZ #16151]
52885         * stdlib/strtod_l.c (round_and_return): Do not consider
52886         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52887         exponent one less than half the least subnormal exponent.
52888         * stdlib/test-strtod-round-data: Add more tests.
52889         * stdlib/tst-strtod-round.c (tests): Regenerated.
52891 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52893         [BZ #14143]
52894         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52895         (__fe_mask_env): Likewise.
52896         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52897         libm_hidden_proto and add function prototype.
52898         (__fe_mask_env): Add function prototype.
52899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52900         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52902         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52904         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52906 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52908         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52909         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52911 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52913         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52914         of htab_find_slot().
52916 2013-11-11  David S. Miller  <davem@davemloft.net>
52918         [BZ #16150]
52919         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52920         symbol in the non-vis3 case in static builds.
52921         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52922         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52923         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52924         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52926 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52928         [BZ #387]
52929         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52930         it is empty.
52932 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52934         * benchtests/Makefile: Add bench-strtod.
52935         * benchtests/bench-strtod.c: New file: strtod benchtest
52937 2013-11-11  Andreas Schwab  <schwab@suse.de>
52939         [BZ #16153]
52940         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52941         terminating NUL in key length.
52943 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52945         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52946         Add artificial ODP entry for vDSO symbol for PPC64.
52947         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52948         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52950 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52952         [BZ #15374]
52953         * nss/getent.c (services_keys): Recognize services starting with digit.
52955 2013-11-06  David S. Miller  <davem@davemloft.net>
52957         [BZ #15985]
52958         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52959         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52961 2013-11-06  Will Newton  <will.newton@linaro.org>
52963         * manual/memory.texi (Malloc Examples): Remove register
52964         keyword from examples.
52966 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52968         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52970 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52972         [BZ #6981]
52973         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52974         depending on [__GCC_IEC_559 > 0].
52975         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52976         depending on [__GCC_IEC_559_COMPLEX > 0].
52978 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52980         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52981         to iso-639.def.
52983 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52985         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52987 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52989         [BZ #16112]
52990         * malloc/malloc (malloc_info): Do not handle first bin as
52991         special case.
52993 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52995         * locale/iso-639.def: Add Central Nahuatl (nhn).
52997 2013-11-01  Bruno Haible  <bruno@clisp.org>
52999         [BZ #7003]
53000         * manual/math.texi (BSD Random): Specify range upper bound as
53001         in POSIX.
53003 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
53005         * locale/iso-639.def: Add Meadow Mari (mhr).
53007 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53009         [BZ #14752], [BZ #15763]
53010         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53011         Validate name.
53012         * rt/tst_shm.c: Add test for escaping directory.
53014 2013-10-31  Andreas Schwab  <schwab@suse.de>
53016         [BZ #15917]
53017         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53018         followed by 'x' as part of digit sequence.
53019         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53021 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53023         [BZ #16037]
53024         * configure.ac: allow GNU Make 4.0 and greater.
53025         * configure: Regenerated.
53027 2013-10-30  Will Newton  <will.newton@linaro.org>
53029         [BZ #16038]
53030         * malloc/hooks.c (memalign_check): Limit alignment to the
53031         maximum representable power of two.
53032         * malloc/malloc.c (__libc_memalign): Likewise.
53033         * malloc/tst-memalign.c (do_test): Add test for very
53034         large alignment values.
53035         * malloc/tst-posix_memalign.c (do_test): Likewise.
53037 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53039         [BZ #11087]
53040         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53041         (munmap_chunk): Likewise.
53042         (mremap_chunk): Likewise.
53044 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53046         [BZ #15799]
53047         * stdlib/div.c (div): Remove obsolete code.
53048         * stdlib/ldiv.c (ldiv): Likewise.
53049         * stdlib/lldiv.c (lldiv): Likewise.
53051 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53053         [BZ #16071]
53054         * nss/nss_files/files-XXX.c (get_contents_ret): New
53055         enumerator.
53056         (get_contents): New function.
53057         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53059 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53061         * configure.in: Moved to ...
53062         * configure.ac: ... here. Change reference to configure.in
53063         to configure.ac.
53064         * sysdeps/arm/preconfigure.ac: ... here.
53065         configure.in to configure.ac.
53066         * sysdeps/gnu/configure.in: Moved to ...
53067         * sysdeps/gnu/configure.ac: ... here.
53068         * sysdeps/i386/configure.in: Moved to ...
53069         * sysdeps/i386/configure.ac: ... here.
53070         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53071         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53072         * sysdeps/mach/configure.in: Moved to ...
53073         * sysdeps/mach/configure.ac: ... here.
53074         * sysdeps/mach/hurd/configure.in: Moved to ...
53075         * sysdeps/mach/hurd/configure.ac: ... here.
53076         * sysdeps/powerpc/configure.in: Moved to ...
53077         * sysdeps/powerpc/configure.ac: ... here.
53078         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53079         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53080         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53081         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53082         * sysdeps/s390/s390-32/configure.in: Moved to ...
53083         * sysdeps/s390/s390-32/configure.ac: ... here.
53084         * sysdeps/s390/s390-64/configure.in: Moved to ...
53085         * sysdeps/s390/s390-64/configure.ac: ... here.
53086         * sysdeps/sh/configure.in: Moved to ...
53087         * sysdeps/sh/configure.ac: ... here.
53088         * sysdeps/sparc/configure.in: Moved to ...
53089         * sysdeps/sparc/configure.ac: ... here.
53090         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53091         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53092         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53093         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53094         * sysdeps/x86_64/configure.in: Moved to ...
53095         * sysdeps/x86_64/configure.ac: ... here.
53096         * sysdeps/x86_64/preconfigure.in: Moved to ...
53097         * sysdeps/x86_64/preconfigure.ac: ... here.
53098         * aclocal.m4: Change reference to configure.in to configure.ac.
53099         * config.h.in: Likewise.
53100         * manual/install.texi: Likewise.
53101         * manual/maint.texi: Likewise.
53102         * Makefile: Likewise.
53103         * malloc/Makefile: Likewise.
53104         * nscd/Makefile: Likewise.
53105         * Makeconfig: Change reference to configure.in and
53106         preconfigure.in to configure.ac and preconfigure.ac
53107         respectively.
53108         * INSTALL: Regenerated.
53109         * configure: Likewise.
53110         * sysdeps/gnu/configure: Likewise.
53111         * sysdeps/i386/configure: Likewise.
53112         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53113         * sysdeps/mach/configure: Likewise.
53114         * sysdeps/mach/hurd/configure: Likewise.
53115         * sysdeps/powerpc/configure: Likewise.
53116         * sysdeps/powerpc/powerpc32/configure: Likewise.
53117         * sysdeps/powerpc/powerpc64/configure: Likewise.
53118         * sysdeps/s390/s390-32/configure: Likewise.
53119         * sysdeps/s390/s390-64/configure: Likewise.
53120         * sysdeps/sh/configure: Likewise.
53121         * sysdeps/sparc/configure: Likewise.
53122         * sysdeps/unix/sysv/linux/configure: Likewise.
53123         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53124         * sysdeps/x86_64/configure: Likewise.
53125         * sysdeps/x86_64/preconfigure: Likewise.
53127 2013-10-29  Andreas Schwab  <schwab@suse.de>
53129         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53131 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53133         * benchtests/pow-inputs: Add new inputs.
53135         * benchtests/exp-inputs: Add new inputs.
53137         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53138         conditional check for return value.
53139         (__cos32): Likewise.
53141 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53143         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53144         to provide a boost for large inputs with word alignment.
53145         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53146         implementation based on optimized PPC64 strcpy.
53147         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53148         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53149         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53150         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53152 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53154         [BZ #2801]
53155         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53157 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53159         [BZ #14876]
53160         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53161         * time/tst-strptime.c (day_tests): Add testcase.
53163 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53165         [BZ #14029]
53166         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53168 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53170         [BZ #16074]
53171         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53172         MAP_FAILED on error.
53174 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53176         [BZ #16072]
53177         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53178         heap for large requests.
53180 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53182         [BZ #9954]
53183         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53184         result if the result has no associated interface.
53185         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53186         interface for all 127.X.Y.Z addresses.
53188 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53190         * locale/iso-639.def: Add Ligurian (lij)
53192 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53194         [BZ #15825]
53195         * sunrpc/rpc_main.c: Document rpcgen -5.
53197 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53199         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53201 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53203         [BZ #10278]
53204         * posix/glob.c: Match only directories when trailing slash is present.
53205         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53206         (main): Add testcase.
53208 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53210         [BZ #15670]
53211         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53213 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53215         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53216         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53217         AUTH_DES and cindex for FIPS 140-2.
53218         (DES Encryption): Add cindex FIPS 46-3.
53220         * locale/locarchive.h (struct locarhandle): Add fname.
53221         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53222         if an optional argument was specified to --list-archive,
53223         otherwise NULL.
53224         * locale/programs/locarchive.c (show_archive_content): Take new
53225         argument fname and pass it via ah.fname to open_archive.
53226         * locale/programs/localedef.h: Update decl.
53227         (open_archive): If AH->fname is non-null, open that file
53228         rather than the default file name, and don't ignore ENOENT.
53229         (create_archive): Set AH.fname to NULL.
53230         (delete_locales_from_archive): Likewise.
53231         (add_locales_to_archive): Likewise.
53232         * locale/programs/locfile.c (write_all_categories): Likewise.
53234 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53235             Aldy Hernandez  <aldyh@redhat.com>
53237         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53238         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53239         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53240         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53241         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53242         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53243         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53244         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53245         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53246         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53247         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53248         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53249         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53250         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53251         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53252         Likewise.
53253         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53254         Likewise.
53255         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53256         Likewise.
53257         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53258         Likewise.
53259         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53260         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53261         Likewise.
53262         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53263         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53264         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53265         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53266         Likewise.
53267         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53268         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53269         * sysdeps/powerpc/preconfigure: Likewise.
53270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53271         Likewise.
53272         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53273         Replace contents of file by #include of <fenv_libc.h>.
53274         * sysdeps/powerpc/soft-fp/sfp-machine.h
53275         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53276         and <sys/prctl.h>.
53277         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53279         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53282         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53285         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53290         Allow copysignl PLT reference to be missing.
53292 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53293             Joseph Myers  <joseph@codesourcery.com
53295         [BZ #15948]
53296         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53297         single character.
53298         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53300 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53302         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53303         * elf/tst-tls1.c: Likewise.
53304         * elf/tst-tls10.h: Likewise.
53305         * elf/tst-tls14.c: Likewise.
53306         * elf/tst-tls2.c: Likewise.
53307         * elf/tst-tls3.c: Likewise.
53308         * elf/tst-tls4.c: Likewise.
53309         * elf/tst-tls5.c: Likewise.
53310         * elf/tst-tls6.c: Likewise.
53311         * elf/tst-tls7.c: Likewise.
53312         * elf/tst-tls8.c: Likewise.
53313         * elf/tst-tls9.c: Likewise.
53314         * elf/tst-tlsmod1.c: Likewise.
53315         * elf/tst-tlsmod13.c: Likewise.
53316         * elf/tst-tlsmod13a.c: Likewise.
53317         * elf/tst-tlsmod14a.c: Likewise.
53318         * elf/tst-tlsmod16a.c: Likewise.
53319         * elf/tst-tlsmod16b.c: Likewise.
53320         * elf/tst-tlsmod2.c: Likewise.
53321         * elf/tst-tlsmod3.c: Likewise.
53322         * elf/tst-tlsmod4.c: Likewise.
53323         * elf/tst-tlsmod5.c: Likewise.
53324         * elf/tst-tlsmod6.c: Likewise.
53326 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53328         [BZ #12486]
53329         * malloc/malloc.c: remove checks for statistics.
53331 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53333         [BZ #15277]
53334         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53335         * inet/tst-network.c: Add testcase.
53337 2013-10-17  Andreas Schwab  <schwab@suse.de>
53339         [BZ #15218]
53340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53341         to determine canonical name.
53343 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53345         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
53346         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
53347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53348         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53349         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53350         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53351         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53352         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53353         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53354         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53355         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53356         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53357         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53358         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53359         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53360         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53362         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53363         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53364         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53365         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53366         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53367         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53368         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
53369         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
53370         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53371         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53372         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
53373         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53374         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
53375         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53377         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53378         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53379         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53380         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53382         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53383         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53384         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53385         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53386         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53387         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53388         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53389         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53390         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53391         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53392         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53393         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53394         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53395         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53396         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53397         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53398         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53399         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53400         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53401         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53402         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53404 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
53406         [BZ #16041]
53407         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
53408         make result into a quiet NaN.
53410 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
53412         * soft-fp/adddf3.c: Fix horizontal whitespace.
53413         * soft-fp/addsf3.c: Likewise.
53414         * soft-fp/addtf3.c: Likewise.
53415         * soft-fp/divdf3.c: Likewise.
53416         * soft-fp/divsf3.c: Likewise.
53417         * soft-fp/divtf3.c: Likewise.
53418         * soft-fp/double.h: Likewise.
53419         * soft-fp/eqdf2.c: Likewise.
53420         * soft-fp/eqsf2.c: Likewise.
53421         * soft-fp/eqtf2.c: Likewise.
53422         * soft-fp/extenddftf2.c: Likewise.
53423         * soft-fp/extended.h: Likewise.
53424         * soft-fp/extendsfdf2.c: Likewise.
53425         * soft-fp/extendsftf2.c: Likewise.
53426         * soft-fp/extendxftf2.c: Likewise.
53427         * soft-fp/fixdfdi.c: Likewise.
53428         * soft-fp/fixdfsi.c: Likewise.
53429         * soft-fp/fixdfti.c: Likewise.
53430         * soft-fp/fixsfdi.c: Likewise.
53431         * soft-fp/fixsfsi.c: Likewise.
53432         * soft-fp/fixsfti.c: Likewise.
53433         * soft-fp/fixtfdi.c: Likewise.
53434         * soft-fp/fixtfsi.c: Likewise.
53435         * soft-fp/fixtfti.c: Likewise.
53436         * soft-fp/fixunsdfdi.c: Likewise.
53437         * soft-fp/fixunsdfsi.c: Likewise.
53438         * soft-fp/fixunsdfti.c: Likewise.
53439         * soft-fp/fixunssfdi.c: Likewise.
53440         * soft-fp/fixunssfsi.c: Likewise.
53441         * soft-fp/fixunssfti.c: Likewise.
53442         * soft-fp/fixunstfdi.c: Likewise.
53443         * soft-fp/fixunstfsi.c: Likewise.
53444         * soft-fp/fixunstfti.c: Likewise.
53445         * soft-fp/floatdidf.c: Likewise.
53446         * soft-fp/floatdisf.c: Likewise.
53447         * soft-fp/floatditf.c: Likewise.
53448         * soft-fp/floatsidf.c: Likewise.
53449         * soft-fp/floatsisf.c: Likewise.
53450         * soft-fp/floatsitf.c: Likewise.
53451         * soft-fp/floattidf.c: Likewise.
53452         * soft-fp/floattisf.c: Likewise.
53453         * soft-fp/floattitf.c: Likewise.
53454         * soft-fp/floatundidf.c: Likewise.
53455         * soft-fp/floatundisf.c: Likewise.
53456         * soft-fp/floatunditf.c: Likewise.
53457         * soft-fp/floatunsidf.c: Likewise.
53458         * soft-fp/floatunsisf.c: Likewise.
53459         * soft-fp/floatunsitf.c: Likewise.
53460         * soft-fp/floatuntidf.c: Likewise.
53461         * soft-fp/floatuntisf.c: Likewise.
53462         * soft-fp/floatuntitf.c: Likewise.
53463         * soft-fp/fmadf4.c: Likewise.
53464         * soft-fp/fmasf4.c: Likewise.
53465         * soft-fp/fmatf4.c: Likewise.
53466         * soft-fp/gedf2.c: Likewise.
53467         * soft-fp/gesf2.c: Likewise.
53468         * soft-fp/getf2.c: Likewise.
53469         * soft-fp/ledf2.c: Likewise.
53470         * soft-fp/lesf2.c: Likewise.
53471         * soft-fp/letf2.c: Likewise.
53472         * soft-fp/muldf3.c: Likewise.
53473         * soft-fp/mulsf3.c: Likewise.
53474         * soft-fp/multf3.c: Likewise.
53475         * soft-fp/negdf2.c: Likewise.
53476         * soft-fp/negsf2.c: Likewise.
53477         * soft-fp/negtf2.c: Likewise.
53478         * soft-fp/op-1.h: Likewise.
53479         * soft-fp/op-2.h: Likewise.
53480         * soft-fp/op-4.h: Likewise.
53481         * soft-fp/op-8.h: Likewise.
53482         * soft-fp/op-common.h: Likewise.
53483         * soft-fp/quad.h: Likewise.
53484         * soft-fp/single.h: Likewise.
53485         * soft-fp/soft-fp.h: Likewise.
53486         * soft-fp/sqrtdf2.c: Likewise.
53487         * soft-fp/sqrtsf2.c: Likewise.
53488         * soft-fp/sqrttf2.c: Likewise.
53489         * soft-fp/subdf3.c: Likewise.
53490         * soft-fp/subsf3.c: Likewise.
53491         * soft-fp/subtf3.c: Likewise.
53492         * soft-fp/truncdfsf2.c: Likewise.
53493         * soft-fp/trunctfdf2.c: Likewise.
53494         * soft-fp/trunctfsf2.c: Likewise.
53495         * soft-fp/trunctfxf2.c: Likewise.
53496         * soft-fp/unorddf2.c: Likewise.
53497         * soft-fp/unordsf2.c: Likewise.
53498         * soft-fp/unordtf2.c: Likewise.
53500 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53502         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53503         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53505 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53507         * elf/dl-libc.c: Clear initfini list after freeing.
53509 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53511         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53512         * soft-fp/addsf3.c: Likewise.
53513         * soft-fp/addtf3.c: Likewise.
53514         * soft-fp/divdf3.c: Likewise.
53515         * soft-fp/divsf3.c: Likewise.
53516         * soft-fp/divtf3.c: Likewise.
53517         * soft-fp/double.h: Likewise.
53518         * soft-fp/eqdf2.c: Likewise.
53519         * soft-fp/eqsf2.c: Likewise.
53520         * soft-fp/eqtf2.c: Likewise.
53521         * soft-fp/extenddftf2.c: Likewise.
53522         * soft-fp/extended.h: Likewise.
53523         * soft-fp/extendsfdf2.c: Likewise.
53524         * soft-fp/extendsftf2.c: Likewise.
53525         * soft-fp/extendxftf2.c: Likewise.
53526         * soft-fp/fixdfdi.c: Likewise.
53527         * soft-fp/fixdfsi.c: Likewise.
53528         * soft-fp/fixdfti.c: Likewise.
53529         * soft-fp/fixsfdi.c: Likewise.
53530         * soft-fp/fixsfsi.c: Likewise.
53531         * soft-fp/fixsfti.c: Likewise.
53532         * soft-fp/fixtfdi.c: Likewise.
53533         * soft-fp/fixtfsi.c: Likewise.
53534         * soft-fp/fixtfti.c: Likewise.
53535         * soft-fp/fixunsdfdi.c: Likewise.
53536         * soft-fp/fixunsdfsi.c: Likewise.
53537         * soft-fp/fixunsdfti.c: Likewise.
53538         * soft-fp/fixunssfdi.c: Likewise.
53539         * soft-fp/fixunssfsi.c: Likewise.
53540         * soft-fp/fixunssfti.c: Likewise.
53541         * soft-fp/fixunstfdi.c: Likewise.
53542         * soft-fp/fixunstfsi.c: Likewise.
53543         * soft-fp/fixunstfti.c: Likewise.
53544         * soft-fp/floatdidf.c: Likewise.
53545         * soft-fp/floatdisf.c: Likewise.
53546         * soft-fp/floatditf.c: Likewise.
53547         * soft-fp/floatsidf.c: Likewise.
53548         * soft-fp/floatsisf.c: Likewise.
53549         * soft-fp/floatsitf.c: Likewise.
53550         * soft-fp/floattidf.c: Likewise.
53551         * soft-fp/floattisf.c: Likewise.
53552         * soft-fp/floattitf.c: Likewise.
53553         * soft-fp/floatundidf.c: Likewise.
53554         * soft-fp/floatundisf.c: Likewise.
53555         * soft-fp/floatunsidf.c: Likewise.
53556         * soft-fp/floatunsisf.c: Likewise.
53557         * soft-fp/floatuntidf.c: Likewise.
53558         * soft-fp/floatuntisf.c: Likewise.
53559         * soft-fp/floatuntitf.c: Likewise.
53560         * soft-fp/fmadf4.c: Likewise.
53561         * soft-fp/fmasf4.c: Likewise.
53562         * soft-fp/fmatf4.c: Likewise.
53563         * soft-fp/gedf2.c: Likewise.
53564         * soft-fp/gesf2.c: Likewise.
53565         * soft-fp/getf2.c: Likewise.
53566         * soft-fp/ledf2.c: Likewise.
53567         * soft-fp/lesf2.c: Likewise.
53568         * soft-fp/letf2.c: Likewise.
53569         * soft-fp/muldf3.c: Likewise.
53570         * soft-fp/mulsf3.c: Likewise.
53571         * soft-fp/multf3.c: Likewise.
53572         * soft-fp/negdf2.c: Likewise.
53573         * soft-fp/negsf2.c: Likewise.
53574         * soft-fp/negtf2.c: Likewise.
53575         * soft-fp/op-1.h: Likewise.
53576         * soft-fp/op-2.h: Likewise.
53577         * soft-fp/op-4.h: Likewise.
53578         * soft-fp/op-8.h: Likewise.
53579         * soft-fp/op-common.h: Likewise.
53580         * soft-fp/quad.h: Likewise.
53581         * soft-fp/single.h: Likewise.
53582         * soft-fp/soft-fp.h: Likewise.
53583         * soft-fp/sqrtdf2.c: Likewise.
53584         * soft-fp/sqrtsf2.c: Likewise.
53585         * soft-fp/sqrttf2.c: Likewise.
53586         * soft-fp/subdf3.c: Likewise.
53587         * soft-fp/subsf3.c: Likewise.
53588         * soft-fp/subtf3.c: Likewise.
53589         * soft-fp/truncdfsf2.c: Likewise.
53590         * soft-fp/trunctfdf2.c: Likewise.
53591         * soft-fp/trunctfsf2.c: Likewise.
53592         * soft-fp/trunctfxf2.c: Likewise.
53593         * soft-fp/unorddf2.c: Likewise.
53594         * soft-fp/unordsf2.c: Likewise.
53595         * soft-fp/unordtf2.c: Likewise.
53597 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53599         [BZ #15672]
53600         * misc/error.c (error_tail): Fix possible buffer overflow.
53602 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53604         [BZ #13028]
53605         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53606         address.
53608 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53610         [BZ #832]
53611         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53612         testing pipefail option.
53614 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53616         * soft-fp/double.h: Indent preprocessor directives inside #if.
53617         * soft-fp/extended.h: Likewise.
53618         * soft-fp/op-2.h: Likewise.
53619         * soft-fp/op-4.h: Likewise.
53620         * soft-fp/op-common.h: Likewise.
53621         * soft-fp/quad.h: Likewise.
53622         * soft-fp/single.h: Likewise.
53623         * soft-fp/soft-fp.h: Likewise.
53625 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53627         * iconv/iconv_prog.c: Fix typos.
53628         * stdio-common/psiginfo-data.h: Likewise.
53630 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53632         [BZ #15764]
53633         * locale/setlocale.c: Fix typo.
53635 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53637         [BZ #16036]
53638         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53639         signaling NaN arguments.
53640         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53641         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53643         [BZ #14910]
53644         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53645         unordered operands.
53646         * soft-fp/gesf2.c (__gesf2): Likewise.
53647         * soft-fp/getf2.c (__getf2): Likewise.
53648         * soft-fp/ledf2.c (__ledf2): Likewise.
53649         * soft-fp/lesf2.c (__lesf2): Likewise.
53650         * soft-fp/letf2.c (__letf2): Likewise.
53652         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53653         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53654         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53655         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53656         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53657         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53658         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53659         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53660         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53661         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53662         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53663         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53664         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53665         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53666         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53667         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53668         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53669         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53670         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53671         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53672         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53673         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53674         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53675         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53676         * soft-fp/floattidf.c (__floattidf): Likewise.
53677         * soft-fp/floattisf.c (__floattisf): Likewise.
53678         * soft-fp/floattitf.c (__floattitf): Likewise.
53679         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53680         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53681         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53682         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53683         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53684         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53685         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53686         * soft-fp/gesf2.c (__gesf2): Likewise.
53687         * soft-fp/getf2.c (__getf2): Likewise.
53688         * soft-fp/ledf2.c (__ledf2): Likewise.
53689         * soft-fp/lesf2.c (__lesf2): Likewise.
53690         * soft-fp/letf2.c (__letf2): Likewise.
53692         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53693         Undefine and redefine.
53694         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53695         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53696         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53697         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53698         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53699         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53700         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53701         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53702         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53703         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53704         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53705         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53706         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53707         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53708         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53710         [BZ #16032]
53711         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53712         without decrementing exponent if mantissa >= that for the
53713         denominator, not >.
53714         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53715         denominator, not >.  Decrement exponent in < case instead of
53716         incrementing in >= case.
53717         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53718         without decrementing exponent if mantissa >= that for the
53719         denominator, not >.
53721         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53722         computing saturated result for unsigned overflow.
53724 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53725             Jeff Law  <law@redhat.com>
53727         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53728         (atan2Mp): Add systemtap probe marker.
53729         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53730         (__ieee754_log): Add systemtap probe marker.
53731         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53732         (atanMp): Add systemtap probe marker.
53733         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53734         (tanMp): Add systemtap probe marker.
53735         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53736         (__slowexp): Add systemtap probe marker.
53737         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53738         (__slowpow): Add systemtap probe marker.
53739         * manual/probes.texi: Document probes.
53741 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53743         [BZ #15362]
53744         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53745         written.
53746         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53747         written.
53748         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53749         written to buffer but not flushed.
53750         * libio/iofwrite_u.c:  Likewise.
53751         * libio/iopadn.c:  Return bytes returned even if EOF was
53752         encountered.
53753         * libio/iowpadn.c:  Likewise.
53754         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53755         if _IO_padn does not write the whole buffer.
53756         [!COMPILE_WPRINTF] (PAD): Likewise.
53758 2013-10-10  David S. Miller  <davem@davemloft.net>
53760         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53761         directory block.
53763 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53765         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53766         instead of FSF address.
53767         * soft-fp/fixdfti.c: Likewise.
53768         * soft-fp/fixsfti.c: Likewise.
53769         * soft-fp/fixtfti.c: Likewise.
53770         * soft-fp/fixunsdfti.c: Likewise.
53771         * soft-fp/fixunssfti.c: Likewise.
53772         * soft-fp/fixunstfti.c: Likewise.
53773         * soft-fp/floattidf.c: Likewise.
53774         * soft-fp/floattisf.c: Likewise.
53775         * soft-fp/floattitf.c: Likewise.
53776         * soft-fp/floatuntidf.c: Likewise.
53777         * soft-fp/floatuntisf.c: Likewise.
53778         * soft-fp/floatuntitf.c: Likewise.
53779         * soft-fp/trunctfxf2.c: Likewise.
53781         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53782         * soft-fp/fixdfti.c: Likewise.
53783         * soft-fp/fixsfti.c: Likewise.
53784         * soft-fp/fixtfti.c: Likewise.
53785         * soft-fp/fixunsdfti.c: Likewise.
53786         * soft-fp/fixunssfti.c: Likewise.
53787         * soft-fp/fixunstfti.c: Likewise.
53788         * soft-fp/floattidf.c: Likewise.
53789         * soft-fp/floattisf.c: Likewise.
53790         * soft-fp/floattitf.c: Likewise.
53791         * soft-fp/floatuntidf.c: Likewise.
53792         * soft-fp/floatuntisf.c: Likewise.
53793         * soft-fp/floatuntitf.c: Likewise.
53794         * soft-fp/trunctfxf2.c: Likewise.
53796 2013-10-10  David S. Miller  <davem@davemloft.net>
53798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53800 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53802         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53803         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53804         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53805         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53806         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53807         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53808         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53810         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53811         for NaNs before doing comparisons on argument.
53812         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53813         Likewise.
53815 2013-10-10  Will Newton  <will.newton@linaro.org>
53817         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53818         passed to _int_memalign does not overflow.
53820 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53822         * scripts/bench.pl: Add include-sources directive.
53823         * benchtests/README: Update documentation.
53825 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53827         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53828         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53829         instead of FP_INIT_ROUNDMODE.
53830         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53831         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53833         [BZ #16034]
53834         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53835         copy class of input value.
53836         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53837         not handle exceptions.
53838         * soft-fp/negsf2.c (__negsf2): Likewise.
53839         * soft-fp/negtf2.c (__negtf2): Likewise.
53840         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53842 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53844         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53845         semicolon.  From Linux kernel.
53847 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53849         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53851 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53853         [BZ #156]
53854         * manual/socket.texi: Added statement about buffer
53855         for gethostbyname2_r.
53857 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53859         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53860         Use .p2align directive instead, throughout.
53861         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53862         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53863         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53864         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53865         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53866         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53867         * sysdeps/x86_64/strchr.S: Likewise.
53868         * sysdeps/x86_64/strrchr.S: Likewise.
53870 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53872         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53874         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53876         * sysdeps/generic/math_private.h (__mpsin1): Remove
53877         declaration.
53878         (__mpcos1): Likewise.
53879         (__mpsin): New argument __range_reduce.
53880         (__mpcos): Likewise.
53881         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53882         (slow): Use __mpsin and __mpcos.
53883         (slow1): Likewise.
53884         (slow2): Likewise.
53885         (sloww): Likewise.
53886         (sloww1): Likewise.
53887         (sloww2): Likewise.
53888         (bsloww): Likewise.
53889         (bsloww1): Likewise.
53890         (bsloww2): Likewise.
53891         (cslow2): Likewise.
53892         (csloww): Likewise.
53893         (csloww1): Likewise.
53894         (csloww2): Likewise.
53895         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53896         range_reduce.  Merge in __mpsin1.
53897         (__mpcos): Likewise.
53898         (__mpsin1): Remove.
53899         (__mpcos1): Likewise.
53901 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53903         * locale/loadlocale.c (_nl_intern_locale_data): Use
53904         LOCFILE_ALIGNED_P.
53905         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53906         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53907         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53908         obstack data is appropriately aligned.
53909         (obstack_int32_grow_fast): Likewise.
53910         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53911         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53912         (add_locale_uint32_array): Likewise.
53914 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53916         * benchtests/Makefile: Remove ARGLIST and RET variables.
53917         ($(objpfx)bench-%.c): Pass only function name to the script.
53918         * benchtests/README: Update documentation.
53919         * benchtests/acos-inputs: Add new directives.
53920         * benchtests/acosh-inputs: Likewise.
53921         * benchtests/asin-inputs: Likewise.
53922         * benchtests/asinh-inputs: Likewise.
53923         * benchtests/atan-inputs: Likewise.
53924         * benchtests/atanh-inputs: Likewise.
53925         * benchtests/cos-inputs: Likewise.
53926         * benchtests/cosh-inputs: Likewise.
53927         * benchtests/exp-inputs: Likewise.
53928         * benchtests/log-inputs: Likewise.
53929         * benchtests/pow-inputs: Likewise.
53930         * benchtests/rint-inputs: Likewise.
53931         * benchtests/sin-inputs: Likewise.
53932         * benchtests/sinh-inputs: Likewise.
53933         * benchtests/tan-inputs: Likewise.
53934         * benchtests/tanh-inputs: Likewise.
53935         * scripts/bench.pl: Add support for new directives.
53937 2013-10-07  Alan Modra  <amodra@gmail.com>
53939         * README: Fix careless merge.
53941 2013-10-05  Alan Modra  <amodra@gmail.com>
53943         * NEWS: Mention powerpc64le support and bugs fixed.
53944         * README: Both big-endian and little-endian powerpc64 supported.
53946 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53948         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53949         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53950         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53951         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53953 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53955         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53956         match prototype.
53958 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53960         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53961         Move -mhard-float appending from
53962         ports/sysdeps/powerpc/powerpc32/Makefile.
53963         [$(with-fp) = yes] (ASFLAGS): Likewise.
53964         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53965         * sysdeps/powerpc/nofpu: Move directory from
53966         ports/sysdeps/powerpc/nofpu.
53967         * sysdeps/powerpc/soft-fp: Move directory from
53968         ports/sysdeps/powerpc/soft-fp.
53969         * sysdeps/powerpc/powerpc32/405: Move directory from
53970         ports/sysdeps/powerpc/powerpc32/405.
53971         * sysdeps/powerpc/powerpc32/440: Move directory from
53972         ports/sysdeps/powerpc/powerpc32/440.
53973         * sysdeps/powerpc/powerpc32/464: Move directory from
53974         ports/sysdeps/powerpc/powerpc32/464.
53975         * sysdeps/powerpc/powerpc32/476: Move directory from
53976         ports/sysdeps/powerpc/powerpc32/476.
53977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53978         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53980         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53982         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53984         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53986         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53987         * README: Update for powerpc-*-linux-gnu software floating point
53988         support in libc.
53990         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53991         case to powerpc/powerpc32*.
53992         * sysdeps/unix/sysv/linux/configure: Regenerated.
53994         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53995         (_FPU_MASK_OM): Define as 0x04.
53996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53997         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53998         0x00c10080.
53999         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
54000         0x0000003c.
54001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
54003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
54004         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54005         getcontext_e500.
54006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
54007         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54008         setcontext_e500.
54009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54010         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54011         and setcontext_e500.
54013 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54015         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54017 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54019         * manual/threads.texi (Default Thread Attributes): Fix typo.
54021 2013-10-04  Will Newton  <will.newton@linaro.org>
54023         * malloc/Makefile: Add tst-memalign.
54024         * malloc/tst-memalign.c: New file.
54026         * malloc/tst-posix_memalign.c: Add comments.
54027         (do_test): Add comments and call free on all potentially
54028         allocated pointers. Add space after cast.
54030         * malloc/tst-pvalloc.c: Add comments.
54031         (do_test): Add comments and call free on all potentially
54032         allocated pointers. Remove duplicate check for NULL pointer.
54033         Add space after cast.
54035         * malloc/tst-valloc.c: Add comments.
54036         (do_test): Add comments and call free on all potentially
54037         allocated pointers. Remove duplicate check for NULL pointer.
54038         Add space after cast.
54040 2013-10-04  Alan Modra  <amodra@gmail.com>
54042         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54043         Use stdint types in rather than __attribute__((mode())).
54044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54046 2013-10-04  Alan Modra  <amodra@gmail.com>
54048         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54049         Correct handling of unaligned relocs for little-endian.
54050         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54052 2013-10-04  Alan Modra  <amodra@gmail.com>
54054         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54055         * configure: Regenerate.
54056         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54057         * shlib-versions: Likewise.
54059 2013-10-04  Alan Modra  <amodra@gmail.com>
54061         * string/tester.c (test_memrchr): Increment reported test cycle.
54063 2013-10-04  Alan Modra  <amodra@gmail.com>
54065         * string/test-memcpy.c (do_one_test): When reporting errors, print
54066         string address and don't overrun end of string.
54068 2013-10-04  Alan Modra  <amodra@gmail.com>
54070         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54071         insrdi.  Make better use of reg selection to speed exit slightly.
54072         Schedule entry path a little better.  Remove useless "are we done"
54073         checks on entry to main loop.  Handle wrapping around zero address.
54074         Correct main loop count.  Handle single left-over word from main
54075         loop inline rather than by using loop_small.  Remove extra word
54076         case in loop_small caused by wrong loop count.  Add little-endian
54077         support.
54078         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54079         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54080         cache hint.
54081         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54082         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54083         support.  Avoid rlwimi.
54084         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54086 2013-10-04  Alan Modra  <amodra@gmail.com>
54088         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54089         insrdi.  Formatting.
54090         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54091         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54092         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54093         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54094         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54095         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54097 2013-10-04  Alan Modra  <amodra@gmail.com>
54099         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54100         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54101         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54102         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54103         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54104         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54105         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54106         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54107         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54108         use of regs.  Use power7 mtocrf.  Tidy function tails.
54110 2013-10-04  Alan Modra  <amodra@gmail.com>
54112         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54113         Formatting.  Consistently use rXXX register defines or rN defines.
54114         Use early exit labels that avoid restoring unused non-volatile regs.
54115         Make cr field use more consistent with rWORDn compares.  Rename
54116         regs used as shift registers for unaligned loop, using rN defines
54117         for short lifetime/multiple use regs.
54118         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54119         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54120         addi 1,1,64 to pop stack frame.  Simplify return value code.
54121         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54123 2013-10-04  Alan Modra  <amodra@gmail.com>
54125         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54126         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54127         rather than rlwimi.
54128         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54129         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54130         little-endian support.  Correct typos.
54131         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54132         rather than rlwimi.
54133         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54134         in loop and entry code to keep "and." results.
54135         (strchr): Add little-endian support.  Comment.  Move cntlzd
54136         earlier in tail.
54137         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54139 2013-10-04  Alan Modra  <amodra@gmail.com>
54141         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54142         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54143         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54144         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54146 2013-10-04  Alan Modra  <amodra@gmail.com>
54148         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54149         (rTMP): Define as r11.
54150         (strcmp): Add little-endian support.  Optimise tail.
54151         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54152         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54153         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54154         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54155         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54156         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54157         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54159 2013-10-04  Alan Modra  <amodra@gmail.com>
54161         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54162         little-endian support.  Remove unnecessary "are we done" tests.
54163         Handle "s" wrapping around zero and extremely large "size".
54164         Correct main loop count.  Handle single left-over word from main
54165         loop inline rather than by using small_loop.  Correct comments.
54166         Delete "zero" tail, use "end_max" instead.
54167         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54169 2013-10-04  Alan Modra  <amodra@gmail.com>
54171         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54172         support.  Don't branch over align.
54173         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54174         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54175         support.  Rearrange tmp reg use to suit.  Comment.
54176         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54178 2013-10-04  Alan Modra  <amodra@gmail.com>
54180         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54182 2013-10-04  Alan Modra  <amodra@gmail.com>
54184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54185         conditional form of branch and link when obtaining pc.
54186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54188 2013-10-04  Alan Modra  <amodra@gmail.com>
54190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54191         HIWORD/LOWORD.
54192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54195 2013-10-04  Alan Modra  <amodra@gmail.com>
54197         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54198         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54199         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54200         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54201         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54202         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54203         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54204         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54205         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54206         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54208 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54209             Alistair Popple <alistair@ozlabs.au.ibm.com>
54210             Alan Modra <amodra@gmail.com>
54212         [BZ #15723]
54213         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54214         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54215         _dl_hwcap access for little-endian.
54216         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54217         destroy vmx regs when saving unaligned.
54218         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54219         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54220         destroy vmx regs when saving unaligned.
54222 2013-10-04  Alan Modra  <amodra@gmail.com>
54224         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54225         Don't use a union to pack hi/low value.
54227 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54229         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54230         for little-endian.
54231         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54232         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54233         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54234         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54235         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54237 2013-10-04  Alan Modra  <amodra@gmail.com>
54239         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54240         constants to usual value for .cst8 section, and remove redundant
54241         high address load.
54242         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54243         constant for 0x1p52.  Load little-endian words of double from
54244         correct stack offsets.
54246 2013-10-04  Alan Modra  <amodra@gmail.com>
54248         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54249         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54250         words of double from correct stack offsets.
54251         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54252         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54253         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54254         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54255         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54256         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54257         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54258         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54259         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54260         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54261         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54262         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54263         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54264         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54265         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54266         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54267         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54269 2013-10-04  Alan Modra  <amodra@gmail.com>
54271         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54272         64-bit int/double union.
54273         (_FPU_SETCW): Likewise.
54274         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54275         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54277 2013-10-04  Alan Modra  <amodra@gmail.com>
54279         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54280         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54282 2013-10-04  Alan Modra  <amodra@gmail.com>
54284         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54285         use vector int constants.
54286         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54288 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54290         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54291         array with long long.
54292         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54293         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54294         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54295         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54296         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54297         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54298         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54299         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54300         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54301         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54302         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54303         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54304         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54306 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54308         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54309         (__signbit): Likewise.  Correct for little-endian.
54310         (__signbitl): Call __signbit.
54311         (lrint): Correct for little-endian.
54312         (lrintf): Call lrint.
54314 2013-10-04  Alan Modra  <amodra@gmail.com>
54316         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54317         union 32-bit int array member with 64-bit int array.
54318         (t515, tm256): Double rather than long double.
54319         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54321 2013-10-04  Alan Modra  <amodra@gmail.com>
54323         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54324         Delete.
54325         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54326         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54327         version of math_ldbl.h.
54329 2013-10-04  Alan Modra  <amodra@gmail.com>
54331         [BZ #15734], [BZ #15735]
54332         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54333         all uses of ieee875 long double macros and unions.  Simplify test
54334         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54335         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54336         normalize after ldbl_extract_mantissa, and don't add hidden bit
54337         already handled.  Don't treat low word of ieee854 mantissa like
54338         low word of IBM long double and mask off bit when testing for
54339         zero.
54340         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54341         all uses of ieee875 long double macros and unions.  Simplify tests
54342         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54343         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54344         two1022, instead use their values.  Recognise that tests for large
54345         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
54346         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
54347         Rewrite all uses of ieee875 long double macros and unions.  Simplify
54348         test for 0.0L and nan.  Correct negation.
54349         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
54350         ieee875 long double macros and unions.  Correct output for large
54351         magnitude x.  Correct absolute value calculation.
54352         (__erfcl): Likewise.
54353         * math/libm-test.inc: Add tests for errors discovered in IBM long
54354         double versions of fmodl, remainderl, erfl and erfcl.
54356 2013-10-04  Alan Modra  <amodra@gmail.com>
54358         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54359         all uses of ieee854 long double macros and unions.  Simplify tests
54360         for long doubles that are fully specified by the high double.
54361         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
54362         Likewise.
54363         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
54364         Remove dead code too.
54365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
54366         (__ieee754_ynl): Likewise.
54367         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
54368         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
54369         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
54370         Remove dead code too.
54371         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
54372         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
54373         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54374         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
54375         Simplify.
54376         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
54377         Simplify.
54378         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
54379         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
54380         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
54381         Comment on variable precision.
54382         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
54383         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54384         Likewise.
54385         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
54386         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54387         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54388         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
54389         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
54391 2013-10-04  Alan Modra  <amodra@gmail.com>
54393         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
54394         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
54395         all uses of ieee854 long double macros and unions.
54396         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
54397         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54398         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
54399         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
54400         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
54401         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54402         Likewise.
54403         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
54404         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54405         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
54406         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54407         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
54408         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54409         Simplify sign and nan test too.
54410         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
54411         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
54412         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
54413         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
54414         Likewise.
54415         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54416         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
54417         Likewise.
54418         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54419         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
54420         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
54421         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54422         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54425 2013-10-04  Alan Modra  <amodra@gmail.com>
54427         * stdio-common/printf_size.c (__printf_size): Don't use
54428         union ieee854_long_double in fpnum union.
54429         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54430         signbit macro to retrieve sign from long double.
54431         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54432         retrieve sign from long double.
54433         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54434         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54435         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54436         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54437         * math/test-misc.c (main): Don't use union ieee854_long_double.
54439 2013-10-04  Alan Modra  <amodra@gmail.com>
54441         [BZ #15680]
54442         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54443         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54444         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54445         calculation.  Remove unnecessary test for denormal exponent.
54446         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54447         Correct handling of denormals.  Avoid undefined shift behaviour.
54448         Correct normalisation of low mantissa when low double is denormal.
54449         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54450         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54451         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54452         Correct normalisation of low mantissa.  Test for overflow of high
54453         mantissa and normalise.
54454         (ldbl_nearbyint): Use more readable constant for two52.
54455         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54456         (__mpn_construct_long_double): Fix test for overflow of high
54457         mantissa and correct normalisation.  Avoid undefined shift.
54459 2013-10-04  Alan Modra  <amodra@gmail.com>
54461         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54462         (union ibm_extended_long_double): Define as an array of ieee754_double.
54463         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54464         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54465         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54466         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54468         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54469         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54470         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54471         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54472         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54473         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54475 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54477         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54478         page size instead of calling getpagesize.
54480         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54481         (LOCFILE_ALIGN_MASK): Likewise.
54482         (LOCFILE_ALIGN_UP): Likewise.
54483         (LOCFILE_ALIGNED_P): Likewise.
54484         * locale/programs/ld-collate.c (collate_output): Use the new
54485         macros instead of __alignof__ (int32_t).
54486         * locale/weight.h (findidx): Likewise.
54488 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54490         [BZ #431]
54491         * manual/string.texi: Fix strncat and wcsncat.
54493 2013-10-03  Brooks Moses  <bmoses@google.com>
54495         [BZ #15915]
54496         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54497         * Makerules: ...here, and adjust associated comments.
54499 2013-10-02  Will Newton  <will.newton@linaro.org>
54501         * malloc/Makefile: Add tst-pvalloc.
54502         * malloc/tst-pvalloc.c: New file.
54504 2013-10-02  Will Newton  <will.newton@linaro.org>
54506         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54507         improve test coverage.
54509 2013-10-02  Will Newton  <will.newton@linaro.org>
54511         * malloc/Makefile: Add tst-posix_memalign.
54512         * malloc/tst-posix_memalign.c: New file.
54514 2013-10-01  Eric Blake  <eblake@redhat.com>
54516         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54517         Use __THROWNL rather than __THROW on static functions.
54519 2013-09-30  Petr Machata  <pmachata@redhat.com>
54521         * elf/elf.h (R_AARCH64_ABS16): New macro.
54522         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54523         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54524         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54525         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54526         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54527         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54528         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54529         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54530         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54531         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54532         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54533         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54534         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54535         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54536         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54537         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54538         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54539         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54540         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54541         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54542         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54543         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54544         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54545         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54546         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54547         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54548         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54549         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54550         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54551         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54552         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54553         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54554         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54555         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54556         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54557         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54558         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54559         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54560         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54561         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54562         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54563         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54564         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54565         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54566         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54567         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54568         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54569         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54570         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54571         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54572         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54573         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54574         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54575         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54576         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54577         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54578         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54579         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54580         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54581         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54582         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54583         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54584         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54585         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54586         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54587         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54588         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54589         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54590         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54591         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54592         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54593         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54594         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54595         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54596         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54597         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54598         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54599         (R_AARCH64_TLSDESC_LDR): Likewise.
54600         (R_AARCH64_TLSDESC_ADD): Likewise.
54601         (R_AARCH64_TLSDESC_CALL): Likewise.
54603 2013-09-30  Andreas Schwab  <schwab@suse.de>
54605         [BZ #15048]
54606         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54607         the nss database lookup.
54608         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54611 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54613         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54615 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54617         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54618         ${Bash-specific parameter/pattern/string} parameter expansion.
54619         * sysdeps/unix/make-syscalls.sh: Likewise.
54621 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54623         * sysdeps/sh/stackguard-macros.h: New file.
54625 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54629         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54630         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54631         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54632         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54634 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54636         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54637         Fix thread ID register.
54639 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54641         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54642         [POSIX || UNIX98]: Require rather than permitting all symbols from
54643         <time.h>.
54644         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54645         element of struct sched_param.
54646         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54647         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54648         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54649         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54650         constant.
54652 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54654         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54655         argument calculation.
54657 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54659         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54660         Expect macro.
54661         [POSIX] (pthread_attr_t): Do not require type.
54662         [POSIX] (pthread_cond_t): Likewise.
54663         [POSIX] (pthread_condattr_t): Likewise.
54664         [POSIX] (pthread_key_t): Likewise.
54665         [POSIX] (pthread_mutex_t): Likewise.
54666         [POSIX] (pthread_mutexattr_t): Likewise.
54667         [POSIX] (pthread_once_t): Likewise.
54668         [POSIX] (pthread_t): Likewise.
54669         [POSIX-based standards] (pthread_atfork): Expect function.
54671 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54672             Richard Sandiford  <richard@codesourcery.com>
54674         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54675         (swap_endianness_p): New extern variable.
54676         (set_big_endian): New inline function.
54677         (maybe_swap_uint32): Likewise.
54678         (maybe_swap_uint32_array): Likewise.
54679         (maybe_swap_uint32_obstack): Likewise.
54680         * locale/programs/locfile.c: Include <stdbool.h>.
54681         (swap_endianness_p): New variable.
54682         (add_locale_uint32): Call maybe_swap_uint32.
54683         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54684         (write_locale_data): Call maybe_swap_uint32_array.
54685         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54686         maybe_swap_uint32.
54687         (obstack_int32_grow_fast): Likewise.
54688         (output_weightwc): Call maybe_swap_uint32_obstack.
54689         (collate_output): Likewise.
54690         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54691         (OPT_LITTLE_ENDIAN): Likewise.
54692         (options): Add --little-endian and --big-endian options.
54693         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54694         * locale/programs/locarchive.c: Include "locfile.h".
54695         (GET): New macro.
54696         (SET): Likewise.
54697         (INC): Likewise.
54698         (create_archive): Use the new macros to access fields of
54699         structures directly mapped from or written to locale archives.
54700         (oldlocrecentcmp): Likewise.
54701         (enlarge_archive): Likewise.
54702         (insert_name): Likewise.
54703         (add_alias): Likewise.
54704         (add_locale): Likewise.
54705         (delete_locales_from_archive): Likewise.
54706         (show_archive_content): Likewise.
54707         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54708         locale data.
54710 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54712         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54713         http://www.gnu.org/doc/freemanuals.texi.
54714         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54716 2013-09-24  Will Newton  <will.newton@linaro.org>
54718         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54719         macro.
54721 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54723         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54724         unsigned char.
54726 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54728         * manual/threads.texi (POSIX Threads): Fix a typo.
54730 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54732         [BZ #14547]
54733         * string/tst-strcoll-overflow.c: New test case.
54734         * string/Makefile (xtests): Add tst-strcoll-overflow.
54735         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54736         cache if string sizes may cause integer overflow.
54738         [BZ #14547]
54739         * string/strcoll_l.c (coll_seq): New members rule, idx,
54740         save_idx and back_us.
54741         (get_next_seq_nocache): New function.
54742         (do_compare_nocache): New function.
54743         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54744         when malloc fails.
54746 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54748         [BZ #15754]
54749         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54750         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54751         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54753         [BZ #15754]
54754         * elf/Makefile (tests): Add tst-ptrguard1.
54755         (tests-static): Add tst-ptrguard1-static.
54756         (tst-ptrguard1-ARGS): Define.
54757         (tst-ptrguard1-static-ARGS): Define.
54758         * elf/tst-ptrguard1.c: New file.
54759         * elf/tst-ptrguard1-static.c: New file.
54760         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54761         * sysdeps/i386/stackguard-macros.h: Likewise.
54762         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54763         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54764         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54765         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54766         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54767         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54769 2013-09-23  Hector Marco  <hecmargi@upv.es>
54770             Ismael Ripoll  <iripoll@disca.upv.es>
54771             Carlos O'Donell  <carlos@redhat.com>
54773         [BZ #15754]
54774         * sysdeps/generic/stackguard-macros.h: Define
54775         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54776         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54777         Define __pointer_chk_guard_local.
54778         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54779         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54781 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54783         [BZ #15859]
54784         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54786 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54788         * include/string.h (__ffs): Declare as hidden.
54789         * string/ffs.c (__ffs): Define as hidden.
54790         * sysdeps/i386/ffs.c (__ffs): Likewise.
54791         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54792         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54793         * sysdeps/s390/ffs.c (__ffs): Likewise.
54794         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54796 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54798         * NEWS: Mention malloc probes.
54800         * malloc/arena.c (new_heap): New memory_heap_new probe.
54801         (grow_heap): New memory_heap_more probe.
54802         (shrink_heap): New memory_heap_less probe.
54803         (heap_trim): New memory_heap_free probe.
54804         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54805         (systrim): New memory_sbrk_less probe.
54806         * manual/probes.texi: Document them.
54808         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54809         * manual/probes.texi: Document it.
54811         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54812         (__libc_realloc): Add memory_realloc_retry probe.
54813         (__libc_memalign): Add memory_memalign_retry probe.
54814         (__libc_valloc): Add memory_valloc_retry probe.
54815         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54816         (__libc_calloc): Add memory_calloc_retry probe.
54817         * manual/probes.texi: Document them.
54819         * malloc/arena.c (get_free_list): Add probe
54820         memory_arena_reuse_free_list.
54821         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54822         and memory_arena_reuse.
54823         (arena_get2) [!PER_THREAD]: Likewise.
54824         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54825         memory_arena_reuse_realloc.
54826         * manual/probes.texi: Document them.
54828         * malloc/malloc.c (__libc_free): Add
54829         memory_mallopt_free_dyn_thresholds probe.
54830         (__libc_mallopt): Add multiple memory_mallopt probes.
54831         * manual/probes.texi: Document them.
54833         * malloc/malloc.c: Include stap-probe.h.
54834         (__libc_mallopt): Add memory_mallopt probe.
54835         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54836         * manual/probes.texi: New.
54837         * manual/Makefile (chapters): Add probes.
54838         * manual/threads.texi: Set next node.
54840 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54842         [BZ #15963, #13985]
54843         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54844         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54845         Add `Chinese' to `nan' entry name.
54847 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54849         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54850         (POLYNOMIAL): Likewise.
54851         (TAYLOR_SINCOS): Likewise.
54852         (TAYLOR_SLOW): Likewise.
54853         (__sin): Use TAYLOR_SINCOS.
54854         (__cos): Likewise.
54855         (slow): Use TAYLOR_SLOW.
54856         (sloww): Likewise.
54857         (bsloww): Likewise.
54858         (csloww): Likewise.
54860 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54862         * stdlib/strtod_l.c: Fix buffer overrun.
54864 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54866         * benchtests/Makefile (bench): Add sincos.
54867         * benchtests/bench-sincos.c: New file.
54869         * math/libm-test.inc (cos_test_data): New test inputs.
54870         (sin_test_data): Likewise.
54872         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54873         macro.
54874         (__sin): Use it.
54875         (__cos): Likewise.
54876         (slow1): Likewise.
54877         (slow2): Likewise.
54878         (sloww1): Likewise.
54879         (sloww2): Likewise.
54880         (bsloww1): Likewise.
54881         (bsloww2): Likewise.
54882         (cslow2): Likewise.
54883         (csloww1): Likewise.
54884         (csloww2): Likewise.
54886         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54887         function.
54888         (__sin): Use it.
54889         (__cos): Likewise.
54891         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54892         gotos.
54893         (__cos): Likewise.
54895 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54897         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54898         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54899         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54900         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54901         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54902         * elf/cache.c (print_entry): Handle the new cache flags.
54904 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54905             Aldy Hernandez  <aldyh@redhat.com>
54907         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54908         Change condition to [_SOFT_FLOAT].
54909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54921         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54924         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54925         declaration.
54927 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54929         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54930         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54931         (__longjmp): Use LOAD_GP to load saved GPRs.
54932         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54933         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54934         (__sigsetjmp): Use SAVE_GP to save GPRs.
54936         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54937         Do not append -msoft-float.
54938         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54940 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54942         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54944 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54946         [BZ #15966]
54947         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54948         (_FPU_GETCW): Use initial "__" on variable and field names but not
54949         on macro parameter name.
54950         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54951         parentheses around reference to macro parameter.
54953 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54955         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54956         prototype.
54957         (ctype_startup): Use uint32_t in cast and sizeof for
54958         ctype->charnames.
54960 2013-09-11  Jia Liu  <proljc@gmail.com>
54962         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54963         __daddr_t_defined.
54964         [__FreeBSD__]: Likewise.
54966 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54969         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54970         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54971         (strchr): Remove __strchr_sse42 ifunc selection.
54972         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54973         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54975 2013-09-11  Will Newton  <will.newton@linaro.org>
54977         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54978         parameter to RES. Remove hardcoded 1000 value.
54979         * benchtests/bench-skeleton.c (main): Pass RES parameter
54980         to TIMING_INIT and multiply result by 1000.
54982 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54986 2013-09-11  Andreas Schwab  <schwab@suse.de>
54988         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54989         if not defined.
54990         (O_TMPFILE) [__USE_GNU]: Define.
54991         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54992         Define.
54994 2013-09-11  Will Newton  <will.newton@linaro.org>
54996         [BZ #15857]
54997         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54998         does not overflow.
55000 2013-09-11  Will Newton  <will.newton@linaro.org>
55002         [BZ #15856]
55003         * malloc/malloc.c (__libc_valloc): Check the value of bytes
55004         does not overflow.
55006 2013-09-11  Will Newton  <will.newton@linaro.org>
55008         [BZ #15855]
55009         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55010         does not overflow.
55012 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55014         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55015         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55016         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55017         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55018         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55020 2013-09-10  Allan McRae  <allan@archlinux.org>
55022         [BZ #15748]
55023         * manual/arith.texi (Parsing of Floats): Clarify
55024         cross-reference.
55026         [BZ #15849]
55027         * manual/install.texi (Running make install): Mention
55028         --enable-pt-chown.
55029         * INSTALL: Regenerated.
55031 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55033         * csu/init-first.c (_init): Remove the !SHARED condition around
55034         FPU control word initialization.
55035         * elf/dl-support.c (_dl_fpu_control): New variable.
55036         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55037         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55038         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55039         * math/test-fpucw-static.c: New file.
55040         * math/test-fpucw-ieee.c: New file.
55041         * math/test-fpucw-ieee-static.c: New file.
55042         * math/Makefile (tests): Add `test-fpucw-ieee' and
55043         `$(tests-static)'.
55044         (tests-static): New variable.
55045         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55046         dependency to...
55047         [($(build-shared),yes)]
55048         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55049         ... this.
55050         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55051         New dependency.
55053 2013-09-09  Allan McRae  <allan@archlinux.org>
55055         [BZ #15939]
55056         * manual/string.texi (Collation Functions): Fix typo in
55057         strcoll example.
55058         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55060         [BZ #15893]
55061         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55063         [BZ #15892]
55064         * libio/memstream.c (open_memstream): Fix memory leak.
55065         * libio/wmemstream.c (open_wmemstream): Likewise.
55067         [BZ #15895]
55068         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55070 2013-09-09  Will Newton  <will.newton@linaro.org>
55072         * malloc/Makefile: Add tst-realloc to tests.
55073         * malloc/tst-realloc.c: New file.
55075 2013-09-09  Allan McRae  <allan@archlinux.org>
55077         [BZ #15844]
55078         * COPYING: Update from GNU website to fix FSF address.
55079         * COPYING.LIB: Likewise.
55081 2013-09-06  David S. Miller  <davem@davemloft.net>
55083         * po/zh_TW.po: Update Chinese (traditional) translation from
55084         translation project.
55086 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55087             Joseph Myers  <joseph@codesourcery.com>
55089         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55090         "localeinfo.h".
55091         (obstack_chunk_alloc): New macro.
55092         (obstack_chunk_free): Likewise.
55093         (record_offset): New function.
55094         (init_locale_data): Likewise.
55095         (align_locale_data): Likewise.
55096         (add_locale_empty): Likewise.
55097         (add_locale_raw_data): Likewise.
55098         (add_locale_raw_obstack): Likewise.
55099         (add_locale_string): Likewise.
55100         (add_locale_wstring): Likewise.
55101         (add_locale_uint32): Likewise.
55102         (add_locale_uint32_array): Likewise.
55103         (add_locale_char): Likewise.
55104         (start_locale_structure): Likewise.
55105         (end_locale_structure): Likewise.
55106         (start_locale_prelude): Likewise.
55107         (end_locale_prelude): Likewise.
55108         (write_locale_data): Take locale_file structure rather than an
55109         iovec.
55110         * locale/programs/locfile.h: Include "obstack.h".
55111         (struct locale_file): Change to store locale file contents instead
55112         of header.
55113         (init_locale_data): New prototype.
55114         (align_locale_data): Likewise.
55115         (add_locale_empty): Likewise.
55116         (add_locale_raw_data): Likewise.
55117         (add_locale_raw_obstack): Likewise.
55118         (add_locale_string): Likewise.
55119         (add_locale_wstring): Likewise.
55120         (add_locale_uint32): Likewise.
55121         (add_locale_uint32_array): Likewise.
55122         (add_locale_char): Likewise.
55123         (start_locale_structure): Likewise.
55124         (end_locale_structure): Likewise.
55125         (start_locale_prelude): Likewise.
55126         (end_locale_prelude): Likewise.
55127         (write_locale_data): Update prototype.
55128         * locale/programs/3level.h (struct TABLE): Remove result field.
55129         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55130         Use new locale_file interface.
55131         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55132         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55133         * locale/programs/ld-address.c (address_output): Use new
55134         locale_file interface.
55135         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55136         NO_ADD_LOCALE.
55137         (collate_finish): Don't call collseq_table_finalize.
55138         (collate_output): Use new locale_file interface.
55139         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55140         in file.
55141         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55142         (TABLE): Move defines earlier in file.
55143         (ELEMENT): Likewise.
55144         (DEFAULT): Likewise.
55145         (wctrans_table_add): Move macro and inline function earlier in
55146         file.
55147         (struct wctype_table): Move type earlier in file.
55148         (add_locale_wctype_table): New static prototype.
55149         (struct locale_ctype_t): Use logical types instead of struct iovec
55150         pointers for members.
55151         (ctype_output): Use new locale_file interface.
55152         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55153         new locale_file interface.
55154         (allocate_arrays): Update for use of new locale_file interface.
55155         * locale/programs/ld-identification.c (identification_output): Use
55156         new locale_file interface.
55157         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55158         * locale/programs/ld-messages.c (messages_output): Likewise.
55159         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55160         * locale/programs/ld-name.c (name_output): Likewise.
55161         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55162         * locale/programs/ld-paper.c (paper_output): Likewise.
55163         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55164         * locale/programs/ld-time.c (time_output): Likewise.
55166 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55168         * benchtests/Makefile: Add memrchr benchmark.
55169         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55170         benchmark as memrchr.
55171         * benchtests/bench-memrchr-ifunc.c: New file.
55172         * benchtests/bench-memrchr.c: New file.
55174 2013-09-06   Will Newton  <will.newton@linaro.org>
55176         * benchtests/Makefile (string-bench): Add memcpy.
55178 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55179             Cong Wang  <amwang@redhat.com>
55181         [BZ #15850]
55182         * sysdeps/unix/sysv/linux/bits/in.h
55183         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55184         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55185         before __USE_KERNEL_IPV6_DEFS uses.
55186         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55187         IPPROTO_BEETPH.
55188         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55189         sockaddr_in6, or ipv6_mreq.
55191 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55193         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55194         memory access for final bytes in some large inputs.
55195         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55197 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55199         * string/test-memrchr.c: New file.
55200         * string/test-memrchr-ifunc.c: New file.
55201         * string/Makefile: Add new memrchr testcase.
55203 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55205         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55206         fanotify_init returns EPERM.
55208 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55210         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55211         errors.
55212         (top level): Treat second token from macro or constant entries for
55213         allowed headers as allowed.
55214         * include/complex.h: Condition internal declarations on
55215         [!_ISOMAC].
55216         * include/fenv.h: Condition include of <stdbool.h> and internal
55217         declarations on [!_ISOMAC].
55219 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55221         [BZ #15923]
55222         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55224 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55226         * configure.in (--enable-versioning): Remove configure option.
55227         (libc_cv_asm_symver_directive): Remove configure test.
55228         (libc_cv_ld_version_script_option): Likewise.
55229         (VERSIONING): Remove variable and AC_SUBST.
55230         (DO_VERSIONING): Remove AC_DEFINE.
55231         * configure: Regenerated.
55232         * config.h.in (DO_VERSIONING): Remove macro.
55233         * Makerules [$(versioning) = yes]: Change conditionals to
55234         [$(build-shared) = yes].
55235         * config.make.in (versioning): Remove variable.
55236         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55237         [$(build-shared) = yes].
55238         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55239         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55240         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55241         [$(build-shared) = yes].
55242         * extra-lib.mk [$(versioning) = yes]: Likewise.
55243         * hurd/Makefile [$(versioning) = yes]: Likewise.
55244         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55245         [SHARED].
55246         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55247         [SHARED].
55248         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55249         [SHARED && !NO_HIDDEN].
55250         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55251         [SHARED].
55252         [SHARED && DO_VERSIONING]: Likewise..
55253         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55254         [$(build-shared) = yes].
55255         * manual/install.texi (--disable-versioning): Remove
55256         documentation.
55257         * INSTALL: Regenerated.
55258         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55259         to [SHARED].
55260         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55261         [$(build-shared) = yes].
55262         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55263         * sysdeps/i386/i686/multiarch/strstr-c.c
55264         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55265         [SHARED && !NO_HIDDEN].
55266         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55267         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55268         * sysdeps/powerpc/powerpc32/dl-machine.c
55269         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55270         * sysdeps/powerpc/powerpc32/sysdep.h
55271         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55272         to [SHARED && PIC && !NO_HIDDEN].
55273         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55274         conditional to [SHARED].
55276 2013-09-04   Will Newton  <will.newton@linaro.org>
55278         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55279         * benchtests/bench-string.h: Include bench-timing.h instead
55280         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55281         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55282         call to HP_TIMING_DIFF_INIT.
55283         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55284         instead of hp-timing.h macros.
55285         * benchtests/bench-memchr.c: Likewise.
55286         * benchtests/bench-memcmp.c: Likewise.
55287         * benchtests/bench-memcpy.c: Likewise.
55288         * benchtests/bench-memmem.c: Likewise.
55289         * benchtests/bench-memmove.c: Likewise.
55290         * benchtests/bench-memset.c: Likewise.
55291         * benchtests/bench-rawmemchr.c: Likewise.
55292         * benchtests/bench-strcasecmp.c: Likewise.
55293         * benchtests/bench-strcasestr.c: Likewise.
55294         * benchtests/bench-strcat.c: Likewise.
55295         * benchtests/bench-strchr.c: Likewise.
55296         * benchtests/bench-strcmp.c: Likewise.
55297         * benchtests/bench-strcpy.c: Likewise.
55298         * benchtests/bench-strcpy_chk.c: Likewise.
55299         * benchtests/bench-strlen.c: Likewise.
55300         * benchtests/bench-strncasecmp.c: Likewise.
55301         * benchtests/bench-strncat.c: Likewise.
55302         * benchtests/bench-strncmp.c: Likewise.
55303         * benchtests/bench-strncpy.c: Likewise.
55304         * benchtests/bench-strnlen.c: Likewise.
55305         * benchtests/bench-strpbrk.c: Likewise.
55306         * benchtests/bench-strrchr.c: Likewise.
55307         * benchtests/bench-strspn.c: Likewise.
55308         * benchtests/bench-strstr.c: Likewise.
55310 2013-09-04  Will Newton  <will.newton@linaro.org>
55312         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55314 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55316         [BZ #15427]
55317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55318         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55319         * math/libm-test.inc (lgamma_test_data): Add more tests.
55320         * sysdeps/i386/fpu/libm-test-ulps: Update.
55321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55323 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55325         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55327         Add ifunc.
55328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55329         Add strcmp-sse2-unaligned
55330         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55332 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55334         * Versions.def (libc): Add GLIBC_2.19.
55336 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55338         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55339         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55341 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55343         [BZ #14155]
55344         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
55345         intermediate calculations in recurrence.
55346         (__ieee754_ynf): Likewise.
55347         * math/libm-test.inc (jn_test_data): Do not allow spurious
55348         underflow exception.  Add more tests.
55349         (yn_test_data): Add more tests.
55350         * sysdeps/i386/fpu/libm-test-ulps: Update.
55351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55353 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
55355         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
55357 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55359         * csu/init-first.c: Fix then/than typos.
55360         * locale/programs/ld-collate.c: Likewise.
55361         * locale/programs/linereader.h: Likewise.
55362         * manual/charset.texi: Likewise.
55363         * manual/filesys.texi: Likewise.
55364         * manual/stdio.texi: Likewise.
55365         * manual/string.texi: Likewise.
55366         * stdlib/fmtmsg.c: Likewise.
55367         * sysdeps/i386/stpncpy.S: Likewise.
55368         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55369         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55370         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55371         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55373 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55375         * elf/dl-open.c: Fix typos.
55376         * iconvdata/gbbig5.c: Likewise.
55377         * iconvdata/iso-2022-jp.c: Likewise.
55378         * iconv/gconv_int.h: Likewise.
55379         * iconv/loop.c: Likewise.
55380         * nis/rpcsvc/nis.h: Likewise.
55381         * resolv/ns_name.c: Likewise.
55382         * stdio-common/vfscanf.c: Likewise.
55383         * streams/stropts.h: Likewise.
55384         * sunrpc/rpc_thread.c: Likewise.
55385         * sysdeps/i386/strpbrk.S: Likewise.
55386         * sysdeps/ieee754/k_standard.c: Likewise.
55387         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55388         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55389         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
55390         * sysdeps/mach/hurd/profil.c: Likewise.
55391         * sysdeps/s390/dl-procinfo.h: Likewise.
55392         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
55393         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
55394         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55395         * sysdeps/x86_64/dl-trampoline.S: Likewise.
55396         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55398 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
55400         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
55401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
55403 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
55405         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
55406         aix specific files.
55407         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
55408         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
55409         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
55410         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55411         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
55412         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
55413         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
55414         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
55416 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55417             Roland McGrath  <roland@hack.frob.com>
55419         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
55420         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55422 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55424         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55425         __executable_start symbol instead of _start.
55427 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55429         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55430         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55431         Move macros to...
55432         * sysdeps/gnu/ldsodefs.h: ... this new file.
55434         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55435         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55436         instead of ELFOSABI_LINUX.
55438         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55439         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55440         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55441         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55442         Likewise.
55443         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55444         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55445         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55446         Likewise.
55447         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55448         (ibm_extended_long_double): Add ieee_nan member.
55449         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55450         (do_test): New function.
55452         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55453         TEST_TRUNC.
55454         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55455         functions, renamed from truncdfsf_test, trunctfsf_test,
55456         trunctfdf_test.
55457         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55458         functions.
55459         (do_test): Run all these.
55461 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55463         * argp/argp-help.c: Fix typos.
55464         * argp/argp-parse.c: Likewise.
55465         * debug/backtracesyms.c: Likewise.
55466         * elf/elf.h: Likewise.
55467         * malloc/malloc.c: Likewise.
55468         * nis/nis_print.c: Likewise.
55469         * resolv/res_comp.c: Likewise.
55470         * stdlib/stdlib.h: Likewise.
55471         * sunrpc/clnt_tcp.c: Likewise.
55472         * sunrpc/clnt_udp.c: Likewise.
55473         * sunrpc/clnt_unix.c: Likewise.
55474         * sysdeps/unix/bsd/ptsname.c: Likewise.
55475         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55476         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55478         Likewise.
55479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55480         Likewise.
55481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55482         Likewise.
55483         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55485 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55487         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55490 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55492         [BZ #15897]
55493         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55494         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55495         ($(objpfx)bug-dl-leaf): New rule.
55496         ($(objpfx)bug-dl-leaf.so): Likewise.
55497         ($(objpfx)bug-dl-leaf.out): Likewise.
55498         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55499         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55500         * dlfcn/bug-dl-leaf.c: New test.
55501         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55502         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55503         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55504         (dlclose): Likewise.
55505         (dlmopen): Likewise.
55507 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55509         * include/netdb.h [!_ISOMAC]:
55510         Don't include <tls.h>.
55511         (h_errno, __libc_h_errno): Move declaration and macros out of
55512         [_LIBC_REENTRANT].
55514         * include/resolv.h [_RESOLV_H_]:
55515         Don't include <tls.h>.
55516         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55517         * resolv/res_libc.c: Don't include <tls.h>.
55518         (_res): Use __attribute__ ((nocommon)) in place of
55519         __attribute__ ((section (".bss"))).
55521         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55522         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55524         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55526         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55527         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55529         * resolv/res_mkquery.c: Include <sys/time.h>.
55531         * inet/ifreq.c: Moved to ...
55532         * sysdeps/unix/ifreq.c: ... here.
55533         * inet/ifreq.c: New file, true stub version.
55535         * socket/sa_len.c: New file.
55536         * socket/Makefile (aux): Add it.
55537         * sysdeps/unix/sysv/linux/Makefile
55538         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55539         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55540         and #include <socket/sa_len.c>.
55541         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55542         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55544         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55545         * bits/socket.h: ... here.
55547         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55548         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55549         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55551 2013-08-27  Andreas Schwab  <schwab@suse.de>
55553         [BZ #15736]
55554         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55555         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55556         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55557         * string/test-strcasecmp.c (test_main): Run tests in several
55558         locales.
55559         * string/test-strncasecmp.c (test_main): Likewise.
55561         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55562         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55563         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55564         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55565         (__strncasecmp_ssse3) [PIC]: Likewise.
55567 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55569         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55571         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55572         instead of explicitly declaring xdecrypt.
55573         * nis/nss_nis/nis-publickey.c: Likewise.
55575 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55577         [BZ #15890]
55578         * nscd/aicache.c: Include res_hconf.h.
55579         (addhstaiX): Initialize res_hconf.
55581 2013-08-26  Andreas Schwab  <schwab@suse.de>
55583         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55584         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55586 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55588         * nscd/aicache.c (addhstaiX): Fix indentation.
55590 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55592         * configure.ac: Quote $build_pt_chown test.
55593         * configure: Regenerated.
55595 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55597         [BZ #15532]
55598         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55599         * math/s_cexpf.c (__cexpf): Likewise.
55600         * math/s_cexpl.c (__cexpl): Likewise.
55601         * math/libm-test.inc (cexp_test_data): Correct expected return
55602         value for NaN + i0.  Add another test.
55604 2013-08-22  David S. Miller  <davem@davemloft.net>
55606         * po/ca.po: Update Catalan translation from translation project.
55607         * po/uk.po: Add Ukrainian translations from translation project.
55609 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55611         [BZ #15797]
55612         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55613         is infinite, not alongside NaN test.
55614         * math/s_fdimf.c (__fdimf): Likewise.
55615         * math/s_fdiml.c (__fdiml): Likewise.
55616         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55617         errno is unchanged.
55619 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55621         * argp/argp-help.c: Fix typos.
55622         * crypt/speeds.c: Likewise.
55623         * csu/check_fds.c: Likewise.
55624         * elf/dl-load.c: Likewise.
55625         * elf/dl-open.c: Likewise.
55626         * elf/reldep3.c: Likewise.
55627         * elf/reldep.c: Likewise.
55628         * elf/sprof.c: Likewise.
55629         * iconv/iconv_charmap.c: Likewise.
55630         * iconv/skeleton.c: Likewise.
55631         * iconv/strtab.c: Likewise.
55632         * io/lockf64.c: Likewise.
55633         * libio/libioP.h: Likewise.
55634         * resolv/gai_notify.c: Likewise.
55635         * resolv/ns_name.c: Likewise.
55636         * resolv/ns_samedomain.c: Likewise.
55637         * resolv/res_send.c: Likewise.
55638         * stdlib/random.c: Likewise.
55639         * sunrpc/rpc/xdr.h: Likewise.
55640         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55641         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55642         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55643         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55644         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55645         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55646         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55647         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55648         * sysdeps/mach/hurd/check_fds.c: Likewise.
55649         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55650         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55652         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55653         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55654         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55655         * sysdeps/pthread/aio_notify.c: Likewise.
55656         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55657         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55658         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55659         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55660         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55662 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55664         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55665         version if bit_Slow_SSE4_2 is set.
55666         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55667         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55669 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55671         [BZ #15867]
55672         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55673         trampoline stack frame information.
55674         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55675         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55676         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55677         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55678         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55679         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55680         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55681         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55682         sa_flags value.
55683         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55684         interrupting a syscall and set with option SA_SIGINFO.
55686 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55688         [BZ #15531]
55689         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55690         argument is infinite.
55691         * math/s_cprojf.c (__cprojf): Likewise.
55692         * math/s_cprojl.c (__cprojl): Likewise.
55693         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55694         * math/libm-test.inc (cproj_test_data): Add more tests.
55696         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55698         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55699         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55700         size.  Use __ffs to determine corresponding shift.
55702 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55703             Roland McGrath  <roland@hack.frob.com>
55705         * Makefile (INSTALL): Remove trailing blank lines from output of
55706         makeinfo.
55708 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55710         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55711         Align 32 bit compat elf_greg to 8 bytes.
55713 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55715         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55717 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55719         * string/strcoll_l.c (coll_seq): New structure.
55720         (get_next_seq_cached): New function.
55721         (get_next_seq): New function.
55722         (do_compare): New function.
55723         (STRCOLL): Use GNU style definition.  Simplify implementation
55724         by using get_next_seq, get_next_seq_cached and do_compare.
55726 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55728         [BZ #14699]
55729         CVE-2013-4237
55730         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55731         member.
55732         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55733         member.
55734         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55735         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55736         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55737         conditional.
55738         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55739         GETDENTS_64BIT_ALIGNED.
55740         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55741         * manual/filesys.texi (Reading/Closing Directory): Document
55742         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55743         strongly.
55744         * manual/conf.texi (Limits for Files): Add portability note to
55745         NAME_MAX, PATH_MAX.
55746         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55748 2013-08-13  Andreas Schwab  <schwab@suse.de>
55750         [BZ #15749]
55751         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55752         of fabs.
55753         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55754         LDBL_MAX_EXP >= 16384]: Add tests for it.
55756 2013-08-12  David S. Miller  <davem@davemloft.net>
55758         * version.h (RELEASE): Set to "development".
55759         (VERSION): Set to "2.18.90".
55760         * NEWS: Add 2.19 section.
55762 2013-08-03  David S. Miller  <davem@davemloft.net>
55764         * po/ko.po: Update Korean translation from translation project.
55766 2013-08-01  David S. Miller  <davem@davemloft.net>
55768         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55769         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55770         Bilka.
55772 2013-07-30  David S. Miller  <davem@davemloft.net>
55774         * po/fr.po: Update French translation from translation project.
55776 2013-07-28  David S. Miller  <davem@davemloft.net>
55778         * po/cs.po: Update Czech translation from translation project.
55780         * po/sv.po: Update Swedish translation from translation project.
55782 2013-07-27  David S. Miller  <davem@davemloft.net>
55784         * po/eo.po: Update Esperanto translation from translation project.
55786         * po/vi.po: Update Vietnamese translation from translation project.
55788         * po/de.po: Update German translation from translation project.
55790 2013-07-26  David S. Miller  <davem@davemloft.net>
55792         * po/bg.po: Update Bulgarian translation from translation project.
55794         * po/nl.po: Update Dutch translation from translation project.
55795         * po/pl.po: Update Polish translation from translation project.
55796         * po/ru.po: Update Russian translation from translation project.
55798 2013-07-24  David S. Miller  <davem@davemloft.net>
55800         * po/libc.pot: Update.
55802 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55804         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55805         variable page size.
55806         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55807         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55808         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55810 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55812         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55814 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55815             Andreas Schwab  <schwab@suse.de>
55816             Roland McGrath  <roland@hack.frob.com>
55817             Joseph Myers  <joseph@codesourcery.com>
55818             Carlos O'Donell  <carlos@redhat.com>
55820         [BZ #15755]
55821         * config.h.in: Define HAVE_PT_CHOWN.
55822         * config.make.in (build-pt-chown): New variable.
55823         * configure.in (--enable-pt_chown): New configure option.
55824         * configure: Regenerate.
55825         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55826         build-pt-chown is enabled.
55827         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55828         pt_chown to fix pty ownership.
55829         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55830         CLOSE_ALL_FDS.
55831         * manual/install.texi (Configuring and compiling): Mention
55832         --enable-pt_chown. Add @findex for grantpt.
55833         * INSTALL: Regenerate.
55835 2013-07-20  David S. Miller  <davem@davemloft.net>
55837         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55838         difference between 32-bit and 64-bit.
55840 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55842         [BZ #15711]
55843         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55844         Avoid system header dependency with -ffreestanding.
55845         ($(objpfx)bits/syscall%d): Likewise.
55847 2013-07-13  David S. Miller  <davem@davemloft.net>
55849         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55850         underflows from atanl/atan2l due to bug 15319.
55851         (casinh_test_data): Likewise.
55853 2013-07-07  David S. Miller  <davem@davemloft.net>
55855         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55857 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55859         * sysdeps/i386/fpu/libm-test-ulps: Update.
55860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55862 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55864         * configure.in (--enable-lock-elision): Fix message text.
55865         * INSTALL: Regenerate.
55866         * configure: Regenerate.
55868 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55872 2013-07-03  Andreas Jaeger  <aj@suse.de>
55874         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55875         define.
55876         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55877         (ptrace_peeksiginfo_args): Add.
55878         (__ptrace_peeksiginfo_flags): Add.
55879         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55881         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55883 2013-07-03  Allan McRae  <allan@archlinux.org>
55885         * sysdeps/i386/fpu/libm-test-ulps: Update.
55887 2013-07-02  David S. Miller  <davem@davemloft.net>
55889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55891 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55895 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55897         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55900 2013-07-02  Andi Kleen <ak@linux.intel.com>
55902         * config.h.in (ENABLE_LOCK_ELISION): Add.
55903         * configure.in (--enable-lock-elision): Add option.
55904         * manual/install.texi: Document --enable lock elision.
55905         * configure: Regenerate
55906         * INSTALL: Regenerate.
55908 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55910         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55911         SSE4.2 strcasecmp for libc.a.
55912         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55914 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55916         [BZ #13304]
55917         * soft-fp/op-common.h (_FP_FMA): New macro.
55918         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55919         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55920         (_FP_MUL_MEAT_1_imm): ... here.
55921         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55922         (_FP_MUL_MEAT_1_wide): ... here.
55923         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55924         (_FP_MUL_MEAT_1_hard): ... here.
55925         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55926         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55927         (_FP_MUL_MEAT_2_wide): ... here.
55928         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55929         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55930         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55931         (_FP_MUL_MEAT_2_gmp): ... here.
55932         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55933         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55934         (_FP_MUL_MEAT_4_wide): ... here.
55935         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55936         (_FP_MUL_MEAT_4_gmp): ... here.
55937         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55938         (_FP_WFRACBITS_DW_S): Likewise.
55939         (_FP_WFRACXBITS_DW_S): Likewise.
55940         (_FP_HIGHBIT_DW_S): Likewise.
55941         (FP_FMA_S): Likewise.
55942         (_FP_FRAC_HIGH_DW_S): Likewise.
55943         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55944         (_FP_WFRACBITS_DW_D): Likewise.
55945         (_FP_WFRACXBITS_DW_D): Likewise.
55946         (_FP_HIGHBIT_DW_D): Likewise.
55947         (FP_FMA_D): Likewise.
55948         (_FP_FRAC_HIGH_DW_D): Likewise.
55949         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55950         (_FP_WFRACBITS_DW_E): Likewise.
55951         (_FP_WFRACXBITS_DW_E): Likewise.
55952         (_FP_HIGHBIT_DW_E): Likewise.
55953         (FP_FMA_E): Likewise.
55954         (_FP_FRAC_HIGH_DW_E): Likewise.
55955         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55956         (_FP_WFRACBITS_DW_Q): Likewise.
55957         (_FP_WFRACXBITS_DW_Q): Likewise.
55958         (_FP_HIGHBIT_DW_Q): Likewise.
55959         (FP_FMA_Q): Likewise.
55960         (_FP_FRAC_HIGH_DW_Q): Likewise.
55961         * soft-fp/fmasf4.c: New file.
55962         * soft-fp/fmadf4.c: Likewise.
55963         * soft-fp/fmatf4.c: Likewise.
55965 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55968         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55969         Silvermont.
55970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55971         macro.
55972         (index_Slow_SSE4_2): Likewise.
55973         (index_Prefer_PMINUB_for_stringop): Likewise.
55974         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55975         bit_Slow_SSE4_2 is set.
55976         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55977         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55979 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55981         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55982         rtld_global._dl_hwcap2.
55983         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55984         POWER8.
55985         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55986         POWER8 feature descriptions defined in _dl_hwcap2.
55987         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55988         string handling for POWER8 feature bits.
55989         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55990         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55991         _dl_powerpc_cap_flags.
55992         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55993         * sysdeps/powerpc/rtld-global-offsets.sym
55994         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55995         _dl_hwcap2 in the rtld_global_ro structure.
55997 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55999         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
56000         hardware capabilities in support of AT_HWCAP2.
56001         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
56002         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
56003         GLRO(dl_hwcap2).
56004         (_dl_show_auxv): Add support for calling _dl_procinfo to display
56005         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
56006         explicitly the unknown a_type display mechanism is used.
56007         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56008         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56009         struct member.
56010         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56011         to macro prototype for AT_HWCAP2 support.
56012         * sysdeps/i386/dl-procinfo.h: Likewise.
56013         * sysdeps/s390/dl-procinfo.h: Likewise.
56014         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56015         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56016         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56017         return -1 for unknown a_type display fallback.
56018         * sysdeps/sparc/dl-procinfo.h: Likewise.
56019         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56020         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56022 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56024         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56025         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56027 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56029         [BZ #12492]
56030         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56031         mprotect making __stack_prot writable.
56033 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56034             Joseph Myers  <joseph@codesourcery.com>
56036         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56037         as being properly aligned.
56039 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56041         * dlfcn/modstatic5.c: New file.
56042         * dlfcn/tststatic5.c: New file.
56043         * dlfcn/Makefile (tests): Add tststatic5.
56044         (tests-static): Likewise.
56045         (modules-names): Add modstatic5.
56046         (tststatic5-ENV): New variable.
56047         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56049         [BZ #15022]
56050         * elf/dl-support.c (_dl_main_map): New variable.
56051         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56052         (_dl_nns, _dl_load_adds): Set to 1.
56053         (_dl_initial_searchlist): Refer to _dl_main_map.
56054         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56055         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56056         call to _dl_get_origin.
56057         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56058         around call_map.
56059         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56060         * dlfcn/modstatic3.c: New file.
56061         * dlfcn/tststatic3.c: New file.
56062         * dlfcn/tststatic4.c: New file.
56063         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56064         (tests-static): Likewise.
56065         (modules-names): Add modstatic3.
56066         (tststatic3-ENV, tststatic4-ENV): New variables.
56067         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56068         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56070 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56072         * configure.in (CC): Require GCC version 4.4 or later.
56073         * configure: Regenerated.
56074         * manual/install.texi (Tools for Compilation): Update GCC version
56075         requirement.
56076         * INSTALL: Regenerated.
56078 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56080         [BZ #15674]
56081         * string/test-memcmp.c (check2): New.
56082         (main): Call check2.
56084         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56086 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56088         [BZ #15022]
56089         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56090         over to...
56091         (dl_open_worker) [!SHARED]: ... here.
56093 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56095         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56097 2013-06-25  Richard Henderson  <rth@redhat.com>
56099         * locale/programs/locarchive.c: Include <libc-internal.h>
56101 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56103         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56104         trailing whitespace removed.
56106 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56108         [BZ #10283]
56109         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56110         * locale/programs/locarchive.c: Include libc-mmap.h.
56111         (prepare_address_space): Take two new outputs (the mmap base and len).
56112         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56113         values.
56114         (create_archive): Declare new mmap base and len values for
56115         prepare_address_space, and store the result in ah.
56116         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56117         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56118         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56119         Declare new mmap base and len values for
56120         prepare_address_space, and store the result in new_ah.
56121         (open_archive): Declare new mmap base and len values for
56122         prepare_address_space, and store the result in ah.
56123         (close_archive): If ah->mmap_base is not NULL, use that and
56124         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56125         * sysdeps/generic/libc-mmap.h: New file.
56127 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56129         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56130         (ALIGN_UP): Likewise.
56131         (PTR_ALIGN_DOWN): Likewise.
56132         (PTR_ALIGN_UP): Likewise.
56134 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56136         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56137         entry mapped to PPC_PLATFORM_POWER8.
56138         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56139         POWER8.
56140         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56141         (_dl_string_platform): Add case for exporting platform position for
56142         POWER8.
56143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56144         search path to sysdeps/powerpc/powerpc32/power8 directory.
56145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56146         search path to sysdeps/powerpc/powerpc64/power8 directory.
56147         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56148         power7 directories.
56149         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56150         power7 directories.
56152 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56154         * INSTALL: Regenerate.
56156         * nscd/connections.c (nscd_init): Fix comment.
56158 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56160         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56162         [BZ #15667]
56163         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56164         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56166 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56168         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56169         DL_DST_REQ_STATIC.
56170         (DL_DST_REQ_STATIC): Remove macro.
56172 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56174         [BZ #7006]
56175         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56176         with a shift of 0 bits.
56178 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56180         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56181         $(tststatic-ENV).
56183 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56185         [BZ #15655]
56186         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56188 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56190         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56191         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56192         accepts -fno-tree-loop-distribute-patterns.
56193         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56194         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56195         recursive call.
56196         * string/memset.c (memset): Likewise.
56197         * string/test-memmove.c (simple_memmove): Disable loop transformation
56198         to library calls.
56199         * string/test-memset.c (simple_memset): Likewise.
56200         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56201         * benchtests/bench-memset.c (simple_memset): Likewise.
56202         * configure: Regenerated.
56204 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56206         * math/test-misc.c (main): Ignore fesetround failure when failures
56207         of subsequent rounding tests would be ignored.
56209         [BZ #15654]
56210         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56211         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56212         * math/fegetenv.c (__fegetenv): Return 0.
56213         * math/fegetexcept.c (fegetexcept): Return 0.
56214         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56215         FE_TONEAREST.
56216         * math/feholdexcpt.c (feholdexcept): Return 0.
56217         * math/fesetenv.c (__fesetenv): Return 0.
56218         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56219         argument FE_TONEAREST.
56220         * math/feupdateenv.c (__feupdateenv): Return 0.
56221         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56223 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56225         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56226         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56227         ($(objpfx)rtld-%.os rules): Use them.
56229 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56231         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56232         fields.
56234 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56236         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56237         length of target pattern, then descending length of dependency pattern.
56238         * configure.in (AWK): Require gawk 3.1.2 or newer.
56239         * manual/install.texi (Tools for Compilation): Say that we do.
56240         * configure: Regenerated.
56242         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56243         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56244         * scripts/sysd-rules.awk: ... this new script.
56245         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56246         than a glob-style pattern.
56248 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56250         * math/test-misc.c (main): Do not treat incorrectly rounded
56251         conversions as failure unless ROUNDING_TESTS passes.
56253 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56255         [BZ #15631]
56256         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56257         restore exception state around main square root computation, then
56258         check for inexactness explicitly.
56260         * math/libm-test.inc (fma_test_data): Add another test.
56262 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56264         * manual/threads.texi (Non-POSIX Extensions): New document
56265         node.  Document pthread_getattr_default_np and
56266         pthread_setattr_default_np.
56268         * Versions.def (libpthread): Add GLIBC_2.18.
56269         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56271         Likewise.
56272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56273         Likewise.
56274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56275         Likewise.
56276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56277         Likewise.
56278         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56279         Likewise.
56280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56281         Likewise.
56282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56283         Likewise.
56284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56285         Likewise.
56286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56287         Likewise.
56289 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56292         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56294 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56295             H.J. Lu  <hjl.tools@gmail.com>
56297         [BZ #15627]
56298         * sysdeps/x86_64/rtld-memset.c: Remove file.
56299         * sysdeps/x86_64/rtld-memset.S: New file.
56301 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56303         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56304         (test_in_one_mode): Take arguments for whether the rounding mode
56305         is supported for each floating-point type.
56306         (do_test): Pass new arguments to test_in_one_mode using
56307         ROUNDING_TESTS.
56309 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56311         * posix/tst-waitid.c (do_test): Distinguish different instances of
56312         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56313         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56314         before entering the kernel for waitpid.
56316 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56318         * NEWS: Fix note on clock function precision.  Text by Roland
56319         McGrath.
56321 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56323         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56324         it into place only when and if the sanity check passes.
56326 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56328         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56329         output for whether conversion result is exact.  Take argument
56330         indicating whether type is IBM long double.
56331         (round_for_all): Change need_exact field to ibm_ld.
56332         * stdlib/tst-strtod-round.c (struct exactness): New type.
56333         (struct test): Change bool ld_ok field to struct exactness exact.
56334         (TEST): Update all definitions for change to field.
56335         (tests): Regenerate array contents.
56336         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56337         field value.  Check for IBM long double here.
56338         (do_test): Update calls to test_in_one_mode.
56340 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56342         [BZ #12515]
56343         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56344         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
56346 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56348         [BZ #15605]
56349         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
56350         generated by the compiler on loop optimizations.
56351         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
56352         general definitions.
56354 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
56356         * math/bug-nextafter.c: Include <math-tests.h>.
56357         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56358         the relevant type.
56359         * math/bug-nexttoward.c: Include <math-tests.h>.
56360         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56361         the relevant type.
56362         * math/test-misc.c: Include <math-tests.h>.
56363         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56364         the relevant type.
56366 2013-06-12  Andreas Jaeger  <aj@suse.de>
56368         * po/ia.po: Update Interlingua translation from translation
56369         project.
56371 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56373         * include/fenv.h: Include stdbool.h.
56374         (struct rm_ctx): New structure.
56375         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
56376         Define macro.
56377         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
56378         (SET_RESTORE_ROUNDF): Likewise.
56379         (SET_RESTORE_ROUNDL): Likewise.
56380         (SET_RESTORE_ROUND_NOEX): Likewise.
56381         (SET_RESTORE_ROUND_NOEXF): Likewise.
56382         (SET_RESTORE_ROUND_NOEXL): Likewise.
56383         (SET_RESTORE_ROUND_53BIT): Likewise.
56384         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
56385         (libc_feresetround_noexf_ctx): Likewise.
56386         (libc_feresetround_noexl_ctx): Likewise.
56387         (libc_feholdsetround_53bit_ctx): Likewise.
56388         (libc_feresetround_53bit_ctx): Likewise.
56389         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
56390         (libc_feholdexcept_setround_sse_ctx): New function.
56391         (libc_fesetenv_sse_ctx): Likewise.
56392         (libc_feupdateenv_sse_ctx): Likewise.
56393         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
56394         (libc_feholdexcept_setround_387_ctx): Likewise.
56395         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
56396         (libc_feholdsetround_387_prec_ctx): Likewise.
56397         (libc_feholdsetround_387_ctx): Likewise.
56398         (libc_feholdsetround_387_53bit_ctx): Likewise.
56399         (libc_feholdsetround_sse_ctx): Likewise.
56400         (libc_feresetround_sse_ctx): Likewise.
56401         (libc_feresetround_387_ctx): Likewise.
56402         (libc_feupdateenv_387_ctx): Likewise.
56403         (libc_feholdexcept_setroundf_ctx): Define macro.
56404         (libc_fesetenvf_ctx): Likewise.
56405         (libc_feupdateenvf_ctx): Likewise.
56406         (libc_feholdsetroundf_ctx): Likewise.
56407         (libc_feresetroundf_ctx): Likewise.
56408         (libc_feholdexcept_setround_ctx): Likewise.
56409         (libc_fesetenv_ctx): Likewise.
56410         (libc_feupdateenv_ctx): Likewise.
56411         (libc_feholdsetround_ctx): Likewise.
56412         (libc_feresetround_ctx): Likewise.
56413         (libc_feholdexcept_setroundl_ctx): Likewise.
56414         (libc_feupdateenvl_ctx): Likewise.
56415         (libc_feholdsetroundl_ctx): Likewise.
56416         (libc_feresetroundl_ctx): Likewise.
56417         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
56418         (libc_feresetround_53bit_ctx): Likewise.
56420 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56422         * locale/iso-639.def: Convert to UTF-8.
56424 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56426         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56427         (EXCEPTION_TESTS_double): Likewise.
56428         (EXCEPTION_TESTS_long_double): Likewise.
56429         (EXCEPTION_TESTS): Likewise.
56430         * math/libm-test.inc (test_exceptions): Only test exceptions if
56431         EXCEPTION_TESTS (FLOAT).
56433 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56435         * benchtests/Makefile (string-bench): Add strcpy_chk and
56436         stpcpy_chk.
56437         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56438         * benchtests/bench-stpcpy_chk.c: New file.
56439         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56440         * benchtests/bench-strcpy_chk.c: New file.
56441         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56442         code.
56443         (do_test): Likewise.
56445 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56447         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56448         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56449         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56450         with tabs where appropriate.
56451         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56452         dl-procinfo.h.
56453         [PPC_PLATFORM_PPC440]: Likewise.
56454         [PPC_PLATFORM_PPC464]: Likewise.
56455         [PPC_PLATFORM_PPC476]: Likewise.
56456         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56457         ppc464, and ppc476 platform strings merging from ports/
56458         dl-procinfo.h.
56460 2013-06-11  Andreas Schwab  <schwab@suse.de>
56462         [BZ #14991]
56463         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56464         (from_ucs4_idx): Regenerate.
56465         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56466         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56467         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56468         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56469         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56470         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56471         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56472         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56473         from FROM_LOOP and TO_LOOP specific macros.
56474         (BODY): Handle combining characters.
56475         * iconvdata/BIG5HKSCS.irreversible: Update.
56476         * iconvdata/BIG5HKSCS.precomposed: New file.
56477         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56478         characters.
56479         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56481 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56483         * include/sys/time.h: Fix indentation and add copyright header.
56485         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56486         (do_test): Likewise.
56487         * string/test-memchr.c (do_one_test): Likewise.
56488         (do_test): Likewise.
56489         * string/test-memcmp.c (do_one_test): Likewise.
56490         (do_test): Likewise.
56491         * string/test-memcpy.c (do_one_test): Likewise.
56492         (do_test): Likewise.
56493         * string/test-memmem.c (do_one_test): Likewise.
56494         (do_test): Likewise.
56495         (do_random_tests): Likewise.
56496         * string/test-memmove.c (do_one_test): Likewise.
56497         (do_test): Likewise.
56498         * string/test-memset.c (do_one_test): Likewise.
56499         (do_test): Likewise.
56500         * string/test-rawmemchr.c (do_one_test): Likewise.
56501         (do_test): Likewise.
56502         * string/test-strcasecmp.c (do_one_test): Likewise.
56503         (do_test): Likewise.
56504         * string/test-strcasestr.c (do_one_test): Likewise.
56505         (do_test): Likewise.
56506         * string/test-strcat.c (do_one_test): Likewise.
56507         (do_test): Likewise.
56508         * string/test-strchr.c (do_one_test): Likewise.
56509         (do_test): Likewise.
56510         * string/test-strcmp.c (do_one_test): Likewise.
56511         (do_test): Likewise.
56512         * string/test-strcpy.c (do_one_test): Likewise.
56513         (do_test): Likewise.
56514         * string/test-string.h: Likewise.
56515         (test_init): Likewise.
56516         * string/test-strlen.c (do_one_test): Likewise.
56517         (do_test): Likewise.
56518         * string/test-strncasecmp.c (do_one_test): Likewise.
56519         (do_test): Likewise.
56520         * string/test-strncat.c (do_one_test): Likewise.
56521         (do_test): Likewise.
56522         * string/test-strncmp.c (do_one_test): Likewise.
56523         (do_test_limit): Likewise.
56524         (do_test): Likewise.
56525         * string/test-strncpy.c (do_one_test): Likewise.
56526         (do_test): Likewise.
56527         * string/test-strnlen.c (do_one_test): Likewise.
56528         (do_test): Likewise.
56529         * string/test-strpbrk.c (do_one_test): Likewise.
56530         (do_test): Likewise.
56531         * string/test-strrchr.c (do_one_test): Likewise.
56532         (do_test): Likewise.
56533         * string/test-strspn.c (do_one_test): Likewise.
56534         (do_test): Likewise.
56535         * string/test-strstr.c (do_one_test): Likewise.
56536         (do_test): Likewise.
56538         * benchtests/Makefile (string-bench): Add string benchmarks.
56539         * benchtests/bench-bcopy-ifunc.c: New file.
56540         * benchtests/bench-bcopy.c: New file.
56541         * benchtests/bench-bzero-ifunc.c: New file.
56542         * benchtests/bench-bzero.c: New file.
56543         * benchtests/bench-memccpy-ifunc.c: New file.
56544         * benchtests/bench-memccpy.c: New file.
56545         * benchtests/bench-memchr-ifunc.c: New file.
56546         * benchtests/bench-memchr.c: New file.
56547         * benchtests/bench-memcmp-ifunc.c: New file.
56548         * benchtests/bench-memcmp.c: New file.
56549         * benchtests/bench-memmem-ifunc.c: New file.
56550         * benchtests/bench-memmem.c: New file.
56551         * benchtests/bench-memmove-ifunc.c: New file.
56552         * benchtests/bench-memmove.c: New file.
56553         * benchtests/bench-mempcpy-ifunc.c: New file.
56554         * benchtests/bench-mempcpy.c: New file.
56555         * benchtests/bench-memset-ifunc.c: New file.
56556         * benchtests/bench-memset.c: New file.
56557         * benchtests/bench-rawmemchr-ifunc.c: New file.
56558         * benchtests/bench-rawmemchr.c: New file.
56559         * benchtests/bench-stpcpy-ifunc.c: New file.
56560         * benchtests/bench-stpcpy.c: New file.
56561         * benchtests/bench-stpncpy-ifunc.c: New file.
56562         * benchtests/bench-stpncpy.c: New file.
56563         * benchtests/bench-strcasecmp-ifunc.c: New file.
56564         * benchtests/bench-strcasecmp.c: New file.
56565         * benchtests/bench-strcasestr-ifunc.c: New file.
56566         * benchtests/bench-strcasestr.c: New file.
56567         * benchtests/bench-strcat-ifunc.c: New file.
56568         * benchtests/bench-strcat.c: New file.
56569         * benchtests/bench-strchr-ifunc.c: New file.
56570         * benchtests/bench-strchr.c: New file.
56571         * benchtests/bench-strchrnul-ifunc.c: New file.
56572         * benchtests/bench-strchrnul.c: New file.
56573         * benchtests/bench-strcmp-ifunc.c: New file.
56574         * benchtests/bench-strcmp.c: New file.
56575         * benchtests/bench-strcpy-ifunc.c: New file.
56576         * benchtests/bench-strcpy.c: New file.
56577         * benchtests/bench-strcspn-ifunc.c: New file.
56578         * benchtests/bench-strcspn.c: New file.
56579         * benchtests/bench-strlen-ifunc.c: New file.
56580         * benchtests/bench-strlen.c: New file.
56581         * benchtests/bench-strncasecmp-ifunc.c: New file.
56582         * benchtests/bench-strncasecmp.c: New file.
56583         * benchtests/bench-strncat-ifunc.c: New file.
56584         * benchtests/bench-strncat.c: New file.
56585         * benchtests/bench-strncmp-ifunc.c: New file.
56586         * benchtests/bench-strncmp.c: New file.
56587         * benchtests/bench-strncpy-ifunc.c: New file.
56588         * benchtests/bench-strncpy.c: New file.
56589         * benchtests/bench-strnlen-ifunc.c: New file.
56590         * benchtests/bench-strnlen.c: New file.
56591         * benchtests/bench-strpbrk-ifunc.c: New file.
56592         * benchtests/bench-strpbrk.c: New file.
56593         * benchtests/bench-strrchr-ifunc.c: New file.
56594         * benchtests/bench-strrchr.c: New file.
56595         * benchtests/bench-strspn-ifunc.c: New file.
56596         * benchtests/bench-strspn.c: New file.
56597         * benchtests/bench-strstr-ifunc.c: New file.
56598         * benchtests/bench-strstr.c: New file.
56600         * benchtests/Makefile: Disable parallel execution of targets.
56601         (string-bench): Add memcpy.
56602         (benchset): New variable to store a list of benchmark sets.
56603         (bench-func): Renamed from bench.
56604         (bench-set): New target.
56605         (bench): Depend on bench-func and bench-set.
56606         * benchtests/README: Add section on benchmark sets.
56607         * benchtests/bench-memcpy-ifunc.c: New file.
56608         * benchtests/bench-memcpy.c: New file.
56609         * benchtests/bench-string.h: New file.
56611 2013-06-11  Andreas Schwab  <schwab@suse.de>
56613         [BZ #15577]
56614         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56615         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56616         values in the triple.
56617         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56618         terminator in the group key.
56620 2013-06-11  Andreas Jaeger  <aj@suse.de>
56622         * po/zh_TW.po: Update Chinese (traditional) translation from
56623         translation project.
56625 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56627         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56628         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56629         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56630         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56631         (clock_getcpuclockid): Likewise.
56632         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56633         Add weak_alias and libc_hidden_def.
56634         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56635         * rt/clock_gettime.c (clock_gettime): Rename to
56636         __clock_gettime.  Add weak_alias and libc_hidden_def.
56637         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56638         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56639         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56640         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56641         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56642         Likewise.
56643         * rt/clock_settime.c (clock_settime): Rename to
56644         __clock_settime.  Add weak_alias and libc_hidden_def.
56645         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56647 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56649         * mach/err_boot.sub: Remove trailing whitespace.
56650         * mach/err_ipc.sub: Likewise.
56651         * mach/err_mach.sub: Likewise.
56653         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56654         (ROUNDING_TESTS_double): Likewise.
56655         (ROUNDING_TESTS_long_double): Likewise.
56656         (ROUNDING_TESTS): Likewise.
56657         * math/libm-test.inc: Include <math-tests.h>.
56658         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56659         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56660         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56661         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56663 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56665         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56666         of assigning.
56668 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56670         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56671         otherwise empty TRANS lines.
56672         * sysdeps/gnu/errlist.c: Regenerated.
56674         * catgets/gencat.c (error_print): Use (void) in function
56675         definition.
56676         * crypt/crypt_util.c (__init_des): Likewise.
56677         * crypt/speeds.c (Stop): Likewise.
56678         (main): Likewise.
56679         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56680         * inet/ruserpass.c (token): Likewise.
56681         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56682         * intl/localealias.c (extend_alias_table): Likewise.
56683         * intl/plural-exp.c (init_germanic_plural): Likewise.
56684         * libio/fcloseall.c (__fcloseall): Likewise.
56685         * libio/genops.c (_IO_flush_all): Likewise.
56686         (_IO_flush_all_linebuffered): Likewise.
56687         (_IO_cleanup): Likewise.
56688         (_IO_iter_begin): Likewise.
56689         (_IO_iter_end): Likewise.
56690         (_IO_list_lock): Likewise.
56691         (_IO_list_unlock): Likewise.
56692         (_IO_list_resetlock): Likewise.
56693         * libio/getchar.c (getchar): Likewise.
56694         * libio/getchar_u.c (getchar_unlocked): Likewise.
56695         * libio/getwchar.c (getwchar): Likewise.
56696         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56697         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56698         * login/getpt.c (__getpt): Likewise.
56699         * login/tst-utmp.c (main): Likewise.
56700         * malloc/hooks.c (__malloc_check_init): Likewise.
56701         * malloc/malloc.c (__malloc_stats): Likewise.
56702         * malloc/mtrace.c (tr_break): Likewise.
56703         (mtrace): Likewise.
56704         (muntrace): Likewise.
56705         * misc/fstab.c (endfsent): Likewise.
56706         * misc/getclktck.c (__getclktck): Likewise.
56707         * misc/getdtsz.c (__getdtablesize): Likewise.
56708         * misc/gethostid.c (gethostid): Likewise.
56709         * misc/getpagesize.c (__getpagesize): Likewise.
56710         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56711         (__get_nprocs): Likewise.
56712         (__get_phys_pages): Likewise.
56713         (__get_avphys_pages): Likewise.
56714         * misc/getttyent.c (getttyent): Likewise.
56715         (setttyent): Likewise.
56716         (endttyent): Likewise.
56717         * misc/getusershell.c (getusershell): Likewise.
56718         (endusershell): Likewise.
56719         (setusershell): Likewise.
56720         (initshells): Likewise.
56721         * misc/hsearch.c (__hdestroy): Likewise.
56722         * misc/sync.c (sync): Likewise.
56723         * misc/syslog.c (closelog_internal): Likewise.
56724         (closelog): Likewise.
56725         * misc/ttyslot.c (ttyslot): Likewise.
56726         * misc/vhangup.c (vhangup): Likewise.
56727         * posix/fork.c (__fork): Likewise.
56728         * posix/getegid.c (__getegid): Likewise.
56729         * posix/geteuid.c (__geteuid): Likewise.
56730         * posix/getgid.c (__getgid): Likewise.
56731         * posix/getpid.c (__getpid): Likewise.
56732         * posix/getppid.c (__getppid): Likewise.
56733         * posix/getuid.c (__getuid): Likewise.
56734         * posix/pause.c (pause): Likewise.
56735         * posix/setpgrp.c (setpgrp): Likewise.
56736         * posix/setsid.c (__setsid): Likewise.
56737         * posix/test-vfork.c (noop): Likewise.
56738         * resolv/gethnamaddr.c (_endhtent): Likewise.
56739         (_gethtent): Likewise.
56740         (ht_endhostent): Likewise.
56741         (gethostent): Likewise.
56742         (dns_service): Likewise.
56743         * stdlib/drand48.c (drand48): Likewise.
56744         * stdlib/lrand48.c (lrand48): Likewise.
56745         * stdlib/mrand48.c (mrand48): Likewise.
56746         * stdlib/rand.c (rand): Likewise.
56747         * stdlib/random.c (__random): Likewise.
56748         * stdlib/setenv.c (clearenv): Likewise.
56749         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56750         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56751         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56752         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56753         (__get_nprocs): Likewise.
56754         (__get_phys_pages): Likewise.
56755         (__get_avphys_pages): Likewise.
56756         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56757         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56758         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56759         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56760         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56761         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56762         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56763         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56764         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56765         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56766         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56767         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56768         * sysdeps/posix/clock.c (clock): Likewise.
56769         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56770         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56771         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56772         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56773         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56774         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56775         (__get_nprocs_conf): Likewise.
56776         (__get_phys_pages): Likewise.
56777         (__get_avphys_pages): Likewise.
56778         * time/clock.c (clock): Likewise.
56779         * time/tzset.c (__tzname_max): Likewise.
56781 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56783         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56784         (__bswap_32): Do not use "register".
56785         * crypt/crypt.c (_ufc_doit_r): Likewise.
56786         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56787         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56788         * gmon/gmon.c (__monstartup): Likewise.
56789         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56790         * hurd/hurdmalloc.c (more_memory): Likewise.
56791         (malloc): Likewise.
56792         (free): Likewise.
56793         (realloc): Likewise.
56794         (malloc_fork_prepare): Likewise.
56795         (malloc_fork_parent): Likewise.
56796         (malloc_fork_child): Likewise.
56797         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56798         (_svcauth_des): Likewise.
56799         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56800         * inet/inet_net.c (inet_network): Likewise.
56801         * inet/inet_netof.c (inet_netof): Likewise.
56802         * inet/rcmd.c (__validuser2_sa): Likewise.
56803         * io/fts.c (fts_open): Likewise.
56804         (fts_load): Likewise.
56805         (fts_close): Likewise.
56806         (fts_read): Likewise.
56807         (fts_children): Likewise.
56808         (fts_build): Likewise.
56809         (fts_stat): Likewise.
56810         (fts_sort): Likewise.
56811         (fts_alloc): Likewise.
56812         (fts_lfree): Likewise.
56813         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56814         (_IO_file_xsgetn): Likewise.
56815         (_IO_file_xsgetn_mmap): Likewise.
56816         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56817         (_IO_cookie_write): Likewise.
56818         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56819         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56820         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56821         * malloc/obstack.c (_obstack_begin): Likewise.
56822         (_obstack_begin_1): Likewise.
56823         (_obstack_newchunk): Likewise.
56824         (_obstack_allocated_p): Likewise.
56825         (obstack_free): Likewise.
56826         (_obstack_memory_used): Likewise.
56827         * misc/getttyent.c (getttynam): Likewise.
56828         (getttyent): Likewise.
56829         (skip): Likewise.
56830         (value): Likewise.
56831         * misc/getusershell.c (initshells): Likewise.
56832         * misc/syslog.c (__vsyslog_chk): Likewise.
56833         * misc/ttyslot.c (ttyslot): Likewise.
56834         * nis/nis_hash.c (__nis_hash): Likewise.
56835         * posix/fnmatch_loop.c (FCT): Likewise.
56836         * posix/getconf.c (print_all): Likewise.
56837         (main): Likewise.
56838         * posix/getopt.c (exchange): Likewise.
56839         * posix/glob.c (globfree): Likewise.
56840         (prefix_array): Likewise.
56841         (__glob_pattern_type): Likewise.
56842         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56843         (NS_GET32): Likewise.
56844         (NS_PUT16): Likewise.
56845         (NS_PUT32): Likewise.
56846         * resolv/gethnamaddr.c (getanswer): Likewise.
56847         (gethostbyname2): Likewise.
56848         (gethostbyaddr): Likewise.
56849         (_gethtent): Likewise.
56850         (_gethtbyname2): Likewise.
56851         (_gethtbyaddr): Likewise.
56852         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56853         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56854         * resolv/res_init.c (__res_vinit): Likewise.
56855         (net_mask): Likewise.
56856         * resolv/res_mkquery.c (outchar): Likewise.
56857         (PRINT): Likewise.
56858         * stdio-common/printf_fp.c (outchar): Likewise.
56859         (PRINT): Likewise.
56860         * stdio-common/printf_fphex.c (outchar): Likewise.
56861         (PRINT): Likewise.
56862         * stdio-common/printf_size.c (outchar): Likewise.
56863         (PRINT): Likewise.
56864         * stdio-common/test_rdwr.c (main): Likewise.
56865         * stdio-common/tfformat.c (matches): Likewise.
56866         * stdio-common/vfprintf.c (outchar): Likewise.
56867         (printf_unknown): Likewise.
56868         (buffered_vfprintf): Likewise.
56869         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56870         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56871         (ReadFile): Likewise.
56872         * stdlib/qsort.c (SWAP): Likewise.
56873         (_quicksort): Likewise.
56874         * stdlib/setenv.c (__add_to_environ): Likewise.
56875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56876         * stdlib/strtol_l.c (__strtol_l): Likewise.
56877         * stdlib/tst-strtod.c (main): Likewise.
56878         * stdlib/tst-strtol.c (main): Likewise.
56879         * stdlib/tst-strtoll.c (main): Likewise.
56880         * string/bits/string2.h (__strcmp_cc): Likewise.
56881         (__strcmp_cg): Likewise.
56882         (__strcspn_c1): Likewise.
56883         (__strcspn_c2): Likewise.
56884         (__strcspn_c3): Likewise.
56885         (__strspn_c1): Likewise.
56886         (__strspn_c2): Likewise.
56887         (__strspn_c3): Likewise.
56888         (__strsep_1c): Likewise.
56889         (__strsep_2c): Likewise.
56890         (__strsep_3c): Likewise.
56891         * string/memccpy.c (__memccpy): Likewise.
56892         * string/stpcpy.c (__stpcpy): Likewise.
56893         * string/strcmp.c (strcmp): Likewise.
56894         * string/strrchr.c (strrchr): Likewise.
56895         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56896         Likewise.
56897         * sysdeps/mach/hurd/getcwd.c
56898         (_hurd_canonicalize_directory_name_internal): Likewise.
56899         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56900         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56901         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56902         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56903         Likewise, in both definitions.
56904         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56905         definitions.
56906         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56907         64] (__bswap_64): Likewise.
56908         * time/test_time.c (main): Likewise.
56909         * time/tzfile.c (__tzfile_read): Likewise.
56910         (__tzfile_compute): Likewise.
56911         * time/tzset.c (__tzset_parse_tz): Likewise.
56912         (tzset_internal): Likewise.
56913         (compute_change): Likewise.
56914         * wcsmbs/wcscat.c (__wcscat): Likewise.
56915         * wcsmbs/wcschr.c (wcschr): Likewise.
56916         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56917         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56918         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56919         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56920         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56921         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56922         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56923         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56924         * wcsmbs/wmemset.c (wmemset): Likewise.
56926 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56928         * scripts/config.guess: Update to version 2013-05-16.
56929         * scripts/config.sub: Update to version 2013-04-24.
56930         * scripts/install-sh: Update to version 2011-11-20.07.
56931         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56932         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56934 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56936         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56937         * elf/sln.c: Likewise.
56938         * hurd/hurd/ioctl.h: Likewise.
56939         * hurd/hurdmalloc.c: Likewise.
56940         * hurd/xattr.c: Likewise.
56941         * include/shlib-compat.h: Likewise.
56942         * inet/ruserpass.c: Likewise.
56943         * libio/iofgets_u.c: Likewise.
56944         * libio/iofgetws_u.c: Likewise.
56945         * locale/programs/ld-identification.c: Likewise.
56946         * locale/programs/ld-time.c: Likewise.
56947         * mach/msg-destroy.c: Likewise.
56948         * nss/nss_files/files-netgrp.c: Likewise.
56949         * resolv/res_data.c: Likewise.
56950         * soft-fp/op-1.h: Likewise.
56951         * soft-fp/op-2.h: Likewise.
56952         * soft-fp/op-4.h: Likewise.
56953         * soft-fp/op-common.h: Likewise.
56954         * stdio-common/printf_fphex.c: Likewise.
56955         * stdlib/strtod_l.c: Likewise.
56956         * sunrpc/rpc/clnt.h: Likewise.
56957         * sysdeps/generic/framestate.c: Likewise.
56958         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56959         * sysdeps/i386/bsd-setjmp.S: Likewise.
56960         * sysdeps/i386/__longjmp.S: Likewise.
56961         * sysdeps/i386/setjmp.S: Likewise.
56962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56963         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56964         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56968         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56969         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56970         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56971         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56972         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56973         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56974         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56975         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56976         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56978         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56980         * sysdeps/ieee754/support.c: Likewise.
56981         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56982         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56983         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56984         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56985         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56986         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56987         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56988         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56989         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56990         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56991         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56992         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56993         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56994         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56995         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56996         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56997         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
57000 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
57002         * posix/transbug.c: Remove executable mode.
57004 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
57006         * crypt/speeds.c: Remove trailing whitespace.
57007         * dlfcn/default.c: Likewise.
57008         * elf/ifuncdep2.c: Likewise.
57009         * elf/ifuncmain1.c: Likewise.
57010         * elf/ifuncmain1vis.c: Likewise.
57011         * elf/testobj.h: Likewise.
57012         * elf/tst-stackguard1.c: Likewise.
57013         * gmon/sys/gmon.h: Likewise.
57014         * hurd/hurdmsg.c: Likewise.
57015         * hurd/new-fd.c: Likewise.
57016         * hurd/ports-get.c: Likewise.
57017         * iconvdata/ibm1008_420.c: Likewise.
57018         * inet/tst-getni1.c: Likewise.
57019         * inet/tst-getni2.c: Likewise.
57020         * libio/ioungetc.c: Likewise.
57021         * libio/wfiledoalloc.c: Likewise.
57022         * manual/libm-err-tab.pl: Likewise.
57023         * math/w_dremf.c: Likewise.
57024         * misc/ftruncate.c: Likewise.
57025         * posix/bug-glob2.c: Likewise.
57026         * posix/tst-pcre.c: Likewise.
57027         * posix/wait4.c: Likewise.
57028         * resolv/README: Likewise.
57029         * resolv/res_debug.h: Likewise.
57030         * resolv/tst-inet_ntop.c: Likewise.
57031         * setjmp/bug269-setjmp.c: Likewise.
57032         * soft-fp/extended.h: Likewise.
57033         * soft-fp/op-1.h: Likewise.
57034         * soft-fp/op-2.h: Likewise.
57035         * soft-fp/op-4.h: Likewise.
57036         * soft-fp/op-8.h: Likewise.
57037         * soft-fp/testit.c: Likewise.
57038         * stdio-common/bug16.c: Likewise.
57039         * stdlib/random.c: Likewise.
57040         * sunrpc/rpcsvc/rquota.x: Likewise.
57041         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57042         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57043         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57044         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57045         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57046         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57047         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57048         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57049         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57050         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57051         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57052         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57053         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57054         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57055         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57056         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57057         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57058         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57067         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57069         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57070         * sysdeps/ieee754/s_lib_version.c: Likewise.
57071         * sysdeps/mach/hurd/check_fds.c: Likewise.
57072         * sysdeps/mach/hurd/getsockname.c: Likewise.
57073         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57074         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57075         * sysdeps/powerpc/bits/link.h: Likewise.
57076         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57077         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57078         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57079         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57080         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57081         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57082         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57083         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57084         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57085         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57086         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57087         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57088         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57089         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57090         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57091         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57092         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57093         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57094         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57095         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57096         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57097         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57098         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57099         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57100         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57101         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57102         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57103         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57104         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57105         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57106         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57107         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57108         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57109         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57110         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57111         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57112         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57113         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57114         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57115         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57116         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57117         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57118         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57119         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57120         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57121         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57122         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57123         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57124         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57125         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57126         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57127         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57128         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57129         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57130         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57131         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57132         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57133         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57134         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57135         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57136         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57137         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57138         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57139         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57140         * sysdeps/powerpc/sysdep.h: Likewise.
57141         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57142         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57143         * sysdeps/sh/dl-trampoline.S: Likewise.
57144         * sysdeps/sh/memset.S: Likewise.
57145         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57146         * sysdeps/sh/strlen.S: Likewise.
57147         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57148         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57149         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57150         * sysdeps/sparc/sparc32/rem.S: Likewise.
57151         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57152         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57153         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57154         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57155         * sysdeps/sparc/sparc32/urem.S: Likewise.
57156         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57157         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57158         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57159         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57160         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57161         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57162         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57163         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57164         * sysdeps/unix/bsd/times.c: Likewise.
57165         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57166         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57170         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57171         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57172         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57173         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57174         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57175         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57176         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57177         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57178         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57179         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57180         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57181         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57182         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57183         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57184         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57185         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57186         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57187         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57188         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57189         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57190         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57191         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57192         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57193         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57194         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57195         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57196         * sysdeps/x86_64/strcspn.S: Likewise.
57198 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57200         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57201         generated file.  Regenerate properly from gen-translit.pl.
57202         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57203         locale/C-translit.h.
57205 2013-06-05  Andreas Schwab  <schwab@suse.de>
57207         [BZ #15100]
57208         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57209         week as 6 instead of -1.
57210         * time/tst-strptime.c (day_tests): Add test case.
57212 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57214         * sysdeps/generic/math_private.h
57215         (libc_feholdexcept_setround_53bit): Replace with
57216         libc_feholdsetround_53bit.
57217         (libc_feupdateenv_53bit): Replace with
57218         libc_feresetround_53bit.
57219         (SET_RESTORE_ROUND_53BIT): Adjust.
57221 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57223         * string/test-strchrnul.c: Add copyright header.
57225         * posix/tst-getaddrinfo4.c: Increase test timeout.
57227 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57229         [BZ #15536]
57230         * math/libm-test.inc (MAX_EXP): Remove
57231         (MIN_EXP): Define.
57232         (ulp): Use MIN_EXP - MANT_DIG.
57233         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57235 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57237         * po/be.po: Revert last change.
57238         * po/zh_CN.po: Likewise.
57239         * po/header.pot: Likewise.
57241 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57243         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57244         link-libc-deps to empty as target-specific variable.
57245         * Makerules (link-libc-args): New variable.
57246         (libc-for-link): Likewise.
57247         (link-libc-deps): Likewise.
57248         (lib%.so): Depend on $(link-libc-deps).  Link with
57249         $(link-libc-args).
57250         (build-module): Link with $(link-libc-args).
57251         (build-module-asneeded): Likewise.
57252         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57253         list of objects.
57254         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57255         target-specific variable.
57256         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57257         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57258         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57259         libc.
57260         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57261         libc and ld.so.
57262         ($(objpfx)libpcprofile.so): Likewise.
57263         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57264         libc_nonshared.a.
57265         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57266         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57267         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57268         $(link-libc-deps).
57269         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57270         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57271         * login/Makefile ($(objpfx)libutil.so): Likewise.
57272         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57273         * math/Makefile ($(objpfx)libm.so): Likewise.
57274         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57275         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57276         variable instead of depending directly on libc.
57277         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57278         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57279         $(link-libc-deps).
57280         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57281         libc.
57282         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57283         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57284         ($(objpfx)libanl.so): Likewise.
57285         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57286         ld.so.
57287         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57288         $(link-libc-deps).
57289         * sysdeps/i386/fpu/Makefile: Remove file.
57290         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57291         ($(objpfx)libm.so): Remove dependency on ld.so.
57293 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57295         [BZ # 15553]
57296         * nis/yp_xdr.c (XDRMAXNAME): Define.
57297         (XDRMAXRECORD): Define.
57298         (xdr_domainname): Use XDRMAXNAME.
57299         (xdr_mapname): Likewise.
57300         (xdr_peername): Likewise.
57301         (xdr_keydat): Use XDRMAXRECORD.
57302         (xdr_valdat): Likewise.
57304 2013-05-30  Jeff Law  <law@redhat.com>
57306         [BZ #14256]
57307         * manual/errno.texi (ESTALE): Update to account for more than
57308         just NFS file systems.
57309         * sysdeps/gnu/errlist.c: Regenerated.
57311 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57313         [BZ #15465]
57314         * elf/Makefile (tests): Add tst-null-argv.
57315         (modules-names):  Add tst-null-argv-lib.
57316         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57317         (tst-null-argv-ENV): Set environment for tst-null-argv.
57318         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57319         (RTLD_PROGNAME): New macro.
57320         * elf/tst-null-argv.c: New test case.
57321         * elf/tst-null-argv-lib.c: Library for test case.
57322         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57323         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57324         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57325         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57326         * elf/dl-init.c (call_init): Likewise.
57327         (_dl_init): Likewise.
57328         * elf/dl-load.c (print_search_path): Likewise.
57329         (_dl_map_object): Likewise.
57330         * elf/dl-lookup.c (do_lookup_x): Likewise.
57331         (add_dependency): Likewise.
57332         (_dl_lookup_symbol_x): Likewise.
57333         (_dl_debug_bindings): Likewise.
57334         * elf/dl-open.c (_dl_show_scope): Likewise.
57335         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57336         * elf/dl-version.c (match_symbol): Likewise.
57337         (_dl_check_map_versions): Likewise.
57338         * elf/rtld.c (dl_main): Likewise.
57339         (print_unresolved): Use RTLD_PROGNAME.
57340         (print_missing_version): Likewise.
57341         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57342         (elf_machine_rela): Likewise.
57343         * sysdeps/powerpc/powerpc32/dl-machine.c
57344         (__process_machine_rela): Likewise.
57345         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57346         Likewise.
57347         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57348         Likewise.
57349         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
57350         Likewise.
57351         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57352         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
57353         Likewise.
57354         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
57355         Likewise.
57356         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57358 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
57360         * po/be.po: Add descriptive title.
57361         * po/zh_CN.po: Likewise.
57362         * po/header.pot: Likewise.
57364 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
57366         * locale/programs/locarchive.c (create_archive): Inlucde fname in
57367         error message.
57368         (enlarge_archive): Likewise.
57370 2013-05-28  Ben North  <ben@redfrontdoor.org>
57372         * manual/arith.texi (frexp): It is the magnitude of the return
57373         value which lies in [0.5, 1), not the return value itself.
57375 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57379 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
57381         * stdio-common/bug26.c (main): Correct fscanf template.
57383         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
57384         declare _dl_skip_args.
57386         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
57387         Don't declare.
57389         * manual/platform.texi: Add missing @end deftypefun.
57391 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57393         [BZ #15529]
57394         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
57395         bit of mantissa of 2^16382.
57396         * math/libm-test.inc (hypot_test_data): Add more tests.
57398         * math/libm-test.inc: Add drem and pow10 to list of tested
57399         functions.
57400         (pow10_test): New function.
57401         (drem_test): Likewise.
57402         (drem_test_tonearest): Likewise.
57403         (drem_test_towardzero): Likewise.
57404         (drem_test_downward): Likewise.
57405         (drem_test_upward): Likewise.
57406         (main): Call the new functions.
57408         * math/libm-test.inc (finite_test_data): Remove.
57409         (finite_test): Run tests from isfinite_test_data.
57410         (gamma_test_data): Remove.
57411         (gamma_test): Run tests from lgamma_test_data.
57412         * sysdeps/i386/fpu/libm-test-ulps: Update.
57413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57415 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57417         * manual/platform.texi: Add PowerPC PPR function set documentation.
57418         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
57419         implementation.
57421 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57423         * math/libm-test.inc (MAX_EXP): Define.
57424         (ULPDIFF): Define.
57425         (ulp): New function.
57426         (check_float_internal): Use ULPDIFF.
57427         (cpow_test): Disable failing test.
57428         (check_ulp): Test ulp() implementation.
57429         (main): Call check_ulp before starting tests.
57431 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57433         * math/gen-libm-test.pl (generate_testfile): Do not handle
57434         START_DATA and END_DATA.
57435         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57436         END_DATA.
57437         (acos_tonearest_test_data): Likewise.
57438         (acos_towardzero_test_data): Likewise.
57439         (acos_downward_test_data): Likewise.
57440         (acos_upward_test_data): Likewise.
57441         (acosh_test_data): Likewise.
57442         (asin_test_data): Likewise.
57443         (asin_tonearest_test_data): Likewise.
57444         (asin_towardzero_test_data): Likewise.
57445         (asin_downward_test_data): Likewise.
57446         (asin_upward_test_data): Likewise.
57447         (asinh_test_data): Likewise.
57448         (atan_test_data): Likewise.
57449         (atanh_test_data): Likewise.
57450         (atan2_test_data): Likewise.
57451         (cabs_test_data): Likewise.
57452         (cacos_test_data): Likewise.
57453         (cacosh_test_data): Likewise.
57454         (carg_test_data): Likewise.
57455         (casin_test_data): Likewise.
57456         (casinh_test_data): Likewise.
57457         (catan_test_data): Likewise.
57458         (catanh_test_data): Likewise.
57459         (cbrt_test_data): Likewise.
57460         (ccos_test_data): Likewise.
57461         (ccosh_test_data): Likewise.
57462         (ceil_test_data): Likewise.
57463         (cexp_test_data): Likewise.
57464         (cimag_test_data): Likewise.
57465         (clog_test_data): Likewise.
57466         (clog10_test_data): Likewise.
57467         (conj_test_data): Likewise.
57468         (copysign_test_data): Likewise.
57469         (cos_test_data): Likewise.
57470         (cos_tonearest_test_data): Likewise.
57471         (cos_towardzero_test_data): Likewise.
57472         (cos_downward_test_data): Likewise.
57473         (cos_upward_test_data): Likewise.
57474         (cosh_test_data): Likewise.
57475         (cosh_tonearest_test_data): Likewise.
57476         (cosh_towardzero_test_data): Likewise.
57477         (cosh_downward_test_data): Likewise.
57478         (cosh_upward_test_data): Likewise.
57479         (cpow_test_data): Likewise.
57480         (cproj_test_data): Likewise.
57481         (creal_test_data): Likewise.
57482         (csin_test_data): Likewise.
57483         (csinh_test_data): Likewise.
57484         (csqrt_test_data): Likewise.
57485         (ctan_test_data): Likewise.
57486         (ctan_tonearest_test_data): Likewise.
57487         (ctan_towardzero_test_data): Likewise.
57488         (ctan_downward_test_data): Likewise.
57489         (ctan_upward_test_data): Likewise.
57490         (ctanh_test_data): Likewise.
57491         (ctanh_tonearest_test_data): Likewise.
57492         (ctanh_towardzero_test_data): Likewise.
57493         (ctanh_downward_test_data): Likewise.
57494         (ctanh_upward_test_data): Likewise.
57495         (erf_test_data): Likewise.
57496         (erfc_test_data): Likewise.
57497         (exp_test_data): Likewise.
57498         (exp_tonearest_test_data): Likewise.
57499         (exp_towardzero_test_data): Likewise.
57500         (exp_downward_test_data): Likewise.
57501         (exp_upward_test_data): Likewise.
57502         (exp10_test_data): Likewise.
57503         (exp2_test_data): Likewise.
57504         (expm1_test_data): Likewise.
57505         (fabs_test_data): Likewise.
57506         (fdim_test_data): Likewise.
57507         (finite_test_data): Likewise.
57508         (floor_test_data): Likewise.
57509         (fma_test_data): Likewise.
57510         (fma_towardzero_test_data): Likewise.
57511         (fma_downward_test_data): Likewise.
57512         (fma_upward_test_data): Likewise.
57513         (fmax_test_data): Likewise.
57514         (fmin_test_data): Likewise.
57515         (fmod_test_data): Likewise.
57516         (fpclassify_test_data): Likewise.
57517         (frexp_test_data): Likewise.
57518         (gamma_test_data): Likewise.
57519         (hypot_test_data): Likewise.
57520         (ilogb_test_data): Likewise.
57521         (isfinite_test_data): Likewise.
57522         (isgreater_test_data): Likewise.
57523         (isgreaterequal_test_data): Likewise.
57524         (isinf_test_data): Likewise.
57525         (isless_test_data): Likewise.
57526         (islessequal_test_data): Likewise.
57527         (islessgreater_test_data): Likewise.
57528         (isnan_test_data): Likewise.
57529         (isnormal_test_data): Likewise.
57530         (issignaling_test_data): Likewise.
57531         (isunordered_test_data): Likewise.
57532         (j0_test_data): Likewise.
57533         (j1_test_data): Likewise.
57534         (jn_test_data): Likewise.
57535         (ldexp_test_data): Likewise.
57536         (lgamma_test_data): Likewise.
57537         (lrint_test_data): Likewise.
57538         (lrint_tonearest_test_data): Likewise.
57539         (lrint_towardzero_test_data): Likewise.
57540         (lrint_downward_test_data): Likewise.
57541         (lrint_upward_test_data): Likewise.
57542         (llrint_test_data): Likewise.
57543         (llrint_tonearest_test_data): Likewise.
57544         (llrint_towardzero_test_data): Likewise.
57545         (llrint_downward_test_data): Likewise.
57546         (llrint_upward_test_data): Likewise.
57547         (log_test_data): Likewise.
57548         (log10_test_data): Likewise.
57549         (log1p_test_data): Likewise.
57550         (log2_test_data): Likewise.
57551         (logb_test_data): Likewise.
57552         (logb_downward_test_data): Likewise.
57553         (lround_test_data): Likewise.
57554         (llround_test_data): Likewise.
57555         (modf_test_data): Likewise.
57556         (nearbyint_test_data): Likewise.
57557         (nextafter_test_data): Likewise.
57558         (nexttoward_test_data): Likewise.
57559         (pow_test_data): Likewise.
57560         (pow_tonearest_test_data): Likewise.
57561         (pow_towardzero_test_data): Likewise.
57562         (pow_downward_test_data): Likewise.
57563         (pow_upward_test_data): Likewise.
57564         (remainder_test_data): Likewise.
57565         (remainder_tonearest_test_data): Likewise.
57566         (remainder_towardzero_test_data): Likewise.
57567         (remainder_downward_test_data): Likewise.
57568         (remainder_upward_test_data): Likewise.
57569         (remquo_test_data): Likewise.
57570         (rint_test_data): Likewise.
57571         (rint_tonearest_test_data): Likewise.
57572         (rint_towardzero_test_data): Likewise.
57573         (rint_downward_test_data): Likewise.
57574         (rint_upward_test_data): Likewise.
57575         (round_test_data): Likewise.
57576         (scalb_test_data): Likewise.
57577         (scalbn_test_data): Likewise.
57578         (scalbln_test_data): Likewise.
57579         (signbit_test_data): Likewise.
57580         (sin_test_data): Likewise.
57581         (sin_tonearest_test_data): Likewise.
57582         (sin_towardzero_test_data): Likewise.
57583         (sin_downward_test_data): Likewise.
57584         (sin_upward_test_data): Likewise.
57585         (sincos_test_data): Likewise.
57586         (sinh_test_data): Likewise.
57587         (sinh_tonearest_test_data): Likewise.
57588         (sinh_towardzero_test_data): Likewise.
57589         (sinh_downward_test_data): Likewise.
57590         (sinh_upward_test_data): Likewise.
57591         (sqrt_test_data): Likewise.
57592         (tan_test_data): Likewise.
57593         (tan_tonearest_test_data): Likewise.
57594         (tan_towardzero_test_data): Likewise.
57595         (tan_downward_test_data): Likewise.
57596         (tan_upward_test_data): Likewise.
57597         (tanh_test_data): Likewise.
57598         (tgamma_test_data): Likewise.
57599         (trunc_test_data): Likewise.
57600         (y0_test_data): Likewise.
57601         (y1_test_data): Likewise.
57602         (yn_test_data): Likewise.
57603         (significand_test_data): Likewise.
57605         * math/gen-libm-test.pl (@functions): Remove variable.
57606         (generate_testfile): Don't handle START and END lines.
57607         * math/libm-test.inc (START): New macro.
57608         (END): Likewise.
57609         (END_COMPLEX): Likewise.
57610         (acos_test): Use END macro without arguments.
57611         (acos_test_tonearest): Likewise.
57612         (acos_test_towardzero): Likewise.
57613         (acos_test_downward): Likewise.
57614         (acos_test_upward): Likewise.
57615         (acosh_test): Likewise.
57616         (asin_test): Likewise.
57617         (asin_test_tonearest): Likewise.
57618         (asin_test_towardzero): Likewise.
57619         (asin_test_downward): Likewise.
57620         (asin_test_upward): Likewise.
57621         (asinh_test): Likewise.
57622         (atan_test): Likewise.
57623         (atanh_test): Likewise.
57624         (atan2_test): Likewise.
57625         (cabs_test): Likewise.
57626         (cacos_test): Use END_COMPLEX macro without arguments.
57627         (cacosh_test): Likewise.
57628         (carg_test): Use END macro without arguments.
57629         (casin_test): Use END_COMPLEX macro without arguments.
57630         (casinh_test): Likewise.
57631         (catan_test): Likewise.
57632         (catanh_test): Likewise.
57633         (cbrt_test): Use END macro without arguments.
57634         (ccos_test): Use END_COMPLEX macro without arguments.
57635         (ccosh_test): Likewise.
57636         (ceil_test): Use END macro without arguments.
57637         (cexp_test): Use END_COMPLEX macro without arguments.
57638         (cimag_test): Use END macro without arguments.
57639         (clog_test): Use END_COMPLEX macro without arguments.
57640         (clog10_test): Likewise.
57641         (conj_test): Likewise.
57642         (copysign_test): Use END macro without arguments.
57643         (cos_test): Likewise.
57644         (cos_test_tonearest): Likewise.
57645         (cos_test_towardzero): Likewise.
57646         (cos_test_downward): Likewise.
57647         (cos_test_upward): Likewise.
57648         (cosh_test): Likewise.
57649         (cosh_test_tonearest): Likewise.
57650         (cosh_test_towardzero): Likewise.
57651         (cosh_test_downward): Likewise.
57652         (cosh_test_upward): Likewise.
57653         (cpow_test): Use END_COMPLEX macro without arguments.
57654         (cproj_test): Likewise.
57655         (creal_test): Use END macro without arguments.
57656         (csin_test): Use END_COMPLEX macro without arguments.
57657         (csinh_test): Likewise.
57658         (csqrt_test): Likewise.
57659         (ctan_test): Likewise.
57660         (ctan_test_tonearest): Likewise.
57661         (ctan_test_towardzero): Likewise.
57662         (ctan_test_downward): Likewise.
57663         (ctan_test_upward): Likewise.
57664         (ctanh_test): Likewise.
57665         (ctanh_test_tonearest): Likewise.
57666         (ctanh_test_towardzero): Likewise.
57667         (ctanh_test_downward): Likewise.
57668         (ctanh_test_upward): Likewise.
57669         (erf_test): Use END macro without arguments.
57670         (erfc_test): Likewise.
57671         (exp_test): Likewise.
57672         (exp_test_tonearest): Likewise.
57673         (exp_test_towardzero): Likewise.
57674         (exp_test_downward): Likewise.
57675         (exp_test_upward): Likewise.
57676         (exp10_test): Likewise.
57677         (exp2_test): Likewise.
57678         (expm1_test): Likewise.
57679         (fabs_test): Likewise.
57680         (fdim_test): Likewise.
57681         (finite_test): Likewise.
57682         (floor_test): Likewise.
57683         (fma_test): Likewise.
57684         (fma_test_towardzero): Likewise.
57685         (fma_test_downward): Likewise.
57686         (fma_test_upward): Likewise.
57687         (fmax_test): Likewise.
57688         (fmin_test): Likewise.
57689         (fmod_test): Likewise.
57690         (fpclassify_test): Likewise.
57691         (frexp_test): Likewise.
57692         (gamma_test): Likewise.
57693         (hypot_test): Likewise.
57694         (ilogb_test): Likewise.
57695         (isfinite_test): Likewise.
57696         (isgreater_test): Likewise.
57697         (isgreaterequal_test): Likewise.
57698         (isinf_test): Likewise.
57699         (isless_test): Likewise.
57700         (islessequal_test): Likewise.
57701         (islessgreater_test): Likewise.
57702         (isnan_test): Likewise.
57703         (isnormal_test): Likewise.
57704         (issignaling_test): Likewise.
57705         (isunordered_test): Likewise.
57706         (j0_test): Likewise.
57707         (j1_test): Likewise.
57708         (jn_test): Likewise.
57709         (ldexp_test): Likewise.
57710         (lgamma_test): Likewise.
57711         (lrint_test): Likewise.
57712         (lrint_test_tonearest): Likewise.
57713         (lrint_test_towardzero): Likewise.
57714         (lrint_test_downward): Likewise.
57715         (lrint_test_upward): Likewise.
57716         (llrint_test): Likewise.
57717         (llrint_test_tonearest): Likewise.
57718         (llrint_test_towardzero): Likewise.
57719         (llrint_test_downward): Likewise.
57720         (llrint_test_upward): Likewise.
57721         (log_test): Likewise.
57722         (log10_test): Likewise.
57723         (log1p_test): Likewise.
57724         (log2_test): Likewise.
57725         (logb_test): Likewise.
57726         (logb_test_downward): Likewise.
57727         (lround_test): Likewise.
57728         (llround_test): Likewise.
57729         (modf_test): Likewise.
57730         (nearbyint_test): Likewise.
57731         (nextafter_test): Likewise.
57732         (nexttoward_test): Likewise.
57733         (pow_test): Likewise.
57734         (pow_test_tonearest): Likewise.
57735         (pow_test_towardzero): Likewise.
57736         (pow_test_downward): Likewise.
57737         (pow_test_upward): Likewise.
57738         (remainder_test): Likewise.
57739         (remainder_test_tonearest): Likewise.
57740         (remainder_test_towardzero): Likewise.
57741         (remainder_test_downward): Likewise.
57742         (remainder_test_upward): Likewise.
57743         (remquo_test): Likewise.
57744         (rint_test): Likewise.
57745         (rint_test_tonearest): Likewise.
57746         (rint_test_towardzero): Likewise.
57747         (rint_test_downward): Likewise.
57748         (rint_test_upward): Likewise.
57749         (round_test): Likewise.
57750         (scalb_test): Likewise.
57751         (scalbn_test): Likewise.
57752         (scalbln_test): Likewise.
57753         (signbit_test): Likewise.
57754         (sin_test): Likewise.
57755         (sin_test_tonearest): Likewise.
57756         (sin_test_towardzero): Likewise.
57757         (sin_test_downward): Likewise.
57758         (sin_test_upward): Likewise.
57759         (sincos_test): Likewise.
57760         (sinh_test): Likewise.
57761         (sinh_test_tonearest): Likewise.
57762         (sinh_test_towardzero): Likewise.
57763         (sinh_test_downward): Likewise.
57764         (sinh_test_upward): Likewise.
57765         (sqrt_test): Likewise.
57766         (tan_test): Likewise.
57767         (tan_test_tonearest): Likewise.
57768         (tan_test_towardzero): Likewise.
57769         (tan_test_downward): Likewise.
57770         (tan_test_upward): Likewise.
57771         (tanh_test): Likewise.
57772         (tgamma_test): Likewise.
57773         (trunc_test): Likewise.
57774         (y0_test): Likewise.
57775         (y1_test): Likewise.
57776         (yn_test): Likewise.
57777         (significand_test): Likewise.
57779 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57781         [BZ #15381]
57782         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57784 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57786         [BZ #14894]
57787         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57788         __ppc_mdoio and __ppc_mdoom.
57789         * manual/platform.texi: Document new functions __ppc_yield,
57790         __ppc_mdoio and __ppc_mdoom.
57792 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57794         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57795         (main): Mention "tls" pseudo-hwcap is legacy.
57796         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57798 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57800         * math/gen-libm-test.pl (parse_args): Output only string of
57801         arguments as text for test name, not full call or descriptions of
57802         tests for extra outputs.
57803         (generate_testfile): Do not pass function name to parse_args.
57804         Generate this_func variable from START.
57805         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57806         field to arg_str.
57807         (struct test_ff_f_data): Likewise.
57808         (test_ff_f_data_nexttoward): Likewise.
57809         (struct test_fi_f_data): Likewise.
57810         (struct test_fl_f_data): Likewise.
57811         (struct test_if_f_data): Likewise.
57812         (struct test_fff_f_data): Likewise.
57813         (struct test_c_f_data): Likewise.
57814         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57815         (struct test_fF_f1_data): Likewise.
57816         (struct test_ffI_f1_data): Likewise.
57817         (struct test_c_c_data): Rename test_name field to arg_str.
57818         (struct test_cc_c_data): Likewise.
57819         (struct test_f_i_data): Likewise.
57820         (struct test_ff_i_data): Likewise.
57821         (struct test_f_l_data): Likewise.
57822         (struct test_f_L_data): Likewise.
57823         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57824         and extra2_name.
57825         (COMMON_TEST_SETUP): New macro.
57826         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57827         (COMMON_TEST_CLEANUP): Likewise.
57828         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57829         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57830         macros.
57831         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57832         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57833         macros.
57834         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57835         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57836         cleanup macros.
57837         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57838         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57839         macros.
57840         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57841         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57842         macros.
57843         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57844         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57845         cleanup macros.
57846         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57847         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57848         cleanup macros.
57849         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57850         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57851         cleanup macros.
57852         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57853         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57854         macros.
57855         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57856         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57857         macros.
57858         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57859         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57860         macros.
57861         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57862         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57863         cleanup macros.
57864         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57865         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57866         cleanup macros.
57867         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57868         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57869         macros.
57870         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57871         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57872         cleanup macros.
57873         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57874         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57875         macros.
57876         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57877         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57878         macros.
57879         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57880         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57881         cleanup macros.
57882         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57884 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57886         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57887         to _sifields.sigfault.
57888         (si_addr_lsb): Define new macro.
57889         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57890         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57891         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57893 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57895         [BZ #15441]
57896         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57897         returns -1.
57898         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57899         null return -1.
57900         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57901         loading the domain.
57903 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57905         * math/gen-libm-test.pl (parse_args): Do not include expected
57906         result in test name.
57907         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57908         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57909         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57910         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57911         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57914 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57916         * benchtests/Makefile: Sort function entries.
57918         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57919         tanh, asinh, acosh, atanh.
57920         * benchtests/acos-inputs: New file.
57921         * benchtests/acosh-inputs: New file.
57922         * benchtests/asin-inputs: New file.
57923         * benchtests/asinh-inputs: New file.
57924         * benchtests/atanh-inputs: New file.
57925         * benchtests/cosh-inputs: New file.
57926         * benchtests/log-inputs: New file.
57927         * benchtests/sinh-inputs: New file.
57928         * benchtests/tanh-inputs: New file.
57930 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57932         [BZ #15339]
57933         * posix/tst-getaddrinfo4.c: New test.
57934         * posix/Makefile (tests): Add it.
57936 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57938         [BZ #15339]
57939         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57940         when no services were used.
57941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57942         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57944 2013-05-21  Andreas Schwab  <schwab@suse.de>
57946         [BZ #15014]
57947         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57948         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57949         successful.
57950         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57951         redundant variable declarations and reallocation of buffer when
57952         parsing as IPv6 address.  Always set NSS status when called from
57953         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57954         buffer too small.  Correct computation of needed size.
57955         * nss/Makefile (tests): Add test-digits-dots.
57956         * nss/test-digits-dots.c: New test.
57958 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57960         * benchtests/Makefile: Remove instructions for adding
57961         benchmark tests.
57962         * benchtests/README: New file to explain how to execute and
57963         enhance the benchmark tests.
57965 2013-05-21  Andreas Schwab  <schwab@suse.de>
57967         [BZ #15493]
57968         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57969         * setjmp/tst-sigsetjmp.c: New test.
57971 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57973         * sysdeps/x86_64/memset.S (memset): New implementation.
57974         (__bzero): Likewise.
57975         (__memset_tail): New function.
57977 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57979         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57980         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57981         __memcpy_sse2_unaligned ifunc selection.
57982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57983         Add memcpy-sse2-unaligned.S.
57984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57985         Add: __memcpy_sse2_unaligned.
57987 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57989         [BZ #15490]
57990         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57991         math_force_eval before restoring floating-point envrionment.
57992         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57993         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57994         Likewise.
57995         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57996         <math_private.h>.
57997         (__nearbyintl): Use math_force_eval before restoring
57998         floating-point environment.
57999         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
58001         * math/gen-libm-test.pl (special_functions): Remove.
58002         (parse_args): Don't handle TEST_extra.  Handle functions with no
58003         return value.
58004         * math/libm-test.inc (struct test_sincos_data): Replace with
58005         struct test_fFF_11_data.
58006         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
58007         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58008         (sincos_test_data): Change element type to struct
58009         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58010         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58011         RUN_TEST_LOOP_sincos.
58012         * math/README.libm-test: Don't mention special handling of
58013         individual functions.
58014         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58015         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58016         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58017         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58018         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58021         * math/gen-libm-test.pl (get_variable): Remove function.
58022         (parse_args): Don't show pointer parameters to call in test
58023         names.  Use "extra output N" in test names for extra outputs
58024         rather than naming variables.
58026 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58028         [BZ #15488]
58029         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58030         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58031         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58032         double tests.
58033         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58034         disable.
58035         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58036         check_long_double.
58038         * math/gen-libm-test.pl (@tests): Remove variable.
58039         ($count): Likewise.
58040         (new_test): Remove function.
58041         (show_exceptions): New function.
58042         (special_functions): Use show_exceptions instead of new_test.
58043         (parse_args): Likewise.
58044         (generate_testfile): Pass only function name in generated call to
58045         print_max_error or print_complex_max_error.
58046         (get_ulps): Do not handle complex tests specially.
58047         (output_test): Rename to ...
58048         (get_all_ulps_for_test): ... this.  Return a string rather than
58049         printing to a file.  Require ulps to be present.
58050         (output_ulps): Generate arrays rather than #defines.
58051         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58052         (struct ulp_data): New type.
58053         (BUILD_COMPLEX_ULP): Remove macro.
58054         (compare_ulp_data): New function.
58055         (find_ulps): Likewise.
58056         (find_test_ulps): Likewise.
58057         (find_function_ulps): Likewise.
58058         (find_complex_function_ulps): Likewise.
58059         (print_max_error): Determine allowed ulps using
58060         find_function_ulps.
58061         (print_complex_max_error): Determine allowed ulps using
58062         find_complex_function_ulps.
58063         (check_float_internal): Determine max ulps using find_test_ulps.
58064         (check_float): Do not take max_ulp parameter.  Update call to
58065         check_float_internal.
58066         (check_complex): Likewise.
58067         (check_int): Do not take max_ulp parameter.
58068         (check_long): Likewise.
58069         (check_bool): Likewise.
58070         (check_longlong): Likewise.
58071         (struct test_f_f_data): Remove max_ulp field.
58072         (struct test_ff_f_data): Likewise.
58073         (struct test_ff_f_data_nexttoward): Likewise.
58074         (struct test_fi_f_data): Likewise.
58075         (struct test_fl_f_data): Likewise.
58076         (struct test_if_f_data): Likewise.
58077         (struct test_fff_f_data): Likewise.
58078         (struct test_c_f_data): Likewise.
58079         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58080         (struct test_fF_f1_data): Likewise.
58081         (struct test_ffI_f1_data): Likewise.
58082         (struct test_c_c_data): Remove max_ulp field.
58083         (struct test_cc_c_data): Likewise.
58084         (struct test_f_i_data): Likewise.
58085         (struct test_ff_i_data): Likewise.
58086         (struct test_f_l_data): Likewise.
58087         (struct test_f_L_data): Likewise.
58088         (struct test_sincos_data): Likewise.
58089         (RUN_TEST_f_f): Do not handle ulps.
58090         (RUN_TEST_LOOP_f_f): Likewise.
58091         (RUN_TEST_2_f): Likewise.
58092         (RUN_TEST_LOOP_2_f): Likewise.
58093         (RUN_TEST_fff_f): Likewise.
58094         (RUN_TEST_LOOP_fff_f): Likewise.
58095         (RUN_TEST_c_f): Likewise.
58096         (RUN_TEST_LOOP_c_f): Likewise.
58097         (RUN_TEST_f_f1): Likewise.
58098         (RUN_TEST_LOOP_f_f1): Likewise.
58099         (RUN_TEST_fF_f1): Likewise.
58100         (RUN_TEST_LOOP_fF_f1): Likewise.
58101         (RUN_TEST_fI_f1): Likewise.
58102         (RUN_TEST_LOOP_fI_f1): Likewise.
58103         (RUN_TEST_ffI_f1): Likewise.
58104         (RUN_TEST_LOOP_ffI_f1): Likewise.
58105         (RUN_TEST_c_c): Likewise.
58106         (RUN_TEST_LOOP_c_c): Likewise.
58107         (RUN_TEST_cc_c): Likewise.
58108         (RUN_TEST_LOOP_cc_c): Likewise.
58109         (RUN_TEST_f_i): Likewise.
58110         (RUN_TEST_LOOP_f_i): Likewise.
58111         (RUN_TEST_f_i_tg): Likewise.
58112         (RUN_TEST_LOOP_f_i_tg): Likewise.
58113         (RUN_TEST_ff_i_tg): Likewise.
58114         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58115         (RUN_TEST_f_b): Likewise.
58116         (RUN_TEST_LOOP_f_b): Likewise.
58117         (RUN_TEST_f_b_tg): Likewise.
58118         (RUN_TEST_LOOP_f_b_tg): Likewise.
58119         (RUN_TEST_f_l): Likewise.
58120         (RUN_TEST_LOOP_f_l): Likewise.
58121         (RUN_TEST_f_L): Likewise.
58122         (RUN_TEST_LOOP_f_L): Likewise.
58123         (RUN_TEST_sincos): Likewise.
58124         (RUN_TEST_LOOP_sincos): Likewise.
58126 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58128         [BZ #15480]
58129         [BZ #15485]
58130         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58131         main case of finite arguments, set rounding mode to FE_TONEAREST
58132         and discard exceptions.
58133         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58134         exceptions.
58135         (remainder_tonearest_test_data): New variable.
58136         (remainder_test_tonearest): New function.
58137         (remainder_towardzero_test_data): New variable.
58138         (remainder_test_towardzero): New function.
58139         (remainder_downward_test_data): New variable.
58140         (remainder_test_downward): New function.
58141         (remainder_upward_test_data): New variable.
58142         (remainder_test_upward): New function.
58143         (main): Call the new test functions.
58145         * math/libm-test.inc (struct test_f_f1_data): Remove field
58146         extra_init.
58147         (struct test_fF_f1_data): Likewise.
58148         (struct test_ffI_f1_data): Likewise.
58149         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58150         based on value of EXTRA_EXPECTED.
58151         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58152         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58153         EXTRA_VAR based on value of EXTRA_EXPECTED.
58154         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58155         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58156         EXTRA_VAR based on value of EXTRA_EXPECTED.
58157         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58158         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58159         EXTRA_VAR based on value of EXTRA_EXPECTED.
58160         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58161         * math/gen-libm-test.pl (parse_args): Don't output initializers
58162         for extra output values.
58164         * math/libm-test.inc (check_int): Expect result to be exactly
58165         equal to expected value and do not handle ulps.
58166         (check_long): Likewise.
58167         (check_longlong): Likewise.
58169         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58170         exceptions.
58171         (cimag_test_data): Likewise.
58172         (conj_test_data): Likewise.
58173         (copysign_test_data): Likewise.
58174         (cproj_test_data): Likewise.
58175         (creal_test_data): Likewise.
58176         (fabs_test_data): Likewise.
58177         (fdim_test_data): Likewise.
58178         (finite_test_data): Likewise.
58179         (floor_test_data): Likewise.
58180         (fmax_test_data): Likewise.
58181         (fmin_test_data): Likewise.
58182         (fmod_test_data): Likewise.
58183         (fpclassify_test_data): Likewise.
58184         (frexp_test_data): Likewise.
58185         (ilogb_test_data): Likewise.
58186         (isfinite_test_data): Likewise.
58187         (isgreater_test_data): Likewise.
58188         (isgreaterequal_test_data): Likewise.
58189         (isinf_test_data): Likewise.
58190         (isless_test_data): Likewise.
58191         (islessequal_test_data): Likewise.
58192         (islessgreater_test_data): Likewise.
58193         (isnan_test_data): Likewise.
58194         (isnormal_test_data): Likewise.
58195         (issignaling_test_data): Likewise.
58196         (isunordered_test_data): Likewise.
58197         (ldexp_test_data): Likewise.
58198         (lrint_test_data): Likewise.
58199         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58200         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58201         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58202         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58203         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58204         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58205         test input.
58206         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58207         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58208         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58209         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58210         that test input.
58211         (lrint_downward_test_data): Test for "inexact" exceptions.
58212         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58213         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58214         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58215         test input.
58216         (lrint_upward_test_data): Test for "inexact" exceptions.
58217         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58218         test input.
58219         (llrint_test_data): Test for "inexact" exceptions.
58220         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58221         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58222         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58223         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58224         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58225         (llrint_downward_test_data): Test for "inexact" exceptions.
58226         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58227         (llrint_upward_test_data): Test for "inexact" exceptions.
58228         (logb_test_data): Likewise.
58229         (logb_downward_test_data): Likewise.
58230         (nextafter_test_data): Likewise.
58231         (nexttoward_test_data): Likewise.
58232         (remainder_test_data): Likewise.
58233         (remquo_test_data): Likewise.
58234         (scalbn_test_data): Likewise.
58235         (scalbln_test_data): Likewise.
58236         (signbit_test_data): Likewise.
58237         (sqrt_test_data): Likewise.
58238         (significand_test_data): Likewise.
58240 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58242         [BZ #15424]
58243         * benchtests/bench-modf.c (struct args): Mark arg0 as
58244         volatile.
58245         * scripts/bench.pl: Mark members of struct args as volatile.
58247 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58249         [BZ # 15497]
58250         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58251         negative infinity on POWER6 or lower.
58252         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58254 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58256         [BZ #15442]
58257         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58258         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58259         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58260         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58261         (_FP_SETQNAN): New macro.
58262         (_FP_SETQNAN_SEMIRAW): Likewise.
58263         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58264         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58265         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58266         (FP_EXTEND): Use _FP_FRAC_SNANP.
58267         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58268         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58269         into account.
58270         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58271         New macro.
58272         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58273         Likewise.
58275 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58277         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58278         with DIVIDE_BY_ZERO_EXCEPTION.
58279         (gamma_test_data): Likewise.
58280         (lgamma_test_data): Likewise.
58281         (log_test_data): Likewise.
58282         (log10_test_data): Likewise.
58283         (log2_test_data): Likewise.
58284         (tgamma_test_data): Likewise.
58286         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58287         (acos_test_tonearest): Likewise.
58288         (acos_test_towardzero): Likewise.
58289         (acos_test_downward): Likewise.
58290         (acos_test_upward): Likewise.
58291         (acosh_test): Likewise.
58292         (asin_test): Likewise.
58293         (asin_test_tonearest): Likewise.
58294         (asin_test_towardzero): Likewise.
58295         (asin_test_downward): Likewise.
58296         (asin_test_upward): Likewise.
58297         (asinh_test): Likewise.
58298         (atan_test): Likewise.
58299         (atanh_test): Likewise.
58300         (atan2_test): Likewise.
58301         (cabs_test): Likewise.
58302         (cacos_test): Likewise.
58303         (cacosh_test): Likewise.
58304         (casin_test): Likewise.
58305         (casinh_test): Likewise.
58306         (catan_test): Likewise.
58307         (catanh_test): Likewise.
58308         (cbrt_test): Likewise.
58309         (ccos_test): Likewise.
58310         (ccosh_test): Likewise.
58311         (cexp_test): Likewise.
58312         (clog_test): Likewise.
58313         (clog10_test): Likewise.
58314         (cos_test): Likewise.
58315         (cos_test_tonearest): Likewise.
58316         (cos_test_towardzero): Likewise.
58317         (cos_test_downward): Likewise.
58318         (cos_test_upward): Likewise.
58319         (cosh_test): Likewise.
58320         (cosh_test_tonearest): Likewise.
58321         (cosh_test_towardzero): Likewise.
58322         (cosh_test_downward): Likewise.
58323         (cosh_test_upward): Likewise.
58324         (cpow_test): Likewise.
58325         (csin_test): Likewise.
58326         (csinh_test): Likewise.
58327         (csqrt_test): Likewise.
58328         (ctan_test): Likewise.
58329         (ctan_test_tonearest): Likewise.
58330         (ctan_test_towardzero): Likewise.
58331         (ctan_test_downward): Likewise.
58332         (ctan_test_upward): Likewise.
58333         (ctanh_test): Likewise.
58334         (ctanh_test_tonearest): Likewise.
58335         (ctanh_test_towardzero): Likewise.
58336         (ctanh_test_downward): Likewise.
58337         (ctanh_test_upward): Likewise.
58338         (erf_test): Likewise.
58339         (erfc_test): Likewise.
58340         (exp_test): Likewise.
58341         (exp_test_tonearest): Likewise.
58342         (exp_test_towardzero): Likewise.
58343         (exp_test_downward): Likewise.
58344         (exp_test_upward): Likewise.
58345         (exp10_test): Likewise.
58346         (exp2_test): Likewise.
58347         (expm1_test): Likewise.
58348         (fmod_test): Likewise.
58349         (gamma_test): Likewise.
58350         (hypot_test): Likewise.
58351         (j0_test): Likewise.
58352         (j1_test): Likewise.
58353         (jn_test): Likewise.
58354         (lgamma_test): Likewise.
58355         (log_test): Likewise.
58356         (log10_test): Likewise.
58357         (log1p_test): Likewise.
58358         (log2_test): Likewise.
58359         (logb_test_downward): Likewise.
58360         (pow_test): Likewise.
58361         (pow_test_tonearest): Likewise.
58362         (pow_test_towardzero): Likewise.
58363         (pow_test_downward): Likewise.
58364         (pow_test_upward): Likewise.
58365         (remainder_test): Likewise.
58366         (remquo_test): Likewise.
58367         (sin_test): Likewise.
58368         (sin_test_tonearest): Likewise.
58369         (sin_test_towardzero): Likewise.
58370         (sin_test_downward): Likewise.
58371         (sin_test_upward): Likewise.
58372         (sincos_test): Likewise.
58373         (sinh_test): Likewise.
58374         (sinh_test_tonearest): Likewise.
58375         (sinh_test_towardzero): Likewise.
58376         (sinh_test_downward): Likewise.
58377         (sinh_test_upward): Likewise.
58378         (sqrt_test): Likewise.
58379         (tan_test): Likewise.
58380         (tan_test_tonearest): Likewise.
58381         (tan_test_towardzero): Likewise.
58382         (tan_test_downward): Likewise.
58383         (tan_test_upward): Likewise.
58384         (tanh_test): Likewise.
58385         (tgamma_test): Likewise.
58386         (y0_test): Likewise.
58387         (y1_test): Likewise.
58388         (yn_test): Likewise.
58390         * math/gen-libm-test.pl (adjust_arg): Remove function.
58391         (special_function): Remove argument $in_func.  Only handle
58392         generating output for tables of tests, not inside functions.
58393         (parse_args): Likewise.
58394         (generate_testfile): Remove variable $in_func.  Update call to
58395         parse_args.
58396         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
58397         (MINUS_ZERO_INIT): Rename macro to minus_zero.
58398         (PLUS_INFTY_INIT): Rename macro to plus_infty.
58399         (MINUS_INFTY_INIT): Rename macro to minus_infty.
58400         (QNAN_VALUE_INIT): Rename macro to qnan_value.
58401         (MAX_VALUE_INIT): Rename macro to max_value.
58402         (MIN_VALUE_INIT): Rename macro to min_value.
58403         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
58404         (plus_zero): Remove variable.
58405         (minus_zero): Likewise.
58406         (plus_infty): Likewise.
58407         (minus_infty): Likewise.
58408         (qnan_value): Likewise.
58409         (max_value): Likewise.
58410         (min_value): Likewise.
58411         (min_subnorm_value): Likewise.
58413 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58415         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
58416         uint64_t or uint32_t usage.
58417         * crypt/sha256-block.c: Likewise.
58418         * crypt/sha256-crypt.c: Likewise.
58419         * crypt/sha256.c: Likewise.
58420         * crypt/sha512-block.c: Likewise.
58421         * crypt/sha512-crypt.c: Likewise.
58422         * crypt/sha512.c: Likewise.
58423         * debug/backtrace-tst.c: Likewise.
58424         * debug/pcprofiledump.c: Likewise.
58425         * elf/cache.c: Likewise.
58426         * elf/dl-cache.c: Likewise.
58427         * elf/dl-misc.c: Likewise.
58428         * elf/dl-profile.c: Likewise.
58429         * elf/dl-support.c: Likewise.
58430         * elf/ldconfig.c: Likewise.
58431         * elf/sprof.c: Likewise.
58432         * iconv/dummy-repertoire.c: Likewise.
58433         * iconv/iconv_charmap.c: Likewise.
58434         * iconv/skeleton.c: Likewise.
58435         * iconvdata/8bit-generic.c: Likewise.
58436         * iconvdata/cp737.h: Likewise.
58437         * iconvdata/cp775.h: Likewise.
58438         * iconvdata/ibm1008.h: Likewise.
58439         * iconvdata/ibm1025.h: Likewise.
58440         * iconvdata/ibm1046.h: Likewise.
58441         * iconvdata/ibm1097.h: Likewise.
58442         * iconvdata/ibm1112.h: Likewise.
58443         * iconvdata/ibm1122.h: Likewise.
58444         * iconvdata/ibm1123.h: Likewise.
58445         * iconvdata/ibm1124.h: Likewise.
58446         * iconvdata/ibm1129.h: Likewise.
58447         * iconvdata/ibm1130.h: Likewise.
58448         * iconvdata/ibm1132.h: Likewise.
58449         * iconvdata/ibm1133.h: Likewise.
58450         * iconvdata/ibm1137.h: Likewise.
58451         * iconvdata/ibm1140.h: Likewise.
58452         * iconvdata/ibm1141.h: Likewise.
58453         * iconvdata/ibm1142.h: Likewise.
58454         * iconvdata/ibm1143.h: Likewise.
58455         * iconvdata/ibm1144.h: Likewise.
58456         * iconvdata/ibm1145.h: Likewise.
58457         * iconvdata/ibm1146.h: Likewise.
58458         * iconvdata/ibm1147.h: Likewise.
58459         * iconvdata/ibm1148.h: Likewise.
58460         * iconvdata/ibm1149.h: Likewise.
58461         * iconvdata/ibm1153.h: Likewise.
58462         * iconvdata/ibm1154.h: Likewise.
58463         * iconvdata/ibm1155.h: Likewise.
58464         * iconvdata/ibm1156.h: Likewise.
58465         * iconvdata/ibm1157.h: Likewise.
58466         * iconvdata/ibm1158.h: Likewise.
58467         * iconvdata/ibm1160.h: Likewise.
58468         * iconvdata/ibm1161.h: Likewise.
58469         * iconvdata/ibm1162.h: Likewise.
58470         * iconvdata/ibm1163.h: Likewise.
58471         * iconvdata/ibm1164.h: Likewise.
58472         * iconvdata/ibm1166.h: Likewise.
58473         * iconvdata/ibm1167.h: Likewise.
58474         * iconvdata/ibm12712.h: Likewise.
58475         * iconvdata/ibm1390.h: Likewise.
58476         * iconvdata/ibm1399.h: Likewise.
58477         * iconvdata/ibm16804.h: Likewise.
58478         * iconvdata/ibm4517.h: Likewise.
58479         * iconvdata/ibm4899.h: Likewise.
58480         * iconvdata/ibm4909.h: Likewise.
58481         * iconvdata/ibm4971.h: Likewise.
58482         * iconvdata/ibm5347.h: Likewise.
58483         * iconvdata/ibm803.h: Likewise.
58484         * iconvdata/ibm856.h: Likewise.
58485         * iconvdata/ibm901.h: Likewise.
58486         * iconvdata/ibm902.h: Likewise.
58487         * iconvdata/ibm9030.h: Likewise.
58488         * iconvdata/ibm9066.h: Likewise.
58489         * iconvdata/ibm921.h: Likewise.
58490         * iconvdata/ibm922.h: Likewise.
58491         * iconvdata/ibm9448.h: Likewise.
58492         * iconvdata/isiri-3342.h: Likewise.
58493         * iconvdata/jis0201.h: Likewise.
58494         * include/link.h: Likewise.
58495         * include/netdb.h: Likewise.
58496         * inet/check_native.c: Likewise.
58497         * inet/check_pf.c: Likewise.
58498         * inet/getipv4sourcefilter.c: Likewise.
58499         * inet/getnameinfo.c: Likewise.
58500         * inet/getsourcefilter.c: Likewise.
58501         * inet/htonl.c: Likewise.
58502         * inet/setipv4sourcefilter.c: Likewise.
58503         * inet/setsourcefilter.c: Likewise.
58504         * inet/test-inet6_opt.c: Likewise.
58505         * inet/tst-network.c: Likewise.
58506         * locale/C-collate.c: Likewise.
58507         * locale/C-ctype.c: Likewise.
58508         * locale/C-time.c: Likewise.
58509         * locale/C-translit.h: Likewise.
58510         * locale/loadarchive.c: Likewise.
58511         * locale/programs/3level.h: Likewise.
58512         * locale/programs/charmap.c: Likewise.
58513         * locale/programs/charmap.h: Likewise.
58514         * locale/programs/ld-address.c: Likewise.
58515         * locale/programs/ld-collate.c: Likewise.
58516         * locale/programs/ld-ctype.c: Likewise.
58517         * locale/programs/ld-identification.c: Likewise.
58518         * locale/programs/ld-measurement.c: Likewise.
58519         * locale/programs/ld-messages.c: Likewise.
58520         * locale/programs/ld-monetary.c: Likewise.
58521         * locale/programs/ld-name.c: Likewise.
58522         * locale/programs/ld-numeric.c: Likewise.
58523         * locale/programs/ld-paper.c: Likewise.
58524         * locale/programs/ld-telephone.c: Likewise.
58525         * locale/programs/ld-time.c: Likewise.
58526         * locale/programs/linereader.c: Likewise.
58527         * locale/programs/locale.c: Likewise.
58528         * locale/programs/locarchive.c: Likewise.
58529         * locale/programs/locfile.h: Likewise.
58530         * locale/programs/repertoire.c: Likewise.
58531         * locale/programs/simple-hash.c: Likewise.
58532         * locale/programs/simple-hash.h: Likewise.
58533         * malloc/memusage.c: Likewise.
58534         * malloc/memusagestat.c: Likewise.
58535         * nis/nis_defaults.c: Likewise.
58536         * nis/nis_hash.c: Likewise.
58537         * nis/nis_print.c: Likewise.
58538         * nis/nis_xdr.c: Likewise.
58539         * nscd/connections.c: Likewise.
58540         * nscd/hstcache.c: Likewise.
58541         * nscd/nscd_gethst_r.c: Likewise.
58542         * nscd/nscd_getserv_r.c: Likewise.
58543         * nscd/nscd_helper.c: Likewise.
58544         * nscd/servicescache.c: Likewise.
58545         * nss/makedb.c: Likewise.
58546         * nss/nss_db/db-XXX.c: Likewise.
58547         * nss/nss_db/db-initgroups.c: Likewise.
58548         * nss/nss_db/db-netgrp.c: Likewise.
58549         * nss/nss_files/files-network.c: Likewise.
58550         * nss/nss_files/files-parse.c: Likewise.
58551         * posix/bug-regex5.c: Likewise.
58552         * posix/fnmatch_loop.c: Likewise.
58553         * posix/regcomp.c: Likewise.
58554         * posix/regexec.c: Likewise.
58555         * posix/tst-rfc3484-2.c: Likewise.
58556         * posix/tst-rfc3484-3.c: Likewise.
58557         * posix/tst-rfc3484.c: Likewise.
58558         * resolv/nss_dns/dns-canon.c: Likewise.
58559         * resolv/nss_dns/dns-network.c: Likewise.
58560         * resolv/res_init.c: Likewise.
58561         * resolv/res_mkquery.c: Likewise.
58562         * resolv/tst-aton.c: Likewise.
58563         * stdlib/cxa_atexit.c: Likewise.
58564         * stdlib/cxa_finalize.c: Likewise.
58565         * stdlib/gen-fpioconst.c: Likewise.
58566         * stdlib/strtol_l.c: Likewise.
58567         * string/tst-endian.c: Likewise.
58568         * sunrpc/auth_des.c: Likewise.
58569         * sunrpc/clnt_udp.c: Likewise.
58570         * sunrpc/rtime.c: Likewise.
58571         * sunrpc/svcauth_des.c: Likewise.
58572         * sunrpc/xdr.c: Likewise.
58573         * sunrpc/xdr_intXX_t.c: Likewise.
58574         * sunrpc/xdr_rec.c: Likewise.
58575         * sysdeps/generic/ldconfig.h: Likewise.
58576         * sysdeps/generic/ldsodefs.h: Likewise.
58577         * sysdeps/generic/memusage.h: Likewise.
58578         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58579         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58580         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58581         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58582         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58584         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58585         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58586         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58587         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58588         * sysdeps/posix/getaddrinfo.c: Likewise.
58589         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58590         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58591         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58592         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58593         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58594         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58595         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58596         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58597         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58598         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58599         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58600         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58601         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58602         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58603         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58604         * sysdeps/x86_64/dl-tls.h: Likewise.
58605         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58606         * time/alt_digit.c: Likewise.
58607         * time/era.c: Likewise.
58608         * wcsmbs/tst-c16c32-1.c: Likewise.
58610 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58612         * math/libm-test.inc (struct test_sincos_data): New type.
58613         (RUN_TEST_LOOP_sincos): New macro.
58614         (sincos_test_data): New variable.
58615         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58617 2013-05-16  Richard Henderson  <rth@redhat.com>
58619         * math/atest-exp2.c (LIMB64): New macro.
58620         (CONSTSZ): New macro.
58621         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58622         (hexdig): Move ...
58623         (print_mpn_fp): ... to function scope.
58624         (read_mpn_hex): Remove.
58625         (get_log2): Remove.
58626         (exp2_mpn): Use mp_log2.
58627         (main): Use mp_exp1.
58629 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58631         * math/libm-test.inc: Remove comment about not testing "inexact"
58632         exceptions.
58633         (INEXACT_EXCEPTION): New macro.
58634         (NO_INEXACT_EXCEPTION): Likewise.
58635         (INVALID_EXCEPTION_OK): Update value.
58636         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58637         (OVERFLOW_EXCEPTION_OK): Likewise.
58638         (UNDERFLOW_EXCEPTION_OK): Likewise.
58639         (IGNORE_ZERO_INF_SIGN): Likewise.
58640         (ERRNO_UNCHANGED): Likewise.
58641         (ERRNO_EDOM): Likewise.
58642         (ERRNO_ERANGE): Likewise.
58643         (test_exceptions): Handle testing "inexact" exceptions.
58644         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58645         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58646         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58647         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58648         INEXACT_EXCEPTION.
58649         (rint_towardzero_test_data): Likewise.
58650         (rint_downward_test_data): Likewise.
58651         (rint_upward_test_data): Likewise.
58653         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58654         with OVERFLOW_EXCEPTION.
58655         (exp10_test_data): Likewise.
58656         (exp2_test_data): Likewise.
58657         (expm1_test_data): Likewise.
58658         (lgamma_test_data): Likewise.
58659         (pow_test_data): Likewise.
58660         (tgamma_test_data): Likewise.
58661         (yn_test_data): Remove duplicate test of overflow.
58663         * math/libm-test.inc (struct test_cc_c_data): New type.
58664         (RUN_TEST_LOOP_cc_c): New macro.
58665         (cpow_test_data): New variable.
58666         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58668         * math/libm-test.inc (struct test_f_L_data): New type.
58669         (RUN_TEST_LOOP_f_L): New macro.
58670         (llrint_test_data): New variable.
58671         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58672         (llrint_tonearest_test_data): New variable.
58673         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58674         (llrint_towardzero_test_data): New variable.
58675         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58676         (llrint_downward_test_data): New variable.
58677         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58678         (llrint_upward_test_data): New variable.
58679         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58680         (llround_test_data): New variable.
58681         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58683 2013-05-13  Peter Collingbourne  <pcc@google.com>
58685         * math/atest-exp2.c (get_log2): Remove const attribute.
58687 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58689         * math/libm-test.inc (struct test_f_l_data): New type.
58690         (RUN_TEST_LOOP_f_l): New macro.
58691         (lrint_test_data): New variable.
58692         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58693         (lrint_tonearest_test_data): New variable.
58694         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58695         (lrint_towardzero_test_data): New variable.
58696         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58697         (lrint_downward_test_data): New variable.
58698         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58699         (lrint_upward_test_data): New variable.
58700         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58701         (lround_test_data): New variable.
58702         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58704 2013-05-15  Peter Collingbourne  <pcc@google.com>
58706         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58707         (EXTRACT_WORDS64) Use where appropriate.
58708         (INSERT_WORDS64) Likewise.
58710         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58711         constraints with x constraints.
58712         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58714         * malloc/obstack.c (_obstack_compat): Add initializer.
58716 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58718         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58719         si_trapno and add si_addr_lsb to _sifields.sigfault.
58720         (si_trapno): Remove macro.
58721         (si_addr_lsb): Define new macro.
58722         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58724 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58726         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58727         instead of TEST_f_l.
58728         (llrint_test_tonearest): Likewise.
58729         (llrint_test_towardzero): Likewise.
58730         (llrint_test_downward): Likewise.
58731         (llrint_test_upward): Likewise.
58732         (llround_test): Likewise.
58734         * math/libm-test.inc (struct test_f_i_data): Add comment.
58735         (RUN_TEST_LOOP_f_b): New macro.
58736         (RUN_TEST_LOOP_f_b_tg): Likewise.
58737         (finite_test_data): New variable.
58738         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58739         (isfinite_test_data): New variable.
58740         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58741         (isinf_test_data): New variable.
58742         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58743         (isnan_test_data): New variable.
58744         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58745         (isnormal_test_data): New variable.
58746         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58747         (issignaling_test_data): New variable.
58748         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58749         (signbit_test_data): New variable.
58750         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58752         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58753         with INVALID_EXCEPTION.
58754         (acosh_test_data): Likewise.
58755         (asin_test_data): Likewise.
58756         (atanh_test_data): Likewise.
58757         (fmod_test_data): Likewise.
58758         (log_test_data): Likewise.
58759         (log10_test_data): Likewise.
58760         (log2_test_data): Likewise.
58761         (pow_test_data): Likewise.
58762         (sqrt_test_data): Likewise.
58763         (y0_test_data): Likewise.
58764         (y1_test_data): Likewise.
58765         (yn_test_data): Likewise.
58767         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58768         function contents.
58770         * math/libm-test.inc (struct test_ff_i_data): New type.
58771         (RUN_TEST_LOOP_ff_i_tg): New macro.
58772         (isgreater_test_data): New variable.
58773         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58774         (isgreaterequal_test_data): New variable.
58775         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58776         (isless_test_data): New variable.
58777         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58778         (islessequal_test_data): New variable.
58779         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58780         (islessgreater_test_data): New variable.
58781         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58782         (isunordered_test_data): New variable.
58783         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58785 2013-05-14  David S. Miller  <davem@davemloft.net>
58787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58789 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58791         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58793         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58794         extra_test to int.
58795         (struct test_f_i_data): Change type of max_ulp to int.
58797         * math/libm-test.inc (test_ffI_f1_data): New type.
58798         (RUN_TEST_LOOP_ffI_f1): New macro.
58799         (remquo_test_data): New variable.
58800         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58802         * setjmp/tst-setjmp-fp.c: New file.
58803         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58804         (link-libm): New variable.
58805         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58807         * math/libm-test.inc (struct test_f_i_data): New type.
58808         (RUN_TEST_LOOP_f_i): New macro.
58809         (RUN_TEST_LOOP_f_i_tg): Likewise.
58810         (fpclassify_test_data): New variable.
58811         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58812         (ilogb_test_data): New variable.
58813         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58815         * math/libm-test.inc (scalbln_test): Correct function name in END
58816         call.
58818         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58819         (RUN_TEST_LOOP_fI_f1): New macro.
58820         (frexp_test_data): New variable.
58821         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58823         * math/libm-test.inc (struct test_fF_f1_data): New type.
58824         (RUN_TEST_LOOP_fF_f1): New macro.
58825         (modf_test_data): New variable.
58826         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58828         * math/libm-test.inc (struct test_f_f1_data): New type.
58829         (RUN_TEST_LOOP_f_f1): New macro.
58830         (gamma_test_data): New variable.
58831         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58832         (lgamma_test_data): New variable.
58833         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58835 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58837         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58838         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58839         (main): Comment "tls" pseudo-hwcap.
58841 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58843         * math/libm-test.inc (struct test_fl_f_data): New type.
58844         (RUN_TEST_LOOP_fl_f): New variable.
58845         (scalbln_test_data): New variable.
58846         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58848         * math/libm-test.inc (struct test_fi_f_data): New type.
58849         (RUN_TEST_LOOP_fi_f): New macro.
58850         (ldexp_test_data): New variable.
58851         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58852         (scalbn_test_data): New variable.
58853         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58855         * math/libm-test.inc (struct test_c_f_data): New type.
58856         (RUN_TEST_LOOP_c_f): New macro.
58857         (cabs_test_data): New variable.
58858         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58859         (carg_test_data): New variable.
58860         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58861         (cimag_test_data): New variable.
58862         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58863         (creal_test_data): New variable.
58864         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58866         * math/libm-test.inc (struct test_if_f_data): New type.
58867         (RUN_TEST_LOOP_if_f): New macro.
58868         (jn_test_data): New variable.
58869         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58870         (yn_test_data): New variable.
58871         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58873         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58875 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58877         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58878         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58880 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58882         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58883         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58884         (bench-deps): Add bench-timing.h.
58885         * benchtests-bench-skeleton.c: Include bench-timing.h.
58886         (main): Use TIMING_* macros instead of clock_gettime.
58887         * benchtests/bench-timing.h: New file.
58889         [BZ #14582]
58890         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58891         Renamed from _LIB_VERSION.
58892         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58894 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58896         * math/libm-test.inc (struct test_fff_f_data): New type.
58897         (RUN_TEST_LOOP_fff_f): New macro.
58898         (fma_test_data): New variable.
58899         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58900         (fma_towardzero_test_data): New variable.
58901         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58902         (fma_downward_test_data): New variable.
58903         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58904         (fma_upward_test_data): New variable.
58905         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58907         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58908         (struct test_c_c_data): New type.
58909         (RUN_TEST_LOOP_c_c): New macro.
58910         (cacos_test_data): New variable.
58911         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58912         (cacosh_test_data): New variable.
58913         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58914         (casin_test_data): New variable.
58915         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58916         (casinh_test_data): New variable.
58917         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58918         (catan_test_data): New variable.
58919         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58920         (catanh_test_data): New variable.
58921         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58922         (ccos_test_data): New variable.
58923         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58924         (ccosh_test_data): New variable.
58925         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58926         (cexp_test_data): New variable.
58927         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58928         (clog_test_data): New variable.
58929         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58930         (clog10_test_data): New variable.
58931         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58932         (conj_test_data): New variable.
58933         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58934         (cproj_test_data): New variable.
58935         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58936         (csin_test_data): New variable.
58937         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58938         (csinh_test_data): New variable.
58939         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58940         (csqrt_test_data): New variable.
58941         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58942         (ctan_test_data): New variable.
58943         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58944         (ctan_tonearest_test_data): New variable.
58945         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58946         (ctan_towardzero_test_data): New variable.
58947         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58948         (ctan_downward_test_data): New variable.
58949         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58950         (ctan_upward_test_data): New variable.
58951         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58952         (ctanh_test_data): New variable.
58953         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58954         (ctanh_tonearest_test_data): New variable.
58955         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58956         (ctanh_towardzero_test_data): New variable.
58957         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58958         (ctanh_downward_test_data): New variable.
58959         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58960         (ctanh_upward_test_data): New variable.
58961         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58962         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58963         of BUILD_COMPLEX.
58965         * math/libm-test.inc (struct test_ff_f_data): New type.
58966         (struct test_ff_f_data_nexttoward): Likewise.
58967         (RUN_TEST_LOOP_2_f): New macro.
58968         (RUN_TEST_LOOP_ff_f): Likewise.
58969         (atan2_test_data): New variable.
58970         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58971         (copysign_test_data): New variable.
58972         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58973         (fdim_test_data): New variable.
58974         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58975         (fmax_test_data): New variable.
58976         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58977         (fmin_test_data): New variable.
58978         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58979         (fmod_test_data): New variable.
58980         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58981         (hypot_test_data): New variable.
58982         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58983         (nextafter_test_data): New variable.
58984         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58985         (nexttoward_test_data): New variable.
58986         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58987         (pow_test_data): New variable.
58988         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58989         (pow_tonearest_test_data): New variable.
58990         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58991         (pow_towardzero_test_data): New variable.
58992         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58993         (pow_downward_test_data): New variable.
58994         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58995         (pow_upward_test_data): New variable.
58996         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58997         (remainder_test_data): New variable.
58998         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58999         (scalb_test_data): New variable.
59000         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
59001         * sysdeps/i386/fpu/libm-test-ulps: Update.
59003 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
59005         * math/libm-test.inc (fma_test): Use max_value instead of local
59006         variable fltmax.
59007         (nextafter_test): Likewise.
59009         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59010         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59011         (acos_downward_test_data): New variable.
59012         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59013         (acos_upward_test_data): New variable.
59014         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59015         (acosh_test_data): New variable.
59016         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59017         (asin_test_data): New variable.
59018         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59019         (asin_tonearest_test_data): New variable.
59020         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59021         (asin_towardzero_test_data): New variable.
59022         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59023         (asin_downward_test_data): New variable.
59024         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59025         (asin_upward_test_data): New variable.
59026         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59027         (asinh_test_data): New variable.
59028         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59029         (atan_test_data): New variable.
59030         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59031         (atanh_test_data): New variable.
59032         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59033         (cbrt_test_data): New variable.
59034         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59035         (ceil_test_data): New variable.
59036         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59037         (cos_test_data): New variable.
59038         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59039         (cos_tonearest_test_data): New variable.
59040         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59041         (cos_towardzero_test_data): New variable.
59042         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59043         (cos_downward_test_data): New variable.
59044         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59045         (cos_upward_test_data): New variable.
59046         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59047         (cosh_test_data): New variable.
59048         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59049         (cosh_tonearest_test_data): New variable.
59050         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59051         (cosh_towardzero_test_data): New variable.
59052         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59053         (cosh_downward_test_data): New variable.
59054         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59055         (cosh_upward_test_data): New variable.
59056         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59057         (erf_test_data): New variable.
59058         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59059         (erfc_test_data): New variable.
59060         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59061         (exp_test_data): New variable.
59062         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59063         (exp_tonearest_test_data): New variable.
59064         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59065         (exp_towardzero_test_data): New variable.
59066         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59067         (exp_downward_test_data): New variable.
59068         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59069         (exp_upward_test_data): New variable.
59070         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59071         (exp10_test_data): New variable.
59072         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59073         (exp2_test_data): New variable.
59074         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59075         (expm1_test_data): New variable.
59076         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59077         (fabs_test_data): New variable.
59078         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59079         (floor_test_data): New variable.
59080         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59081         (j0_test_data): New variable.
59082         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59083         (j1_test_data): New variable.
59084         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59085         (log_test_data): New variable.
59086         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59087         (log10_test_data): New variable.
59088         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59089         (log1p_test_data): New variable.
59090         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59091         (log2_test_data): New variable.
59092         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59093         (logb_test_data): New variable.
59094         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59095         (logb_downward_test_data): New variable.
59096         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59097         (nearbyint_test_data): New variable.
59098         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59099         (rint_test_data): New variable.
59100         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59101         (rint_tonearest_test_data): New variable.
59102         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59103         (rint_towardzero_test_data): New variable.
59104         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59105         (rint_downward_test_data): New variable.
59106         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59107         (rint_upward_test_data): New variable.
59108         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59109         (round_test_data): New variable.
59110         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59111         (sin_test_data): New variable.
59112         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59113         (sin_tonearest_test_data): New variable.
59114         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59115         (sin_towardzero_test_data): New variable.
59116         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59117         (sin_downward_test_data): New variable.
59118         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59119         (sin_upward_test_data): New variable.
59120         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59121         (sinh_test_data): New variable.
59122         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59123         (sinh_tonearest_test_data): New variable.
59124         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59125         (sinh_towardzero_test_data): New variable.
59126         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59127         (sinh_downward_test_data): New variable.
59128         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59129         (sinh_upward_test_data): New variable.
59130         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59131         (sqrt_test_data): New variable.
59132         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59133         (tan_test_data): New variable.
59134         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59135         (tan_tonearest_test_data): New variable.
59136         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59137         (tan_towardzero_test_data): New variable.
59138         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59139         (tan_downward_test_data): New variable.
59140         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59141         (tan_upward_test_data): New variable.
59142         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59143         (tanh_test_data): New variable.
59144         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59145         (tgamma_test_data): New variable.
59146         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59147         (trunc_test_data): New variable.
59148         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59149         (y0_test_data): New variable.
59150         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59151         (y1_test_data): New variable.
59152         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59153         (significand_test_data): New variable.
59154         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59156 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59158         [BZ #12387]
59159         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59161 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59163         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59165 2013-05-10  Andreas Jaeger  <aj@suse.de>
59167         [BZ #15448]
59168         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59169         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59171 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59173         * math/gen-libm-test.pl (adjust_arg): New function.
59174         (special_functions): Handle generating output in both functions
59175         and arrays.
59176         (parse_args): Likewise.
59177         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59178         $in_func argument to parse_args.
59179         * math/libm-test.inc (struct test_f_f_data): New type.
59180         (IF_ROUND_INIT_): New macro.
59181         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59182         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59183         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59184         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59185         (ROUND_RESTORE_): Likewise.
59186         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59187         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59188         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59189         (ROUND_RESTORE_FE_UPWARD): Likewise.
59190         (RUN_TEST_LOOP_f_f): New macro.
59191         (acos_test_data): New variable.
59192         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59193         (acos_tonearest_test_data): New variable.
59194         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59196 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59198         * benchtests/bench-skeleton.c (startup): Fix coding style.
59200 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59202         [BZ #6809]
59203         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59204         negative infinity argument.
59205         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59206         negative infinity argument.
59207         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59208         negative infinity argument.
59209         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59210         domain errors.
59212 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59214         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59215         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59216         * iconv/iconv_prog.c (main): Likewise.
59217         * locale/programs/charmap-dir.c (charmap_readdir)
59218         (fopen_uncompressed): Likewise.
59219         * locale/programs/locfile.c (siblings_uncached)
59220         (write_locale_data): Use lstat64 instead of lstat.
59221         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59222         stat.
59224 2013-05-10  Andreas Jaeger  <aj@suse.de>
59226         [BZ #15395]
59227         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59228         localization.
59229         Include <locale.h>.
59231 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59233         * elf/dl-close.c (_dl_close_worker): Add comments.
59235 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59237         [BZ #15359]
59238         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59239         high part of pi/2.
59240         (__ieee754_rem_pio2l): Update comments.
59242         [BZ #15429]
59243         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59244         high part of pi/2.
59245         (__ieee754_rem_pio2l): Update comments.
59247         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59248         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59250         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59251         M_PI_4l.
59253         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59254         (M_PI_34_LOG10El): Likewise.
59255         (M_PI2_LOG10El): Likewise.
59256         (M_PI4_LOG10El): Likewise.
59257         (M_PI_LOG10El): Likewise.
59259 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59263 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59265         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59266         (MINUS_ZERO_INIT): Likewise.
59267         (PLUS_INFTY_INIT): Likewise.
59268         (MINUS_INFTY_INIT): Likewise.
59269         (QNAN_VALUE_INIT): Likewise.
59270         (MAX_VALUE_INIT): Likewise.
59271         (MIN_VALUE_INIT): Likewise.
59272         (MIN_SUBNORM_VALUE_INIT): Likewise.
59273         (plus_zero): Initialize with PLUS_ZERO_INIT.
59274         (minus_zero): Initialize with MINUS_ZERO_INIT.
59275         (plus_infty): Initialize with PLUS_INFTY_INIT.
59276         (minus_infty): Initialize with MINUS_INFTY_INIT.
59277         (qnan_value): Initialize with QNAN_VALUE_INIT.
59278         (max_value): Initialize with MAX_VALUE_INIT.
59279         (min_value): Initialize with MIN_VALUE_INIT.
59280         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59282         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59283         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59284         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59285         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59287         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59288         (RUN_TEST_2_f): Likewise.
59289         (RUN_TEST_ff_f): Likewise.
59290         (RUN_TEST_fi_f): Likewise.
59291         (RUN_TEST_fl_f): Likewise.
59292         (RUN_TEST_fff_f): Likewise.
59293         (RUN_TEST_c_f): Likewise.
59294         (RUN_TEST_f_f1): Likewise.
59295         (RUN_TEST_fF_f1): Likewise.
59296         (RUN_TEST_fI_f1): Likewise.
59297         (RUN_TEST_ffI_f1): Likewise.
59298         (RUN_TEST_c_c): Likewise.
59299         (RUN_TEST_cc_c): Likewise.
59300         (RUN_TEST_f_i): Likewise.
59301         (RUN_TEST_f_i_tg): Likewise.
59302         (RUN_TEST_ff_i_tg): Likewise.
59303         (RUN_TEST_f_b): Likewise.
59304         (RUN_TEST_f_b_tg): Likewise.
59305         (RUN_TEST_f_l): Likewise.
59306         (RUN_TEST_f_L): Likewise.
59307         (RUN_TEST_sincos): Likewise.
59308         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59309         whether to show exceptions.  Do not include ");\n" in return
59310         value.
59311         (special_functions): Output call to RUN_TEST_sincos instead of
59312         check_float calls.  Update calls to new_test.
59313         (parse_args): Output call to single RUN_TEST_* macro instead of
59314         check_* calls and other assignments.  Update calls to new_test.
59316         [BZ #2546]
59317         [BZ #2560]
59318         [BZ #5159]
59319         [BZ #15426]
59320         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59321         input to result for tgamma overflow.
59322         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59323         (gamma_coeff): New variable.
59324         (NCOEFF): New macro.
59325         (gamma_positive): New function.
59326         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59327         underflow here.  Use gamma_positive instead of exp (lgamma) for
59328         other arguments.
59329         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59330         (gamma_coeff): New variable.
59331         (NCOEFF): New macro.
59332         (gammaf_positive): New function.
59333         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59334         underflow here.  Use gamma_positive instead of exp (lgamma) for
59335         other arguments.
59336         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59337         (gamma_coeff): New variable.
59338         (NCOEFF): New macro.
59339         (gammal_positive): New function.
59340         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59341         underflow here.  Use gamma_positive instead of exp (lgamma) for
59342         other arguments.
59343         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59344         (gamma_coeff): New variable.
59345         (NCOEFF): New macro.
59346         (gammal_positive): New function.
59347         (__ieee754_gammal_r): Handle positive infinity, overflow and
59348         underflow here.  Handle NaN the same as positive infinity.  Remove
59349         check x < 0xffffffff for negative integers.  Use gamma_positive
59350         instead of exp (lgamma) for other arguments.
59351         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
59352         (gamma_coeff): New variable.
59353         (NCOEFF): New macro.
59354         (gammal_positive): New function.
59355         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
59356         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
59357         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
59358         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
59359         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
59360         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
59361         * sysdeps/generic/math_private.h (__gamma_productf): New
59362         prototype.
59363         (__gamma_product): Likewise.
59364         (__gamma_productl): Likewise.
59365         * math/Makefile (libm-calls): Add gamma_product.
59366         * math/libm-test.inc (tgamma_test): Add more tests.
59367         * sysdeps/i386/fpu/libm-test-ulps: Update.
59368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59370 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
59372         * benchtests/bench-skeleton.c (main): Preheat CPU.
59374 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
59376         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
59378 2013-05-07  Roland McGrath  <roland@hack.frob.com>
59380         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
59381         and _dl_skip_args_internal.
59383 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
59385         * manual/message.texi (Message Translation): Talk about users.
59386         Message to key mapping impacts design.
59388 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59390         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
59392         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
59394         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
59395         * sysdeps/wordsize-64/glob64.c: ... here.
59397         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
59398         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
59399         New macros.
59401         * debug/getlogin_r_chk.c: Moved to ...
59402         * login/getlogin_r_chk.c: ... here.
59403         * debug/Makefile (routines): Move getlogin_r_chk to ...
59404         * login/Makefile (routines): ... here.
59405         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
59406         * login/Versions (libc: GLIBC_2.4): ... here.
59408         * io/poll.c (__poll): Renamed from poll.
59409         Add libc_hidden_def.
59410         (poll): Define as weak alias.
59412         * debug/ptsname_r_chk.c: Moved to ...
59413         * login/ptsname_r_chk.c: ... here.
59414         * debug/Makefile (routines): Move ptsname_r_chk to ...
59415         * login/Makefile (routines): ... here.
59416         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
59417         * login/Versions (libc: GLIBC_2.4): ... here.
59419         * posix/getlogin.c: Moved to ...
59420         * login/getlogin.c: ... here.
59421         * posix/getlogin_r.c: Moved to ...
59422         * login/getlogin_r.c: ... here.
59423         * posix/getlogin_r.c: Moved to ...
59424         * login/getlogin_r.c: ... here.
59425         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59426         * login/Makefile (routines): ... here.
59427         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59428         * login/Versions (libc: GLIBC_2.0): ... here.
59430         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59431         (setrlimit): Define as weak alias.
59433         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59434         Call __ names for open, ftruncate, and close.
59435         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59436         (truncate): Define as weak alias.
59438 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59440         * math/gen-libm-test.pl (parse_args): Initialize x before each
59441         test of frexp, modf and remquo.
59443         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59444         test signgam value.
59446 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59448         [BZ #15418]
59449         [BZ #15419]
59450         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59451         internal tests.
59452         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59454 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59456         * elf/dl-writev.h: New file.
59457         * elf/dl-misc.c: Include it.
59458         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59459         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59461 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59463         * math/libm-test.inc (noXFails): Remove variable.
59464         (noXPasses): Likewise.
59465         (BUILD_COMPLEX_INT): Remove macro.
59466         (print_screen): Remove xfail argument.
59467         (print_screen_max_error): Likewise.
59468         (update_stats): Likewise.
59469         (print_max_error): Likewise.  Update calls to other affected
59470         functions.
59471         (print_complex_max_error): Likewise.
59472         (test_single_exception): Update calls to print_screen.
59473         (test_single_errno): Likewise.
59474         (check_float_internal): Remove xfail argument.  Update calls to
59475         other affected functions.
59476         (check_float): Likewise.
59477         (check_complex): Likewise.
59478         (check_int): Likewise.
59479         (check_long): Likewise.
59480         (check_bool): Likewise.
59481         (check_longlong): Likewise.
59482         (main): Don't print noXFails and noXPasses.
59483         * math/gen-libm-test.pl (top level): Don't mention expected
59484         failure handling in comment.
59485         (new_test): Don't handle expected failures.
59486         (parse_args): Don't mention expected failure handling in comment.
59487         (generate_testfile): Don't handle expected failures.
59488         (parse_ulps): Likewise.
59489         (print_ulps_file): Likewise.
59490         (get_failure): Remove function.
59491         (output_test): Don't handle expected failures.
59492         * make/README.libm-test: Don't mention expected failure handling.
59494         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59495         (minus_zero): Likewise.
59496         (plus_infty): Likewise.
59497         (minus_infty): Likewise.
59498         (qnan_value): Likewise.
59499         (max_value): Likewise.
59500         (min_value): Likewise.
59501         (min_subnorm_value): Likewise.
59502         (initialize): Do not initialize those variables dynamically.
59504 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59506         * io/open.c (__open_2): Moved to ...
59507         * io/open_2.c: ... this new file.
59508         * io/open64.c (__open64_2): Moved to ...
59509         * io/open64_2.c: ... this new file.
59510         * io/openat.c (__openat_2): Moved to ...
59511         * io/openat_2.c: ... this new file.
59512         * io/openat64.c (__openat64_2): Moved to ...
59513         * io/openat64_2.c: ... this new file.
59514         * io/Makefile (routines): Add them.
59515         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59516         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59517         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59518         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59519         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59520         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59521         (__openat64): Add hidden_ver.
59522         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59523         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59525         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59526         Separately conditionalize setting of GLRO(dl_sysinfo) so
59527         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59528         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59530 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59532         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59533         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59534         definition.
59535         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59536         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59537         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59538         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59539         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59541 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59543         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59544         test signgam value.
59546         * math/libm-test.inc (hypot_test): Do not use
59547         IGNORE_ZERO_INF_SIGN.
59549 2013-05-03  Andreas Jaeger  <aj@suse.de>
59551         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59552         Linux 3.9.
59553         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59554         (PF_MAX): Adjust for VSOCK change.
59556 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59560 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59562         [BZ #15264]
59563         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59564         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59565         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59567 2013-05-02  David S. Miller  <davem@davemloft.net>
59569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59571 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59573         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59575 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59577         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59579 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59581         [BZ #14952]
59582         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59583         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59584         Use __attribute__ ((__gnu_inline__)).
59585         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59586         Don't use __attribute__ ((__gnu_inline__)).
59588 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59590         [BZ #15423]
59591         * math/s_catan.c (__catan): Handle small real or imaginary part of
59592         input specially to avoid spurious underflow.
59593         * math/s_catanf.c (__catanf): Likewise.
59594         * math/s_catanh.c (__catanh): Likewise.
59595         * math/s_catanhf.c (__catanhf): Likewise.
59596         * math/s_catanhl.c (__catanhl): Likewise.
59597         * math/s_catanl.c (__catanl): Likewise.
59598         * math/libm-test.inc (catan_test): Add more tests.
59599         (catanh_test): Likewise.
59600         * sysdeps/i386/fpu/libm-test-ulps: Update.
59601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59603 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59607 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59609         [BZ #15416]
59610         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59611         accurately for denominator in atan2.
59612         * math/s_catanf.c (__catanf): Likewise.
59613         * math/s_catanh.c (__catanh): Likewise.
59614         * math/s_catanhf.c (__catanhf): Likewise.
59615         * math/s_catanhl.c (__catanhl): Likewise.
59616         * math/s_catanl.c (__catanl): Likewise.
59617         * math/libm-test.inc (catan_test): Add more tests.
59618         (catanh_test): Likewise.
59619         * sysdeps/i386/fpu/libm-test-ulps: Update.
59620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59622 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59624         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59626         * benchtests/Makefile (bench): Remove slow benchmarks.
59627         * benchtests/atan-inputs: Add slow benchmark inputs.
59628         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59629         (BENCH_FUNC): Accept variant offset.
59630         (VARIANT): Define.
59631         * benchtests/bench-skeleton.c (main): Run benchmark for each
59632         variant.
59633         * benchtests/cos-inputs: Add slow benchmark inputs.
59634         * benchtests/exp-inputs: Likewise.
59635         * benchtests/pow-inputs: Likewise.
59636         * benchtests/sin-inputs: Likewise.
59637         * benchtests/slowatan-inputs: Remove.
59638         * benchtests/slowatan.c: Remove.
59639         * benchtests/slowcos-inputs: Remove.
59640         * benchtests/slowcos.c: Remove.
59641         * benchtests/slowexp-inputs: Remove.
59642         * benchtests/slowexp.c: Remove.
59643         * benchtests/slowpow-inputs: Remove.
59644         * benchtests/slowpow.c: Remove.
59645         * benchtests/slowsin-inputs: Remove.
59646         * benchtests/slowsin.c: Remove.
59647         * benchtests/slowtan-inputs: Remove.
59648         * benchtests/slowtan.c: Remove.
59649         * benchtests/tan-inputs: Add slow benchmark inputs.
59650         * scripts/bench.pl: Parse comments and directives.
59652         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59653         in CPPFLAGS.
59654         ($(objpfx)bench-%.c): Remove *-ITER.
59655         * benchtests/bench-modf.c: Remove definition of ITER.
59656         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59657         (main): Loop for DURATION seconds instead of fixed number of
59658         iterations.
59659         * scripts/bench.pl: Don't expect iterations in parameters.
59661 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59663         * io/fchdir.c (__fchdir): Renamed from fchdir.
59664         (fchdir): Define as weak alias.
59666 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59668         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59669         (ERRNO_EDOM): Likewise.
59670         (ERRNO_ERANGE): Likewise.
59671         (noErrnoTests): New variable.
59672         (init_max_error): Set errno to 0.
59673         (test_single_errno): New function.
59674         (test_errno): Likewise.
59675         (check_float_internal): Call test_errno.  Set errno to 0.
59676         (check_complex): Refer to errno tests in comment.
59677         (check_int): Call test_errno.  Set errno to 0.
59678         (check_long): Likewise.
59679         (check_bool): Likewise.
59680         (check_longlong): Likewise.
59681         (cos_test): Use ERRNO_* flags for errno tests instead of
59682         check_int.
59683         (expm1_test): Likewise.
59684         (fmod_test): Likewise.
59685         (ilogb_test): Likewise.
59686         (lgamma_test): Likewise.
59687         (pow_test): Likewise.
59688         (remainder_test): Likewise.
59689         (sin_test): Likewise.
59690         (tan_test): Likewise.
59691         (yn_test): Likewise.
59692         (initialize): Set errno to 0.
59693         (main): Print number of errno tests.
59694         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59696 2013-04-29  Andreas Jaeger  <aj@suse.de>
59698         [BZ #15084]
59699         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59700         and RES_USEVC.
59702         [BZ #15085]
59703         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59704         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59705         unimplemented.
59707         [BZ #15380]
59708         * stdlib/random.c (__initstate): Return NULL if
59709         __initstate fails.
59711         [BZ #15086]
59712         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59713         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59714         RES_SNGLKUPREOP.
59716 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59720 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59722         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59723         of individual tests.
59724         (casin_test): Likewise.
59725         (casinh_test): Likewise.
59727 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59729         [BZ #15409]
59730         * math/s_catan.c (__catan): Handle arguments with large real or
59731         imaginary part separately without squaring.
59732         * math/s_catanf.c (__catanf): Likewise.
59733         * math/s_catanh.c (__catanh): Likewise.
59734         * math/s_catanhf.c (__catanhf): Likewise.
59735         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59736         and redefine.
59737         (__catanhl): Handle arguments with large real or imaginary part
59738         separately without squaring.
59739         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59740         and redefine.
59741         (__catanl): Handle arguments with large real or imaginary part
59742         separately without squaring.
59743         * math/libm-test.inc (catan_test): Add more tests.
59744         (catanh_test): Likewise.
59745         * sysdeps/i386/fpu/libm-test-ulps: Update.
59746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59748 2013-04-27  Andreas Jaeger  <aj@suse.de>
59750         [BZ #15007]
59751         * stdlib/stdlib.h: Update guards for qecvt.
59752         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59753         <stdlib.h>.
59755 2013-04-27  Allan McRae  <allan@archlinux.org>
59757         * sysdeps/i386/fpu/libm-test-ulps: Update.
59759 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59761         [BZ #15406]
59762         * math/s_catan.c: Include <float.h>.
59763         (__catan): Ensure underflow exception occurs for underflowed
59764         result.
59765         * math/s_catanf.c: Include <float.h>.
59766         (__catanf): Ensure underflow exception occurs for underflowed
59767         result.
59768         * math/s_catanh.c: Include <float.h>.
59769         (__catanh): Ensure underflow exception occurs for underflowed
59770         result.
59771         * math/s_catanhf.c: Include <float.h>.
59772         (__catanhf): Ensure underflow exception occurs for underflowed
59773         result.
59774         * math/s_catanhl.c: Include <float.h>.
59775         (__catanhl): Ensure underflow exception occurs for underflowed
59776         result.
59777         * math/s_catanl.c: Include <float.h>.
59778         (__catanl): Ensure underflow exception occurs for underflowed
59779         result.
59780         * math/libm-test.inc (catan_test): Add more tests.
59781         (catanh_test): Likewise.
59783         [BZ #15405]
59784         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59785         underflowed result.
59786         * math/s_ccoshf.c (__ccoshf): Likewise.
59787         * math/s_ccoshl.c (__ccoshl): Likewise.
59788         * math/s_csin.c (__csin): Likewise.
59789         * math/s_csinf.c (__csinf): Likewise.
59790         * math/s_csinh.c (__csinh): Likewise.
59791         * math/s_csinhf.c (__csinhf): Likewise.
59792         * math/s_csinhl.c (__csinhl): Likewise.
59793         * math/s_csinl.c (__csinl): Likewise.
59794         * math/libm-test.inc (ccos_test): Add more tests.
59795         (ccosh_test): Likewise.
59796         (csin_test): Likewise.
59797         (csinh_test): Likewise.
59799 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59801         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59802         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59803         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59804         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59805         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59806         powerpc/power5+/fpu folders.
59807         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59810 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59814 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59816         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59817         additions to variable.
59818         [$(config-machine) = x86_64] (modules-names): Likewise.
59819         ($(objpfx)tst-audit3): Remove dependency.
59820         ($(objpfx)tst-audit3.out): Likewise.
59821         ($(objpfx)tst-audit4): Likewise.
59822         ($(objpfx)tst-audit4.out): Likewise.
59823         ($(objpfx)tst-audit5): Likewise.
59824         ($(objpfx)tst-audit5.out): Likewise.
59825         ($(objpfx)tst-audit6): Likewise.
59826         ($(objpfx)tst-audit6.out): Likewise.
59827         ($(objpfx)tst-audit7): Likewise.
59828         ($(objpfx)tst-audit7.out): Likewise.
59829         (tst-audit3-ENV): Remove variable.
59830         (tst-audit4-ENV): Likewise.
59831         (tst-audit5-ENV): Likewise.
59832         (tst-audit6-ENV): Likewise.
59833         (tst-audit7-ENV): Likewise.
59834         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59835         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59836         addition to variable.
59837         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59838         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59839         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59840         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59841         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59842         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59843         tst-audit3, tst-audit4 and tst-audit5.
59844         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59845         tst-audit6 and tst-audit7.
59846         [$(subdir) = elf] (modules-names): Add audit modules for those
59847         tests.
59848         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59849         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59850         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59851         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59852         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59853         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59854         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59855         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59856         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59857         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59858         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59859         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59860         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59861         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59862         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59863         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59864         Likewise.
59865         [$(subdir) = elf && $(config-cflags-avx) = yes]
59866         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59867         [$(subdir) = elf && $(config-cflags-avx) = yes]
59868         (CFLAGS-tst-auditmod4a.c): Likewise.
59869         [$(subdir) = elf && $(config-cflags-avx) = yes]
59870         (CFLAGS-tst-auditmod4b.c): Likewise.
59871         [$(subdir) = elf && $(config-cflags-avx) = yes]
59872         (CFLAGS-tst-auditmod6b.c): Likewise.
59873         [$(subdir) = elf && $(config-cflags-avx) = yes]
59874         (CFLAGS-tst-auditmod6c.c): Likewise.
59875         [$(subdir) = elf && $(config-cflags-avx) = yes]
59876         (CFLAGS-tst-auditmod7b.c): Likewise.
59877         * elf/tst-audit3.c: Move to ...
59878         * sysdeps/x86_64/tst-audit3.c: ... here.
59879         * elf/tst-audit4.c: Move to ...
59880         * sysdeps/x86_64/tst-audit4.c: ... here.
59881         * elf/tst-audit5.c: Move to ...
59882         * sysdeps/x86_64/tst-audit5.c: ... here.
59883         * elf/tst-audit6.c: Move to ...
59884         * sysdeps/x86_64/tst-audit6.c: ... here.
59885         * elf/tst-audit7.c: Move to ...
59886         * sysdeps/x86_64/tst-audit7.c: ... here.
59887         * elf/tst-auditmod3a.c: Move to ...
59888         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59889         * elf/tst-auditmod3b.c: Move to ...
59890         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59891         * elf/tst-auditmod4a.c: Move to ...
59892         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59893         * elf/tst-auditmod4b.c: Move to ...
59894         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59895         * elf/tst-auditmod5a.c: Move to ...
59896         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59897         * elf/tst-auditmod5b.c: Move to ...
59898         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59899         * elf/tst-auditmod6a.c: Move to ...
59900         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59901         * elf/tst-auditmod6b.c: Move to ...
59902         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59903         * elf/tst-auditmod6c.c: Move to ...
59904         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59905         * elf/tst-auditmod7a.c: Move to ...
59906         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59907         * elf/tst-auditmod7b.c: Move to ...
59908         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59910 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59912         [BZ #15366]
59913         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59914         define unconditionally.
59915         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59916         define unconditionally.
59917         (INT8_C, INT16_C, etc.): Likewise.
59919 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59921         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59922         __ehdr_start with hidden visibility.
59924         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59926 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59928         * math/libm-test.inc (cos_test): Use accurate hex constants.
59929         (sincost_test): Likewise.
59931 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59933         * math/libm-test.inc (catan_test): Add more tests.
59934         (catanh_test): Likewise.
59936         * math/s_catanf.c (__catanf): Use suffixed floating-point
59937         constants.
59938         * math/s_catanhf.c (__catanhf): Likewise.
59939         * math/s_catanhl.c (__catanhl): Likewise.
59940         * math/s_catanl.c (__catanl): Likewise.
59942         [BZ #15394]
59943         * math/s_catan.c (__catan): Calculate imaginary part of result
59944         with log1p not log unless computing log of number close to 0.
59945         * math/s_catanf.c (__catanf): Likewise.
59946         * math/s_catanl.c (__catanl): Likewise.
59947         * math/s_catanh.c (__catanh): Calculate real part of result with
59948         log1p not log unless computing log of number close to 0.
59949         * math/s_catanhf.c (__catanhf): Likewise.
59950         * math/s_catanhl.c (__catanhl): Likewise.
59951         * math/libm-test.inc (catan_test): Add more tests.
59952         (catanh_test): Likewise.
59953         * sysdeps/i386/fpu/libm-test-ulps: Update.
59954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59956 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59958         * benchtests/Makefile: Mention files in which fast and slow
59959         paths of math functions are implemented.
59961 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59963         * sysdeps/posix/timespec_get.c: New file.
59965 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59967         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59968         POWER.
59969         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59970         for POWER.
59971         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59972         powerpc/power5/fpu folders.
59973         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59974         * benchtests/Makefile: Add modf testcase.
59975         * benchtests/bench-modf.c: New file: Benchmark test for mo
59977 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59979         [BZ #14888]
59980         * time/Makefile (tests): Add tst-strptime-whitespace.
59981         * time/strptime_l.c (get_number): Use ISSPACE.
59982         (__strptime_internal): Likewise.
59983         * time/tst-strptime-whitespace.c: New test case.
59985 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59987         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59988         member.
59989         (_nss_files_init): Set it here.
59991 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59993         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59994         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59995         unsigned.
59997 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59999         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
60001 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60003         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
60004         size just once.
60006 2013-04-21  David S. Miller  <davem@davemloft.net>
60008         * po/ru.po: Update Russion translation from translation project.
60010 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60012         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60013         and setfsgid.
60015 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60017         * configure.in: Remove i386 configure warning. Remove i386 case.
60018         * configure: Regenerate.
60019         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60020         Add example to error message.
60021         * sysdeps/i386/configure: Regenerate.
60023 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60025         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60026         slowtan.
60027         * benchtests/cos-inputs: New file.
60028         * benchtests/slowcos-inputs: New file.
60029         * benchtests/slowcos.c: New file.
60030         * benchtests/slowtan-inputs: New file.
60031         * benchtests/slowtan.c: New file.
60032         * benchtests/tan-inputs: New file.
60034 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60036         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60037         considered kosher.
60039 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60041         * benchtests/Makefile: Include cppflags-iterator.mk to add
60042         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60044         * Makefile.in (bench-clean): New target.
60045         * benchtests/Makefile (bench-clean): Likewise.
60047 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60049         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60051 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60053         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60055 2013-04-15  Andreas Schwab  <schwab@suse.de>
60057         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60058         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60059         * nscd/pwdcache.c (cache_addpw): Likewise.
60060         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60061         more than recsize.
60063 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60065         * benchtests/Makefile (bench): Write all output to
60066         bench-out.tmp together.
60068 2013-04-15  Andreas Schwab  <schwab@suse.de>
60070         * nscd/nscd.c (main): Don't fork again after closing files.
60072 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60074         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60076         * benchtests/Rules (bench-deps): Collect dependencies into a
60077         single variable.  Add Makefile to dependencies.
60078         ($(objpfx)bench-%.c): Depend on bench-deps.
60080 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60081             Xavier Roche  <roche+kml2@exalead.com>
60083         [BZ #15361]
60084         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60085         just that it's a file descriptor.
60086         * manual/llio.texi (Synchronizing AIO Operations): Update description
60087         for EBADF error from aio_fsync.
60089 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60091         * Rules (bench): Move target definition...
60092         * benchtests/Makefile: ... here.
60094 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60096         * math/libm-test.inc (cos_test): Fix PI/2 test.
60097         (sincos_test): Likewise.
60098         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60099         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60101 2013-04-11  Andreas Schwab  <schwab@suse.de>
60103         [BZ #13988]
60104         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60105         accept exponent character only when digits were seen.
60106         * stdio-common/Makefile (tests): Add bug26.
60107         * stdio-common/bug26.c: New file.
60109         [BZ #14293]
60110         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60111         non-freeable.
60113 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60115         * Makeconfig (rtld-prefix): Define built linker prefix.
60116         * Rules (run-bench): Use it.
60117         * math/Makefile (run-regen-ulps): Likewise.
60119         * Rules (bench): Remove eval.
60121 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60122             Roland McGrath  <roland@hack.frob.com>
60123             Ondrej Bilka  <neleai@seznam.cz>
60125         [BZ #15346]
60126         * time/getdate.c: Include ctype.h and alloca.h.
60127         (__getdate_r): Trim leading and trailing spaces of input.
60128         * time/tst-getdate.c (tests): Add tests with leading and
60129         trailing spaces.
60131 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60133         [BZ #14280]
60134         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60135         when computing value.
60137 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60139         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60140         Use testrun.sh to run libm tests.
60142         [BZ #15309]
60143         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60145 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60147         [BZ #15264]
60148         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60150 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60152         * Makefile.in (regen-ulps): New target.
60153         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60154         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60155         [ifneq (no,$(PERL)] (regen-ulps): New target.
60156         [ifeq (no,$(PERL)] (regen-ulps): New target.
60157         * math/libm-test.inc (ulps_file_name): Define.
60158         (output_dir): New variable.
60159         (options): Add "output-dir" option.
60160         (parse_opt): Handle 'o' case.
60161         (main): If output_dir is non-NULL use it as a prefix
60162         otherwise use "".
60163         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60165 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60167         [BZ #10060, #10062]
60168         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60169         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60170         fail configure if __sync_val_compare_and_swap is not inlined.
60171         * sysdeps/i386/configure: Regenerate.
60172         * configure.in: Build for i686 when configured for i386.
60173         * configure: Regenerate.
60174         * README: Remove i386 reference.
60176 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60178         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60179         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60181 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60183         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60184         (lmsnanval): New variables.
60185         (F): Add conversion tests.
60186         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60187         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60189         * stdio-common/tstdiomisc.c (F): Properly collect individual
60190         tests' results.
60192         [BZ #14686, #15336]
60193         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60194         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60195         Instead, use input NaN values or generate a qNaN by arithmetic
60196         operation.  Also fix bugs to comply with the standard.
60197         * math/libm-test.inc (remainder_test): Add more tests.
60199         [BZ #15335, #15342]
60200         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60202         input NaN values or generate a qNaN by arithmetic operation.
60204         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60205         unreachable code.
60207         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60208         definitions.
60210 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60212         [BZ #14478]
60213         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60214         underflowed result.
60215         * math/s_cexpf.c (__cexpf): Likewise.
60216         * math/s_cexpl.c (__cexpl): Likewise.
60217         * math/libm-test.inc (cexp_test): Add more tests.
60219 2013-04-03  Andreas Schwab  <schwab@suse.de>
60221         [BZ #15330]
60222         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60223         order arrays from heap if bigger than alloca cutoff.
60225 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60227         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60228         (SNAN_TESTS_double): Refer to GCC PR56831.
60229         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60230         GCC PR56828.
60232 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60234         * Rules (bench): Move bench.out after the run is complete.
60236         * Rules (bench): Echo currently running benchmark.
60238         * benchtests/Makefile (bench): Add atan and slowatan.
60239         * benchtests/atan-inputs: New file.
60240         * benchtests/slowatan-inputs: New file.
60241         * benchtests/slowatan.c: New file.
60243         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60244         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60245         its value.
60247         [BZ #15305]
60248         * sysdeps/unix/sysv/linux/kernel-features.h
60249         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60250         __ASSUME_XFS_RESTRICTED_CHOWN.
60251         * sysdeps/unix/sysv/linux/pathconf.c
60252         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60253         Save and restore errno.
60255 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60257         [BZ #15327]
60258         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60259         arguments using __kernel_casinh.
60260         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60261         arguments using __kernel_casinhf.
60262         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60263         arguments using __kernel_casinhl.
60264         * math/libm-test.inc (cacosh_test): Add more tests.
60265         * sysdeps/i386/fpu/libm-test-ulps: Update.
60266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60268 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60270         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60273         * bench/Makefile (bench): Add sin and slowsin.
60274         * benchtests/sin-inputs: New file.
60275         * benchtests/slowsin-inputs: New file.
60276         * benchtests/slowsin.c: New file.
60278         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60279         (bench): Add slowexp and slowpow.
60280         (exp-ITER): Increase iterations.
60281         (pow-ITER): Likewise.
60282         * benchtests/exp-inputs: Change input.
60283         * benchtests/pow-inputs: Likewise.
60284         * benchtests/slowexp-inputs: New file.
60285         * benchtests/slowexp.c: New file.
60286         * benchtests/slowpow-inputs: New file.
60287         * benchtests/slowpow.c: New file.
60289 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60291         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60292         instructions.
60293         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60294         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60295         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60296         * benchtests/Makefile: Add rint benchtest.
60297         * benchtests/rint-inputs: Input for rint benchtest.
60299 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60301         * Versions.def (libm): Add GLIBC_2.18.
60302         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60303         hidden libm prototypes.
60304         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60305         * math/Makefile (libm-calls): Add s_issignaling.
60306         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60307         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60308         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60309         declaration.
60310         * math/math.h [__USE_GNU] (issignaling): New macro.
60311         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60312         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60313         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60314         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60315         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60316         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60317         * manual/arith.texi (issignaling): New section.
60318         * manual/libm-err-tab.pl (@all_functions): Update comment.
60319         * math/gen-libm-test.pl (parse_args): Apply special handling for
60320         issignaling.
60321         * math/libm-test.inc (print_float, issignaling_test): New
60322         functions.
60323         (check_float_internal): Add issignaling checks.
60324         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60325         default definition.
60326         * sysdeps/powerpc/math-tests.h: New file.
60327         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60328         tests.
60329         * math/test-snan.c (TEST_FUNC): Likewise.
60331 2013-03-30  David S. Miller  <davem@davemloft.net>
60333         * po/de.po: Update from translation team.
60335 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60337         [BZ #10357]
60338         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60339         imaginary part less than 1.0 and real part less than 0.5
60340         specially.
60341         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60342         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60343         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60344         (cacos_test): Add more tests.
60345         (casin_test): Likewise.
60346         (casinh_test): Likewise.
60347         * sysdeps/i386/fpu/libm-test-ulps: Update.
60348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60350 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60352         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
60353         ONE with its value.
60355         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
60356         (__pow_mp): Replace ONE and MONE with their values.
60357         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60358         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
60359         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60360         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
60361         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60362         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60364         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
60366         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
60367         (__pow_mp): Replace ZERO and MZERO with their values.
60368         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60369         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60370         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60372         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60373         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
60374         (__sqr): Likewise.
60376         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
60378         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
60380 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60382         * include/stdlib.h [!SHARED] (__call_tls_dtors):
60383         Declare with __attribute__ ((weak)).
60384         * stdlib/exit.c (__libc_atexit) [!SHARED]:
60385         Call __call_tls_dtors only if it's not NULL.
60387 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60389         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
60390         didn't do it already, then set _dl_phdr and _dl_phnum based on the
60391         magic __ehdr_start linker symbol if it's defined.
60392         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
60393         them up here if it was already done.
60395         * elf/dl-support.c (_dl_phdr): Make pointer to const.
60396         (_dl_aux_init): Use const in cast when setting it.
60397         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
60398         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
60399         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
60401         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
60402         Declare them here.
60403         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
60404         * csu/libc-tls.c: Nor here.
60405         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
60407         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
60408         (__libc_message): Never call vsyslog.
60410 2013-03-28  Alan Modra  <amodra@gmail.com>
60412         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
60413         Define as empty.
60414         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
60415         Likewise.
60417 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60419         [BZ #15214]
60420         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
60421         underflow.
60422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60424 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60426         [BZ #15304]
60427         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60428         Don't add gid passed as argument.
60430         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60432 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60434         [BZ #15307]
60435         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60436         imaginary part between 1.0 and 1.5 and real part less than 0.5
60437         specially.
60438         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60439         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60440         * math/libm-test.inc (cacos_test): Add more tests.
60441         (casin_test): Likewise.
60442         (casinh_test): Likewise.
60443         * sysdeps/i386/fpu/libm-test-ulps: Update.
60444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60446 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60448         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60449         constants.
60450         (norm): Likewise.
60451         (denorm): Likewise.
60452         (__dbl_mp): Likewise.
60453         (add_magnitudes): Likewise.
60454         (sub_magnitudes): Likewise.
60455         (__add): Likewise.
60456         (__sub): Likewise.
60457         (__mul): Likewise.
60458         (__sqr): Likewise.
60459         (__inv): Likewise.
60460         (__dvd): Likewise.
60462         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60463         commented code.
60464         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60465         (__dubcos): Likewise.
60466         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60467         (__ieee754_acos): Likewise.
60468         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60469         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60470         (__exp1): Likewise.
60471         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60473         (log1): Likewise.
60474         (my_log2): Likewise.
60475         (checkint): Likewise.
60476         * sysdeps/ieee754/dbl-64/e_remainder.c
60477         (__ieee754_remainder): Likewise.
60478         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60480         (bsloww): Likewise.
60481         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60483         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60484         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60485         MANTISSA_STORE_T to store computations on mantissa.  Use
60486         macros for rounding and division.
60487         (denorm): Likewise.
60488         (__dbl_mp): Likewise.
60489         (add_magnitudes): Likewise.
60490         (sub_magnitudes): Likewise.
60491         (__mul): Likewise.
60492         (__sqr): Likewise.
60493         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60494         powers of two in terms of TWOPOW macro.
60495         (mp_no): Make type of mantissa as MANTISSA_T.
60496         [!RADIXI]: Define RADIXI.
60497         [!TWO52]: Define TWO52.
60498         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60500 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60502         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60503         llroundl symbol when building for PPC32.
60505 2013-03-24  Mark H Weaver  <mhw@netris.org>
60507         * manual/arith.texi (Normalization Functions): Fix prototypes for
60508         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60510 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60512         [BZ #13889]
60513         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60514         high value to check if expl overflow.
60515         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60516         to check for underflow and overflow.
60517         * math/libm-test.inc: Add exp test.
60519 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60521         [BZ #11120]
60522         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60523         with NOT_IN_libc.
60525 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60527         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60528         symbol.
60530 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60532         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60533         wrap blocks consisting of several statements.
60535         * sysdeps/generic/math-tests.h: New file.
60536         * sysdeps/i386/fpu/math-tests.h: Likewise.
60537         * math/test-snan.c: Include it.
60538         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60540 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60542         [BZ #15285]
60543         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60544         (__ieee754_j0l): Do not improve calculations using cos of twice
60545         input for inputs above LDBL_MAX / 2.0L.
60546         (__ieee754_y0l): Likewise.
60547         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60548         (__ieee754_j1l): Do not improve calculations using cos of twice
60549         input for inputs above LDBL_MAX / 2.0L.
60550         (__ieee754_y1l): Likewise.
60551         * math/libm-test.inc (j0_test): Add another test.
60552         (j1_test): Likewise.
60553         (y0_test): Likewise.
60554         (y1_test): Likewise.
60555         * sysdeps/i386/fpu/libm-test-ulps: Update.
60557 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60559         * Rules ($(objpfx)bench-%.c): Include code from a C source
60560         file.
60562 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60564         [BZ #15287]
60565         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60566         imaginary part 1.0 and real part less than 0.5 specially.
60567         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60568         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60569         * math/libm-test.inc (cacos_test): Add more tests.
60570         (casin_test): Likewise.
60571         (casinh_test): Likewise.
60572         * sysdeps/i386/fpu/libm-test-ulps: Update.
60573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60575 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60577         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60578         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60580 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60582         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60583         * config.make.in (config-cflags-sse4): Remove variable.
60584         (config-cflags-avx): Likewise.
60585         (config-cflags-sse2avx): Likewise.
60586         (config-cflags-novzeroupper): Likewise.
60587         (config-asflags-i686): Likewise.
60588         (have-mfma4): Likewise.
60589         (have-as-vis3): Likewise.
60590         (MIG): Likewise.
60591         * configure.in (MIG): Do not AC_SUBST.
60592         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60593         (libc_cv_cc_sse4): Do not AC_SUBST.
60594         (libc_cv_cc_avx): Likewise.
60595         (libc_cv_cc_sse2avx): Likewise.
60596         (libc_cv_cc_novzeroupper): Likewise.
60597         (libc_cv_cc_fma4): Likewise.
60598         (libc_cv_as_i686): Likewise.
60599         (libc_cv_sparc_as_vis3): Likewise.
60600         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60601         LIBC_CONFIG_VAR.
60602         (config-asflags-i686): Likewise.
60603         (config-cflags-avx): Likewise.
60604         (config-cflags-sse2avx): Likewise.
60605         (have-mfma4): Likewise.
60606         (config-cflags-novzeroupper): Likewise.
60607         * sysdeps/mach/configure.in (MIG): Likewise.
60608         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60609         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60610         LIBC_CONFIG_VAR.
60611         (config-cflags-avx): Likewise.
60612         (config-cflags-sse2avx): Likewise.
60613         (have-mfma4): Likewise.
60614         (config-cflags-novzeroupper): Likewise.
60615         * configure: Regenerated.
60616         * sysdeps/i386/configure: Likewise.
60617         * sysdeps/mach/configure: Likewise.
60618         * sysdeps/sparc/configure: Likewise.
60619         * sysdeps/x86_64/configure: Likewise.
60621 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60623         [BZ #14812]
60624         * locale/programs/localedef.c (options): Put N_ translation marker
60625         on argument names, not just descriptions.
60627 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60629         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60631 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60633         [BZ #14176]
60634         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60636 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60638         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60639         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60640         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60641         [!BEFORE_ABORT] (before_abort): New function.
60642         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60643         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60644         (writev_for_fatal): New function.
60645         (WRITEV_FOR_FATAL): New macro; call that.
60646         (backtrace_and_maps): New function.
60647         (BEFORE_ABORT): New macro; call that.
60648         (struct str_list): Type removed.
60649         (__libc_message, __libc_fatal): Functions removed.
60650         Include <sysdeps/posix/libc_fatal.c> instead.
60652 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60654         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60655         constants.
60656         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60657         double constants.
60659 2013-03-19  Andreas Schwab  <schwab@suse.de>
60661         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60662         * sysdeps/gnu/configure: Regenerate.
60664         * configure.in: Substitute libc_cv_rtlddir.
60665         * configure: Regenerate.
60666         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60667         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60668         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60669         * elf/Makefile (install-others, CFLAGS-interp.c)
60670         (ldso_install, common-ldd-rewrite): Likewise.
60671         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60672         $(inst_slibdir)/$(rtld-installed-name).
60673         * scripts/rellns-sh: Add -p option.
60674         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60675         for source.
60677 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60679         * manual/nptl.texi: Renamed to ...
60680         * manual/threads.texi: ... this.
60681         * manual/Makefile (chapters): Update.
60683 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60685         [BZ #14812]
60686         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60687         on argument names, not just descriptions.
60688         * malloc/memusagestat.c (options): Likewise.
60689         * nss/getent.c (options): Likewise.
60691 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60693         [BZ #14812]
60694         * iconv/iconv_prog.c (options): Put N_ translation marker
60695         on argument names, not just descriptions.
60696         * iconv/iconvconfig.c (options): Likewise.
60698 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60700         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60701         implementation which is faster on all x86_64 architectures.
60702         Tested on AMD, Intel Nehalem, SNB, IVB.
60703         * sysdeps/x86_64/strnlen.S: Likewise.
60705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60706         Remove all multiarch strlen and strnlen versions.
60707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60708         Remove strlen and strnlen related parts.
60710         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60711         Inline strlen part.
60712         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60714         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60715         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60716         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60717         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60718         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60719         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60721 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60723         * manual/memory.texi (Malloc Tunable Parameters):
60724         Sort parameters alphabetically. Add comments for missing entries.
60726 2013-03-17  David S. Miller  <davem@davemloft.net>
60728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60730 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60732         [BZ #15283]
60733         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60734         for arguments at most half maximum finite value.
60735         * math/libm-test.inc (j0_test): Add more tests.
60736         (j1_test): Likewise.
60737         (y0_test): Likewise.
60738         (y1_test): Likewise.
60739         * sysdeps/i386/fpu/libm-test-ulps: Update.
60740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60742         [BZ #14155]
60743         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60744         1 / x and functions P and Q for arguments above 0x1p256L.
60745         (__ieee754_y0l): Likewise.
60746         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60747         (__ieee754_y1l): Likewise.
60748         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60749         (j1_test): Likewise.
60750         (y0_test): Likewise.
60751         (y1_test): Likewise.
60753 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60755         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60756         variable.
60758 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60760         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60761         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60762         zero since it's initialized to EXEC_PAGESIZE.
60764         * sysdeps/unix/sysv/linux/ldsodefs.h
60765         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60766         * sysdeps/generic/ldsodefs.h: ... here.
60768 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60770         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60772         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60773         math/test-snan.c.
60774         * math/test-snan.c: Renamed from
60775         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60776         * math/Makefile (tests): Add test-snan.
60777         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60778         test-powerpc-snan.
60780         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60781         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60782         functions.
60783         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60784         __builtin_nan family of functions.
60785         * math/libm-test.inc (initialize): Initialize qnan_value with
60786         __builtin_nan family of functions.
60787         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60788         Remove variables.
60789         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60790         Remove functions.
60791         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60792         storage class.  Initialize qNaN_var and sNaN_var with
60793         __builtin_nan and __builtin_nans families of functions,
60794         respectively.
60796         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60797         (sqrt_test): Remove duplicate test with qNaN input.
60798         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60799         (round_test, signbit_test, significand_test): Note missing +/-Inf
60800         as well as qNaN tests.
60802         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60803         qNaN_var.  Fix a few strings, too.
60804         * math/libm-test.inc (nan_value): Rename to qnan_value.
60805         * math/gen-libm-test.pl (%beautify): Adjust to that.
60806         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60807         * math/test-misc.c (main): Likewise.
60808         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60809         to __qnan_bytes, and __qnan_union, respectively.
60810         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60811         Likewise.
60812         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60813         and lqnanval, respectively.
60814         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60815         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60816         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60817         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60819         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60820         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60821         doubles.
60823         * math/test-misc.c (main): Fix copy'n'pastos.
60824         * misc/tst-efgcvt.c (special): Likewise.
60826         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60827         Remove declarations.
60829 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60831         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60832         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60833         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60834         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60836 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60838         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60839         macro to return vdso values correctly in IFUNC implementations.
60840         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60841         Optimization by using IFUNC.
60843 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60844             Richard Henderson  <rth@redhat.com>
60845             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60847         * Makefile.in (bench): New target.
60848         * NEWS: Mention the benchmark framework.
60849         * Rules (bench): Likewise.
60850         (binaries-bench): Generate binaries for functions to
60851         benchmark.
60852         * benchtests/Makefile: New makefile for benchmark tests.
60853         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60854         programs.
60855         * benchtests/exp-inputs: New input file for EXP function.
60856         * benchtests/pow-inputs: New input file for POW function.
60857         * scripts/bench.pl: New script to generate source files for
60858         benchmark programs.
60860 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60862         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60863         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60864         computations on mantissa.  Use macros for rounding and
60865         division.
60866         (denorm): Likewise.
60867         (__dbl_mp): Likewise.
60868         (add_magnitudes): Likewise.
60869         (sub_magnitudes): Likewise.
60870         (__mul): Likewise.
60871         (__sqr): Likewise.
60872         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60873         powers of two in terms of TWOPOW macro.
60874         (mp_no): Make type of mantissa as MANTISSA_T.
60875         [!RADIXI]: Define RADIXI.
60876         [!TWO52]: Define TWO52.
60877         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60879         * manual/nptl.texi (cindex): Modify threads to pthreads.
60881 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60883         * sysdeps/x86_64/preconfigure: Regenerated.
60885 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60887         [BZ #14155]
60888         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60889         0x1p28 and above.
60890         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60891         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60892         0x1p28 and above.
60893         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60894         * math/libm-test.inc (j0_test): Do not allow one spurious
60895         underflow exception.
60896         (y1_test): Likewise.
60898 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60900         * manual/Makefile (chapters): Add nptl.
60901         * manual/debug.texi (Debugging Support): Add link to Threads
60902         chapter.
60903         * manual/nptl.texi: New file.
60905         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60907 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60909         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60910         for non-NULL pointer before the memory validity test. Pointed
60911         out by Holger Brunck <holger.brunck@keymile.com>.
60913 2013-03-13  Andreas Schwab  <schwab@suse.de>
60915         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60916         instead of .os.
60918 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60920         * timezone/zic.c: Update from tzcode 2013b.
60922 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60924         * manual/install.texi (Configuring and compiling):
60925         Mention i686 and i586.
60926         * INSTALL: Regenerate.
60928 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60930         * sysdeps/init_array/elf-init.c: New file.
60931         * csu/elf-init.c
60932         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60933         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60935         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60936         __gmon_start__ as global, but as static with a .preinit_array pointer.
60937         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60938         * sysdeps/init_array/crti.S: New file, empty except for comments.
60939         * sysdeps/init_array/crtn.S: Likewise.
60941 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60943         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60944         definining bcopy.
60945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60946         Remove Prefer_SSE_for_memop.
60947         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60948         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60949         HAS_PREFER_SSE_FOR_MEMOP.
60950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60951         memset-x86-64.
60952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60953         Remove bzero, memset ifunc support.
60954         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60955         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60956         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60957         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60959 2013-03-11  Andreas Schwab  <schwab@suse.de>
60961         [BZ #15234]
60962         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60963         by SHLIB_COMPAT.
60964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60965         (GLIBC_2.16): Remove pthread_atfork.
60967 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60969         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60970         (ptestcases.h): Likewise.
60972 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60974         * Makeconfig ($(common-objpfx)config.status): Depend on
60975         sysdeps/*/preconfigure{,.in} too.
60977 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60979         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60980         (__free_hook): Use void * instead of __malloc_ptr_t.
60981         (__malloc_hook): Likewise.
60982         (__realloc_hook): Likewise.
60983         (__memalign_hook): Likewise.
60984         (__after_morecore_hook): Likewise.
60985         * malloc/arena.c (save_malloc_hook): Likewise.
60986         (save_free_hook): Likewise.
60987         * malloc/hooks.c (malloc_hook_ini): Likewise.
60988         (realloc_hook_ini): Likewise.
60989         (memalign_hook_ini): Likewise.
60990         * malloc/malloc.c (malloc_hook_ini): Likewise.
60991         (realloc_hook_ini): Likewise.
60992         (memalign_hook_ini): Likewise.
60993         (__free_hook): Likewise.
60994         (__malloc_hook): Likewise.
60995         (__realloc_hook): Likewise.
60996         (__memalign_hook): Likewise.
60997         (__libc_malloc): Likewise.
60998         (__libc_free): Likewise.
60999         (__libc_realloc): Likewise.
61000         (__libc_memalign): Likewise.
61001         (__libc_valloc): Likewise.
61002         (__libc_pvalloc): Likewise.
61003         (__libc_calloc): Likewise.
61004         (__posix_memalign): Likewise.
61005         * malloc/morecore.c (__sbrk): Likewise.
61006         (__default_morecore): Likewise.
61008         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61010         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61011         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61012         __malloc_ptrdiff_t.
61014         * malloc/malloc.h (__malloc_size_t): Remove macro.
61015         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61016         __malloc_size_t.
61017         (old_memalign_hook): Likewise.
61018         (old_realloc_hook): Likewise.
61019         (struct hdr): Likewise.
61020         (flood): Likewise.
61021         (mallochook): Likewise.
61022         (memalignhook): Likewise.
61023         (reallochook): Likewise.
61024         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61025         (tr_old_realloc_hook): Likewise.
61026         (tr_old_memalign_hook): Likewise.
61027         (tr_mallochook): Likewise.
61028         (tr_reallochook): Likewise.
61029         (tr_memalignhook): Likewise.
61031 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61034         default_ldbl_pack and using as default implementation.
61035         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61036         implementation.
61037         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61038         redundant definition.
61039         (ldbl_insert_mantissa): Likewise.
61040         (ldbl_canonicalize): Likewise.
61041         (ldbl_nearbyint): Likewise.
61042         (ldbl_pack): Rename to ldbl_pack_ppc.
61043         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61044         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61045         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61047 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61050         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61051         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61052         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61054         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61055         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61056         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61058 2013-03-07  Andreas Jaeger  <aj@suse.de>
61060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61061         bits/mman-linux.h.
61063 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61065         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61066         Include mpa.h and declare __MPEXP.
61067         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61068         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61069         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61070         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61071         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61072         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61073         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61075         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61076         (__slowpow): Use long double EXPL and LOGL functions to
61077         compute POW.
61078         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61079         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61080         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61081         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61082         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61083         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61085         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61086         intermediate variable to calculate exponent.
61087         (__sqr): Likewise.
61088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61089         Likewise.
61090         (__sqr): Likewise.
61092         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61093         [!NO__SQR]: Define __sqr.
61094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61095         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61096         sysdeps/ieee754/dbl-64/mpa.c.
61097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61099         [BZ #12723]
61100         * posix/Makefile (tests): Add tst-pathconf.
61101         * posix/tst-pathconf.c: New test case.
61102         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61103         _PC_PIPE_BUF.
61104         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61106 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61108         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61110 2013-03-06  Andreas Jaeger  <aj@suse.de>
61112         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61113         definition via __MAP_ANONYMOUS.
61115         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61116         it's not part of Linux headers.
61118         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61119         (MAP_HUGE_MASK): Define.
61121         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61122         Define.
61123         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61124         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61125         Define.
61126         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61127         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61128         Define.
61129         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61130         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61131         Define.
61132         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61134         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61135         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61136         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61137         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61138         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61139         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61141         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61142         Handle f2fs.
61144         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61145         Handle f2fs and efivarfs.
61147         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61148         f2fs.
61150         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61151         (EFIVARFS_MAGIC): Add.
61152         (F2FS_LINK_MAX): Add.
61154 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61156         * stdio-common/vfprintf.c: Replace __builtin_expect with
61157         __glibc_unlikely.
61159 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61161         [BZ #13550]
61162         * sysdeps/generic/bp-sym.h: Remove file.
61163         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61164         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61165         <bp-sym.h> and <bp-asm.h>.
61166         (__longjmp): Don't use BP_SYM.
61167         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61168         and <bp-asm.h>.
61169         (memcpy): Don't use BP_SYM.
61170         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61171         <bp-sym.h> and <bp-asm.h>.
61172         (memcpy): Don't use BP_SYM.
61173         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61174         <bp-asm.h>.
61175         (memcpy): Don't use BP_SYM.
61176         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61177         <bp-asm.h>.
61178         (memset): Don't use BP_SYM.
61179         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61180         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61181         (__bzero): Don't use BP_SYM.
61182         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61183         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61184         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61185         <bp-sym.h> and <bp-asm.h>.
61186         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61187         pointers.
61188         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61189         <bp-sym.h> and <bp-asm.h>.
61190         (memcpy): Don't use BP_SYM.
61191         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61192         <bp-sym.h> and <bp-asm.h>.
61193         (memset): Don't use BP_SYM.
61194         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61195         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61196         (__bzero): Don't use BP_SYM.
61197         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61198         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61199         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61200         <bp-sym.h> and <bp-asm.h>.
61201         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61202         pointers.
61203         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61204         <bp-sym.h> and <bp-asm.h>.
61205         (memcpy): Don't use BP_SYM.
61206         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61207         <bp-sym.h> and <bp-asm.h>.
61208         (memset): Don't use BP_SYM.
61209         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61210         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61211         (__bzero): Don't use BP_SYM.
61212         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61213         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61214         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61215         <bp-sym.h> and <bp-asm.h>.
61216         (__memchr): Don't use BP_SYM.
61217         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61218         <bp-sym.h> and <bp-asm.h>.
61219         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61220         pointers.
61221         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61222         <bp-sym.h> and <bp-asm.h>.
61223         (memcpy): Don't use BP_SYM.
61224         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61225         <bp-sym.h> and <bp-asm.h>.
61226         (__mempcpy): Don't use BP_SYM.
61227         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61228         <bp-sym.h> and <bp-asm.h>.
61229         (__memrchr): Don't use BP_SYM.
61230         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61231         <bp-sym.h> and <bp-asm.h>.
61232         (memset): Don't use BP_SYM.
61233         (__bzero): Likewise.
61234         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61235         <bp-sym.h> and <bp-asm.h>.
61236         (__rawmemchr): Don't use BP_SYM.
61237         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61238         <bp-sym.h> and <bp-asm.h>.
61239         (__STRCMP): Don't use BP_SYM.
61240         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61241         <bp-sym.h> and <bp-asm.h>.
61242         (strchr): Don't use BP_SYM.
61243         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61244         <bp-sym.h> and <bp-asm.h>.
61245         (__strchrnul): Don't use BP_SYM.
61246         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61247         <bp-sym.h> and <bp-asm.h>.
61248         (strlen): Don't use BP_SYM.
61249         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61250         <bp-sym.h> and <bp-asm.h>.
61251         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61252         pointers.
61253         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61254         <bp-sym.h> and <bp-asm.h>.
61255         (__strnlen): Don't use BP_SYM.
61256         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61257         <bp-sym.h> and <bp-asm.h>.
61258         (__GI__setjmp): Don't use BP_SYM.
61259         (_setjmp): Likewise.
61260         (__sigsetjmp): Likewise.
61261         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61262         (L(start_addresses)): Don't use BP_SYM.
61263         (_start): Likewise.
61264         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61265         <bp-asm.h>.
61266         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61267         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61268         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61269         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61270         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61271         <bp-asm.h>.
61272         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61273         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61274         about bounded pointers.
61275         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61276         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61277         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61278         <bp-asm.h>.
61279         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61280         about bounded pointers.  Remove GKM FIXME comments.
61281         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61282         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61283         <bp-asm.h>.
61284         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61285         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61286         Remove GKM FIXME comments.
61287         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61288         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61289         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61290         <bp-asm.h>.
61291         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61292         about bounded pointers.  Remove GKM FIXME comment.
61293         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61294         and <bp-asm.h>.
61295         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61296         pointers.
61297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61298         <bp-sym.h> and <bp-asm.h>.
61299         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61301         <bp-sym.h> and <bp-asm.h>.
61302         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61303         comment.
61305 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61307         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61308         call free(NULL).
61310 2013-03-05  David S. Miller  <davem@davemloft.net>
61312         * po/es.po: Update from translation team.
61314 2013-03-05  Andreas Jaeger  <aj@suse.de>
61316         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61317         <bits/mman-linux.h>.
61318         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61319         is fine.
61320         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61321         <bits/mman-linux.h> to end of file.
61322         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61323         is fine.
61324         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61325         <bits/mman-linux.h> to end of file.
61326         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61327         is fine.
61328         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61329         <bits/mman-linux.h> to end of file.
61331         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61332         (MCL_CURRENT, MCL_FUTURE): Define here.
61334 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61336         [BZ #15232]
61337         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61338         attribute_hidden.
61339         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61341 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61343         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61344         fourth parameter needed for rt_sigprocmask syscall.
61345         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
61346         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61347         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
61348         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61349         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61350         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
61352 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
61354         [BZ #13550]
61355         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
61356         comment about bounded pointers.
61357         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
61358         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
61360 2013-03-04  Andreas Jaeger  <aj@suse.de>
61362         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
61363         common definitions.
61365         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61366         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
61367         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
61368         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61369         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61370         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61372 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61374         [BZ #15055]
61375         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
61376         __ieee754_sqrl instead of __sqrl.
61378 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
61380         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
61381         * sysdeps/powerpc/fpu_control.h: ... here.
61382         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
61383         * sysdeps/powerpc/bits/fenvinline.h: ... here.
61384         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
61385         * sysdeps/powerpc/bits/mathinline.h: ... here.
61387 2013-03-01  Roland McGrath  <roland@hack.frob.com>
61389         * elf/dl-hwcaps.c (_dl_important_hwcaps):
61390         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
61391         to just [NEED_DL_SYSINFO_DSO].
61392         * elf/dl-support.c: Likewise.
61393         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
61394         * elf/rtld.c (dl_main): Likewise.
61395         * elf/setup-vdso.h (setup_vdso): Likewise.
61396         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
61397         * sysdeps/unix/sysv/linux/dl-sysdep.c
61398         (_dl_discover_osversion): Likewise.
61400 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
61402         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
61403         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61405 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
61407         * NEWS: Mention libm performance improvements and non-x86 PI
61408         futex support.
61410         * csu/libc-start.c (__pthread_initialize_minimal): Change
61411         function arguments.
61412         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61414 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
61416         [BZ #13550]
61417         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
61418         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
61419         <bp-sym.h> and <bp-asm.h>.
61420         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61421         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61422         and <bp-asm.h>.
61423         (memcpy): Don't use BP_SYM.
61424         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61425         <bp-asm.h>.
61426         (__mpn_add_n): Don't use BP_SYM.
61427         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61428         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61429         and <bp-asm.h>.
61430         (__mpn_addmul_1): Don't use BP_SYM.
61431         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61432         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61433         <bp-sym.h>.
61434         (_setjmp): Don't use BP_SYM.
61435         (__novmx_setjmp): Likewise.
61436         (__GI__setjmp): Likewise.
61437         (__vmx_setjmp): Likewise.
61438         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61439         <bp-sym.h>.
61440         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61441         (__bzero): Don't use BP_SYM.
61442         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61443         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61444         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61445         <bp-sym.h> and <bp-asm.h>.
61446         (memcpy): Don't use BP_SYM.
61447         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61448         <bp-sym.h> and <bp-asm.h>.
61449         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61450         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61451         <bp-sym.h> and <bp-asm.h>.
61452         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61453         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61454         <bp-asm.h>.
61455         (__mpn_lshift): Don't use BP_SYM.
61456         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61457         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61458         <bp-asm.h>.
61459         (memset): Don't use BP_SYM.
61460         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61461         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61462         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61463         <bp-asm.h>.
61464         (__mpn_mul_1): Don't use BP_SYM.
61465         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61467         <bp-sym.h> and <bp-asm.h>.
61468         (memcmp): Don't use BP_SYM.
61469         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61470         <bp-sym.h> and <bp-asm.h>.
61471         (memcpy): Don't use BP_SYM.
61472         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61473         <bp-sym.h> and <bp-asm.h>.
61474         (memset): Don't use BP_SYM.
61475         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61476         <bp-sym.h> and <bp-asm.h>.
61477         (strncmp): Don't use BP_SYM.
61478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61479         <bp-sym.h> and <bp-asm.h>.
61480         (memcpy): Don't use BP_SYM.
61481         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61482         <bp-sym.h> and <bp-asm.h>.
61483         (memset): Don't use BP_SYM.
61484         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61485         <bp-sym.h> and <bp-asm.h>.
61486         (__memchr): Don't use BP_SYM.
61487         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61488         <bp-sym.h> and <bp-asm.h>.
61489         (memcmp): Don't use BP_SYM.
61490         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61491         <bp-sym.h> and <bp-asm.h>.
61492         (memcpy): Don't use BP_SYM.
61493         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61494         <bp-sym.h> and <bp-asm.h>.
61495         (__mempcpy): Don't use BP_SYM.
61496         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61497         <bp-sym.h> and <bp-asm.h>.
61498         (__memrchr): Don't use BP_SYM.
61499         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61500         <bp-sym.h> and <bp-asm.h>.
61501         (memset): Don't use BP_SYM.
61502         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61503         <bp-sym.h> and <bp-asm.h>.
61504         (__rawmemchr): Don't use BP_SYM.
61505         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61506         <bp-sym.h> and <bp-asm.h>.
61507         (__STRCMP): Don't use BP_SYM.
61508         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61509         <bp-sym.h> and <bp-asm.h>.
61510         (strchr): Don't use BP_SYM.
61511         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61512         <bp-sym.h> and <bp-asm.h>.
61513         (__strchrnul): Don't use BP_SYM.
61514         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61515         <bp-sym.h> and <bp-asm.h>.
61516         (strlen): Don't use BP_SYM.
61517         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61518         <bp-sym.h> and <bp-asm.h>.
61519         (strncmp): Don't use BP_SYM.
61520         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61521         <bp-sym.h> and <bp-asm.h>.
61522         (__strnlen): Don't use BP_SYM.
61523         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61524         <bp-asm.h>.
61525         (__mpn_rshift): Don't use BP_SYM.
61526         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61527         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61528         <bp-sym.h> and <bp-asm.h>.
61529         (__sigsetjmp): Don't use BP_SYM.
61530         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61531         (L(start_addresses)): Don't use BP_SYM.
61532         (_start): Likewise.
61533         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61534         <bp-asm.h>.
61535         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61536         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61537         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61538         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61539         <bp-asm.h>.
61540         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61541         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61542         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61543         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61544         <bp-asm.h>.
61545         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61546         comments.
61547         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61548         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61549         <bp-asm.h>.
61550         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61551         FIXME comments.
61552         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61553         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61554         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61555         <bp-asm.h>.
61556         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61557         comment.
61558         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61559         and <bp-asm.h>.
61560         (strncmp): Don't use BP_SYM,
61561         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61562         <bp-asm.h>.
61563         (__mpn_sub_n): Don't use BP_SYM.
61564         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61565         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61566         and <bp-asm.h>.
61567         (__mpn_submul_1): Don't use BP_SYM.
61568         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61570         <bp-sym.h> and <bp-asm.h>.
61571         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61573         <bp-sym.h> and <bp-asm.h>.
61574         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61575         comment.
61577 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61580         Use ZK to minimize writes to Z.
61581         (sub_magnitudes): Simplify code a bit.
61582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61583         Use ZK to minimize writes to Z.
61584         (sub_magnitudes): Simplify code a bit.
61586 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61588         * csu/gmon-start.c: Add special exception to license text.
61590 2013-02-27  Richard Henderson  <rth@redhat.com>
61592         * scripts/config.guess: Update from config.git.
61593         * scripts/config.sub: Likewise.
61595 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61597         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61599         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61601         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61603         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61605         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61607 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61609         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61610         [$(build-shared = yes].
61612 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61614         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61615         (__mul): Reduce iterations for calculating mantissa.
61617         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61618         MPTWO.
61619         (__mpranred): Likewise.
61621         [BZ #15160]
61622         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61623         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61625 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61627         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61628         Define __attribute__.
61630 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61632         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61633         unused.
61634         * posix/regex_internal.h (__attribute): Remove.
61635         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61636         (re_string_context_at): Likewise.
61637         (bitset_not): Use __attribute__ and mark function as possibly
61638         unused.
61639         (bitset_merge): Likewise.
61640         (bitset_mask): Likewise.
61641         (re_string_char_size_at): Likewise.
61642         (re_string_wchar_at): Likewise.
61643         (re_string_elem_size_at): Likewise.
61645 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61647         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61648         code.
61649         (cc32): Likewise.
61651         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61652         (__acr): Likewise.
61653         (__cpy): Likewise.
61654         (norm): Likewise.
61655         (denorm): Likewise.
61656         (__dbl_mp): Likewise.
61657         (add_magnitudes): Likewise.
61658         (sub_magnitudes): Likewise.
61659         (__mul): Likewise.
61660         (__inv): Likewise.
61662         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61663         style.
61665         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61666         style.
61668         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61669         code.
61671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61672         up changes with default code.
61673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61674         Likewise.
61676 2013-02-24  Allan McRae  <allan@archlinux.org>
61678         * manual/socket.texi (The Internet Namespace): Order menu items
61679         to match that in the file.
61681         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61682         node listing of the info page menu.
61684 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61686         [BZ #13550]
61687         * sysdeps/i386/bp-asm.h: Remove file.
61688         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61689         (PARMS): Do not use macros from bp-asm.h.
61690         (S1): Likewise.
61691         (S2): Likewise.
61692         (SIZE): Likewise.
61693         (__mpn_add_n): Do not use BP_SYM
61694         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61695         "bp-asm.h".
61696         (PARMS): Do not use macros from bp-asm.h.
61697         (S1): Likewise.
61698         (SIZE): Likewise.
61699         (__mpn_addmul_1): Do not use BP_SYM
61700         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61701         "bp-asm.h".
61702         (PARMS): Do not use macros from bp-asm.h.
61703         (SIGMSK): Likewise.
61704         (_setjmp): Likewise.  Do not use BP_SYM.
61705         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61706         "bp-asm.h".
61707         (PARMS): Do not use macros from bp-asm.h.
61708         (SIGMSK): Likewise.
61709         (setjmp): Likewise.  Do not use BP_SYM.
61710         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61711         "bp-asm.h".
61712         (PARMS): Do not use macros from bp-asm.h.
61713         (__frexp): Do not use BP_SYM.
61714         (frexp): Likewise.
61715         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61716         "bp-asm.h".
61717         (PARMS): Do not use macros from bp-asm.h.
61718         (__frexpf): Do not use BP_SYM.
61719         (frexpf): Likewise.
61720         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61721         "bp-asm.h".
61722         (PARMS): Do not use macros from bp-asm.h.
61723         (__frexpl): Do not use BP_SYM.
61724         (frexpl): Likewise.
61725         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61726         "bp-asm.h".
61727         (PARMS): Do not use macros from bp-asm.h.
61728         (__remquo): Do not use BP_SYM.
61729         (remquo): Likewise.
61730         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61731         "bp-asm.h".
61732         (PARMS): Do not use macros from bp-asm.h.
61733         (__remquof): Do not use BP_SYM.
61734         (remquof): Likewise.
61735         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61736         "bp-asm.h".
61737         (PARMS): Do not use macros from bp-asm.h.
61738         (__remquol): Do not use BP_SYM.
61739         (remquol): Likewise.
61740         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61741         "bp-asm.h".
61742         (PARMS): Do not use macros from bp-asm.h.
61743         (DEST): Likewise.
61744         (SRC): Likewise.
61745         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61746         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61747         "bp-asm.h".
61748         (PARMS): Do not use macros from bp-asm.h.
61749         (strlen): Do not use BP_SYM.
61750         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61751         "bp-asm.h".
61752         (PARMS): Do not use macros from bp-asm.h.
61753         (S1): Likewise.
61754         (S2): Likewise.
61755         (SIZE): Likewise.
61756         (__mpn_add_n): Do not use BP_SYM.
61757         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61758         "bp-asm.h".
61759         (PARMS): Do not use macros from bp-asm.h.
61760         (S1): Likewise.
61761         (SIZE): Likewise.
61762         (__mpn_addmul_1): Do not use BP_SYM.
61763         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61764         weak_alias.
61765         (bzero): Likewise.
61766         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61767         "bp-asm.h".
61768         (PARMS): Do not use macros from bp-asm.h.
61769         (S): Likewise.
61770         (SIZE): Likewise.
61771         (__mpn_lshift): Do not use BP_SYM.
61772         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61773         "bp-asm.h".
61774         (PARMS): Do not use macros from bp-asm.h.
61775         (DEST): Likewise.
61776         (SRC): Likewise.
61777         (LEN): Likewise.
61778         (memcpy): Likewise.  Do not use BP_SYM.
61779         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61780         libc_hidden_def and weak_alias.
61781         (mempcpy): Do not use BP_SYM in weak_alias.
61782         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61783         "bp-asm.h".
61784         (PARMS): Do not use macros from bp-asm.h.
61785         (DEST): Likewise.
61786         (LEN): Likewise.
61787         [!BZERO_P] (CHR): Likewise.
61788         (memset): Likewise.  Do not use BP_SYM.
61789         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61790         "bp-asm.h".
61791         (PARMS): Do not use macros from bp-asm.h.
61792         (S1): Likewise.
61793         (SIZE): Likewise.
61794         (__mpn_mul_1): Do not use BP_SYM.
61795         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61796         "bp-asm.h".
61797         (PARMS): Do not use macros from bp-asm.h.
61798         (S): Likewise.
61799         (SIZE): Likewise.
61800         (__mpn_rshift): Do not use BP_SYM.
61801         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61802         "bp-asm.h".
61803         (PARMS): Do not use macros from bp-asm.h.
61804         (STR): Likewise.
61805         (CHR): Likewise.
61806         (strchr): Likewise.  Do not use BP_SYM.
61807         (index): Do not use BP_SYM in weak_alias.
61808         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61809         "bp-asm.h".
61810         (PARMS): Do not use macros from bp-asm.h.
61811         (DEST): Likewise.
61812         (SRC): Likewise.
61813         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61814         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61815         "bp-asm.h".
61816         (PARMS): Do not use macros from bp-asm.h.
61817         (strlen): Do not use BP_SYM.
61818         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61819         "bp-asm.h".
61820         (PARMS): Do not use macros from bp-asm.h.
61821         (S1): Likewise.
61822         (S2): Likewise.
61823         (SIZE): Likewise.
61824         (__mpn_sub_n): Do not use BP_SYM.
61825         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61826         "bp-asm.h".
61827         (PARMS): Do not use macros from bp-asm.h.
61828         (S1): Likewise.
61829         (SIZE): Likewise.
61830         (__mpn_submul_1): Do not use BP_SYM.
61831         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61832         "bp-asm.h".
61833         (PARMS): Do not use macros from bp-asm.h.
61834         (S1): Likewise.
61835         (S2): Likewise.
61836         (SIZE): Likewise.
61837         (__mpn_add_n): Do not use BP_SYM.
61838         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61839         weak_alias.
61840         (bzero): Likewise.
61841         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61842         "bp-asm.h".
61843         (PARMS): Do not use macros from bp-asm.h.
61844         (BLK2): Likewise.
61845         (LEN): Likewise.
61846         (memcmp): Do not use BP_SYM.
61847         (bcmp): Do not use BP_SYM in weak_alias.
61848         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61849         "bp-asm.h".
61850         (PARMS): Do not use macros from bp-asm.h.
61851         (DEST): Likewise.
61852         (SRC): Likewise.
61853         (LEN): Likewise.
61854         (memcpy): Likewise.  Do not use BP_SYM.
61855         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61856         "bp-asm.h".
61857         (PARMS): Do not use macros from bp-asm.h.
61858         (DEST): Likewise.
61859         (SRC): Likewise.
61860         (LEN): Likewise.
61861         (memmove): Likewise.  Do not use BP_SYM.
61862         * sysdeps/i386/i686/mempcpy.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         (SRC): Likewise.
61867         (LEN): Likewise.
61868         (__mempcpy): Likewise.  Do not use BP_SYM.
61869         (mempcpy): Do not use BP_SYM in weak_alias.
61870         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61871         "bp-asm.h".
61872         (PARMS): Do not use macros from bp-asm.h.
61873         (DEST): Likewise.
61874         (LEN): Likewise.
61875         [!BZERO_P] (CHR): Likewise.
61876         (memset): Likewise.  Do not use BP_SYM.
61877         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61878         "bp-asm.h".
61879         (PARMS): Do not use macros from bp-asm.h.
61880         (STR2): Likewise.
61881         (strcmp): Do not use BP_SYM.
61882         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61883         "bp-asm.h".
61884         (PARMS): Do not use macros from bp-asm.h.
61885         (STR): Likewise.
61886         (DELIM): Likewise.
61887         [USE_AS_STRTOK_R] (SAVE): Likewise.
61888         (FUNCTION): Likewise.  Do not use BP_SYM.
61889         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61890         aliases.
61891         (strtok_r): Likewise.
61892         (__GI___strtok_r): Likewise.
61893         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61894         (PARMS): Do not use macros from bp-asm.h.
61895         (S): Likewise.
61896         (SIZE): Likewise.
61897         (__mpn_lshift): Do not use BP_SYM.
61898         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61899         (PARMS): Do not use macros from bp-asm.h.
61900         (STR): Likewise.
61901         (CHR): Likewise.
61902         (__memchr): Do not use BP_SYM.
61903         (memchr): Do not use BP_SYM in weak_alias.
61904         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61905         (PARMS): Do not use macros from bp-asm.h.
61906         (BLK2): Likewise.
61907         (LEN): Likewise.
61908         (memcmp): Do not use BP_SYM.
61909         (bcmp): Do not use BP_SYM in weak_alias.
61910         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61911         (PARMS): Do not use macros from bp-asm.h.
61912         (S1): Likewise.
61913         (SIZE): Likewise.
61914         (__mpn_mul_1): Do not use BP_SYM.
61915         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61916         "bp-asm.h".
61917         (PARMS): Do not use macros from bp-asm.h.
61918         (STR): Likewise.
61919         (CHR): Likewise.
61920         (__rawmemchr): Do not use BP_SYM.
61921         (rawmemchr): Do not use BP_SYM in weak_alias.
61922         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61923         (PARMS): Do not use macros from bp-asm.h.
61924         (S): Likewise.
61925         (SIZE): Likewise.
61926         (__mpn_rshift): Do not use BP_SYM.
61927         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61928         (PARMS): Do not use macros from bp-asm.h.
61929         (SIGMSK): Likewise.
61930         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61931         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61932         (_start): Do not use BP_SYM.
61933         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61934         (PARMS): Do not use macros from bp-asm.h.
61935         (DEST): Likewise.
61936         (SRC): Likewise.
61937         (__stpcpy): Likewise.  Do not use BP_SYM.
61938         (stpcpy): Do not use BP_SYM in weak_alias.
61939         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61940         "bp-asm.h".
61941         (PARMS): Do not use macros from bp-asm.h.
61942         (DEST): Likewise.
61943         (SRC): Likewise.
61944         (LEN): Likewise.
61945         (__stpncpy): Likewise.  Do not use BP_SYM.
61946         (stpncpy): Do not use BP_SYM in weak_alias.
61947         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61948         (PARMS): Do not use macros from bp-asm.h.
61949         (STR): Likewise.
61950         (CHR): Likewise.
61951         (strchr): Likewise.  Do not use BP_SYM.
61952         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61953         "bp-asm.h".
61954         (PARMS): Do not use macros from bp-asm.h.
61955         (STR): Likewise.
61956         (CHR): Likewise.
61957         (__strchrnul): Likewise.  Do not use BP_SYM.
61958         (strchrnul): Do not use BP_SYM in weak_alias.
61959         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61960         "bp-asm.h".
61961         (PARMS): Do not use macros from bp-asm.h.
61962         (STOP): Likewise.
61963         (strcspn): Do not use BP_SYM.
61964         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61965         "bp-asm.h".
61966         (PARMS): Do not use macros from bp-asm.h.
61967         (STR): Likewise.
61968         (STOP): Likewise.
61969         (strpbrk): Likewise.  Do not use BP_SYM.
61970         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61971         "bp-asm.h".
61972         (PARMS): Do not use macros from bp-asm.h.
61973         (STR): Likewise.
61974         (CHR): Likewise.
61975         (strrchr): Likewise.  Do not use BP_SYM.
61976         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61977         (PARMS): Do not use macros from bp-asm.h.
61978         (SKIP): Likewise.
61979         (strspn): Do not use BP_SYM.
61980         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61981         (PARMS): Do not use macros from bp-asm.h.
61982         (STR): Likewise.
61983         (DELIM): Likewise.
61984         (SAVE): Likewise.
61985         (FUNCTION): Likewise.  Do not use BP_SYM.
61986         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61987         aliases.
61988         (strtok_r): Likewise.
61989         (__GI___strtok_r): Likewise.
61990         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61991         (PARMS): Do not use macros from bp-asm.h.
61992         (S1): Likewise.
61993         (S2): Likewise.
61994         (SIZE): Likewise.
61995         (__mpn_sub_n): Do not use BP_SYM.
61996         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61997         "bp-asm.h".
61998         (PARMS): Do not use macros from bp-asm.h.
61999         (S1): Likewise.
62000         (SIZE): Likewise.
62001         (__mpn_submul_1): Do not use BP_SYM.
62002         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
62003         <bp-sym.h>.
62004         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
62005         and <bp-asm.h>.
62006         (PARMS): Do not use macros from bp-asm.h.
62007         (FLAGS): Likewise.
62008         (PTID): Likewise.
62009         (TLS): Likewise.
62010         (CTID): Likewise.
62011         (__clone): Do not use BP_SYM.
62012         (clone): Do not use BP_SYM in weak_alias.
62013         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62014         and <bp-asm.h>.
62015         (PARMS): Do not use macros from bp-asm.h.
62016         (LEN): Likewise.
62017         (__mmap64): Do not use BP_SYM.
62018         (mmap64): Do not use BP_SYM in weak_alias.
62019         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62020         <bp-sym.h> and <bp-asm.h>.
62021         (PARMS): Do not use macros from bp-asm.h.
62022         (__posix_fadvise64_l64): Do not use BP_SYM.
62023         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62024         (PARMS): Do not use macros from bp-asm.h.
62025         (NSOPS): Likewise.
62026         (semtimedop): Do not use BP_SYM.
62027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62028         and <bp-asm.h>.
62030 2013-02-21  Allan McRae  <allan@archlinux.org>
62032         * manual/message.texi (Charset conversion in gettext):
62033         Move @end statement to beginning of line.
62035 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62038         static.
62039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62040         Likewise.
62042         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62043         (denorm): Likewise.
62044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62047 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62049         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62050         tail-call to the resolved function if pltexit isn't needed.
62052 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62055         or Y being zero as being unlikely.
62056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62057         Likewise.
62059 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62061         * manual/nss.texi (System Databases and Name Service Switch):
62062         Remove frobnicate @pxref.
62064 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62066         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62067         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62069 2013-02-20  Petr Machata  <pmachata@redhat.com>
62071         * elf/elf.h (R_ARM_TARGET1): New macro.
62072         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62073         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62074         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62075         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62076         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62077         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62078         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62079         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62080         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62081         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62082         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62083         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62084         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62085         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62086         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62087         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62088         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62089         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62090         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62091         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62092         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62093         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62094         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62095         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62096         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62097         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62098         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62099         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62100         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62101         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62102         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62103         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62104         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62105         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62106         (R_ARM_THM_GOT_BREL12): Likewise.
62107         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62108         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62109         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62110         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62111         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62112         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62113         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62114         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62115         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62117 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62119         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62120         __attribute_used__ to __attribute__ ((unused)).
62122 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62124         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62125         powerpc mpa.c.
62126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62127         comment formatting.
62128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62130 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62132         [BZ #13550]
62133         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62134         Remove macro.
62135         (ENTER): Remove both macro definitions.
62136         (LEAVE): Likewise.
62137         (CHECK_BOUNDS_LOW): Likewise.
62138         (CHECK_BOUNDS_HIGH): Likewise.
62139         (CHECK_BOUNDS_BOTH): Likewise.
62140         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62141         (RETURN_BOUNDED_POINTER): Likewise.
62142         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62143         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62144         (POP_ERRNO_LOCATION_RETURN): Likewise.
62145         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62146         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62147         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62148         macros.
62149         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62150         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62151         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62152         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62153         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62154         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62155         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62156         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62157         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62158         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62159         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62160         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62161         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62162         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62163         removed macros.
62164         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62165         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62166         macros.
62167         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62168         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62169         * sysdeps/i386/i586/memset.S (memset): Likewise.
62170         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62171         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62172         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62173         macros.
62174         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62175         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62176         Change uses of L(2) to L(out).
62177         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62178         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62179         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62180         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62181         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62182         removed macros.
62183         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62184         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62185         macros.
62186         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62187         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62188         (RETURN): Do not use macro LEAVE.
62189         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62190         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62191         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62192         * sysdeps/i386/i686/memset.S (memset): Likewise.
62193         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62194         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62195         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62196         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62197         Likewise.
62198         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62199         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62200         L(1_2) and L(1_3) into L(1).
62201         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62202         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62203         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62204         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62205         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62206         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62207         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62208         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62209         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62210         macros.
62211         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62212         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62213         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62214         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62215         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62216         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62217         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62218         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62219         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62220         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62221         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62222         * sysdeps/i386/strspn.S (strspn): Likewise.
62223         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62224         conditional code.
62225         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62226         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62227         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62228         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62229         L(1_3) into L(1_1).
62230         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62231         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62232         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62233         macros.
62234         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62236 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62238         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62239         macro.
62241 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62243         * math/atest-exp.c (exp_mpn): Remove ROUND.
62244         * math/atest-exp2.c (exp_mpn): Likewise.
62245         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62247         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62248         * stdlib/tst-tls-atexit-lib.c: Likewise.
62249         * stdlib/tst-tls-atexit.c: Likewise.
62251 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62253         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62254         and __attribute_alloc_size__.
62256 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62258         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62259         __attribute_alloc_size__.
62260         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62261         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62263 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62265         * include/programs/xmalloc.h: New file.
62266         * catgets/gencat.c: Include it.
62267         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62268         * elf/pldd.c: Likewise.
62269         * iconv/iconv_charmap.c: Likewise.
62270         * iconv/iconvconfig.c: Likewise.
62271         * iconv/strtab.c: Likewise.
62272         * locale/programs/locale.c: Likewise.
62273         * locale/programs/localedef.h: Likewise.
62274         * locale/programs/simple-hash.c: Likewise.
62275         * nscd/nscd.h: Likewise.
62276         * nss/makedb.c: Likewise.
62277         * sysdeps/generic/ldconfig.h: Likewise.
62279 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62281         * Versions.def: Add GLIBC_2.18.
62282         * include/link.h (struct link_map): New member l_tls_dtor_count.
62283         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62284         (__call_tls_dtors): Likewise.
62285         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62286         __cxa_thread_atexit_impl.
62287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62288         Likewise.
62289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62290         Likewise.
62291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62292         Likewise.
62293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62294         Likewise.
62295         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62297         Likewise.
62298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62299         Likewise.
62300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62302         Likewise.
62303         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62304         (tests): Add test case tst-tls-atexit.
62305         (modules-names): Add shared library for tst-tls-atexit.
62306         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62307         (GLIBC_PRIVATE): Add __call_tls_dtors.
62308         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62309         for libstdc++.
62310         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62311         * stdlib/tst-tls-atexit.c: New test case.
62312         * stdlib/tst-tls-atexit-lib.c: New test case.
62314         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62316         * elf/Versions (ld): Add _dl_find_dso_for_object.
62317         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62318         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62319         (dl_open_worker): Use _dl_find_dso_for_object.
62320         * elf/dl-sym.c (do_sym): Likewise.
62321         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62323 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62325         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62326         Syntactic changes only.
62327         (_dl_runtime_profile): Do a tail-call to the resolved function.
62329 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62331         [BZ #13550]
62332         * sysdeps/x86_64/bp-asm.h: Remove file.
62333         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62334         <bp-sym.h> and <bp-asm.h>.
62335         (__clone): Do not use BP_SYM.
62336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62337         <bp-sym.h> and <bp-asm.h>.
62338         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62339         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62340         "bp-asm.h".
62341         (_setjmp): Do not use BP_SYM.
62342         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62343         "bp-asm.h".
62344         (setjmp): Do not use BP_SYM.
62345         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
62346         libc_hidden_def.
62347         (mempcpy): Do not use BP_SYM in weak_alias.
62348         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
62349         "bp-asm.h".
62350         (strchr): Do not use BP_SYM.
62351         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
62352         "bp-asm.h".
62353         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
62354         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
62355         (_start): Do not use BP_SYM.
62356         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
62357         "bp-asm.h".
62358         (strcat): Do not use BP_SYM.
62359         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
62360         "bp-asm.h".
62361         (STRCMP): Do not use BP_SYM.
62362         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
62363         "bp-asm.h".
62364         (STRCPY): Do not use BP_SYM.
62365         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
62366         "bp-asm.h".
62367         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
62368         "bp-asm.h".
62369         (FUNCTION): Do not use BP_SYM.
62370         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
62371         weak_alias.
62372         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
62374 2013-02-17  Andreas Jaeger  <aj@suse.de>
62376         * time/Versions: Sort entries.
62377         * string/Versions: Likewise.
62378         * resolv/Versions: Likewise.
62379         * posix/Versions: Likewise.
62380         * iconv/Versions: Likewise.
62381         * elf/Versions: Likewise.
62382         * wcsmbs/Versions: Likewise.
62384 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62386         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
62387         loop termination condition.
62389         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
62390         variable to calculate EZ.
62391         (__sqr): Likewise.
62393         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
62394         the lower precision input.
62396 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
62398         [BZ #13550]
62399         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
62400         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
62401         (run-via-rtld-prefix): Do not handle %-bp tests.
62402         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
62403         (all-object-suffixes): Remove .ob.
62404         (bppfx): Remove variable.
62405         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
62406         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
62407         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
62408         [$(build-bounded) = yes] (libtype.ob): Likewise.
62409         * Makerules (elide-routines.ob): Remove variable.
62410         (do-tests-clean): Do not handle *-bp.out.
62411         (common-mostlyclean): Do not handle *-bp and *-bp.out.
62412         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
62413         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
62414         (tests): Do not include $(tests-bp.out).
62415         (xtests): Do not include $(xtests-bp.out).
62416         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
62417         [$(build-bounded) = yes] ($(addprefix
62418         $(objpfx),$(binaries-bounded))): Remove rule.
62419         ($(objpfx)%-bp.out): Remove rule.
62420         * config.make.in (build-bounded): Remove variable.
62421         * crypt/Makefile [$(build-bounded) = yes]
62422         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62423         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62424         append to variable.
62425         [$(build-bounded) = yes] (install-lib): Likewise.
62426         [$(build-bounded) = yes] (generated): Likewise.
62427         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62428         Remove rule.
62429         * intl/Makefile [$(build-bounded) = yes]
62430         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62431         * math/Makefile [$(build-bounded) = yes]
62432         ($(tests:%=$(objpfx)%-bp): Likewise.
62433         * misc/Makefile [$(build-bounded) = yes]
62434         ($(objpfx)tst-tsearch-bp): Likewise.
62435         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62436         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62437         Remove dependency.
62438         * string/Makefile (o-objects.ob): Remove variable.
62439         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62440         (CFLAGS-.ob): Remove variable.
62441         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62442         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62443         both definitions of variable.
62444         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62445         (ASFLAGS-.ob): Remove variable.
62447 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62449         [BZ #13550]
62450         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62451         Remove __BOUNDED_POINTERS__ from condition.
62452         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62453         * string/bits/string2.h [!__NO_STRING_INLINES &&
62454         !__BOUNDED_POINTERS__]: Likewise.
62455         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62456         Likewise.
62457         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62458         Remove conditional code.
62459         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62460         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62461         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62462         condition.
62464         [BZ #13550]
62465         * csu/libc-start.c: Do not include <bp-sym.h>.
62466         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62467         * elf/dl-open.c: Do not include <bp-sym.h>.
62468         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62469         * math/fegetenv.c: Do not include <bp-sym.h>.
62470         (fegetenv): Do not use BP_SYM in versioned symbols.
62471         * nptl/sysdeps/pthread/bits/libc-lockP.h
62472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62473         <bp-sym.h>.
62474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62475         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62477         (__pthread_mutex_destroy): Likewise.
62478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62479         (__pthread_mutex_lock): Likewise.
62480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62481         (__pthread_mutex_trylock): Likewise.
62482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62483         (__pthread_mutex_unlock): Likewise.
62484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62485         (__pthread_mutexattr_init): Likewise.
62486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62487         (__pthread_mutexattr_destroy): Likewise.
62488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62489         (__pthread_mutexattr_settype): Likewise.
62490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62491         (__pthread_rwlock_init): Likewise.
62492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62493         (__pthread_rwlock_destroy): Likewise.
62494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62495         (__pthread_rwlock_rdlock): Likewise.
62496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62497         (__pthread_rwlock_tryrdlock): Likewise.
62498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62499         (__pthread_rwlock_wrlock): Likewise.
62500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62501         (__pthread_rwlock_trywrlock): Likewise.
62502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62503         (__pthread_rwlock_unlock): Likewise.
62504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62505         (__pthread_key_create): Likewise.
62506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62507         (__pthread_setspecific): Likewise.
62508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62509         (__pthread_getspecific): Likewise.
62510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62511         Likewise.
62512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62513         (_pthread_cleanup_push_defer): Likewise.
62514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62515         (_pthread_cleanup_pop_restore): Likewise.
62516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62517         (pthread_setcancelstate): Likewise.
62518         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62519         <bp-sym.h>.
62520         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62521         (memchr): Do not use BP_SYM in weak_alias.
62522         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62523         (fegetenv): Do not use BP_SYM in versioned symbols.
62524         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62525         (fesetenv): Do not use BP_SYM in versioned symbols.
62526         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62527         (feupdateenv): Do not use BP_SYM in versioned symbols.
62528         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62529         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62530         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62531         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62532         (open64): Do not use BP_SYM in weak_alias.
62533         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62534         (fegetenv): Do not use BP_SYM in versioned symbols.
62535         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62536         (fesetenv): Do not use BP_SYM in versioned symbols.
62537         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62538         (feupdateenv): Do not use BP_SYM in versioned symbols.
62539         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62540         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62541         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62542         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62543         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62544         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62545         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62546         <bp-sym.h>.
62547         (__libc_start_main): Do not use BP_SYM.
62549 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62552         redundant return line.
62553         (norm): Likewise.
62554         (denorm): Likewise.
62555         (dbl_mp): Likewise.
62556         (sub_magnitudes): Likewise.
62557         (__add): Likewise.
62558         (__sub): Likewise.
62559         (__mul): Likewise.
62560         (__inv): Likewise.
62561         (__dvd): Likewise.
62562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62563         (norm): Likewise.
62564         (denorm): Likewise.
62565         (dbl_mp): Likewise.
62566         (sub_magnitudes): Likewise.
62567         (__add): Likewise.
62568         (__sub): Likewise.
62569         (__mul): Likewise.
62570         (__inv): Likewise.
62571         (__dvd): Likewise.
62573         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62574         instead of __mul.
62575         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62576         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62577         (cc32): Likewise.
62579         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62580         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62581         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62582         of __mul for squares.
62583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62584         function
62585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62586         Likewise.
62587         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62588         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62590 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62592         [BZ #13550]
62593         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62594         code.
62595         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62596         prototype or function definition.  Rename ubp_* variables and
62597         parameters.  Remove argv definitions conditional on
62598         [__BOUNDED_POINTERS__].
62599         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62600         * elf/dl-runtime.c (_dl_fixup): Likewise.
62601         * include/set-hooks.h (RUN_HOOK): Likewise.
62602         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62603         definition.
62604         * string/strcpy.c (strcpy): Do not use __unbounded.
62605         * sysdeps/generic/frame.h (struct layout): Likewise.
62606         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62607         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62608         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62609         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62610         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62611         (__backtrace): Likewise.
62612         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62613         use __ptrvalue.
62614         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62615         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62616         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62617         Likewise.
62618         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62619         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62620         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62621         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62622         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62623         Do not use __unbounded.
62624         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62625         Rename __unboundedrlimits parameter to rlimits in prototype.
62626         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62627         Do not use __unbounded.
62628         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62629         not use __ptrvalue.
62630         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62631         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62632         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62633         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62634         __ptrvalue or __unbounded.
62635         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62636         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62637         use __unbounded.
62638         (__new_msgctl): Do not use __ptrvalue.
62639         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62640         __unbounded.
62641         (__libc_msgrcv): Do not use __ptrvalue.
62642         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62643         startup_info): Do not use __unbounded.
62644         (__libc_start_main): Likewise.  Rename ubp_* variables and
62645         parameters.  Remove argv definitions conditional on
62646         [__BOUNDED_POINTERS__].
62647         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62648         __ptrvalue.
62649         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62650         use __unbounded.
62651         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62652         or __ptrvalue.
62653         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62654         use __unbounded.
62655         (__new_shmctl): Do not use __ptrvalue.
62656         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62657         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62658         Likewise.
62659         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62661         (__libc_sigaction): Likewise.
62662         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62663         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62664         Likewise.
62665         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62667 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62669         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62671         * string/mempcpy.c: Implement by calling memcpy.
62673 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62675         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62678         evaluation.
62680         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62681         values in the mantissa.
62683         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62684         minimize writes to Z.
62685         (sub_magnitudes): Simplify code a bit.
62687 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62689         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62690         from the message.  The linker prefixes all warnings with that already.
62692 2013-02-12  Andreas Schwab  <schwab@suse.de>
62694         [BZ #15078]
62695         * posix/regexec.c (extend_buffers): Add parameter min_len.
62696         (check_matching): Pass minimum needed length.
62697         (clean_state_log_if_needed): Likewise.
62698         (get_subexp): Likewise.
62699         * posix/Makefile (tests): Add bug-regex34.
62700         (bug-regex34-ENV): Define.
62701         * posix/bug-regex34.c: New file.
62703         [BZ #11561]
62704         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62705         elements compare against the byte sequence of it, not its name.
62706         * posix/Makefile (tests): Add bug-regex35.
62707         (bug-regex35-ENV): Define.
62708         * posix/bug-regex35.c: New file.
62710 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62712         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62713         comment.
62714         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62715         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62716         (CHECK_EOL): Add undef.
62718 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62720         * bits/stdlib-bsearch.h: New file.
62721         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62722         * stdlib/stdlib.h: Likewise.
62724 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62726         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62727         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62728         declaration.
62729         * manual/search.texi (Array Search Function): Add missing const in
62730         lfind prototype.
62731         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62732         declaration to use rlim_t.
62733         (Basic Scheduling Functions): Remove erroneous const from
62734         sched_getparam prototype.  Remove erroneous * from
62735         sched_get_priority_max and sched_get_priority_min prototypes.
62736         (Resource Usage): Fix summary @comment on vtimes to refer to
62737         sys/vtimes.h rather than vtimes.h.
62738         Add missing *s in vtimes prototype.
62739         (Limits on Resources): Fix ulimit prototype to return long int.
62740         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62741         prototypes to use long int rather than double.
62742         (BSD Random): Fix initstate and setstate to use char *, not void *.
62743         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62744         prototype to make second argument 'struct aiocb64 *const[]'.
62745         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62746         (Status of AIO Operations): Remove erroneous const in aio_return and
62747         aio_return64 prototypes.
62748         (Synchronizing I/O): Fix sync prototype to return void.
62749         * manual/startup.texi (Suboptions): Remove an erroneous const in
62750         getsubopt prototype.
62751         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62752         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62753         use size_t rather than int.
62754         (Scanning All Users): Likewise for getpwent_r.
62755         (Setting Groups): Add missing const to setgroups prototype.
62756         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62757         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62758         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62759         'const void *' rather than 'const char *'.
62760         (Host Address Functions): Likewise for inet_ntop.
62761         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62762         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62763         ssize_t for return value.
62764         (Sending Data): Likewise for send, sendto, sendmsg.
62765         (Socket Option Functions): Add a missing const in setsockopt prototype.
62766         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62767         use wchar_t for the argument.
62768         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62769         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62770         take no arguments.
62771         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62772         double/float/long double for second argument.
62773         Fix return types of significand, significandf, significandl.
62774         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62775         argument in fchmod prototype.
62776         (File Owner): Use uid_t and gid_t in fchown prototype.
62777         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62778         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62779         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62780         use 'const struct dirent **' as argument types to CMP function pointer
62781         argument.
62782         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62783         (File Times): Fix summary magic @comment for struct utimbuf and utime
62784         to refer to utime.h, not time.h.
62785         * manual/string.texi (Argz Functions): Add missing const in
62786         argz_extract and argz_next prototypes.
62787         (Finding Tokens in a String): Likewise for basename.
62788         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62789         (Copying and Concatenation): Fix typo in wmemmove prototype.
62790         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62791         (Signal Stack): Remove erroneous const in sigstack prototype.
62792         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62793         prototype.
62794         (Simple Calendar Time): Likewise for stime.
62795         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62796         prototype.
62797         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62798         say sys/sysctl.h instead.
62799         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62800         and vsyslog prototypes.
62802 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62804         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62805         Remove.
62807 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62809         * misc/sys/mman.h: Fix typo in mremap comment.
62811 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62813         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62814         the '\0' terminator.
62816 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62818         [BZ #13550]
62819         * debug/segfault.c: Don't include <bp-checks.h>.
62820         * sysdeps/generic/bp-checks.h: Remove file.
62821         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62822         (__GETDENTS): Don't use CHECK_N.
62823         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62824         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62825         (__getgroups): Don't use CHECK_N.
62826         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62827         (setgroups): Don't use CHECK_N.
62828         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62829         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62830         (__libc_msgrcv): Don't use CHECK_N.
62831         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62832         (__libc_msgsnd): Don't use CHECK_N.
62833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62834         <bp-checks.h>.
62835         (__libc_pread): Don't use CHECK_N.
62836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62837         include <bp-checks.h>.
62838         (__libc_pread64): Don't use CHECK_N.
62839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62840         include <bp-checks.h>.
62841         (__libc_pwrite): Don't use CHECK_N.
62842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62843         include <bp-checks.h>.
62844         (__libc_pwrite64): Don't use CHECK_N.
62845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62846         <bp-checks.h>.
62847         (__libc_pread): Don't use CHECK_N.
62848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62849         include <bp-checks.h>.
62850         (__libc_pread64): Don't use CHECK_N.
62851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62852         include <bp-checks.h>.
62853         (__libc_pwrite): Don't use CHECK_N.
62854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62855         include <bp-checks.h>.
62856         (__libc_pwrite64): Don't use CHECK_N.
62857         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62858         (do_pread): Don't use CHECK_N.
62859         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62860         (do_pread64): Don't use CHECK_N.
62861         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62862         (do_pwrite): Don't use CHECK_N.
62863         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62864         (do_pwrite64): Don't use CHECK_N.
62865         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62866         (__libc_readv): Don't use CHECK_N.
62867         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62868         (semop): Don't use CHECK_N.
62869         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62870         <bp-checks.h>.
62871         (semtimedop): Don't use CHECK_N.
62872         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62873         (__libc_pread): Don't use CHECK_N.
62874         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62875         <bp-checks.h>.
62876         (__libc_pread64): Don't use CHECK_N.
62877         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62878         <bp-checks.h>.
62879         (__libc_pwrite): Don't use CHECK_N.
62880         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62881         <bp-checks.h>.
62882         (__libc_pwrite64): Don't use CHECK_N.
62883         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62884         <bp-checks.h>.
62885         (__libc_msgrcv): Don't use CHECK_N.
62886         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62887         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62888         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62889         (__libc_writev): Don't use CHECK_N.
62891 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62893         * string/strcpy.c: Removed unused variable.
62895         * Makeconfig (+sysdep-includes): Define with := rather than =.
62896         Use an existing include/ subdir of each sysdeps dir before it.
62898 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62900         * nscd/connection.c (register_traced_file): Comment function.
62901         [HAVE_INOTIFY] (union __inev): Define.
62902         [HAVE_INOTIFY] (inotify_check_files): New function.
62903         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62904         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62905         clear_db_cache.
62906         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62908 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62910         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62911         loaded if not already and that a failure is permanent.
62913 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62915         [BZ #15006]
62916         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62917         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62919 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62921         [BZ #13550]
62922         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62923         (CHECK_1_NULL_OK): Likewise.
62924         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62925         (__fxstat): Do not use CHECK_1.
62926         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62927         <bp-checks.h>.
62928         (___fxstat64): Do not use CHECK_1.
62929         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62930         <bp-checks.h>.
62931         (__fxstatat): Do not use CHECK_1.
62932         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62933         <bp-checks.h>.
62934         (__fxstatat64): Do not use CHECK_1.
62935         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62936         <bp-checks.h>.
62937         (__fxstat): Do not use CHECK_1.
62938         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62939         <bp-checks.h>.
62940         (__fxstatat): Do not use CHECK_1.
62941         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62942         <bp-checks.h>.
62943         (__getresgid): Do not use CHECK_1.
62944         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62945         <bp-checks.h>.
62946         (__getresuid): Do not use CHECK_1.
62947         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62948         <bp-checks.h>.
62949         (__lxstat): Do not use CHECK_1.
62950         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62951         <bp-checks.h>.
62952         (__old_msgctl): Do not use CHECK_1.
62953         (__new_msgctl): Likewise.
62954         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62955         <bp-checks.h>.
62956         (__new_setrlimit): Do not use CHECK_1.
62957         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62958         <bp-checks.h>.
62959         (__old_shmctl): Do not use CHECK_1.
62960         (__new_shmctl): Likewise.
62961         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62962         <bp-checks.h>.
62963         (__xstat): Do not use CHECK_1.
62964         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62965         (__lxstat): Do not use CHECK_1.
62966         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62967         <bp-checks.h>.
62968         (___lxstat64): Do not use CHECK_1.
62969         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62970         (__old_msgctl): Do not use CHECK_1.
62971         (__new_msgctl): Likewise.
62972         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62973         <bp-checks.h>.
62974         (__gettimeofday): Do not use CHECK_1.
62975         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62976         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62977         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62978         <bp-checks.h>.
62979         (__gettimeofday): Do not use CHECK_1.
62980         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62981         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62982         (__new_shmctl): Do not use CHECK_1.
62983         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62984         <bp-checks.h>.
62985         (do_sigtimedwait): Do not use CHECK_1.
62986         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62987         <bp-checks.h>.
62988         (do_sigwaitinfo): Do not use CHECK_1.
62989         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62990         <bp-checks.h>.
62991         (msgctl): Do not use CHECK_1.
62992         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62993         <bp-checks.h>.
62994         (shmctl): Do not use CHECK_1.
62995         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62996         (ustat): Do not use CHECK_1.
62997         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62998         <bp-checks.h>.
62999         (__fxstat): Do not use CHECK_1.
63000         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
63001         <bp-checks.h>.
63002         (__fxstatat): Do not use CHECK_1.
63003         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
63004         <bp-checks.h>.
63005         (__lxstat): Do not use CHECK_1.
63006         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
63007         <bp-checks.h>.
63008         (__xstat): Do not use CHECK_1.
63009         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63010         (__xstat): Do not use CHECK_1.
63011         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63012         (___xstat64): Do not use CHECK_1.
63014         [BZ #13550]
63015         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63016         definitions.
63017         (CHECK_BOUNDS_HIGH): Likewise.
63018         * string/strcpy.c: Do not include <bp-checks.h>.
63019         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63021 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63023         * nscd/nscd-client.h (__nscd_drop_map_ref):
63024         Add __attribute__ ((unused)).
63025         * nis/nss-nisplus.h (niserr2nss): Likewise.
63027         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63028         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63030         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63031         Remove inline keyword.
63032         * include/rounding-mode.h (round_away): Likewise.
63033         * libio/wfileops.c (adjust_wide_data): Likewise.
63034         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63035         (__m128i_strloadu_tolower): Likewise.
63036         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63037         (__m128i_strloadu_tolower): Likewise.
63038         * time/mktime.c (ydhms_diff): Likewise.
63039         * locale/elem-hash.h (elem_hash): Likewise.
63040         * locale/setlocale.c (setdata): Likewise.
63041         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63042         (re_string_wchar_at): Likewise.
63043         (bitset_not, bitset_merge, bitset_mask): Likewise.
63044         [!(__GNUC__ > 3)] (inline): Remove macro.
63045         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63046         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63047         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63048         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63049         * string/memcmp.c (memcmp_bytes): Likewise.
63050         * locale/programs/locarchive.c (compute_hashval): Likewise.
63051         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63052         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63053         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63054         * nss/getent.c (print_rpc, print_protocols): Likewise.
63055         (print_passwd, print_group, print_aliases): Likewise.
63056         * nis/nss-nisplus.h (niserr2nss): Likewise.
63057         * nscd/connections.c (restart_p): Likewise.
63058         Change return type to bool.
63060 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63062         * Makeconfig (all-Depend-files): Add existing
63063         $(sorted-subdirs:=/Depend) files.
63064         (all-subdirs): Remove nss.
63065         * sysdeps/unix/inet/Subdirs: Add it here instead.
63066         * hesiod/Depend: New file.
63068         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63069         instead of calling alloca.
63071         * io/lseek.c (__lseek): Rename to __libc_lseek.
63072         Define __lseek as an alias.
63074         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63076 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63078         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63079         else clause and remove check for non-standard endianness.
63081 2013-02-04  David S. Miller  <davem@davemloft.net>
63083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63085 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63087         [BZ #13550]
63088         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63089         (__ubp_memchr): Remove prototype.
63090         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63091         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63092         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63093         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63094         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63095         Remove alias.
63096         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63097         (__ubp_memchr): Likewise.
63098         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63099         (__ubp_memchr): Likewise.
63100         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63101         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63102         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63103         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63104         CHECK_STRING.
63105         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63106         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63107         (__getcwd): Do not use CHECK_STRING.
63108         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63109         <bp-checks.h>.
63110         (__real_chown): Do not use CHECK_STRING.
63111         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63112         <bp-checks.h>.
63113         (fchownat): Do not use CHECK_STRING.
63114         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63115         CHECK_STRING.
63116         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63117         <bp-checks.h>.
63118         (__lchown): Do not use CHECK_STRING.
63119         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63120         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63121         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63122         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63124         include <bp-checks.h>.
63125         (truncate64): Do not use CHECK_STRING.
63126         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63127         <bp-checks.h>.
63128         (__real_chown): Do not use CHECK_STRING.
63129         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63130         <bp-checks.h>.
63131         (__lchown): Do not use CHECK_STRING.
63132         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63133         <bp-checks.h>.
63134         (__chown): Do not use CHECK_STRING.
63135         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63136         <bp-checks.h>.
63137         (truncate64): Do not use CHECK_STRING.
63138         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63139         Likewise.
63140         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63141         (__xmknod): Do not use CHECK_STRING.
63142         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63143         <bp-checks.h>.
63144         (__xmknodat): Do not use CHECK_STRING.
63145         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63146         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63148 2013-02-04  Andreas Schwab  <schwab@suse.de>
63150         [BZ #14142]
63151         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63152         * include/netdb.h: Likewise for h_errno.
63153         * elf/tst-stackguard1.c: Include <tls.h>.
63155 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63157         * elf/link.h (struct link_map): Extend the l_addr comment.
63158         * include/link.h (struct link_map): Likewise.
63160 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63162         [BZ #13550]
63163         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63164         (BOUNDED_1): Remove macro.
63165         * debug/backtrace.c: Don't include <bp-checks.h>.
63166         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63167         (__backtrace): Likewise.
63168         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63169         <bp-checks.h>.
63170         (__backtrace): Don't use BOUNDED_1.
63171         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63172         <bp-checks.h>.
63173         (__backtrace): Don't use BOUNDED_1.
63174         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63175         (__backtrace): Don't use BOUNDED_1.
63176         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63177         (shmat): Don't use BOUNDED_N.
63179 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63181         [BZ #13550]
63182         * sysdeps/generic/bp-start.h: Remove file.
63183         * csu/libc-start.c: Don't include <bp-start.h>.
63184         (LIBC_START_MAIN): Set up __environ directly instead of using
63185         INIT_ARGV_and_ENVIRON.
63186         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63187         <bp-start.h>.
63189         [BZ #13550]
63190         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63191         definitions.
63192         (CHECK_FCNTL): Likewise.
63193         (CHECK_N_PAGES): Likewise.
63195         [BZ #13550]
63196         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63197         definitions.
63198         (CHECK_SIGSET_NULL_OK): Likewise.
63199         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63200         <bp-checks.h>.
63201         (sigpending): Don't use CHECK_SIGSET.
63202         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63203         <bp-checks.h>.
63204         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63205         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63206         <bp-checks.h>.
63207         (do_sigsuspend): Don't use CHECK_SIGSET.
63208         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63209         use CHECK_SIGSET.
63210         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63211         (do_sigwait): Don't use CHECK_SIGSET.
63212         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63213         use CHECK_SIGSET.
63214         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63215         include <bp-checks.h>.
63216         (sigpending): Don't use CHECK_SIGSET.
63217         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63218         include <bp-checks.h>.
63219         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63220         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63221         <bp-checks.h>.
63222         (sigpending): Don't use CHECK_SIGSET.
63223         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63224         <bp-checks.h>.
63225         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63227         [BZ #13550]
63228         * sysdeps/generic/bp-semctl.h: Remove file.
63229         * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
63234         and <bp-semctl.h>.
63235         (__old_semctl): Don't use CHECK_SEMCTL.
63236         (__new_semctl): Likewise.
63237         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63238         <bp-checks.h> and <bp-semctl.h>.
63239         (__old_semctl): Don't use CHECK_SEMCTL.
63240         (__new_semctl): Likewise.
63241         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63242         <bp-checks.h> and <bp-semctl.h>.
63243         (semctl): Don't use CHECK_SEMCTL.
63245         [BZ #13550]
63246         * Makerules (elide-bp-thunks): Remove variable.
63247         (elide-routines.oS): Don't use $(elide-bp-thunks).
63248         (elide-routines.os): Likewise.
63249         (elide-routines.o): Likewise.
63250         (elide-routines.op): Likewise.
63251         (elide-routines.og): Likewise.
63252         (objects): Don't use $(bp-thunks).
63253         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63254         include.
63255         (common-generated): Do not add s-proto-bp.d.
63256         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63257         (int): Likewise.
63258         (typ): Likewise.
63259         Do not generate makefile rules for bounded-pointer thunks.
63260         * sysdeps/generic/bp-thunks.h: Remove file.
63261         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63262         * sysdeps/unix/s-proto-bp.S: Likewise.
63264         [BZ #15062]
63265         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63266         parts of result separately when argument is not close to line from
63267         -i to i and one part of argument is small.
63268         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63269         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63270         * math/libm-test.inc (cacos_test): Add more tests.
63271         (casin_test): Likewise.
63272         (casinh_test): Likewise.
63273         * sysdeps/i386/fpu/libm-test-ulps: Update.
63274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63276 2013-01-31  David S. Miller  <davem@davemloft.net>
63278         * po/de.po: Update from translation team.
63280 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63282         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63284 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63286         * configure.in (_AC_PROG_CC_C89): New definition.
63287         * configure: Regenerate.
63289         * configure.in (AC_PROG_CPP): New definition.
63290         * configure: Regenerate.
63292 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63294         * debug/tst-backtrace.h: New file.
63295         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63296         (ret): Remove variable.
63297         (x): Likewise.
63298         (FAIL): Remove macro.
63299         (NO_INLINE): Likewise.
63300         (fn1): Use match function instead of strstr.
63301         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63302         (ret): Remove variable.
63303         (x): Likewise.
63304         (FAIL): Remove macro.
63305         (NO_INLINE): Likewise.
63306         (fn): Use match function instead of strstr.
63307         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63308         (ret): Remove variable.
63309         (x): Likewise.
63310         (FAIL): Remove macro.
63311         (NO_INLINE): Likewise.
63312         (handle_signal): Use match function instead of strstr.
63313         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63314         (ret): Remove variable.
63315         (x): Likewise.
63316         (FAIL): Remove macro.
63317         (NO_INLINE): Likewise.
63318         (handle_signal): Use match function instead of strstr.
63320 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63322         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63324 2013-01-23  David S. Miller  <davem@davemloft.net>
63326         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63327         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63328         argument of CAS if possible.
63329         * sysdeps/sparc/sparc64/bits/atomic.h
63330         (__arch_compare_and_exchange_val_32_acq): Likewise.
63331         (__arch_compare_and_exchange_val_64_acq): Likewise.
63333 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63335         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63336         * sysdeps/posix/ulimit.c: ... this.
63337         Include <limits.h>.
63338         * sysdeps/unix/bsd/ulimit.c: Remove file.
63340 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63342         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63343         (LDFLAGS-tst-array5): Likewise.
63345 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63347         [BZ #15036]
63348         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
63349         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
63350         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
63351         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
63353 2013-01-21  David S. Miller  <davem@davemloft.net>
63355         * sysdeps/sparc/backtrace.c: New file.
63356         * sysdeps/sparc/sparc32/backtrace.h: New file.
63357         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
63358         * sysdeps/sparc/sparc64/backtrace.h: New file.
63359         * sysdeps/sparc/sparc64/backtrace.c: Delete.
63360         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
63361         -funwind-tables.
63363 2013-01-21  Andreas Schwab  <schwab@suse.de>
63365         [BZ #15020]
63366         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
63367         closed its stdout.
63369 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
63371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
63372         "mpa2.h".
63373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63375 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
63376             Mark Mitchell  <mark@codesourcery.com>
63377             Tom de Vries  <tom@codesourcery.com>
63378             Paul Pluzhnikov  <ppluzhnikov@google.com>
63380         * debug/tst-backtrace2.c: New file.
63381         * debug/tst-backtrace3.c: Likewise.
63382         * debug/tst-backtrace4.c: Likewise.
63383         * debug/tst-backtrace5.c: Likewise.
63384         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
63385         (CFLAGS-tst-backtrace3.c): Likewise.
63386         (CFLAGS-tst-backtrace4.c): Likewise.
63387         (CFLAGS-tst-backtrace5.c): Likewise.
63388         (LDFLAGS-tst-backtrace2): Likewise.
63389         (LDFLAGS-tst-backtrace3): Likewise.
63390         (LDFLAGS-tst-backtrace4): Likewise.
63391         (LDFLAGS-tst-backtrace5): Likewise.
63392         (tests): Add new tests tst-backtrace2, tst-backtrace3,
63393         tst-backtrace4 and tst-backtrace5.
63395 2013-01-18  Anton Blanchard  <anton@samba.org>
63396             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63398         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
63399         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
63400         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
63401         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63403         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
63404         "+r" and remove output regs list as redundant.  Add explicit inline
63405         asm to specify register of return val to work around compiler codegen
63406         bug.  Remove (int) cast on return value.  Add return type parameter to
63407         use in macro so that this macro does not truncate return value for
63408         64-bit values.
63409         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
63410         pass to INTERNAL_VSYSCALL_NCS.
63411         (INLINE_VSYSCALL): Add 'long int' as return type to
63412         INTERNAL_VSYSCALL_NCS macro invocation.
63413         (INTERNAL_VSYSCALL): Add 'long int' as return type to
63414         INTERNAL_VSYSCALL_NCS macro invocation.
63415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63417 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63419         [BZ #14496]
63420         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
63421         Fix application of SIMD FP exception mask.
63423         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63424         mp_no from a power of two.
63425         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63426         __mpexp_twomm1.  Use __pow_mp.
63428         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63429         multiplication.
63431 2013-01-17  David S. Miller  <davem@davemloft.net>
63433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63435 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63437         [BZ #15023]
63438         * include/complex.h: Condition contents on [!_COMPLEX_H].
63439         (__kernel_casinhf): New prototype.
63440         (__kernel_casinh): Likewise.
63441         (__kernel_casinhl): Likewise.
63442         * math/Makefile (libm_calls): Add k_casinh.
63443         * math/k_casinh.c: New file.
63444         * math/k_casinhf.c: Likewise.
63445         * math/k_casinhl.c: Likewise.
63446         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63447         finite nonzero arguments.
63448         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63449         finite nonzero arguments.
63450         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63451         finite nonzero arguments.
63452         * math/s_casinh.c: Do not include <float.h>.
63453         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63454         * math/s_casinhf.c: Do not include <float.h>.
63455         (__casinhf): Move code for finite nonzero arguments to
63456         k_casinhf.c.
63457         * math/s_casinhl.c: Do not include <float.h>.
63458         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63459         redefine.
63460         (__casinhl): Move code for finite nonzero arguments to
63461         k_casinhl.c.
63462         * math/libm-test.inc (cacos_test): Add more tests.
63463         * sysdeps/i386/fpu/libm-test-ulps: Update.
63464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63466 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63468         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63469         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63470         [!HAVE_MREMAP]: Remove [defined linux] case.
63471         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63473 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63475         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63477 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63479         * elf/elf.h (R_386_SIZE32): New relocation.
63480         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63481         R_386_SIZE32.
63482         (elf_machine_rela): Likewise.
63483         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63484         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63486 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63488         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63489         (FP_FAST_FMA): Do not define.
63490         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63491         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63492         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63493         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63494         !_SOFT_FLOAT]: Likewise.
63495         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63496         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63497         value.
63498         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63499         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63500         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63501         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63502         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63503         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63504         file.
63506 2013-01-16  Andreas Schwab  <schwab@suse.de>
63508         [BZ #14327]
63509         * include/stdlib.h (__mktemp): Add declaration.
63510         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63511         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63513 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63515         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63516         definitions.
63517         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63518         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63519         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63520         definitions here.
63521         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63522         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63523         definitions.
63524         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63525         and ONE.
63526         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63527         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63528         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63529         definitions.
63530         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63531         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63532         definitions.
63533         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63535         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63537 2013-01-15  David S. Miller  <davem@davemloft.net>
63539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63540         trunc{,f} to libm-sysdep_routes.
63541         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63543         file.
63544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63546         file.
63547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63548         file.
63549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63551         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63552         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63553         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63554         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63555         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63556         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63559         nearbyint{,f} to libm-sysdep_routes.
63560         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63562         New file.
63563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63564         file.
63565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63566         New file.
63567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63568         file.
63569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63571         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63572         file.
63573         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63574         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63575         file.
63576         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63577         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63578         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63580         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63581         libc_feholdexcept and libc_fesetenv.
63583 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63585         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63587 2013-01-14  David S. Miller  <davem@davemloft.net>
63589         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63590         (SPARC_ASM_VIS2_IFUNC): Likewise.
63591         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63593         use of 'siam' instruction.
63594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63595         Likewise.
63596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63597         Likewise.
63598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63599         Likewise.
63600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63602         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63605         file.
63606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63607         file.
63608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63609         file.
63610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63611         file.
63612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63617         new VIS2 routines.
63618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63621         Likewise.
63622         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63623         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63627         routines to libm-sysdep_routines.
63628         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63631         fdim/fdimf to libm-sysdep_routines.
63632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63633         file.
63634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63636         file.
63637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63640         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63641         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63642         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63643         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63645 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63647         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63648         to optimize copies.
63650         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63655         local variable MPTWO.
63656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63657         Likewise.
63659 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63661         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63662         GLOB_NOESCAPE.
63664 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63666         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63668 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63670         * manual/pattern.texi (glob_t): Document gl_flags.
63671         (glob64_t): Likewise.
63673 2013-01-11  David S. Miller  <davem@davemloft.net>
63675         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63676         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63677         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63678         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63679         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63680         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63681         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63682         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63683         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63684         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63685         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63686         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63687         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63689         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63690         sparc V9 rather than using V8 code.
63691         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63692         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63694         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63695         Move to...
63696         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63697         Here.
63699 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63701         [BZ #14941]
63702         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63703         not in the main loop.
63704         * configure: Regenerated.
63706 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63708         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63709         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63710         to just #else.
63711         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63712         [!__GLIBC_HAVE_LONG_LONG] case.
63713         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63714         condition to just #else.
63715         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63716         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63717         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63718         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63719         unconditional.
63720         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63721         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63722         #elif condition to just #else.
63723         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63724         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63725         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63726         #elif condition to just #else.
63728 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63730         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63731         (EF_MIPS_ARCH_64): Fix value.
63732         (EF_MIPS_ARCH_32R2): New.
63733         (EF_MIPS_ARCH_64R2): New.
63735 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63737         * Makeconfig (+link-pie-before-libc): New.
63738         (+link-pie-after-libc): Likewise.
63739         (+link-pie-tests): Likewise.
63740         (+link-pie): Rewritten.
63741         (link-before-libc): Remove $(config-LDFLAGS).
63742         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63743         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63744         (config-LDFLAGS): Renamed to ...
63745         (rtld-LDFLAGS): This.
63746         (rtld-tests-LDFLAGS): New macro.
63747         (link-libc-rpath-link): Likewise.
63748         (link-libc-tests-rpath-link): Likewise.
63749         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63750         (link-libc): Prepand $(link-libc-rpath-link).
63751         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63752         (test-program-prefix): New macro.
63753         (test-via-rtld-prefix): Likewise.
63754         (test-program-cmd): Likewise.
63755         (host-test-program-cmd): Likewise.
63756         * Makefile ($(common-objpfx)testrun.sh): Replace
63757         $(run-program-prefix) with $(test-program-prefix).
63758         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63759         $(rtld-LDFLAGS).
63760         ($(common-objpfx)shlib.lds): Likewise.
63761         (build-module-helper): Likewise.
63762         ($(common-objpfx)format.lds): Likewise.
63763         * Rules (binaries-pie-tests): New.
63764         (binaries-pie-notests): Likewise.
63765         (binaries-pie): Rewritten.
63766         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63767         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63768         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63769         (make-test-out): Replace $(host-built-program-cmd) with
63770         $(host-test-program-cmd).
63771         * config.make.in (build-hardcoded-path-in-tests): New variable.
63772         * configure.in (--enable-hardcoded-path-in-tests): New configure
63773         option.
63774         (hardcoded_path_in_tests): New AC_SUBST.
63775         * configure: Regenerated.
63776         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63777         $(built-program-cmd) with $(test-program-cmd).
63778         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63779         (test_program_cmd): This.
63780         * elf/Makefile ($(objpfx)order.out): Run test with
63781         $(test-program-prefix).
63782         ($(objpfx)order2.out): Likewise.
63783         ($(objpfx)tst-initorder.out): Likewise.
63784         ($(objpfx)tst-initorder2.out): Likewise.
63785         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63786         $(test-program-cmd).
63787         ($(objpfx)tst-array1-static.out): Likewise.
63788         ($(objpfx)tst-array2.out): Likewise.
63789         ($(objpfx)tst-array3.out): Likewise.
63790         ($(objpfx)tst-array4.out): Likewise.
63791         ($(objpfx)tst-array5.out): Likewise.
63792         ($(objpfx)tst-array5-static.out): Likewise.
63793         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63794         $(test-program-cmd).
63795         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63796         $(run-program-prefix) with $(test-program-prefix).
63797         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63798         (test_program_prefix): This.
63799         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63800         $(run-program-prefix) with $(test-program-prefix).
63801         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63802         (test_program_prefix): This.
63803         * iconvdata/tst-tables.sh: Likewise.
63804         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63805         $(run-program-prefix) with $(test-program-prefix).
63806         ($(objpfx)tst-translit.out): Likewise.
63807         ($(objpfx)tst-gettext2.out): Likewise.
63808         ($(objpfx)tst-gettext4.out): Likewise.
63809         ($(objpfx)tst-gettext6.out): Likewise.
63810         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63811         (test_program_prefix): This.
63812         * intl/tst-gettext2.sh: Likewise.
63813         * intl/tst-gettext4.sh  Likewise.
63814         * intl/tst-gettext6.sh: Likewise.
63815         * intl/tst-translit.sh: Likewise.
63816         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63817         with $(test-program-cmd).
63818         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63819         $(run-program-prefix) with $(test-program-prefix).
63820         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63821         (test_program_prefix): This.
63822         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63823         $(run-program-prefix) with $(test-program-prefix).
63824         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63825         (test_program_prefix): This.
63826         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63827         * posix/Makefile ($(objpfx)globtest.out): Replace
63828         $(run-via-rtld-prefix) and $(test-wrapper) with
63829         $(test-program-prefix) and $(test-via-rtld-prefix).
63830         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63831         $(test-program-prefix).
63832         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63833         $(host-test-program-cmd).
63834         (tst-spawn-ARGS): Likewise.
63835         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63836         $(test-program-prefix).
63837         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63838         (test_via_rtld_prefix): This.
63839         (test_wrapper): Renamed to ...
63840         (test_program_prefix): This.
63841         (run_program_prefix): Replaced by test_program_prefix.
63842         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63843         (test_program_prefix): This.
63844         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63845         with $(host-test-program-cmd).
63846         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63847         $(run-program-prefix) with $(test-program-prefix).
63848         ($(objpfx)tst-printf.out): Likewise.
63849         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63850         $(test-program-cmd).
63851         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63852         (test_program_prefix): This.
63853         * stdio-common/tst-unbputc.sh: Likewise.
63854         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63855         $(run-program-prefix) with $(test-program-prefix).
63856         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63857         (test_program_prefix): This.
63858         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63859         $(built-program-cmd) with $(test-program-cmd).
63861 2013-01-11  Andreas Jaeger  <aj@suse.de>
63863         [BZ #15003]
63864         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63865         value. Sync with Linux 3.7.
63867 2013-01-10  David S. Miller  <davem@davemloft.net>
63869         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63870         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63871         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63873 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63875         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63876         never set.
63877         * configure: Regenerated.
63879 2013-01-10  David S. Miller  <davem@davemloft.net>
63881         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63882         sparc V9 rather than using V8 code.
63883         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63884         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63886 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63888         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63889         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63890         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63891         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63892         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63893         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63894         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63895         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63896         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63897         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63898         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63899         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63900         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63901         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63902         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63903         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63904         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63905         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63906         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63907         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63908         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63909         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63910         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63911         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63912         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63913         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63914         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63916 2013-01-10  David S. Miller  <davem@davemloft.net>
63918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63920 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63922         * posix/Makefile (tests-static): New variable.
63923         (tests): Add $(tests-static).
63924         (tst-exec-static-ARGS): New variable.
63925         (tst-spawn-static-ARGS): Likewise.
63926         * posix/tst-exec-static.c: New file.
63927         * posix/tst-spawn-static.c: Likewise.
63928         * posix/tst-exec.c: Support run directly.
63929         * posix/tst-spawn.c: Likewise.
63931 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63933         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63934         long.
63935         * math/bits/mathcalls.h (llrint): Likewise.
63936         (llround): Likewise.
63937         * stdlib/stdlib.h (struct drand48_data): Likewise.
63938         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63939         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63940         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63941         Likewise.
63942         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63943         Likewise.
63944         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63945         (elf_greg_t): Likewise.
63946         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63947         (__jmp_buf): Likewise.
63948         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63949         definitions.
63950         (llrint): Likewise, for all definitions.
63951         (llrintl): Likewise.
63953         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63954         Remove [__GNUC__] condition.
63955         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63956         condition to just [__USE_ISOC99].
63957         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63959 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63961         [BZ #14200]
63962         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63963         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63964         defined.
63965         (_POSIX_V6_ILP32_OFF32): Likewise.
63966         (_XBS5_ILP32_OFF32): Likewise.
63967         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63968         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63970 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63972         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63975         doubles __mpexp_twomm1.  Adjust usage.
63976         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63977         Remove.
63979 2013-01-10  Andreas Schwab  <schwab@suse.de>
63981         [BZ #14964]
63982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63983         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63985 2013-01-09  David S. Miller  <davem@davemloft.net>
63987         [BZ #15003]
63988         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63989         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63990         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63991         (TCP_FASTOPEN): Define.
63992         (tcp_repair_opt): New structure.
63993         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63994         enum values.
63995         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63996         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63997         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63998         (tcp_cookie_transactions): New structure.
64000 2013-01-09  Anton Blanchard  <anton@samba.org>
64002         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
64003         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
64004         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
64005         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
64007 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64009         * include/features.h (__USE_ANSI): Remove.
64011 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64013         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64015         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64017 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64019         * sysdeps/s390/fpu/libm-test-ulps: Update.
64021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64023         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64024         (__acr): Likewise.
64025         (__cpy): Likewise.
64026         (norm): Likewise.
64027         (denorm): Likewise.
64028         (__mp_dbl): Likewise.
64029         (__dbl_mp): Likewise.
64030         (add_magnitudes): Likewise.
64031         (sub_magnitudes): Likewise.
64032         (__add): Likewise.
64033         (__sub): Likewise.
64034         (__mul): Likewise.
64035         (__inv): Likewise.
64036         (__dvd): Likewise.
64037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64038         (__acr): Likewise.
64039         (__cpy): Likewise.
64040         (norm): Likewise.
64041         (denorm): Likewise.
64042         (__mp_dbl): Likewise.
64043         (__dbl_mp): Likewise.
64044         (add_magnitudes): Likewise.
64045         (sub_magnitudes): Likewise.
64046         (__add): Likewise.
64047         (__sub): Likewise.
64048         (__mul): Likewise.
64049         (__inv): Likewise.
64050         (__dvd): Likewise.
64051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64052         (__acr): Likewise.
64053         (__cpy): Likewise.
64054         (norm): Likewise.
64055         (denorm): Likewise.
64056         (__mp_dbl): Likewise.
64057         (__dbl_mp): Likewise.
64058         (add_magnitudes): Likewise.
64059         (sub_magnitudes): Likewise.
64060         (__add): Likewise.
64061         (__sub): Likewise.
64062         (__mul): Likewise.
64063         (__inv): Likewise.
64064         (__dvd): Likewise.
64066 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64068         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64069         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64070         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64071         2 && __USE_EXTERN_INLINES]: Likewise.
64073 2013-01-08  Andreas Jaeger  <aj@suse.de>
64075         [BZ# 14985]
64076         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64077         Remove.
64078         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64079         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64081 2013-01-07  Anton Blanchard  <anton@samba.org>
64083         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64084         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64085         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64086         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64087         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64088         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64089         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64090         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64092         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64093         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64094         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64095         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64096         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64097         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64098         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64099         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64100         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64101         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64102         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64103         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64104         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64105         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64106         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64107         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64108         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64109         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64110         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64111         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64112         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64113         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64115         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64116         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64117         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64118         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64119         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64120         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64121         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64122         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64123         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64125         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64127 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64129         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64130         (__MALLOC_PMT): Likewise.
64131         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64132         [__GNUC__], only on [_LIBC].
64133         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64134         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64135         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64136         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64137         forward declaration.
64138         (realloc_hook_ini): Likewise.
64139         (memalign_hook_ini): Likewise.
64140         (__libc_memalign): Do not use __MALLOC_PMT in variable
64141         declaration.
64142         (__libc_valloc): Likewise.
64143         (__libc_pvalloc): Likewise.
64144         (__libc_calloc): Likewise.
64145         (__posix_memalign): Likewise.
64147         [BZ #14996]
64148         * math/s_casinh.c: Include <float.h>.
64149         (__casinh): Do not do computation with squaring and square root
64150         for large arguments.
64151         * math/s_casinhf.c: Include <float.h>.
64152         (__casinhf): Do not do computation with squaring and square root
64153         for large arguments.
64154         * math/s_casinhl.c: Include <float.h>.
64155         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64156         (__casinhl): Do not do computation with squaring and square root
64157         for large arguments.
64158         * math/libm-test.inc (casin_test): Add more tests.
64159         (casinh_test): Likewise.
64160         * sysdeps/i386/fpu/libm-test-ulps: Update.
64161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64163 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64165         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64166         (__x86_64_raw_data_cache_size): Likewise.
64167         (__x86_64_data_cache_size_half): Likewise.
64168         (__x86_64_raw_data_cache_size_half): Likewise.
64169         (__x86_64_shared_cache_size): Likewise.
64170         (__x86_64_raw_shared_cache_size): Likewise.
64171         (__x86_64_shared_cache_size_half): Likewise.
64172         (__x86_64_raw_shared_cache_size_half): Likewise.
64173         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64174         to ...
64175         (__x86_data_cache_size): This.
64176         (__x86_64_raw_data_cache_size): Renamed to ...
64177         (__x86_raw_data_cache_size): This.
64178         (__x86_64_data_cache_size_half): Renamed to ...
64179         (__x86_data_cache_size_half): This.
64180         (__x86_64_raw_data_cache_size_half): Renamed to ...
64181         (__x86_raw_data_cache_size_half): This.
64182         (__x86_64_shared_cache_size): Renamed to ...
64183         (__x86_shared_cache_size): This.
64184         (__x86_64_raw_shared_cache_size): Renamed to ...
64185         (__x86_raw_shared_cache_size): This.
64186         (__x86_64_shared_cache_size_half): Renamed to ...
64187         (__x86_shared_cache_size_half): This.
64188         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64189         (__x86_raw_shared_cache_size_half): This.
64190         * sysdeps/x86_64/memcpy.S: Updated.
64191         * sysdeps/x86_64/memset.S: Likewise.
64192         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64193         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64194         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64196 2013-01-04  David S. Miller  <davem@davemloft.net>
64198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64200 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64202         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64203         1 to avoid redefinition warning.
64204         (__USE_GNU): Don't define.
64205         (init_signaling_nan): Protoize.
64207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64209 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64211         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64213         (__cpymn): Likewise.
64214         (norm): Remove commented code.
64215         (denorm): Likewise.
64216         (__mp_dbl): Likewise.
64217         (__inv): Likewise.
64218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64219         (__cpymn): Likewise.
64220         (norm): Remove commented code.
64221         (denorm): Likewise.
64222         (__mp_dbl): Likewise.
64223         (__inv): Likewise.
64225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64226         mp_no value for 1.0 and 2.0.
64227         (norm): Use RADIXI instead of radixi.d.
64228         (denorm): Likewise.
64229         (__mul): Use 0.0 instead of zero.d.
64230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64231         mp_no value for 1.0 and 2.0.
64232         (norm): Use RADIXI instead of radixi.d.
64233         (denorm): Likewise.
64234         (__mul): Use 0.0 instead of zero.d.
64236 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64238         [BZ #14994]
64239         * math/s_casinh.c (__casinh): Reduce finite argument to first
64240         quadrant then set signs of results at the end.
64241         * math/s_casinhf.c (__casinhf): Likewise.
64242         * math/s_casinhl.c (__casinhl): Likewise.
64243         * math/libm-test.inc (casin_test): Add more tests.
64244         (casinh_test): Likewise.
64245         * sysdeps/i386/fpu/libm-test-ulps: Update.
64246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64248 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64250         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64252         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64254         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64255         declarations.
64256         (denorm): Likewise.
64257         (__mp_dbl): Likewise.
64258         (__inv): Likewise.
64260         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64261         and adjust the header comment.
64263         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64264         variable name from declaration.
64266 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64269         Initialize COMMON_CPUID_INDEX_7 element.
64270         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64271         (CPUID_RTM): Likewise.
64272         (HAS_RTM): Likewise.
64273         (COMMON_CPUID_INDEX_7): New enum.
64275 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64277         [BZ #14981]
64278         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64279         size is zero, record memory as freed.
64281 2013-01-03  Andreas Jaeger  <aj@suse.de>
64283         * po/ia.po: Add new Interlingua translation.
64285 2012-01-03  Allan McRae  <allan@archlinux.org>
64287         * locale/programs/localedef.c: Fix description of '--posix' flag.
64289 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64291         * NEWS: Update dates in second copyright notice.
64292         * README: Update copyright dates in example.
64293         * manual/libc.texinfo: Update copyright dates.
64294         * scripts/test-installation.pl: Update copyright date in --version
64295         output.
64297         * hurd/ctty-input.c: Fix copyright notice formatting.
64298         * hurd/ctty-output.c: Likewise.
64299         * hurd/dtable.c: Likewise.
64300         * hurd/hurd-raise.c: Likewise.
64301         * hurd/hurdprio.c: Likewise.
64302         * hurd/msgportdemux.c: Likewise.
64303         * misc/sys/file.h: Likewise.
64304         * misc/sys/ioctl.h: Likewise.
64305         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64306         * sysdeps/mach/hurd/chdir.c: Likewise.
64307         * sysdeps/mach/hurd/fchdir.c: Likewise.
64308         * sysdeps/mach/hurd/rename.c: Likewise.
64309         * sysdeps/mach/hurd/rmdir.c: Likewise.
64310         * sysdeps/mach/hurd/seekdir.c: Likewise.
64311         * sysdeps/mach/hurd/setsid.c: Likewise.
64312         * sysdeps/posix/wait3.c: Likewise.
64314         * All files with FSF copyright notices: Update copyright dates
64315         using scripts/update-copyrights.
64316         * intl/plural.c: Regenerated.
64317         * locale/programs/charmap-kw.h: Likewise.
64318         * locale/programs/locfile-kw.h: Likewise.
64320 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64322         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64323         four values.
64325         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64326         calculation loop and add branch prediction.
64328         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64329         check access beyond bounds of m1np.
64331         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64332         MPTWO.
64333         (__inv): Remove local variable MPTWO to use the global
64334         constant.
64335         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64336         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64337         variable MPTWO.
64338         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64339         MP3HALFS static const.
64341 2013-01-01  David S. Miller  <davem@davemloft.net>
64343         * po/ca.po: Update from translation team.
64345 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
64347         * scripts/update-copyrights: New file.
64348         * Makeconfig: Reformat copyright notice.
64349         * ctype/ctype.h: Likewise.
64350         * debug/swprintf_chk.c: Likewise.
64351         * elf/dl-cache.c: Likewise.
64352         * elf/dl-debug.c: Likewise.
64353         * elf/dl-object.c: Likewise.
64354         * grp/initgroups.c: Likewise.
64355         * hurd/Makefile: Likewise.
64356         * hurd/hurd/signal.h: Likewise.
64357         * hurd/hurdfault.c: Likewise.
64358         * hurd/hurdioctl.c: Likewise.
64359         * hurd/hurdlookup.c: Likewise.
64360         * hurd/intr-msg.c: Likewise.
64361         * iconv/gconv_open.c: Likewise.
64362         * libio/swprintf.c: Likewise.
64363         * locale/lc-ctype.c: Likewise.
64364         * locale/nl_langinfo.c: Likewise.
64365         * mach/Machrules: Likewise.
64366         * mach/Makefile: Likewise.
64367         * malloc/obstack.h: Likewise.
64368         * manual/Makefile: Likewise.
64369         * manual/tsort.awk: Likewise.
64370         * misc/bits/stab.def: Likewise.
64371         * nis/nis_print_group_entry.c: Likewise.
64372         * nis/nis_table.c: Likewise.
64373         * nis/nss_compat/compat-pwd.c: Likewise.
64374         * nis/nss_compat/compat-spwd.c: Likewise.
64375         * po/Makefile: Likewise.
64376         * posix/fnmatch.c: Likewise.
64377         * posix/regex.h: Likewise.
64378         * resolv/Makefile: Likewise.
64379         * resolv/nss_dns/dns-network.c: Likewise.
64380         * resolv/res_hconf.c: Likewise.
64381         * scripts/gen-sorted.awk: Likewise.
64382         * soft-fp/soft-fp.h: Likewise.
64383         * stdio-common/printf.h: Likewise.
64384         * stdlib/monetary.h: Likewise.
64385         * stdlib/random.c: Likewise.
64386         * stdlib/random_r.c: Likewise.
64387         * sysdeps/generic/Makefile: Likewise.
64388         * sysdeps/gnu/Makefile: Likewise.
64389         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64391         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64393         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64396         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64397         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64398         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64399         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64400         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64401         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64402         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64403         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64404         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64405         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64408         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64409         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64410         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64411         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64412         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64413         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
64414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64415         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
64416         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
64417         * sysdeps/mach/hurd/errnos.awk: Likewise.
64418         * sysdeps/mach/hurd/fork.c: Likewise.
64419         * sysdeps/mach/hurd/getcwd.c: Likewise.
64420         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
64421         * sysdeps/mach/hurd/mmap.c: Likewise.
64422         * sysdeps/mach/hurd/utimes.c: Likewise.
64423         * sysdeps/mach/hurd/xmknod.c: Likewise.
64424         * sysdeps/posix/profil.c: Likewise.
64425         * sysdeps/posix/readdir_r.c: Likewise.
64426         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64427         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64428         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64429         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64431         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64432         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64433         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64435         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64436         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64437         * sysdeps/pthread/lio_listio.c: Likewise.
64438         * sysdeps/sparc/dl-procinfo.h: Likewise.
64439         * sysdeps/unix/i386/sysdep.S: Likewise.
64440         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64441         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64442         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64443         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64445         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64446         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64447         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64448         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64449         * sysdeps/wordsize-32/divdi3.c: Likewise.
64450         * time/sys/time.h: Likewise.
64451         * wcsmbs/Makefile: Likewise.
64453 2013-01-01  David S. Miller  <davem@davemloft.net>
64455         * po/fr.po: Update from translation team.
64457         * catgets/gencat.c: Update copyright year.
64458         * csu/version.c: Likewise.
64459         * debug/catchsegv.sh: Likewise.
64460         * debug/pcprofiledump.c: Likewise.
64461         * debug/xtrace.sh: Likewise.
64462         * elf/ldconfig.c: Likewise.
64463         * elf/ldd.bash.in: Likewise.
64464         * elf/pldd.c: Likewise.
64465         * elf/sotruss.ksh: Likewise.
64466         * elf/sprof.c: Likewise.
64467         * iconv/iconv_prog.c: Likewise.
64468         * iconv/iconvconfig.c: Likewise.
64469         * locale/programs/locale.c: Likewise.
64470         * locale/programs/localedef.c: Likewise.
64471         * login/programs/pt_chown.c: Likewise.
64472         * malloc/memusage.sh: Likewise.
64473         * malloc/memusagestat.c: Likewise.
64474         * malloc/mtrace.pl: Likewise.
64475         * nscd/nscd.c: Likewise.
64476         * nss/getent.c: Likewise.
64477         * nss/makedb.c: Likewise.
64478         * posix/getconf.c: Likewise.
64480 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64482         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64483         numbers.
64485 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64487         * math/bits/mathcalls.h (modf): Use __nonnull.
64489 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64491         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64492         (split): Use macro CN instead of the bare value.
64493         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64494         could be used.
64495         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64496         instead of the bare value.
64497         (power1): Likewise.
64499 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64501         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64502         __ATAN_TWOM.
64503         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64505         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64506         their values.
64507         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64508         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64509         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64510         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64512 2012-12-28  Andreas Jaeger  <aj@suse.de>
64514         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64515         values are from Linux 3.7.
64517         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64518         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64520 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64522         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64523         TRUE case.
64525         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64526         (norm): Likewise.
64527         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64528         variables with preprocessor constants.
64529         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64530         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64531         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64533 2012-12-27  Bruno Haible  <bruno@clisp.org>
64535         [BZ #14317]
64536         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64537         only if needed.
64539 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64542         and use variable directly.
64543         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64545         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64546         MPONE.
64547         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64548         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64549         variable MPONE.
64550         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64551         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64552         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64553         include directive.  Remove local variable MPONE.
64554         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64555         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64556         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64558 2012-12-25  David S. Miller  <davem@davemloft.net>
64560         * version.h (RELEASE): Set to "development".
64561         (VERSION): Set to "2.17.90".
64562         * NEWS: Add 2.18 section.
64564 2012-12-21  David S. Miller  <davem@davemloft.net>
64566         * po/hr.po: Update from translation team.
64568 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64570         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64572 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64574         * NEWS:  Mention new memcpy for MIPS.
64576 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64578         * manual/contrib.texi (Contributors): Spelling correction.
64580 2012-12-15  David S. Miller  <davem@davemloft.net>
64582         * po/ru.po: Update from translation team.
64584 2012-12-13  David S. Miller  <davem@davemloft.net>
64586         * NEWS: Mention IFUNC testsuite enhancements.
64588         * po/pl.po: Update from translation team.
64589         * po/bg.po: Likewise.
64591         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64592         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64594 2012-12-11  David S. Miller  <davem@davemloft.net>
64596         * po/sv.po: Update from translation team.
64598         * po/vi.po: Update from translation team.
64600         * po/cs.po: Update from translation team.
64602         * po/de.po: Update from translation team.
64603         * po/eo.po: Likewise.
64604         * po/nl.po: Likewise.
64606 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64608         [BZ #14246]
64609         * manual/argp.texi (Argp Helper Functions): Move node to follow
64610         Argp Parsing State.
64612         [BZ #14872]
64613         * manual/conf.texi (Limits on File System Capacity): Mention if
64614         terminating null is included in the max size.
64616 2012-12-10  Andreas Jaeger  <aj@suse.de>
64618         * po/cs.po: Update from translation team.
64620 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64622         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64623         void pointer and cast to uintptr_t.
64624         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64625         path.
64626         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64627         * sysdeps/s390/s390-64/memset.S: Likewise.
64629 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64631         [BZ #14833]
64632         * menual/message.texi (Message Translation): Fix typos.
64633         (Helper programs for gettext): Likewise.
64635 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64637         [BZ #14898]
64638         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64639         Change to -1.
64641 2012-12-07  David S. Miller  <davem@davemloft.net>
64643         * po/libc.pot: Update.
64645 2012-12-07  Richard Henderson  <rth@redhat.com>
64647         [BZ #10114]
64648         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64649         normal/normal case to before the switch.
64650         (_FP_DIV): Likewise.
64652 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64653             Mike Frysinger  <vapier@gentoo.org>
64655         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64656         check for __NR_fadvise64_64.
64658 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64660         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64661         0, not just to plain "0" as a statement.
64662         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64663         with cw.
64665 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64667         * NEWS: Use sourceware.org in Bugzilla URL.
64669 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64672         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64674         * stdio-common/tst-put-error.c (do_test): Add newline to the
64675         padded test to ensure flush.
64677 2012-12-05  Jeff Law  <law@redhat.com>
64679         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64681 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64683         * README: Don't refer to ports add-on as distributed separately.
64684         Mention AArch64 in list of systems supported in the ports add-on.
64686         * LICENSES: Add more non-FSF copyright and license notices.
64688         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64689         ((unused)).
64691         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64693         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64694         10000 as width of padded output.
64696 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64698         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64700         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64701         variable LX with __attribute__ ((unused)).
64702         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64703         Likewise.
64704         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64705         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64706         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64707         with __attribute__ ((unused)).
64709 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64711         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64713 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64715         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64716         (CFLAGS-nldbl-acos.c): New variable.
64717         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64718         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64719         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64720         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64721         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64722         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64723         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64724         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64725         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64726         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64727         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64728         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64729         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64730         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64731         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64732         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64733         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64734         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64735         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64736         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64737         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64738         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64739         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64740         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64741         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64742         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64743         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64744         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64745         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64746         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64747         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64748         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64749         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64750         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64751         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64752         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64753         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64754         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64755         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64756         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64757         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64758         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64759         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64760         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64761         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64762         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64763         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64764         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64765         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64766         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64767         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64768         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64769         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64770         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64771         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64772         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64773         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64774         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64775         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64776         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64777         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64778         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64779         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64780         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64781         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64782         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64783         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64784         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64785         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64786         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64787         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64788         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64789         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64790         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64791         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64792         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64793         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64794         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64795         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64796         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64797         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64798         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64799         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64800         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64801         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64802         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64803         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64804         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64805         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64806         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64807         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64808         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64809         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64810         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64811         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64812         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64813         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64816         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64818         [BZ #14914]
64819         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64820         whole low double instead of just low 47 bits when splitting values
64821         into two parts.
64823 2012-12-03  Allan McRae  <allan@archlinux.org>
64825         * manual/stdio.texi (Predefined Printf Handlers): Remove
64826         @hsep and @vsep usage.
64828 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64830         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64831         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64833 2012-12-03  Jeff Law  <law@redhat.com>
64835         * time/sys/time.h (settimeofday): Do not mark TV argument
64836         as __nonnull.
64838 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64840         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64841         when currently writing and seek to current position when not.
64842         * libio/Makefile (tests): Remove bug-fclose1.
64843         * libio/bug-fclose1.c: Delete.
64845 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64847         * manual/arith.texi (feenableexcept): Fix typo.
64848         (fedisableexcept): Likewise.
64850 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64852         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64853         second, differently-typed declaration, rather than a cast.
64855 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64857         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64858         * include/rpc/svc.h: ... here.
64860 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64862         [BZ #13013]
64863         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64864         depending n and resplen2 to catch cases where answer
64865         equals answerp2.
64867 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64869         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64870         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64872 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64876 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64878         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64880 2012-11-28  Jeff Law  <law@redhat.com>
64882         [BZ #13761]
64883         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64884         dataset_temporary.  Track alloca usage into alloca_used.
64885         If dataset is large allocate and release it via malloc/free.
64887 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64889         [BZ #14197]
64890         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64892 2012-11-28  David S. Miller  <davem@davemloft.net>
64894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64896 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64898         [BZ #14803]
64899         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64900         of pi/2 rounded to nearest to 64 bits.
64901         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64902         nearest to 64 bits.
64903         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64904         bits.
64906 2012-11-28  Jeff Law <law@redhat.com>
64907             Martin Osvald <mosvald@redhat.com>
64909         [BZ #14889]
64910         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64911         * sunrpc/svc.c: Include time.h.
64912         (__svc_accept_failed): New function.
64913         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64914         any reason other than EINTR, call __svc_accept_failed.
64915         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64916         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64918 2012-11-28  Andreas Schwab  <schwab@suse.de>
64920         * scripts/abilist.awk: Also handle indirect functions in .opd
64921         section.
64923 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64925         [BZ #13881]
64926         * sysdeps/x86/fpu/powl_helper.c: New file.
64927         * sysdeps/x86/fpu/Makefile: Likewise.
64928         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64929         (p3): New object.
64930         (__ieee754_powl): Use __powl_helper for finite arguments except
64931         integer exponents below 8.
64932         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64933         (p3): New object.
64934         (__ieee754_powl): Use __powl_helper for finite arguments except
64935         integer exponents below 8.
64936         * math/libm-test.inc (pow_test): Add more tests and enable some
64937         previously disabled tests.
64938         * sysdeps/i386/fpu/libm-test-ulps: Update.
64939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64941 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64942             Carlos O'Donell  <carlos_odonell@mentor.com>
64944         * nss/makedb.c (is_prime): Assert that input is odd and greater
64945         than 4.  Note that fact in a comment too.
64946         (next_prime): Add 4 to input.
64948 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64950         [BZ #11741]
64951         * libio/Makefile (tests): Add test case tst-fwrite-error.
64952         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64953         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64954         * libio/tst-fwrite-error.c: New test case.
64956 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64958         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64959         before casting to void *.
64960         * include/libc-internal.h (__pointer_type): New macro.
64961         (__integer_if_pointer_type_sub): Likewise.
64962         (__integer_if_pointer_type): Likewise.
64963         (cast_to_integer): Likewise.
64964         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64965         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64966         before casting to atomic64_t.
64967         (atomic_exchange_acq): Likewise.
64968         (__arch_exchange_and_add_body): Likewise.
64969         (__arch_add_body): Likewise.
64970         (atomic_add_negative): Likewise.
64971         (atomic_add_zero): Likewise.
64973 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64975         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64976         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64977         (add_fdes): Likewise.
64978         (linear_search_fdes): Likewise.
64979         (binary_search_unencoded_fdes): Likewise.
64981 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64983         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64985 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64987         * configure.in: Autodetect C++ header directories.
64988         * configure: Regenerated.
64990 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64992         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64994 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64998 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
65000         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
65001         LDBL_MANT_DIG == 106]: Disable some tests.
65002         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65003         Likewise.
65004         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65005         Likewise.
65007         [BZ #14871]
65008         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65009         input for small inputs.  Return +/- pi/2 for large inputs.
65010         * math/libm-test.inc (atan_test): Add more tests.
65012         * sysdeps/generic/unwind-dw2-fde-glibc.c
65013         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65014         __attribute__ ((unused)).
65016         [BZ #14645]
65017         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65018         x * y if x and y are nonzero and z is zero.
65020         [BZ #14811]
65021         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65022         nonzero exponents with absolute value below 0x1p-117 to +/-
65023         0x1p-117.
65025         [BZ #14869]
65026         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65027         up arguments below 2**-450, not just those below 2**-500.
65028         * math/libm-test.inc (hypot_test): Add another test.
65030         [BZ #14868]
65031         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65032         Return a+b for ratio over 2**120, not 2**60.
65033         * math/libm-test.inc (hypot_test): Add another test.
65035         * math/libm-test.inc (clog_test): Use
65036         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65037         (clog10_test): Likewise.
65039         [BZ #6778]
65040         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65042 2012-11-22  Andreas Schwab  <schwab@suse.de>
65044         * sysdeps/i386/fpu/libm-test-ulps: Update.
65046 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65048         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65049         printf output with newline.
65051 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65053         [BZ #14865]
65054         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65055         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65056         -z nodlopen, -z initfirst and -z execstack support.
65057         * configure: Regenerated.
65059         * elf/elf.h (DF_1_NODIRECT): New macro.
65060         (DF_1_IGNMULDEF): Likewise.
65061         (DF_1_NOKSYMS): Likewise.
65062         (DF_1_NOHDR): Likewise.
65063         (DF_1_EDITED): Likewise.
65064         (DF_1_NORELOC): Likewise.
65065         (DF_1_SYMINTPOSE): Likewise.
65066         (DF_1_GLOBAUDIT): Likewise.
65067         (DF_1_SINGLETON): Likewise.
65068         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65069         DT_1_SUPPORTED_MASK bits.
65070         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65072 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65074         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65076 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65078         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65079         macro.
65081         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65082         (sendmmsg): Move declarations...
65083         * socket/sys/socket.h: ... here.
65084         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65085         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65086         include it from...
65087         * socket/recvmmsg.c: ... this new file.
65088         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65089         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65090         definition of __sendmmsg hidden.
65091         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65092         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65093         Move ENOSYS stub into and include it from...
65094         * socket/sendmmsg.c: ... this new file.
65095         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65096         (sysdep_routines): Move recvmmsg and sendmmsg...
65097         * socket/Makefile (routines): ... here.
65098         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65099         (GLIBC_PRIVATE): Add __sendmmsg.
65100         * include/sys/socket.h (__sendmmsg): Add declarations.
65101         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65102         sendmmsg.
65104 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65106         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65107         variable I1 with __attribute__ ((unused)).
65108         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65110 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65112         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65113         DUMMY variables with __attribute__ ((unused)).
65115         * bits/byteswap.h: Include <bits/types.h>.
65116         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65118 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65120         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65121         string_t.  Do not manually set errno.
65122         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65123         length with __strnlen.  Make sure to both set errno and return it on
65124         failure.
65126 2012-11-19  David S. Miller  <davem@davemloft.net>
65128         With help from Joseph Myers.
65129         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65130         very large arguments properly.
65131         * math/libm-test.inc (atan_test): New tests.
65132         (atan2_test): New tests.
65133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65136 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65138         [BZ #14856]
65139         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65140         Define to 3.
65142         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65143         [POSIX] (EADDRNOTAVAIL): Likewise.
65144         [POSIX] (EAFNOSUPPORT): Likewise.
65145         [POSIX] (EALREADY): Likewise.
65146         [POSIX] (ECONNABORTED): Likewise.
65147         [POSIX] (ECONNREFUSED): Likewise.
65148         [POSIX] (ECONNRESET): Likewise.
65149         [POSIX] (EDESTADDRREQ): Likewise.
65150         [POSIX] (EDQUOT): Likewise.
65151         [POSIX] (EHOSTUNREACH): Likewise.
65152         [POSIX] (EIDRM): Likewise.
65153         [POSIX] (EISCONN): Likewise.
65154         [POSIX] (ELOOP): Likewise.
65155         [POSIX] (EMULTIHOP): Likewise.
65156         [POSIX] (ENETDOWN): Likewise.
65157         [POSIX] (ENETUNREACH): Likewise.
65158         [POSIX] (ENOBUFS): Likewise.
65159         [POSIX] (ENODATA): Likewise.
65160         [POSIX] (ENOLINK): Likewise.
65161         [POSIX] (ENOMSG): Likewise.
65162         [POSIX] (ENOPROTOOPT): Likewise.
65163         [POSIX] (ENOSR): Likewise.
65164         [POSIX] (ENOSTR): Likewise.
65165         [POSIX] (ENOTCONN): Likewise.
65166         [POSIX] (ENOTSOCK): Likewise.
65167         [POSIX] (EOPNOTSUPP): Likewise.
65168         [POSIX] (EOVERFLOW): Likewise.
65169         [POSIX] (EPROTO): Likewise.
65170         [POSIX] (EPROTONOSUPPORT): Likewise.
65171         [POSIX] (EPROTOTYPE): Likewise.
65172         [POSIX] (ESTALE): Likewise.
65173         [POSIX] (ETIME): Likewise.
65174         [POSIX] (ETXTBSY): Likewise.
65175         [POSIX] (EWOULDBLOCK): Likewise.
65176         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65177         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65178         [POSIX] (SEEK_CUR): Likewise.
65179         [POSIX] (SEEK_END): Likewise.
65180         [POSIX || UNIX98] (mode_t): Do not require.
65181         [POSIX] (off_t): Likewise.
65182         [POSIX] (pid_t): Likewise.
65183         [POSIX] (sys/stat.h): Do not allow header.
65184         [POSIX] (unistd.h): Likewise.
65185         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65186         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65187         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65188         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65189         require.
65190         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65191         sigevent): Specify elements.
65192         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65193         entry.
65194         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65195         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65197         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65198         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65199         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65200         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65201         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65202         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65203         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65204         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65205         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65206         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65207         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65208         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65209         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65210         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65211         Likewise.
65212         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65213         Likewise.
65214         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65215         Likewise.
65216         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65217         Likewise.
65218         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65219         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65220         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65221         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65222         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65223         Specify lower bound on value.
65224         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65225         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65226         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65227         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65228         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65229         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65230         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65231         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65232         value.
65233         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65234         as optional.
65235         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65236         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65237         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65238         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65239         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65240         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65241         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65242         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65243         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65244         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65245         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65246         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65247         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65248         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65249         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65250         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65251         entry.
65252         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65253         optional.
65254         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65255         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65256         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65257         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65258         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65259         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65260         Likewise.
65261         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65262         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65263         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65264         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65265         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65266         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65267         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65268         as optional.
65269         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65270         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65271         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65272         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65273         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65274         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65275         specify as optional.
65276         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65277         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65278         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65279         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65280         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65281         [XPG3] (NL_LANGMAX): Likewise.
65282         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65283         [POSIX || XPG3] (NL_NMAX): Likewise.
65284         [POSIX || XPG3] (NL_SETMAX): Likewise.
65285         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65286         [XPG3] (NZERO): Likewise.
65287         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65288         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65289         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65290         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65291         (REG_ERANGE): Expect.
65292         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65293         optional-constant.
65294         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65295         Use (void) in prototype.
65296         [POSIX] (*_t): Allow.
65297         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65298         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65299         (WRDE_BADVAL): Expect.
65301         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65302         expect.
65303         [XPG3 || XPG4] (O_RSYNC): Likewise.
65304         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65305         Likewise.
65306         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65307         [XPG3 || XPG4] (sigqueue): Likewise.
65308         [XPG3 || XPG4] (sigtimedwait): Likewise.
65309         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65310         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65311         [XPG3 || XPG4] (vsnprintf): Likewise.
65312         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65313         Likewise.
65314         [XPG3 || XPG4] (blksize_t): Likewise.
65315         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65316         Likewise.
65317         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65318         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65319         [XPG3 || XPG4] (struct itimerspec): Likewise.
65320         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65321         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65322         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65323         [XPG3 || XPG4] (clockid_t): Likewise.
65324         [XPG3 || XPG4] (timer_t): Likewise.
65325         [XPG3 || XPG4] (clock_getres): Likewise.
65326         [XPG3 || XPG4] (clock_gettime): Likewise.
65327         [XPG3 || XPG4] (clock_settime): Likewise.
65328         [XPG3 || XPG4] (nanosleep): Likewise.
65329         [XPG3 || XPG4] (timer_create): Likewise.
65330         [XPG3 || XPG4] (timer_delete): Likewise.
65331         [XPG3 || XPG4] (timer_gettime): Likewise.
65332         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65333         [XPG3 || XPG4] (timer_settime): Likewise.
65334         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65335         [XPG3 || XPG4] (getlogin_r): Likewise.
65336         [XPG3 || XPG4] (pread): Likewise.
65337         [XPG3 || XPG4] (pthread_atfork): Likewise.
65338         [XPG3 || XPG4] (pwrite): Likewise.
65340         [BZ #14835]
65341         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65342         <bits/siginfo.h>.
65344 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65346         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
65347         finalizing MALLSTREAM.
65349         * sysdeps/mach/hurd/syncfs.c: New file.
65351 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65353         [BZ #14719]
65354         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
65355         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
65356         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
65357         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
65358         (_nss_dns_gethostbyname4_r): Likewise.
65359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
65360         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
65362 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
65364         [BZ #13763]
65365         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
65367 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
65369         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
65370         * elf/cache.c (print_entry): Print ",AArch64" for
65371         FLAG_AARCH64_LIB64
65373         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
65374         * elf/cache.c (print_entry): Print ",hard-float" for
65375         FLAG_ARM_LIBHF.
65377 2012-11-18  David S. Miller  <davem@davemloft.net>
65379         With help from Joseph Myers.
65380         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
65381         cutoff to 2**-13.
65382         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
65383         cutoff to 2**-25.
65384         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
65385         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
65386         small.
65387         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
65388         * math/libm-test.inc (y0_test): New tests.
65389         (y1_test): New tests.
65390         * sysdeps/i386/fpu/libm-test-ulps: Update.
65391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65394 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
65396         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
65397         64-bit targets.
65398         * configure: Regenerated.
65400 2012-11-17  David S. Miller  <davem@davemloft.net>
65402         [BZ #14811]
65403         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
65404         nonzero exponents with absolute value below 0x1p-128 to +/-
65405         0x1p-128.
65407 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
65409         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
65411         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
65413         * posix/getconf-speclist.c: New file.
65414         * posix/posix-envs.def: Likewise.
65415         * posix/confstr.c (START_ENV_GROUP): New macro.
65416         (END_ENV_GROUP): Likewise.
65417         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65418         (KNOWN_PRESENT_ENV_STRING): Likewise.
65419         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65420         (UNKNOWN_ENVIRONMENT): Likewise.
65421         (confstr): Include posix-envs.def instead of handling
65422         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65423         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65424         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65425         (END_ENV_GROUP): Likewise.
65426         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65427         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65428         (UNKNOWN_ENVIRONMENT): Likewise.
65429         (__sysconf): Include posix-envs.def instead of handling associated
65430         cases directly here.
65431         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65432         preprocessing getconf-speclist.c rather than running getconf or
65433         generating empty file.
65435 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65437         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65439 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65441         [BZ #14672]
65442         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65444 2012-11-16  David S. Miller  <davem@davemloft.net>
65446         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65447         smaller than LDBL_EPSILON/2.0L, just return xm1.
65449 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65451         * elf/tst-array1.c (init): Set constructor priority to 1000.
65452         (fini): Set destructor priority to 1000.
65453         * elf/tst-array2dep.c: Likewise.
65455 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65457         [BZ #11741]
65458         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65459         (_IO_new_file_xsputn): Also return EOF if none of the input
65460         data was written when overflow failed.
65461         * libio/iopadn.c (_IO_padn): Likewise.
65462         * libio/iowpadn.c (_IO_wpadn): Likewise.
65463         * stdio-common/tst-put-error.c: Add copyright notice.
65464         (do_test): Add case for printing padded string.
65465         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65466         _IO_padn returned error.
65467         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65468         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65469         return EOF.
65471 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65473         * libio/libioP.h: Add comment note that the references to C++
65474         bits are now obsolete.
65476 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65478         * math/libm-test.inc (check_complex): Use asprintf.
65480 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65482         * debug/pcprofiledump.c (print_version): Update copyright year.
65483         * malloc/memusagestat.c (print_version): Likewise.
65485 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65487         [BZ #14831]
65488         * elf/Makefile (tests): Add tst-audit8.
65489         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65490         ($(objpfx)tst-audit8.out): New target.
65491         (tst-audit8-ENV): New variable.
65492         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65493         audit if l_reloc_result is NULL.
65494         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65495         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65496         * elf/tst-audit8.c: New file.
65498 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65500         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65501         * misc/Makefile (CFLAGS-select.c): Define.
65502         * posix/Makefile (CFLAGS-pause.c): Define.
65504 2012-11-13  David S. Miller  <davem@davemloft.net>
65506         * crypt/Makefile: Move test targets after toplevel Rules
65507         inclusion.  Grab any necessary sysdep routines when linking.
65508         * crypt/md5.c (md5_process_block): Remove define, we will always
65509         name it __md5_process_block.
65510         (md5_finish_ctx): Update md5_process_block call.
65511         (md5_stream): Likewise.
65512         (md5_process_bytes): Likewise.
65513         (md5_process_block): Rename to __md5_process_block and move to ...
65514         * crypt/md5-block.c: ... here.
65515         * crypt/sha256.c (sha256_process_block): Move to ...
65516         * crypt/sha256-block.c: ... here.
65517         * crypt/sha512.c (sha512_process_block): Move to ...
65518         * crypt/sha512-block.c: ... here.
65519         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65520         path.
65521         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65522         * sysdeps/sparc/sparc64/multiarch/Makefile
65523         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65524         crypt subdir.
65525         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65526         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65527         multiarch changes.
65528         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65529         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65530         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65531         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65532         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65533         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65534         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65535         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65536         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65537         file.
65538         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65539         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65540         file.
65541         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65543 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65545         * timezone/tzselect.ksh: Update from tzcode git revision
65546         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65547         * timezone/zdump.c: Likewise.
65548         * timezone/zic.c: Likewise.
65549         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65550         in TZVERSION setting, not $(PKGVERSION).
65551         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65552         REPORT_BUGS_TO settings.
65554         [BZ #14838]
65555         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65556         macro.
65558 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65560         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65561         detection to immediately after _FP_ROUND().
65562         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65563         bits are 0.
65565 2012-11-11  David S. Miller  <davem@davemloft.net>
65567         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65568         inttypes.h
65569         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65570         __close rather than their public counterparts.
65572 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65574         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65575         file.
65576         [UNIX98] (sem_timedwait): Do not expect.
65577         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65578         [XPG4 || UNIX98] (sockatmark): Do not expect.
65579         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65580         (clock_getcpuclockid): Do not expect.
65581         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65582         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65583         Do not expect.
65584         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65585         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65586         [UNIX98] (vwscanf): Likewise.
65587         [UNIX98] (vswscanf): Likewise.
65589 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65591         * timezone/version.h: Remove file.
65592         * timezone/README: Do not refer to version.h.
65593         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65594         $(objpfx)version.h.
65595         ($(objpfx)zdump.o): Likewise.
65596         ($(objpfx)version.h): New target.
65598         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65599         2012i.
65600         * timezone/README: Don't mention modification to tzselect.ksh.
65601         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65602         work on unmodified tzselect.ksh.  Substitute version numbers in
65603         tzselect.ksh.
65605         * Makefile (format-me): Remove.
65606         (INSTALL): Adjust indentation.  Use commands directly instead of
65607         using $(format-me).
65609         * aclocal.m4 (ACX_PKGVERSION): New macro.
65610         (ACX_BUGURL): Likewise.
65611         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65612         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65613         (REPORT_BUGS_TO): Likewise.
65614         * configure: Regenerated.
65615         * config.h.in (PKGVERSION): New macro.
65616         (REPORT_BUGS_TO): Likewise.
65617         * config.make.in (PKGVERSION): New variable.
65618         (PKGVERSION_TEXI): Likewise.
65619         (REPORT_BUGS_TO): Likewise.
65620         (REPORT_BUGS_TEXI): Likewise.
65621         * Makefile (format-me): Use -I$(common-objpfx)manual.
65622         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65623         ($(common-objpfx)manual/%): New target.
65624         (manual/%): Remove target.
65625         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65626         (print_version): Use PKGVERSION.
65627         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65628         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65629         and REPORT_BUGS_TO.
65630         ($(objpfx)xtrace): Likewise.
65631         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65632         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65633         (print_version): Use PKGVERSION.
65634         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65635         (do_version): Use PKGVERSION.
65636         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65637         REPORT_BUGS_TO.
65638         (common-ldd-rewrite): Likewise.
65639         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65640         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65641         (print_version): Use PKGVERSION.
65642         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65643         * elf/pldd.c (argp_program_bug_address): Remove variable.
65644         (more_help): New function.
65645         (argp): Use more_help.
65646         (print_version): Use PKGVERSION.
65647         * elf/sln.c (main): Use PKGVERSION.
65648         (usage): Use REPORT_BUGS_TO.
65649         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65650         (top level): Use PKGVERSION.
65651         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65652         (print_version): Use PKGVERSION.
65653         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65654         (print_version): Use PKGVERSION.
65655         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65656         (print_version): Use PKGVERSION.
65657         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65658         (print_version): Use PKGVERSION.
65659         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65660         (print_version): Use PKGVERSION.
65661         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65662         (print_version): Use PKGVERSION.
65663         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65664         and BUGURL.
65665         ($(objpfx)memusage): Likewise.
65666         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65667         (do_version): Use PKGVERSION.
65668         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65669         (print_version): Use PKGVERSION.
65670         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65671         ($PKGVERSION): New variable.
65672         ($REPORT_BUGS_TO): Likewise.
65673         (usage): Use $REPORT_BUGS_TO.
65674         (top level): Use $PKGVERSION.
65675         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65676         ($(objpfx)pkgvers.texi): New rule.
65677         ($(objpfx)stamp-pkgvers): Likewise.
65678         * manual/install.texi: Include pkgvers.texi.
65679         (--with-pkgversion): Document new configure option.
65680         (--with-bugurl): Likewise.
65681         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65682         than necessarily for this particular distribution.  Use
65683         REPORT_BUGS_TO for where to report bugs.
65684         * INSTALL: Regenerated.
65685         * manual/libc.texinfo: Include pkgvers.texi.
65686         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65687         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65688         (print_version): Use PKGVERSION.
65689         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65690         (print_version): Use PKGVERSION.
65691         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65692         (print_version): Use PKGVERSION.
65693         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65694         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65695         macro.
65696         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65697         (print_version): Use PKGVERSION.
65698         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65699         (print_version): Use PKGVERSION.
65700         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65701         and PKGVERSION.
65703         * timezone/checktab.awk: Update from tzcode 2012i.
65704         * timezone/ialloc.c: Likewise.
65705         * timezone/private.h: Likewise.
65706         * timezone/scheck.c: Likewise.
65707         * timezone/tzfile.h: Likewise.
65708         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65709         (TZVERSION): Hardcode tzcode version number.
65710         * timezone/zdump.c: Update from tzcode 2012i.
65711         * timezone/zic.c: Likewise.
65712         * timezone/version.h: New file.
65713         * timezone/README: Describe version.h.  Update upstream location.
65715         [BZ #14824]
65716         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65717         (mktemp): Enable declaration.
65718         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65720         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65722         Likewise.
65723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65724         Likewise.
65725         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65726         Likewise.
65727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65728         Likewise.
65729         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65730         Likewise.
65731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65732         Likewise.
65734         [BZ #14821]
65735         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65736         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65737         for copies of such integer values.
65738         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65739         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65741 2012-11-09  Andreas Jaeger  <aj@suse.de>
65743         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65744         definitions and declarations that are provided by
65745         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65747 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65749         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65750         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65751         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65752         definition.
65754 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65756         * elf/elf.h: Update comment before AArch64 relocations.
65758 2012-11-07  David S. Miller  <davem@davemloft.net>
65760         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65761         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65762         (__start_context): Declare.
65763         (__makecontext_ret): Delete.
65764         (__makecontext): Hook up __start_context instead of
65765         __makecontext_ret.
65766         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65767         (sysdep_routines): Add __start_context when in stdlib.
65769 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65771         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65772         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65773         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65774         hardcoded "nm".
65775         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65776         (READELF): New variable.  Use it instead of hardcoded "readelf".
65778 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65780         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65781         * sysdeps/x86/Makefile: Here.
65782         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65783         * sysdeps/x86/tst-xmmymm.sh: This.
65785 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65787         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65788         expectations.
65789         [UNIX98] (pthread_barrier_t): Do not expect.
65790         [UNIX98] (pthread_barrierattr_t): Likewise.
65791         [UNIX98] (pthread_spinlock_t): Likewise.
65792         [UNIX98] (pthread_barrier_destroy): Likewise.
65793         [UNIX98] (pthread_barrier_init): Likewise.
65794         [UNIX98] (pthread_barrier_wait): Likewise.
65795         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65796         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65797         [UNIX98] (pthread_barrierattr_init): Likewise.
65798         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65799         [UNIX98] (pthread_getcpuclockid): Likewise.
65800         [UNIX98] (pthread_mutex_timedlock): Likewise.
65801         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65802         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65803         [UNIX98] (pthread_sigmask): Likewise.
65804         [UNIX98] (pthread_spin_destroy): Likewise.
65805         [UNIX98] (pthread_spin_init): Likewise.
65806         [UNIX98] (pthread_spin_lock): Likewise.
65807         [UNIX98] (pthread_spin_trylock): Likewise.
65808         [UNIX98] (pthread_spin_unlock): Likewise.
65809         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65810         Do not expect.
65811         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65812         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65813         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65814         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65815         [XPG3 || XPG4] (pthread_key_t): Likewise.
65816         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65817         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65818         [XPG3 || XPG4] (pthread_once_t): Likewise.
65819         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65820         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65821         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65822         [XPG3 || XPG4] (pthread_t): Likewise.
65824         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65825         not expect.
65826         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65828         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65829         Change function return type to int.
65831         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65832         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65833         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65834         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65835         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65836         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65837         [!POSIX] (posix_madvise): Likewise.
65838         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65839         && !UNIX98].
65840         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65841         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65842         (mode_t): Likewise.
65843         (posix_mem_offset): Likewise.
65844         (posix_typed_mem_get_info): Likewise.
65845         (posix_typed_mem_open): Likewise.
65847         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65848         Change condition to [XOPEN2K8].
65850         * conform/conformtest.pl: Preprocess allow-header data with -x c
65851         instead of from stdin.
65852         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65853         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65854         [C99-based standards] (cerfc): Likewise.
65855         [C99-based standards] (cexp2): Likewise.
65856         [C99-based standards] (cexpm1): Likewise.
65857         [C99-based standards] (clog10): Likewise.
65858         [C99-based standards] (clog1p): Likewise.
65859         [C99-based standards] (clog2): Likewise.
65860         [C99-based standards] (clgamma): Likewise.
65861         [C99-based standards] (ctgamma): Likewise.
65862         [C99-based standards] (cerff): Likewise.
65863         [C99-based standards] (cerfcf): Likewise.
65864         [C99-based standards] (cexp2f): Likewise.
65865         [C99-based standards] (cexpm1f): Likewise.
65866         [C99-based standards] (clog10f): Likewise.
65867         [C99-based standards] (clog1pf): Likewise.
65868         [C99-based standards] (clog2f): Likewise.
65869         [C99-based standards] (clgammaf): Likewise.
65870         [C99-based standards] (ctgammaf): Likewise.
65871         [C99-based standards] (cerfl): Likewise.
65872         [C99-based standards] (cerfcl): Likewise.
65873         [C99-based standards] (cexp2l): Likewise.
65874         [C99-based standards] (cexpm1l): Likewise.
65875         [C99-based standards] (clog10l): Likewise.
65876         [C99-based standards] (clog1pl): Likewise.
65877         [C99-based standards] (clog2l): Likewise.
65878         [C99-based standards] (clgammal): Likewise.
65879         [C99-based standards] (ctgammal): Likewise.
65880         * conform/data/inttypes.h-data [C99-based standards]: Include
65881         stdint.h-data.  Remove all expectations for stdint.h contents.
65882         [C99-based standards] (PRI*): Do not allow.
65883         [C99-based standards] (SCN*): Likewise.
65884         [C99-based standards] (*_t): Likewise.
65885         [C99-based-standards] (PRId8): Expect macro.
65886         [C99-based-standards] (PRIi8): Likewise.
65887         [C99-based-standards] (PRIo8): Likewise.
65888         [C99-based-standards] (PRIu8): Likewise.
65889         [C99-based-standards] (PRIx8): Likewise.
65890         [C99-based-standards] (PRIX8): Likewise.
65891         [C99-based-standards] (SCNd8): Likewise.
65892         [C99-based-standards] (SCNi8): Likewise.
65893         [C99-based-standards] (SCNo8): Likewise.
65894         [C99-based-standards] (SCNu8): Likewise.
65895         [C99-based-standards] (SCNx8): Likewise.
65896         [C99-based-standards] (PRIdLEAST8): Likewise.
65897         [C99-based-standards] (PRIiLEAST8): Likewise.
65898         [C99-based-standards] (PRIoLEAST8): Likewise.
65899         [C99-based-standards] (PRIuLEAST8): Likewise.
65900         [C99-based-standards] (PRIxLEAST8): Likewise.
65901         [C99-based-standards] (PRIXLEAST8): Likewise.
65902         [C99-based-standards] (SCNdLEAST8): Likewise.
65903         [C99-based-standards] (SCNiLEAST8): Likewise.
65904         [C99-based-standards] (SCNoLEAST8): Likewise.
65905         [C99-based-standards] (SCNuLEAST8): Likewise.
65906         [C99-based-standards] (SCNxLEAST8): Likewise.
65907         [C99-based-standards] (PRIdFAST8): Likewise.
65908         [C99-based-standards] (PRIiFAST8): Likewise.
65909         [C99-based-standards] (PRIoFAST8): Likewise.
65910         [C99-based-standards] (PRIuFAST8): Likewise.
65911         [C99-based-standards] (PRIxFAST8): Likewise.
65912         [C99-based-standards] (PRIXFAST8): Likewise.
65913         [C99-based-standards] (SCNdFAST8): Likewise.
65914         [C99-based-standards] (SCNiFAST8): Likewise.
65915         [C99-based-standards] (SCNoFAST8): Likewise.
65916         [C99-based-standards] (SCNuFAST8): Likewise.
65917         [C99-based-standards] (SCNxFAST8): Likewise.
65918         [C99-based-standards] (PRId16): Likewise.
65919         [C99-based-standards] (PRIi16): Likewise.
65920         [C99-based-standards] (PRIo16): Likewise.
65921         [C99-based-standards] (PRIu16): Likewise.
65922         [C99-based-standards] (PRIx16): Likewise.
65923         [C99-based-standards] (PRIX16): Likewise.
65924         [C99-based-standards] (SCNd16): Likewise.
65925         [C99-based-standards] (SCNi16): Likewise.
65926         [C99-based-standards] (SCNo16): Likewise.
65927         [C99-based-standards] (SCNu16): Likewise.
65928         [C99-based-standards] (SCNx16): Likewise.
65929         [C99-based-standards] (PRIdLEAST16): Likewise.
65930         [C99-based-standards] (PRIiLEAST16): Likewise.
65931         [C99-based-standards] (PRIoLEAST16): Likewise.
65932         [C99-based-standards] (PRIuLEAST16): Likewise.
65933         [C99-based-standards] (PRIxLEAST16): Likewise.
65934         [C99-based-standards] (PRIXLEAST16): Likewise.
65935         [C99-based-standards] (SCNdLEAST16): Likewise.
65936         [C99-based-standards] (SCNiLEAST16): Likewise.
65937         [C99-based-standards] (SCNoLEAST16): Likewise.
65938         [C99-based-standards] (SCNuLEAST16): Likewise.
65939         [C99-based-standards] (SCNxLEAST16): Likewise.
65940         [C99-based-standards] (PRIdFAST16): Likewise.
65941         [C99-based-standards] (PRIiFAST16): Likewise.
65942         [C99-based-standards] (PRIoFAST16): Likewise.
65943         [C99-based-standards] (PRIuFAST16): Likewise.
65944         [C99-based-standards] (PRIxFAST16): Likewise.
65945         [C99-based-standards] (PRIXFAST16): Likewise.
65946         [C99-based-standards] (SCNdFAST16): Likewise.
65947         [C99-based-standards] (SCNiFAST16): Likewise.
65948         [C99-based-standards] (SCNoFAST16): Likewise.
65949         [C99-based-standards] (SCNuFAST16): Likewise.
65950         [C99-based-standards] (SCNxFAST16): Likewise.
65951         [C99-based-standards] (PRId32): Likewise.
65952         [C99-based-standards] (PRIi32): Likewise.
65953         [C99-based-standards] (PRIo32): Likewise.
65954         [C99-based-standards] (PRIu32): Likewise.
65955         [C99-based-standards] (PRIx32): Likewise.
65956         [C99-based-standards] (PRIX32): Likewise.
65957         [C99-based-standards] (SCNd32): Likewise.
65958         [C99-based-standards] (SCNi32): Likewise.
65959         [C99-based-standards] (SCNo32): Likewise.
65960         [C99-based-standards] (SCNu32): Likewise.
65961         [C99-based-standards] (SCNx32): Likewise.
65962         [C99-based-standards] (PRIdLEAST32): Likewise.
65963         [C99-based-standards] (PRIiLEAST32): Likewise.
65964         [C99-based-standards] (PRIoLEAST32): Likewise.
65965         [C99-based-standards] (PRIuLEAST32): Likewise.
65966         [C99-based-standards] (PRIxLEAST32): Likewise.
65967         [C99-based-standards] (PRIXLEAST32): Likewise.
65968         [C99-based-standards] (SCNdLEAST32): Likewise.
65969         [C99-based-standards] (SCNiLEAST32): Likewise.
65970         [C99-based-standards] (SCNoLEAST32): Likewise.
65971         [C99-based-standards] (SCNuLEAST32): Likewise.
65972         [C99-based-standards] (SCNxLEAST32): Likewise.
65973         [C99-based-standards] (PRIdFAST32): Likewise.
65974         [C99-based-standards] (PRIiFAST32): Likewise.
65975         [C99-based-standards] (PRIoFAST32): Likewise.
65976         [C99-based-standards] (PRIuFAST32): Likewise.
65977         [C99-based-standards] (PRIxFAST32): Likewise.
65978         [C99-based-standards] (PRIXFAST32): Likewise.
65979         [C99-based-standards] (SCNdFAST32): Likewise.
65980         [C99-based-standards] (SCNiFAST32): Likewise.
65981         [C99-based-standards] (SCNoFAST32): Likewise.
65982         [C99-based-standards] (SCNuFAST32): Likewise.
65983         [C99-based-standards] (SCNxFAST32): Likewise.
65984         [C99-based-standards] (PRId64): Likewise.
65985         [C99-based-standards] (PRIi64): Likewise.
65986         [C99-based-standards] (PRIo64): Likewise.
65987         [C99-based-standards] (PRIu64): Likewise.
65988         [C99-based-standards] (PRIx64): Likewise.
65989         [C99-based-standards] (PRIX64): Likewise.
65990         [C99-based-standards] (SCNd64): Likewise.
65991         [C99-based-standards] (SCNi64): Likewise.
65992         [C99-based-standards] (SCNo64): Likewise.
65993         [C99-based-standards] (SCNu64): Likewise.
65994         [C99-based-standards] (SCNx64): Likewise.
65995         [C99-based-standards] (PRIdLEAST64): Likewise.
65996         [C99-based-standards] (PRIiLEAST64): Likewise.
65997         [C99-based-standards] (PRIoLEAST64): Likewise.
65998         [C99-based-standards] (PRIuLEAST64): Likewise.
65999         [C99-based-standards] (PRIxLEAST64): Likewise.
66000         [C99-based-standards] (PRIXLEAST64): Likewise.
66001         [C99-based-standards] (SCNdLEAST64): Likewise.
66002         [C99-based-standards] (SCNiLEAST64): Likewise.
66003         [C99-based-standards] (SCNoLEAST64): Likewise.
66004         [C99-based-standards] (SCNuLEAST64): Likewise.
66005         [C99-based-standards] (SCNxLEAST64): Likewise.
66006         [C99-based-standards] (PRIdFAST64): Likewise.
66007         [C99-based-standards] (PRIiFAST64): Likewise.
66008         [C99-based-standards] (PRIoFAST64): Likewise.
66009         [C99-based-standards] (PRIuFAST64): Likewise.
66010         [C99-based-standards] (PRIxFAST64): Likewise.
66011         [C99-based-standards] (PRIXFAST64): Likewise.
66012         [C99-based-standards] (SCNdFAST64): Likewise.
66013         [C99-based-standards] (SCNiFAST64): Likewise.
66014         [C99-based-standards] (SCNoFAST64): Likewise.
66015         [C99-based-standards] (SCNuFAST64): Likewise.
66016         [C99-based-standards] (SCNxFAST64): Likewise.
66017         [C99-based-standards] (PRIdMAX): Likewise.
66018         [C99-based-standards] (PRIiMAX): Likewise.
66019         [C99-based-standards] (PRIoMAX): Likewise.
66020         [C99-based-standards] (PRIuMAX): Likewise.
66021         [C99-based-standards] (PRIxMAX): Likewise.
66022         [C99-based-standards] (PRIXMAX): Likewise.
66023         [C99-based-standards] (SCNdMAX): Likewise.
66024         [C99-based-standards] (SCNiMAX): Likewise.
66025         [C99-based-standards] (SCNoMAX): Likewise.
66026         [C99-based-standards] (SCNuMAX): Likewise.
66027         [C99-based-standards] (SCNxMAX): Likewise.
66028         [C99-based-standards] (PRIdPTR): Likewise.
66029         [C99-based-standards] (PRIiPTR): Likewise.
66030         [C99-based-standards] (PRIoPTR): Likewise.
66031         [C99-based-standards] (PRIuPTR): Likewise.
66032         [C99-based-standards] (PRIxPTR): Likewise.
66033         [C99-based-standards] (PRIXPTR): Likewise.
66034         [C99-based-standards] (SCNdPTR): Likewise.
66035         [C99-based-standards] (SCNiPTR): Likewise.
66036         [C99-based-standards] (SCNoPTR): Likewise.
66037         [C99-based-standards] (SCNuPTR): Likewise.
66038         [C99-based-standards] (SCNxPTR): Likewise.
66039         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66040         allow.
66041         * conform/data/stdint.h-data: Update comments to clarify
66042         requirements.
66043         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66044         type.
66045         [C99-based standards] (INT8_MAX): Likewise.
66046         [C99-based standards] (INT16_MIN): Likewise.
66047         [C99-based standards] (INT16_MAX): Likewise.
66048         [C99-based standards] (INT32_MIN): Likewise.
66049         [C99-based standards] (INT32_MAX): Likewise.
66050         [C99-based standards] (INT64_MIN): Likewise.
66051         [C99-based standards] (INT64_MAX): Likewise.
66052         [C99-based standards] (UINT8_MAX): Likewise.
66053         [C99-based standards] (UINT16_MAX): Likewise.
66054         [C99-based standards] (UINT32_MAX): Likewise.
66055         [C99-based standards] (UINT64_MAX): Likewise.
66056         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66057         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66058         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66059         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66060         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66061         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66062         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66063         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66064         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66065         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66066         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66067         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66068         [C99-based standards] (INT_FAST8_MIN): Likewise.
66069         [C99-based standards] (INT_FAST8_MAX): Likewise.
66070         [C99-based standards] (INT_FAST16_MIN): Likewise.
66071         [C99-based standards] (INT_FAST16_MAX): Likewise.
66072         [C99-based standards] (INT_FAST32_MIN): Likewise.
66073         [C99-based standards] (INT_FAST32_MAX): Likewise.
66074         [C99-based standards] (INT_FAST64_MIN): Likewise.
66075         [C99-based standards] (INT_FAST64_MAX): Likewise.
66076         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66077         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66078         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66079         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66080         [C99-based standards] (INTPTR_MIN): Likewise.
66081         [C99-based standards] (INTPTR_MAX): Likewise.
66082         [C99-based standards] (UINTPTR_MAX): Likewise.
66083         [C99-based standards] (INTMAX_MIN): Likewise.
66084         [C99-based standards] (INTMAX_MAX): Likewise.
66085         [C99-based standards] (UINTMAX_MAX): Likewise.
66086         [C99-based standards] (PTRDIFF_MIN): Likewise.
66087         [C99-based standards] (PTRDIFF_MAX): Likewise.
66088         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66089         [C99-based standards] (SIZE_MAX): Likewise.
66090         [C99-based standards] (WCHAR_MAX): Likewise.
66091         [C99-based standards] (WINT_MAX): Likewise.
66092         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66093         constraint on value.
66094         [C99-based standards] (WCHAR_MIN): Likewise.
66095         [C99-based standards] (WINT_MIN): Likewise.
66096         [C99-based standards] (*_t): Allow.
66097         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66098         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66099         Include math.h-data and complex.h-data.  Remove all expectations
66100         of math.h and complex.h contents.
66101         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66102         at end of line.
66103         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66104         (struct tm): Expect tag.
66105         [C99-based-standards] (wcstof): Expect function.
66106         [C99-based-standards] (wcstold): Likewise.
66107         [C99-based-standards] (wcstoll): Likewise.
66108         [C99-based-standards] (wcstoull): Likewise.
66109         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66110         macro-int-constant.  Specify type.
66111         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66112         constraint on value.
66113         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66114         Specify type.
66115         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66116         Specify value.
66117         [ISO C standards]: Do not allow headers.
66118         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66119         wcs[abcdefghijklmnopqrstuvwxyz]*.
66120         [ISO C standards] (*_t): Do not allow.
66121         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66122         Expect function.
66123         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66124         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66125         Specify type.
66126         [ISO C standards]: Do not allow headers.
66127         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66128         is[abcdefghijklmnopqrstuvwxyz]*.
66129         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66130         to[abcdefghijklmnopqrstuvwxyz]*.
66131         [ISO C standards] (*_t): Do not allow.
66132         * conform/data/stdalign.h-data: New file.
66133         * conform/data/stdbool.h-data: Likewise.
66134         * conform/data/stdnoreturn.h-data: Likewise.
66136 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66138         [BZ #14815]
66139         * manual/filesys.texi (Directory Entries): Typo fix.
66140         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66142 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66144         * elf/elf.h (EM_AARCH64): New macro.
66145         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66146         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66147         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66148         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66149         (R_AARCH64_TLSDESC): Likewise.
66150         (NT_ARM_TLS): Likewise.
66151         (NT_ARM_HW_BREAK): Likewise.
66152         (NT_ARM_HW_WATCH): Likewise.
66154 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66156         [BZ #14811]
66157         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66158         (__ieee754_powl): Saturate nonzero exponents with absolute value
66159         below 0x1p-79 to +/- 0x1p-79.
66160         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66161         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66162         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66163         nonzero exponents with absolute value below 0x1p-32 to +/-
66164         0x1p-32.
66165         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66166         (__ieee754_powl): Saturate nonzero exponents with absolute value
66167         below 0x1p-79 to +/- 0x1p-79.
66168         * math/libm-test.inc (pow_test): Add more tests.
66170 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66172         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66173         _dl_s390_cap_flags with kernel. Increase string length.
66174         (_dl_s390_platforms): Add z196 and zEC12.
66176 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66178         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66179         Change XOPEN21K to XOPEN2K.
66181 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66183         * string/memmove.c: Use memcpy when possible.
66185 2012-11-06  Andreas Jaeger  <aj@suse.de>
66187         * po/eo.po: Update from translation team.
66189 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66191         [BZ #14793]
66192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66193         exponent and small x and y exponents, scale x or y up.  Increase
66194         by 2 the exponent used in scaling up.
66195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66197         * math/libm-test.inc (fma_test): Add more tests.
66198         (fma_test_towardzero): Likewise.
66199         (fma_test_downward): Likewise.
66200         (fma_test_upward): Likewise.
66202 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66204         [BZ #14805]
66205         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66206         fenv_t *.
66208         [BZ #14801]
66209         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66210         namespace for names of struct fields.
66211         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66212         fenv_t fields.
66213         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66214         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66216 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66218         [BZ #3665]
66219         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66221 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66223         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66224         PTR_DEMANGLE.
66226         [BZ #5246]
66227         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66228         PTR_DEMANGLE.
66230 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66232         [BZ #14797]
66233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66234         definitely overflow as x * y not x * y + z.
66235         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66237         * math/libm-test.inc (fma_test): Add more tests.
66238         (fma_test_towardzero): Likewise.
66239         (fma_test_downward): Likewise.
66240         (fma_test_upward): Likewise.
66242 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66244         [BZ #157]
66246         * include/stub-tag.h: Remove file.
66247         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66248         '#include' of it.
66249         * manual/maint.texi (Porting): Don't reference it.
66250         * Makerules ($(objpfx)stubs): Likewise.
66251         * dirent/closedir.c: Don't include <stub-tag.h>.
66252         * dirent/dirfd.c: Likewise.
66253         * dirent/fdopendir.c: Likewise.
66254         * dirent/getdents.c: Likewise.
66255         * dirent/getdents64.c: Likewise.
66256         * dirent/opendir.c: Likewise.
66257         * dirent/readdir.c: Likewise.
66258         * dirent/readdir64.c: Likewise.
66259         * dirent/readdir64_r.c: Likewise.
66260         * dirent/readdir_r.c: Likewise.
66261         * dirent/rewinddir.c: Likewise.
66262         * dirent/seekdir.c: Likewise.
66263         * dirent/telldir.c: Likewise.
66264         * gmon/profil.c: Likewise.
66265         * grp/setgroups.c: Likewise.
66266         * inet/if_index.c: Likewise.
66267         * io/access.c: Likewise.
66268         * io/chdir.c: Likewise.
66269         * io/chmod.c: Likewise.
66270         * io/chown.c: Likewise.
66271         * io/close.c: Likewise.
66272         * io/dup.c: Likewise.
66273         * io/dup2.c: Likewise.
66274         * io/dup3.c: Likewise.
66275         * io/euidaccess.c: Likewise.
66276         * io/faccessat.c: Likewise.
66277         * io/fchdir.c: Likewise.
66278         * io/fchmod.c: Likewise.
66279         * io/fchmodat.c: Likewise.
66280         * io/fchown.c: Likewise.
66281         * io/fchownat.c: Likewise.
66282         * io/fcntl.c: Likewise.
66283         * io/flock.c: Likewise.
66284         * io/fstatfs.c: Likewise.
66285         * io/fstatfs64.c: Likewise.
66286         * io/fstatvfs.c: Likewise.
66287         * io/fstatvfs64.c: Likewise.
66288         * io/futimens.c: Likewise.
66289         * io/fxstat.c: Likewise.
66290         * io/fxstat64.c: Likewise.
66291         * io/fxstatat.c: Likewise.
66292         * io/fxstatat64.c: Likewise.
66293         * io/getcwd.c: Likewise.
66294         * io/isatty.c: Likewise.
66295         * io/lchmod.c: Likewise.
66296         * io/lchown.c: Likewise.
66297         * io/link.c: Likewise.
66298         * io/linkat.c: Likewise.
66299         * io/lseek.c: Likewise.
66300         * io/lseek64.c: Likewise.
66301         * io/lxstat64.c: Likewise.
66302         * io/mkdir.c: Likewise.
66303         * io/mkdirat.c: Likewise.
66304         * io/mkfifo.c: Likewise.
66305         * io/mkfifoat.c: Likewise.
66306         * io/open.c: Likewise.
66307         * io/open64.c: Likewise.
66308         * io/openat.c: Likewise.
66309         * io/openat64.c: Likewise.
66310         * io/pipe.c: Likewise.
66311         * io/pipe2.c: Likewise.
66312         * io/poll.c: Likewise.
66313         * io/posix_fadvise.c: Likewise.
66314         * io/posix_fadvise64.c: Likewise.
66315         * io/posix_fallocate.c: Likewise.
66316         * io/posix_fallocate64.c: Likewise.
66317         * io/read.c: Likewise.
66318         * io/readlink.c: Likewise.
66319         * io/readlinkat.c: Likewise.
66320         * io/rmdir.c: Likewise.
66321         * io/sendfile.c: Likewise.
66322         * io/sendfile64.c: Likewise.
66323         * io/statfs.c: Likewise.
66324         * io/statfs64.c: Likewise.
66325         * io/statvfs.c: Likewise.
66326         * io/statvfs64.c: Likewise.
66327         * io/symlink.c: Likewise.
66328         * io/symlinkat.c: Likewise.
66329         * io/ttyname.c: Likewise.
66330         * io/ttyname_r.c: Likewise.
66331         * io/umask.c: Likewise.
66332         * io/unlink.c: Likewise.
66333         * io/unlinkat.c: Likewise.
66334         * io/utime.c: Likewise.
66335         * io/utimensat.c: Likewise.
66336         * io/write.c: Likewise.
66337         * io/xmknod.c: Likewise.
66338         * io/xmknodat.c: Likewise.
66339         * io/xstat.c: Likewise.
66340         * io/xstat64.c: Likewise.
66341         * login/getpt.c: Likewise.
66342         * login/grantpt.c: Likewise.
66343         * login/unlockpt.c: Likewise.
66344         * math/e_acoshl.c: Likewise.
66345         * math/e_acosl.c: Likewise.
66346         * math/e_asinl.c: Likewise.
66347         * math/e_atan2l.c: Likewise.
66348         * math/e_atanhl.c: Likewise.
66349         * math/e_coshl.c: Likewise.
66350         * math/e_expl.c: Likewise.
66351         * math/e_fmodl.c: Likewise.
66352         * math/e_gammal_r.c: Likewise.
66353         * math/e_hypotl.c: Likewise.
66354         * math/e_j0l.c: Likewise.
66355         * math/e_j1l.c: Likewise.
66356         * math/e_jnl.c: Likewise.
66357         * math/e_lgammal_r.c: Likewise.
66358         * math/e_log10l.c: Likewise.
66359         * math/e_log2l.c: Likewise.
66360         * math/e_logl.c: Likewise.
66361         * math/e_powl.c: Likewise.
66362         * math/e_rem_pio2l.c: Likewise.
66363         * math/e_sinhl.c: Likewise.
66364         * math/e_sqrtl.c: Likewise.
66365         * math/fclrexcpt.c: Likewise.
66366         * math/fedisblxcpt.c: Likewise.
66367         * math/feenablxcpt.c: Likewise.
66368         * math/fegetenv.c: Likewise.
66369         * math/fegetexcept.c: Likewise.
66370         * math/fegetround.c: Likewise.
66371         * math/feholdexcpt.c: Likewise.
66372         * math/fesetenv.c: Likewise.
66373         * math/fesetround.c: Likewise.
66374         * math/feupdateenv.c: Likewise.
66375         * math/fgetexcptflg.c: Likewise.
66376         * math/fraiseexcpt.c: Likewise.
66377         * math/fsetexcptflg.c: Likewise.
66378         * math/ftestexcept.c: Likewise.
66379         * math/k_cosl.c: Likewise.
66380         * math/k_rem_pio2l.c: Likewise.
66381         * math/k_sinl.c: Likewise.
66382         * math/k_tanl.c: Likewise.
66383         * math/s_asinhl.c: Likewise.
66384         * math/s_atanl.c: Likewise.
66385         * math/s_cbrtl.c: Likewise.
66386         * math/s_erfl.c: Likewise.
66387         * math/s_expm1l.c: Likewise.
66388         * math/s_log1pl.c: Likewise.
66389         * math/s_tanhl.c: Likewise.
66390         * misc/acct.c: Likewise.
66391         * misc/brk.c: Likewise.
66392         * misc/chflags.c: Likewise.
66393         * misc/chroot.c: Likewise.
66394         * misc/fchflags.c: Likewise.
66395         * misc/fgetxattr.c: Likewise.
66396         * misc/flistxattr.c: Likewise.
66397         * misc/fremovexattr.c: Likewise.
66398         * misc/fsetxattr.c: Likewise.
66399         * misc/fsync.c: Likewise.
66400         * misc/ftruncate.c: Likewise.
66401         * misc/futimes.c: Likewise.
66402         * misc/futimesat.c: Likewise.
66403         * misc/getdomain.c: Likewise.
66404         * misc/getdtsz.c: Likewise.
66405         * misc/gethostid.c: Likewise.
66406         * misc/gethostname.c: Likewise.
66407         * misc/getloadavg.c: Likewise.
66408         * misc/getpagesize.c: Likewise.
66409         * misc/getsysstats.c: Likewise.
66410         * misc/getxattr.c: Likewise.
66411         * misc/gtty.c: Likewise.
66412         * misc/ioctl.c: Likewise.
66413         * misc/lgetxattr.c: Likewise.
66414         * misc/listxattr.c: Likewise.
66415         * misc/llistxattr.c: Likewise.
66416         * misc/lremovexattr.c: Likewise.
66417         * misc/lsetxattr.c: Likewise.
66418         * misc/lutimes.c: Likewise.
66419         * misc/madvise.c: Likewise.
66420         * misc/mincore.c: Likewise.
66421         * misc/mlock.c: Likewise.
66422         * misc/mlockall.c: Likewise.
66423         * misc/mmap.c: Likewise.
66424         * misc/mprotect.c: Likewise.
66425         * misc/msync.c: Likewise.
66426         * misc/munlock.c: Likewise.
66427         * misc/munlockall.c: Likewise.
66428         * misc/munmap.c: Likewise.
66429         * misc/preadv.c: Likewise.
66430         * misc/preadv64.c: Likewise.
66431         * misc/ptrace.c: Likewise.
66432         * misc/pwritev.c: Likewise.
66433         * misc/pwritev64.c: Likewise.
66434         * misc/readv.c: Likewise.
66435         * misc/reboot.c: Likewise.
66436         * misc/remap_file_pages.c: Likewise.
66437         * misc/removexattr.c: Likewise.
66438         * misc/revoke.c: Likewise.
66439         * misc/select.c: Likewise.
66440         * misc/setdomain.c: Likewise.
66441         * misc/setegid.c: Likewise.
66442         * misc/seteuid.c: Likewise.
66443         * misc/sethostid.c: Likewise.
66444         * misc/sethostname.c: Likewise.
66445         * misc/setregid.c: Likewise.
66446         * misc/setreuid.c: Likewise.
66447         * misc/setxattr.c: Likewise.
66448         * misc/sstk.c: Likewise.
66449         * misc/stty.c: Likewise.
66450         * misc/swapoff.c: Likewise.
66451         * misc/swapon.c: Likewise.
66452         * misc/sync.c: Likewise.
66453         * misc/syncfs.c: Likewise.
66454         * misc/syscall.c: Likewise.
66455         * misc/truncate.c: Likewise.
66456         * misc/ualarm.c: Likewise.
66457         * misc/usleep.c: Likewise.
66458         * misc/ustat.c: Likewise.
66459         * misc/utimes.c: Likewise.
66460         * misc/vhangup.c: Likewise.
66461         * misc/writev.c: Likewise.
66462         * posix/_exit.c: Likewise.
66463         * posix/alarm.c: Likewise.
66464         * posix/execve.c: Likewise.
66465         * posix/fexecve.c: Likewise.
66466         * posix/fork.c: Likewise.
66467         * posix/fpathconf.c: Likewise.
66468         * posix/getaddrinfo.c: Likewise.
66469         * posix/getegid.c: Likewise.
66470         * posix/geteuid.c: Likewise.
66471         * posix/getgid.c: Likewise.
66472         * posix/getgroups.c: Likewise.
66473         * posix/getlogin.c: Likewise.
66474         * posix/getlogin_r.c: Likewise.
66475         * posix/getpgid.c: Likewise.
66476         * posix/getpid.c: Likewise.
66477         * posix/getppid.c: Likewise.
66478         * posix/getresgid.c: Likewise.
66479         * posix/getresuid.c: Likewise.
66480         * posix/getsid.c: Likewise.
66481         * posix/getuid.c: Likewise.
66482         * posix/glob64.c: Likewise.
66483         * posix/nanosleep.c: Likewise.
66484         * posix/pathconf.c: Likewise.
66485         * posix/pause.c: Likewise.
66486         * posix/posix_madvise.c: Likewise.
66487         * posix/pread.c: Likewise.
66488         * posix/pread64.c: Likewise.
66489         * posix/pwrite.c: Likewise.
66490         * posix/pwrite64.c: Likewise.
66491         * posix/sched_getaffinity.c: Likewise.
66492         * posix/sched_getp.c: Likewise.
66493         * posix/sched_gets.c: Likewise.
66494         * posix/sched_primax.c: Likewise.
66495         * posix/sched_primin.c: Likewise.
66496         * posix/sched_rr_gi.c: Likewise.
66497         * posix/sched_setaffinity.c: Likewise.
66498         * posix/sched_setp.c: Likewise.
66499         * posix/sched_sets.c: Likewise.
66500         * posix/sched_yield.c: Likewise.
66501         * posix/setgid.c: Likewise.
66502         * posix/setlogin.c: Likewise.
66503         * posix/setpgid.c: Likewise.
66504         * posix/setresgid.c: Likewise.
66505         * posix/setresuid.c: Likewise.
66506         * posix/setsid.c: Likewise.
66507         * posix/setuid.c: Likewise.
66508         * posix/sleep.c: Likewise.
66509         * posix/spawni.c: Likewise.
66510         * posix/sysconf.c: Likewise.
66511         * posix/times.c: Likewise.
66512         * posix/wait.c: Likewise.
66513         * posix/wait3.c: Likewise.
66514         * posix/wait4.c: Likewise.
66515         * posix/waitpid.c: Likewise.
66516         * resolv/gai_sigqueue.c: Likewise.
66517         * resource/getpriority.c: Likewise.
66518         * resource/getrlimit.c: Likewise.
66519         * resource/getrusage.c: Likewise.
66520         * resource/nice.c: Likewise.
66521         * resource/setpriority.c: Likewise.
66522         * resource/setrlimit.c: Likewise.
66523         * resource/ulimit.c: Likewise.
66524         * rt/aio_cancel.c: Likewise.
66525         * rt/aio_fsync.c: Likewise.
66526         * rt/aio_read.c: Likewise.
66527         * rt/aio_sigqueue.c: Likewise.
66528         * rt/aio_suspend.c: Likewise.
66529         * rt/aio_write.c: Likewise.
66530         * rt/clock_getres.c: Likewise.
66531         * rt/clock_gettime.c: Likewise.
66532         * rt/clock_nanosleep.c: Likewise.
66533         * rt/clock_settime.c: Likewise.
66534         * rt/lio_listio.c: Likewise.
66535         * rt/mq_close.c: Likewise.
66536         * rt/mq_getattr.c: Likewise.
66537         * rt/mq_notify.c: Likewise.
66538         * rt/mq_open.c: Likewise.
66539         * rt/mq_receive.c: Likewise.
66540         * rt/mq_send.c: Likewise.
66541         * rt/mq_setattr.c: Likewise.
66542         * rt/mq_timedreceive.c: Likewise.
66543         * rt/mq_timedsend.c: Likewise.
66544         * rt/mq_unlink.c: Likewise.
66545         * rt/shm_open.c: Likewise.
66546         * rt/shm_unlink.c: Likewise.
66547         * rt/timer_create.c: Likewise.
66548         * rt/timer_delete.c: Likewise.
66549         * rt/timer_getoverr.c: Likewise.
66550         * rt/timer_gettime.c: Likewise.
66551         * rt/timer_settime.c: Likewise.
66552         * setjmp/__longjmp.c: Likewise.
66553         * setjmp/setjmp.c: Likewise.
66554         * signal/kill.c: Likewise.
66555         * signal/killpg.c: Likewise.
66556         * signal/raise.c: Likewise.
66557         * signal/sigaction.c: Likewise.
66558         * signal/sigaltstack.c: Likewise.
66559         * signal/sigblock.c: Likewise.
66560         * signal/sigignore.c: Likewise.
66561         * signal/sigintr.c: Likewise.
66562         * signal/signal.c: Likewise.
66563         * signal/sigpause.c: Likewise.
66564         * signal/sigpending.c: Likewise.
66565         * signal/sigqueue.c: Likewise.
66566         * signal/sigreturn.c: Likewise.
66567         * signal/sigset.c: Likewise.
66568         * signal/sigsetmask.c: Likewise.
66569         * signal/sigstack.c: Likewise.
66570         * signal/sigsuspend.c: Likewise.
66571         * signal/sigtimedwait.c: Likewise.
66572         * signal/sigvec.c: Likewise.
66573         * signal/sigwait.c: Likewise.
66574         * signal/sigwaitinfo.c: Likewise.
66575         * signal/sysv_signal.c: Likewise.
66576         * socket/accept.c: Likewise.
66577         * socket/accept4.c: Likewise.
66578         * socket/bind.c: Likewise.
66579         * socket/connect.c: Likewise.
66580         * socket/getpeername.c: Likewise.
66581         * socket/getsockname.c: Likewise.
66582         * socket/getsockopt.c: Likewise.
66583         * socket/isfdtype.c: Likewise.
66584         * socket/listen.c: Likewise.
66585         * socket/recv.c: Likewise.
66586         * socket/recvfrom.c: Likewise.
66587         * socket/recvmsg.c: Likewise.
66588         * socket/send.c: Likewise.
66589         * socket/sendmsg.c: Likewise.
66590         * socket/sendto.c: Likewise.
66591         * socket/setsockopt.c: Likewise.
66592         * socket/shutdown.c: Likewise.
66593         * socket/sockatmark.c: Likewise.
66594         * socket/socket.c: Likewise.
66595         * socket/socketpair.c: Likewise.
66596         * stdio-common/ctermid.c: Likewise.
66597         * stdio-common/cuserid.c: Likewise.
66598         * stdio-common/remove.c: Likewise.
66599         * stdio-common/rename.c: Likewise.
66600         * stdio-common/renameat.c: Likewise.
66601         * stdio-common/tempname.c: Likewise.
66602         * stdlib/getcontext.c: Likewise.
66603         * stdlib/makecontext.c: Likewise.
66604         * stdlib/setcontext.c: Likewise.
66605         * stdlib/swapcontext.c: Likewise.
66606         * stdlib/system.c: Likewise.
66607         * streams/fattach.c: Likewise.
66608         * streams/fdetach.c: Likewise.
66609         * streams/getmsg.c: Likewise.
66610         * streams/getpmsg.c: Likewise.
66611         * streams/putmsg.c: Likewise.
66612         * streams/putpmsg.c: Likewise.
66613         * sysdeps/unix/bsd/getpt.c: Likewise.
66614         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66615         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66616         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66618         Likewise.
66619         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66620         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66621         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66622         * sysvipc/msgctl.c: Likewise.
66623         * sysvipc/msgget.c: Likewise.
66624         * sysvipc/msgrcv.c: Likewise.
66625         * sysvipc/msgsnd.c: Likewise.
66626         * sysvipc/semctl.c: Likewise.
66627         * sysvipc/semget.c: Likewise.
66628         * sysvipc/semop.c: Likewise.
66629         * sysvipc/semtimedop.c: Likewise.
66630         * sysvipc/shmat.c: Likewise.
66631         * sysvipc/shmctl.c: Likewise.
66632         * sysvipc/shmdt.c: Likewise.
66633         * sysvipc/shmget.c: Likewise.
66634         * termios/tcdrain.c: Likewise.
66635         * termios/tcflow.c: Likewise.
66636         * termios/tcflush.c: Likewise.
66637         * termios/tcgetattr.c: Likewise.
66638         * termios/tcgetpgrp.c: Likewise.
66639         * termios/tcsendbrk.c: Likewise.
66640         * termios/tcsetattr.c: Likewise.
66641         * termios/tcsetpgrp.c: Likewise.
66642         * time/adjtime.c: Likewise.
66643         * time/clock.c: Likewise.
66644         * time/getitimer.c: Likewise.
66645         * time/gettimeofday.c: Likewise.
66646         * time/setitimer.c: Likewise.
66647         * time/settimeofday.c: Likewise.
66648         * time/stime.c: Likewise.
66649         * time/time.c: Likewise.
66651 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66653         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66654         /usr/old/bin.
66656         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66657         instead of spaces.
66658         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66660 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66662         [BZ #14796]
66663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66664         FE_TONEAREST before applying Dekker multiplication and Knuth
66665         addition.  Clear inexact exceptions and check for exact zero
66666         results afterwards.
66667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66668         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66670         * math/libm-test.inc (fma_test): Add more tests.
66671         (fma_test_towardzero): Likewise.
66672         (fma_test_downward): Likewise.
66673         (fma_test_upward): Likewise.
66674         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66675         function.
66676         (libc_fesetround): New macro.
66677         (libc_fesetroundf): Likewise.
66678         (libc_fesetroundl): Likewise.
66679         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66680         function.
66681         (libc_fesetround_387): Likewise.
66682         (libc_fesetroundf): New macro.
66683         (libc_fesetround): Likewise.
66684         (libc_fesetroundl): Likewise.
66685         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66686         function.
66687         (libc_fesetroundf): New macro.
66688         (libc_fesetround): Likewise.
66689         (libc_fesetroundl): Likewise.
66690         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66691         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66692         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66693         libm_hidden_ver.
66694         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66695         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66696         libm_hidden_def.
66697         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66698         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66699         libm_hidden_ver.
66700         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66701         libm_hidden_def.
66703         [BZ #3439]
66704         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66705         integer constant usable in #if and use that to give value to enum
66706         constant.
66707         (FE_DIVBYZERO): Likewise.
66708         (FE_UNDERFLOW): Likewise.
66709         (FE_OVERFLOW): Likewise.
66710         (FE_INVALID): Likewise.
66711         (FE_INVALID_SNAN): Likewise.
66712         (FE_INVALID_ISI): Likewise.
66713         (FE_INVALID_IDI): Likewise.
66714         (FE_INVALID_ZDZ): Likewise.
66715         (FE_INVALID_IMZ): Likewise.
66716         (FE_INVALID_COMPARE): Likewise.
66717         (FE_INVALID_SOFTWARE): Likewise.
66718         (FE_INVALID_SQRT): Likewise.
66719         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66720         (FE_TONEAREST): Likewise.
66721         (FE_TOWARDZERO): Likewise.
66722         (FE_UPWARD): Likewise.
66723         (FE_DOWNWARD): Likewise.
66724         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66725         (FE_DIVBYZERO): Likewise.
66726         (FE_OVERFLOW): Likewise.
66727         (FE_UNDERFLOW): Likewise.
66728         (FE_INEXACT): Likewise.
66729         (FE_TONEAREST): Likewise.
66730         (FE_DOWNWARD): Likewise.
66731         (FE_UPWARD): Likewise.
66732         (FE_TOWARDZERO): Likewise.
66733         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66734         (FE_UNDERFLOW): Likewise.
66735         (FE_OVERFLOW): Likewise.
66736         (FE_DIVBYZERO): Likewise.
66737         (FE_INVALID): Likewise.
66738         (FE_TONEAREST): Likewise.
66739         (FE_TOWARDZERO): Likewise.
66740         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66741         (FE_OVERFLOW): Likewise.
66742         (FE_UNDERFLOW): Likewise.
66743         (FE_DIVBYZERO): Likewise.
66744         (FE_INEXACT): Likewise.
66745         (FE_TONEAREST): Likewise.
66746         (FE_TOWARDZERO): Likewise.
66747         (FE_UPWARD): Likewise.
66748         (FE_DOWNWARD): Likewise.
66749         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66750         (FE_DIVBYZERO): Likewise.
66751         (FE_OVERFLOW): Likewise.
66752         (FE_UNDERFLOW): Likewise.
66753         (FE_INEXACT): Likewise.
66754         (FE_TONEAREST): Likewise.
66755         (FE_DOWNWARD): Likewise.
66756         (FE_UPWARD): Likewise.
66757         (FE_TOWARDZERO): Likewise.
66759 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66761         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66763 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66765         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66766         commands.  Quote $PWD.
66767         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66768         -x" by "export".
66769         (remove_newlines): Remove.
66771 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66773         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66774         * stdlib/stdlib.h (atof): Moved to ...
66775         * include/bits/stdlib-float.h: Here.  New file.
66776         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66777         * stdlib/bits/stdlib-float.h: New file.
66778         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66779         -mno-sse -mno-mmx.
66780         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66781         <xmmintrin.h>.
66783 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66785         * conform/conformtest.pl (@headers): Add fenv.h.
66786         * conform/data/fenv.h-data: New file.
66787         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66788         include of <math/fenv.h>.
66790         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66791         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66792         && !UNIX98].  Enables tests for XOPEN2K8.
66793         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66794         POSIX2008]: Likewise.
66796         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66797         (struct rusage): Do not expect type or its members.
66799         [BZ #3439]
66800         * math/math.h (FP_NAN): Define macro to integer constant usable in
66801         #if and use that to give value to enum constant.
66802         (FP_INFINITE): Likewise.
66803         (FP_ZERO): Likewise.
66804         (FP_SUBNORMAL): Likewise.
66805         (FP_NORMAL): Likewise.
66807 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66809         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66810         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66811         arguments.
66813 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66815         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66816         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66817         autoconf-time if not.
66818         * configure.in: Remove AC_PREREQ.
66820 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66822         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66823         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66824         of the internal implementation.
66826 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66828         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66829         except include of <misc/sys/syslog.h>.
66831 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66834         function returns with a NULL context exit with zero.
66836 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66838         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66840 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66842         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66843         (run_program_cmd): This.
66844         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66845         (tst_langinfo): New variable.  Use it.
66847 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66849         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66850         floating point opcodes.
66852 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66854         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66855         variable.
66857         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66859         * sysdeps/mach/hurd/powerpc: Remove directory.
66860         * sysdeps/mach/powerpc: Likewise.
66862 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66864         * scripts/check-local-headers.sh: Ignore c++ headers.
66866 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66868         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66869         __libc_cleanup_region_start argument.
66871 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66873         [BZ #14784]
66874         [BZ #14785]
66875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66876         x * y using scaling, not as x * y + z.
66877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66879         * math/libm-test.inc (fma_test): Add more tests.
66880         (fma_test_towardzero): Likewise.
66881         (fma_test_downward): Likewise.
66882         (fma_test_upward): Likewise.
66884 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66886         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66888 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66890         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66891         New variable.
66893 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66895         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66897 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66900         Fix sort order.
66901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66902         Likewise.
66904 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66907         Fix the order of the list for glibc 2.17.
66908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66909         Likewise.
66911 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66915 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66917         [BZ #14610]
66918         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66919         for low part of x being zero before using __atanl (y).
66920         * math/libm-test.inc (atan2_test): Add another test.
66922         * manual/install.texi (Configuring and compiling): Document
66923         general use of test-wrapper and test-wrapper-env.
66924         * INSTALL: Regenerated.
66926         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66927         (__fma): 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         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66931         (__fmal): Do not extract and scale down low bits on after-rounding
66932         systems when result rounded to normal precision would have normal
66933         exponent.
66934         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66935         (__fmal): Do not extract and scale down low bits on after-rounding
66936         systems when result rounded to normal precision would have normal
66937         exponent.
66938         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66939         macro.
66940         (fma_test): Add more tests.
66941         (fma_test_towardzero): Likewise.
66942         (fma_test_downward): Likewise.
66943         (fma_test_upward): Likewise.
66945 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66947         * sysdeps/i386/tininess.h: Renamed to ...
66948         * sysdeps/x86/tininess.h: This.
66949         * sysdeps/x86_64/tininess.h: Removed.
66951 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66953         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66954         input.  Use $(build-program-cmd).
66955         ($(objpfx)tst-array1-static.out): Likewise.
66956         ($(objpfx)tst-array2.out): Likewise.
66957         ($(objpfx)tst-array3.out): Likewise.
66958         ($(objpfx)tst-array4.out): Likewise.
66959         ($(objpfx)tst-array5.out): Likewise.
66960         ($(objpfx)tst-array5-static.out): Likewise.
66962 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66964         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66965         if defined.
66967         * nss/nsswitch.h (nss_interface_function): Provide new
66968         macro for use with NSS functions.
66969         * grp/initgroups.c: Use new macro.
66970         * nss/getXXbyYY.c: Likewise.
66971         * nss/getXXbyYY_r.c: Likewise.
66972         * nss/getXXent.c: Likewise.
66973         * nss/getXXent_r.c: Likewise.
66974         * sysdeps/posix/getaddrinfo.c: Likewise.
66976 2012-10-30  Andreas Jaeger  <aj@suse.de>
66978         * po/ru.po: Update Russion translation from translation project.
66980 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66982         [BZ #14152]
66983         [BZ #14783]
66984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66985         result and shift together with sticky bit instead of replicating
66986         round-to-nearest rounding.
66987         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66988         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66989         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66990         missing underflow exceptions.
66991         (fma_test_towardzero): Add more tests.
66992         (fma_test_downward): Likewise.
66993         (fma_test_upward): Likewise.
66995         [BZ #14047]
66996         * sysdeps/generic/tininess.h: New file.
66997         * sysdeps/i386/tininess.h: Likewise.
66998         * sysdeps/sh/tininess.h: Likewise.
66999         * sysdeps/x86_64/tininess.h: Likewise.
67000         * stdlib/tst-strtod-underflow.c: Likewise.
67001         * stdlib/tst-tininess.c: Likewise.
67002         * stdlib/strtod_l.c: Include <tininess.h>.
67003         (round_and_return): Do not set errno for exact underflow cases.
67004         Force an underflow exception when setting errno for underflow.
67005         Determine underflow based on rounding to normal precision if
67006         TININESS_AFTER_ROUNDING.
67007         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67008         ERANGE for exact underflow cases.
67009         * stdlib/Makefile (tests): Add tst-tininess and
67010         tst-strtod-underflow.
67011         ($(objpfx)tst-tininess): Use $(link-libm).
67012         ($(objpfx)tst-strtod-underflow): Likewise.
67014 2012-10-30  Andreas Jaeger  <aj@suse.de>
67016         [BZ#14767]
67017         * elf/Makefile (tests): Remove conditional for have-initfini-array
67018         since this is now always required and the variable does not exist
67019         anymore.
67020         (tests-static): Likewise.
67021         (modules-names): Likewise.
67023         * po/eo.po: Add Esperanto translation from translation project.
67025         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67026         merged with constructor/destructor.
67027         (init_array): Likewise.
67028         * elf/tst-array2dep.c (fini_array): Likewise.
67029         (init_array): Likewise.
67031 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67033         * manual/message.texi: Delete @cartouche tags.
67035 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67037         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67038         EOPNOTSUPP.
67039         * sysdeps/mach/hurd/fsync.c: Likewise.
67041         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67042         [_POSIX_REALTIME_SIGNALS]: Change condition to
67043         [_POSIX_REALTIME_SIGNALS > 0].
67045 2012-10-27  Andreas Jaeger  <aj@suse.de>
67047         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67048         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67050         [__WORDSIZE != 64]: Likewise.
67052 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67054         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67055         *  iconvdata/tst-tables.sh: Likewise.
67057 2012-10-25  David S. Miller  <davem@davemloft.net>
67059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67060         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67061         of strtoull.
67063         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67064         ifunc-impl-list.c
67065         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67066         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67067         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67068         file.
67070 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67072         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67073         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67074         __getdirentries.
67076 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67077             Jim Blandy  <jimb@codesourcery.com>
67079         * scripts/cross-test-ssh.sh: New file.
67080         * manual/install.texi (Configuring and compiling): Document use of
67081         cross-test-ssh.sh.
67082         * INSTALL: Regenerated.
67084 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67086         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67087         EOPNOTSUPP.
67089 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67091         * Makeconfig (run-program-prefix): Fix comment.
67093 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67094             Jim Blandy  <jimb@codesourcery.com>
67096         * Makeconfig (test-wrapper): New variable,
67097         (test-wrapper-env): Likewise.
67098         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67099         (run-built-tests): Define to yes.
67100         (run-program-prefix): Use $(test-wrapper).
67101         (built-program-cmd): Likewise.
67102         * Rules (make-test-out): Use $(test-wrapper-env) and
67103         $(host-built-program-cmd).
67104         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67105         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67106         tst-pathopt.sh.
67107         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67108         $(test-wrapper-env) to tst-rtld-load-self.sh.
67109         ($(objpfx)order2.out): Use $(test-wrapper).
67110         ($(objpfx)tst-initorder.out): Likewise.
67111         ($(objpfx)tst-initorder2.out): Likewise.
67112         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67113         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67114         (test_wrapper_env): New variable.  Use it to run ld.so.
67115         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67116         Use it to run ld.so.
67117         (test_wrapper_env): Likewise.
67118         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67119         $(test-wrapper) to run-iconv-test.sh.
67120         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67121         (ICONV): Use $test_wrapper.
67122         * posix/Makefile ($(objpfx)globtest.out): Pass
67123         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67124         globtest.sh, not $(run-program-prefix).
67125         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67126         (test_wrapper): Likewise.
67127         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67128         set together with run_via_rtld_prefix.
67129         (run_program_prefix): Define in terms of test_wrapper and
67130         run_via_rtld_prefix.
67132 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67134         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67135         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67136         Targets removed.
67138         [BZ #14743]
67139         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67140         Declare __clock_getres, __clock_gettime, __clock_settime,
67141         __clock_nanosleep, and __clock_getcpuclockid.
67142         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67143         Remove librt_hidden_def (clock_gettime).
67144         * sysdeps/unix/clock_gettime.c: Likewise.
67145         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67147         * rt/clock_getres.c: Define __clock_getres as an alias.
67148         * sysdeps/posix/clock_getres.c: Likewise.
67149         * rt/clock_settime.c: Define __clock_settime as an alias.
67150         * sysdeps/unix/clock_settime.c: Likewise.
67151         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67152         * sysdeps/unix/clock_nanosleep.c: Likewise.
67153         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67154         * rt/clock-compat.c: New file.
67155         * rt/Makefile (librt-routines): Add clock-compat and move
67156         $(clock-routines) to ...
67157         (routines): ... here, new variable.
67158         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67159         Don't add get_clockfreq here.
67160         * rt/Versions (libc: GLIBC_2.17): New version set.
67161         Add clock_* symbols here.
67162         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67163         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67164         (GLIBC_2.17): Add clock_* symbols.
67165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67167         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67169         Likewise.
67170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67171         Likewise.
67172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67176         * NEWS: Mention the move.
67178         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67179         Use __open, __read, __close rather than their public counterparts.
67180         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67181         (__get_clockfreq_via_cpuinfo): Likewise.
67182         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67183         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67185         * config.h.in (HAVE_IFUNC): New #undef.
67186         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67187         was successful.
67188         * configure: Regenerated.
67190 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67192         * configure.in: Move READELF check to start of file.
67193         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67194         libc_cv_asm_gnu_indirect_function in the process.
67195         * configure: Regenerated.
67197 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67199         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67200         send the output to /dev/null.
67201         (libc_cv_cc_with_libunwind): Likewise.
67202         (libc_cv_as_noexecstack): Likewise.
67203         * configure: Regenerate.
67205 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67207         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67209         * posix/globtest.sh (TMPDIR): Do not set.
67210         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67211         (testout): Likewise.
67213 2012-10-24  Andreas Jaeger  <aj@suse.de>
67215         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67216         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67217         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67218         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67219         posix_fadvise64, posix_fallocate64.
67221         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67222         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67223         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67224         Likewise.
67225         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67226         Likewise.
67227         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67229         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67230         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67231         <bits/fcntl-linux.h>.
67232         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67234         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67235         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67236         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67237         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67238         [__WORDSIZE != 64]: Likewise.
67240 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67242         * Makeconfig (run-built-tests): New variable.
67243         * Rules [$(cross-compiling) = yes]: Change condition to
67244         [$(run-built-tests) = no].
67245         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67246         to [$(run-built-tests) = yes].
67247         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67248         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67249         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67250         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67251         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67252         * io/Makefile [$(cross-compiling) = no]: Likewise.
67253         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67254         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67255         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67256         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67257         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67258         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67259         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67260         * string/Makefile [$(cross-compiling) = no]: Likewise.
67262         * posix/Makefile ($(objpfx)globtest.out): Pass
67263         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67264         $(rtld-installed-name).
67265         * posix/globtest.sh (elf_objpfx): Remove variable.
67266         (rtld_installed_name): Likewise.
67267         (library_path): Likewise.
67268         (run_program_prefix): New variable.  Use for running globtest
67269         binary.
67271 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67272             Joseph Myers  <joseph@codesourcery.com>
67274         * Makeconfig (host-built-program-cmd): New variable.
67275         * elf/Makefile (tst-stackguard1-ARGS): Use
67276         $(host-built-program-cmd).
67277         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67278         (tst-spawn-ARGS): Likewise.
67279         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67281 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67282             Jim Blandy  <jimb@codesourcery.com>
67284         * Makeconfig (run-via-rtld-prefix): New variable.
67285         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67286         (built-program-cmd): Likewise.
67288 2012-10-22  Andreas Jaeger  <aj@suse.de>
67290         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67291         __O_RSYNC if it exists, otherwise to O_SYNC.
67293 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67294             Joseph Myers  <joseph@codesourcery.com>
67296         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67297         /dev/null.
67298         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67299         from /dev/null
67300         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67301         /dev/null.
67303 2012-10-22  Andreas Jaeger  <aj@suse.de>
67305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67306         Define always.
67307         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67310         bits/fcntl-linux.h.
67312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67313         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67315         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67316         to __O_LARGEFILE.
67317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67318         to __O_LARGEFILE.
67320 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67321             Joseph Myers  <joseph@codesourcery.com>
67323         * config.make.in (NM): New variable.
67325 2012-10-21  Andreas Jaeger  <aj@suse.de>
67327         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67328         definitions and declarations that are provided by
67329         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67331 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67333         [BZ #14683]
67334         * elf/Makefile (tests-static): Add tst-leaks1-static.
67335         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67336         ($(objpfx)tst-leaks1-static): New rule.
67337         ($(objpfx)tst-leaks1-static-mem): Likewise.
67338         (tst-leaks1-static-ENV): New macro.
67339         * elf/dl-open.c (dl_open_worker): Check the main application
67340         only if SHARED is defined.
67341         * elf/tst-leaks1-static.c: New file.
67343 2012-10-20  Andreas Jaeger  <aj@suse.de>
67345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
67346         generic values for Linux.
67347         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
67348         and declarations that are provided by <bits/fcntl-linux.h> and
67349         include <bits/fcntl-linux.h>.
67350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67353 2012-10-20  Roland McGrath  <roland@hack.frob.com>
67355         * io/fcntl.h: Move include of <bits/types.h> to the top and
67356         include it unconditionally.
67358 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67360         * wcsmbs/Makefile (tests-ifunc): New variable.
67361         (tests): Add $(tests-ifunc).
67362         * wcsmbs/test-wcschr-ifunc.c: New file.
67363         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
67364         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
67365         * wcsmbs/test-wcslen-ifunc.c: Likewise.
67366         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
67367         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
67369         * string/Makefile (tests-ifunc): New variable.
67370         (tests): Add $(tests-ifunc).
67371         * string/test-memccpy.c (TEST_NAME): New macro.
67372         * string/test-memchr.c (TEST_NAME): Likewise.
67373         * string/test-memcmp.c (TEST_NAME): Likewise.
67374         * string/test-memcpy.c (TEST_NAME): Likewise.
67375         * string/test-memmem.c (TEST_NAME): Likewise.
67376         * string/test-memmove.c (TEST_NAME): Likewise.
67377         * string/test-memset.c (TEST_NAME): Likewise.
67378         * string/test-rawmemchr.c (TEST_NAME): Likewise.
67379         * string/test-stpcpy.c (TEST_NAME): Likewise.
67380         * string/test-stpncpy.c (TEST_NAME): Likewise.
67381         * string/test-strcasecmp.c (TEST_NAME): Likewise.
67382         * string/test-strcasestr.c (TEST_NAME): Likewise.
67383         * string/test-strcat.c (TEST_NAME): Likewise.
67384         * string/test-strchr.c (TEST_NAME): Likewise.
67385         * string/test-strcmp.c(TEST_NAME): Likewise.
67386         * string/test-strcpy.c (TEST_NAME): Likewise.
67387         * string/test-strcspn.c (TEST_NAME): Likewise.
67388         * string/test-strlen.c (TEST_NAME): Likewise.
67389         * string/test-strncasecmp.c (TEST_NAME): Likewise.
67390         * string/test-strncmp.c (TEST_NAME): Likewise.
67391         * string/test-strncpy.c (TEST_NAME): Likewise.
67392         * string/test-strnlen.c (TEST_NAME): Likewise.
67393         * string/test-strpbrk.c (TEST_NAME): Likewise.
67394         * string/test-strrchr.c (TEST_NAME): Likewise.
67395         * string/test-strspn.c (TEST_NAME): Likewise.
67396         * string/test-strstr.c (TEST_NAME): Likewise.
67397         * string/test-bcopy-ifunc.c: New file.
67398         * string/test-bzero-ifunc.c: Likewise.
67399         * string/test-memccpy-ifunc.c: Likewise.
67400         * string/test-memchr-ifunc.c: Likewise.
67401         * string/test-memcmp-ifunc.c: Likewise.
67402         * string/test-memcpy-ifunc.c: Likewise.
67403         * string/test-memmem-ifunc.c: Likewise.
67404         * string/test-memmove-ifunc.c: Likewise.
67405         * string/test-mempcpy-ifunc.c: Likewise.
67406         * string/test-memset-ifunc.c: Likewise.
67407         * string/test-rawmemchr-ifunc.c: Likewise.
67408         * string/test-stpcpy-ifunc.c: Likewise.
67409         * string/test-stpncpy-ifunc.c: Likewise.
67410         * string/test-strcasecmp-ifunc.c: Likewise.
67411         * string/test-strcasestr-ifunc.c: Likewise.
67412         * string/test-strcat-ifunc.c: Likewise.
67413         * string/test-strchr-ifunc.c: Likewise.
67414         * string/test-strchrnul-ifunc.c: Likewise.
67415         * string/test-strcmp-ifunc.c: Likewise.
67416         * string/test-strcpy-ifunc.c: Likewise.
67417         * string/test-strcspn-ifunc.c: Likewise.
67418         * string/test-strlen-ifunc.c: Likewise.
67419         * string/test-strncasecmp-ifunc.c: Likewise.
67420         * string/test-strncat-ifunc.c: Likewise.
67421         * string/test-strncmp-ifunc.c: Likewise.
67422         * string/test-strncpy-ifunc.c: Likewise.
67423         * string/test-strnlen-ifunc.c: Likewise.
67424         * string/test-strpbrk-ifunc.c: Likewise.
67425         * string/test-strrchr-ifunc.c: Likewise.
67426         * string/test-strspn-ifunc.c: Likewise.
67427         * string/test-strstr-ifunc.c: Likewise.
67429         * debug/Makefile (tests-ifunc): New variable.
67430         (tests): Add $(tests-ifunc).
67431         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67432         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67433         * debug/test-stpcpy_chk-ifunc.c: New file.
67434         * debug/test-strcpy_chk-ifunc.c: Likewise.
67436 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67438         [BZ #13601]
67439         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67440         header is not read in.
67442 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67444         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67445         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67446         directly.  Pass built executable to script as
67447         $(built-program-cmd).
67448         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67449         $testprogram without using LD_LIBRARY_PATH and $ldso.
67451         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67452         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67453         $(rtld-installed-name).
67454         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67455         (rtld_installed_name): Likewise.
67456         (library_path): Likewise.
67457         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67458         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67459         $(run-program-prefix) to tst-tables.sh.
67460         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67461         it to run tst-table-from and tst-table-to.
67462         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67463         Pass it to tst-table.sh.
67464         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67465         $(run-program-prefix) to tst-gettext.sh.
67466         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67467         tst-translit.sh.
67468         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67469         tst-gettext2.sh.
67470         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67471         to run tst-gettext.
67472         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67473         to run tst-gettext2.
67474         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67475         to run tst-translit.
67476         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67477         $(run-program-prefix) to tst-mtrace.sh.
67478         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67479         to run tst-mtrace.
67480         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67481         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67482         $(rtld-installed-name).
67483         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67484         (rtld_installed_name): Likewise.
67485         (run_program_prefix): New variable.  Use it to run wordexp-test.
67487         * Makeconfig (ARCH): Remove all definitions.
67488         (machine): Likewise.
67489         [ARCH]: Remove conditional code.
67490         [!objdir]: Give error.
67491         [!objdir] (objpfx): Remove.
67492         [!objdir] (common-objpfx): Likewise.
67493         [!objdir] (common-objdir): Likewise.
67494         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67495         AC_CONFIG_FILES call.
67496         * configure: Regenerated.
67498         [BZ #13888]
67499         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67500         or TMPDIR.
67501         (testout): Likewise.
67503         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67504         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67505         $(rtld-installed-name).
67506         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67507         (rtld_installed_name): Likewise.
67508         (runit): Remove function.
67509         (run_getconf): New variable,  Use it for running getconf binary.
67511 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67513         [BZ #14716]
67514         * string/test-memmem.c (check_result): New function.
67515         (do_one_test): Use it.
67516         (check1): New function.
67517         (test_main): Use it.
67519 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67521         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67523 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67525         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67526         (_G_LSEEK64): Likewise.
67527         (_G_MMAP64): Likewise.
67528         (_G_FSTAT64): Likewise.
67529         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67530         (_G_LSEEK64): Likewise.
67531         (_G_MMAP64): Likewise.
67532         (_G_FSTAT64): Likewise.
67533         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67534         unconditional.  Call __mmap64 directly.
67535         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67536         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67537         __lseek64 directly.
67538         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67539         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67540         __mmap64 directly.
67541         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67542         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67543         __lseek64 directly.
67544         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67545         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67546         __lseek64 directly.
67547         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67548         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67549         __lseek64 directly.
67550         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67551         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67552         __fxstat64 directly.
67553         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67554         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67555         unconditional.
67556         (freopen64) [!_G_OPEN64]: Remove conditional code.
67557         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67558         unconditional.
67559         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67560         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67561         unconditional.
67562         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67563         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67564         unconditional.
67565         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67566         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67567         unconditional.
67568         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67569         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67570         unconditional.
67571         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67572         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67573         unconditional.
67574         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67575         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67576         unconditional.
67577         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67579 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67581         [BZ #12140]
67582         * manual/memory.texi (Malloc Tunable Parameters): Add note
67583         about free list pointers overwriting some perturb bytes.
67584         Wording suggested by Roland McGrath.
67586 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67588         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67589         (lgamma_test): Likewise.
67590         (tgamma_test): Likewise.
67592 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67594         [BZ #14700]
67595         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67596         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67598 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67600         * NEWS: Mention BZ #14716.
67601         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67602         when removing AVAILABLE1_USES_J macro.
67604 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67606         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67607         (__bswap_64): __uint64_t for unsigned 64-bit int.
67609 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67611         * include/string.h (memmem): Declare libc hidden alias.
67612         * string/memmem.c (memmem): Define libc hidden alias.
67613         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67614         __read, __close instead of open, read, close.
67616 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67619         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67620         global and hidden.
67621         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67622         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67623         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67624         Likewise.
67625         (__rawmemchr_sse2): Likewise.
67626         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67627         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67628         (__strchr_sse2): Likewise.
67629         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67630         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67631         (__strcasecmp_sse2): Likewise.
67632         (__strncasecmp_sse2): Likewise.
67633         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67634         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67635         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67636         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67637         (__strrchr_sse2): Likewise.
67638         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67639         ifunc-impl-list.c.
67640         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67641         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67642         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67643         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67644         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67645         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67646         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67647         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67648         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67649         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67650         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67651         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67652         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67653         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67654         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67655         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67656         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67657         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67658         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67659         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67660         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67661         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67662         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67663         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67664         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67665         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67666         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67667         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67668         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67669         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67671         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67672         global and hidden.
67673         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67674         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67675         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67676         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67677         Likewise.
67678         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67679         Likewise.
67680         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67681         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67682         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67683         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67684         ifunc-impl-list.c.
67685         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67686         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67687         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67688         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67689         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67690         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67691         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67692         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67693         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67694         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67695         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67696         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67697         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67698         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67699         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67700         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67701         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67702         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67703         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67704         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67705         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67706         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67707         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67708         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67709         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67710         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67711         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67712         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67713         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67714         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67715         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67716         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67717         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67718         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67719         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67720         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67721         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67722         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67723         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67724         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67725         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67727         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67728         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67729         * include/ifunc-impl-list.h: New file.
67730         * misc/ifunc-impl-list.c: Likewise.
67731         * misc/Makefile (routines): Add ifunc-impl-list.
67732         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67733         * string/test-string.h: Include <ifunc-impl-list.h>.
67734         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67735         TEST_NAME]: New variables.
67736         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67737         are defined.
67738         (test_init): Call __libc_ifunc_impl_list to initialize
67739         func_list if TEST_IFUNC and TEST_NAME are defined.
67741         * string/Makefile (strop-tests): Add bcopy and bzero.
67742         * string/test-bcopy.c: New file.
67743         * string/test-bzero.c: Likewise.
67744         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67745         defined.
67746         * string/test-memset.c: Support bzero test if TEST_BZERO is
67747         defined.
67748         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67749         __libc_memmove.
67750         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67751         __libc_memset.
67752         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67753         of memset.
67755 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67757         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67758         * configure: Regenerated.
67760         * Makeconfig (+link-static-before-libc): Don't include
67761         $(link-static-libc).
67763         * libio/libio.h (_IO_pos_t): Remove.
67765 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67767         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67768         McGrath.
67770 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67772         * crypt/crypt-entry.c: Include fips-private.h.
67773         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67774         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67775         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67776         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67778 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67780         * crypt/crypt-private.h: Include stdbool.h.
67781         (_ufc_setup_salt_r): Return bool.
67782         * crypt/crypt-entry.c: Include errno.h.
67783         (__crypt_r): Return NULL with EINVAL for bad salt.
67784         * crypt/crypt_util.c (bad_for_salt): New.
67785         (_ufc_setup_salt_r): Check that salt is long enough and within
67786         the specified alphabet.
67787         * crypt/badsalttest.c: New file.
67788         * crypt/Makefile (tests): Add it.
67789         ($(objpfx)badsalttest): New.
67791 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67793         * NEWS: Add entry for BZ #14602.
67795 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67797         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67798         type-generic.
67799         * math/libm-test.inc: Update comment listing what functions and
67800         macros are tested.
67801         (isgreater_test): New function.
67802         (isgreaterequal_test): Likewise.
67803         (isless_test): Likewise.
67804         (islessequal_test): Likewise.
67805         (islessgreater_test): Likewise.
67806         (isunordered_test): Likewise.
67807         (main): Call the new functions.
67809 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67811         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67812         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67813         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67814         * sysdeps/i386/configure: Regenerated.
67815         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67816         * sysdeps/mach/configure: Regenerated.
67817         * sysdeps/mach/hurd/configure: Regenerated.
67818         * sysdeps/powerpc/configure: Regenerated.
67819         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67820         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67821         * sysdeps/s390/s390-32/configure: Regenerated.
67822         * sysdeps/s390/s390-64/configure: Regenerated.
67823         * sysdeps/sh/configure: Regenerated.
67824         * sysdeps/sparc/configure: Regenerated.
67825         * sysdeps/unix/sysv/linux/configure: Regenerated.
67826         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67827         * sysdeps/x86_64/configure: Regenerated.
67829         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67830         defined.  Don't check if MAP is NULL.
67832 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67834         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67835         (_G_stat64): Likewise.
67836         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67837         (_G_stat64): Likewise.
67838         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67839         instead of struct _G_stat64.
67840         * libio/fileops.c (mmap_remap_check): Likewise.
67841         (decide_maybe_mmap): Likewise.
67842         (_IO_new_file_seekoff): Likewise.
67843         (_IO_file_stat): Likewise.
67844         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67845         _G_off64_t.
67846         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67847         instead of struct _G_stat64.
67848         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67850 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67852         [BZ #14602]
67853         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67854         Replace with ...
67855         (CHECK_EOL): New macro.
67856         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67857         CHECK_EOL.
67858         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67859         Replace with CHECK_EOL.
67860         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67861         Replace with CHECK_EOL.
67863 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67865         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67866         type-generic.
67867         * math/libm-test.inc: Update comment listing what functions and
67868         macros are tested.
67869         (finite_test): New function.
67870         (isinf_test): Likewise.
67871         (isnan_test): Likewise.
67872         (fpclassify_test): Test subnormal input.
67873         (isfinite_test): Likewise.
67874         (isnormal_test): Likewise.
67875         (main): Call the new functions.
67877 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67879         [BZ #14660]
67880         * Makerules (%.dynsym): Force C locale when running
67881         $(OBJDUMP) --dynamic-syms.
67883 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67885         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67886         <stdint.h>.
67888 2012-10-06  David S. Miller  <davem@davemloft.net>
67890         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67891         upper 32-bits of the length value in %o2 since we use branch-on-register
67892         tests which consider the entire 64-bit register.
67894 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67896         * string/test-strstr.c (check2): Add a test for page boundary.
67898 2012-10-05  David S. Miller  <davem@davemloft.net>
67900         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67901         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67902         file.
67903         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67904         sysdep_routines.
67905         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67906         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67907         and bzero when HWCAP_SPARC_CRYPTO is present.
67909 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67911         [BZ #14602]
67912         * string/test-strstr.c (check2): New function.
67913         (test_main): Call check2.
67915         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67916         and bug-strchr1.
67917         * string/bug-strcasestr1.c (do_test): Moved to ...
67918         * string/test-strcasestr.c (check1): Here.  New function.
67919         (do_one_test): Break out result checking code into ...
67920         (check_result): This.  New function.
67921         (do_one_test): Call check_result.
67922         (test_main): Call check1.
67923         * string/bug-strchr1.c (do_test): Moved to ...
67924         * string/test-strchr.c (check1): Here.  New function.
67925         (do_one_test): Break out result checking code into ...
67926         (check_result): This.  New function.
67927         (do_one_test): Call check_result.
67928         (test_main): Call check1.
67929         * string/bug-strstr1.c (main): Moved to ...
67930         * string/test-strstr.c (check1): Here.  New function.
67931         (do_one_test): Break out result checking code into ...
67932         (check_result): This.  New function.
67933         (do_one_test): Call check_result.
67934         (test_main): Call check1.
67935         * string/bug-strcasestr1.c: Removed.
67936         * string/bug-strchr1.c: Likewise.
67937         * string/bug-strstr1.c: Likewise.
67939         * elf/Makefile (dl-routines): Add hwcaps.
67940         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67941         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67942         (_dl_important_hwcaps): Moved to ...
67943         * elf/dl-hwcaps.c: Here.  New file.
67944         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67946         [BZ #14557]
67947         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67948         if IS_IN_rtld isn't defined.
67950         * elf/dl-support.c (_dl_sysinfo_map): New.
67951         Include "get-dynamic-info.h" and "setup-vdso.h".
67952         (_dl_non_dynamic_init): Call setup_vdso.
67953         * elf/dynamic-link.h: Don't include <assert.h>.
67954         (elf_get_dynamic_info): Moved to ...
67955         * elf/get-dynamic-info.h: Here.  New file.
67956         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67957         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67958         * elf/setup-vdso.h: Here.  New file.
67959         * elf/rtld.c: Include "setup-vdso.h".
67960         (dl_main): Call setup_vdso.
67962 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67964         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67965         creal in comment listing functions tested.  List finite, isinf,
67966         isnan, isless, islessequal, isgreater, isgreaterequal,
67967         islessgreater, isunordered, lgamma_r and pow10 as functions and
67968         macros not tested.  Mention which functions not tested are aliases
67969         for other functions.  Fix typo.  Note that signs of NaNs are not
67970         tested.
67972         * scripts/config.guess: Update from config.git.
67973         * scripts/config.sub: Likewise.
67975 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67977         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67978         * misc/madvise.c (madvise): Renamed to __madvise.
67979         Make madvise a weak alias.
67980         * include/sys/mman.h: Declare __madvise.
67981         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67982         * sysdeps/unix/syscalls.list
67983         (madvise): Make __madvise the strong name, and madvise a weak alias.
67984         * sysdeps/unix/sysv/linux/syscalls.list
67985         (madvise, mmap): Remove redundant entries.
67986         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67987         * malloc/malloc.c (mtrim): Likewise.
67988         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67990 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67992         * sysdeps/mach/hurd/dl-cache.c: File removed.
67993         * config.h.in (USE_LDCONFIG): New #undef.
67994         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67995         * configure: Regenerated.
67996         * elf/Makefile (dl-routines): Add dl-cache only under
67997         [$(use-ldconfig) = yes].
67998         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67999         cache on [USE_LDCONFIG].
68000         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
68001         [USE_LDCONFIG].
68002         * elf/rtld.c (dl_main): Likewise.
68004 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
68006         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
68007         _SC_LEVEL4_CACHE_LINESIZE.
68009 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68011         * sysdeps/unix/bsd/confstr.h: File removed.
68013 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68015         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68016         sys/sdt-config.h.
68018 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68020         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68021         Make 'mapoff' field ElfW(Off) rather than off_t.
68023 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68025         * nscd/Makefile: Remove nscd-cflags and all its users.
68026         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68027         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68029         [BZ #10631]
68030         * malloc.c (malloc_printerr): Clarify error message.
68032 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68034         [BZ #14648]
68035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68036         Set bit_FMA_Usable if FMA is supported.
68037         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68038         macro.
68039         (bit_FMA4_Usable): Updated.
68040         (index_FMA_Usable): New macro.
68041         (CPUID_FMA): Likewise.
68042         (HAS_FMA): Defined with bit_FMA_Usable.
68044 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68046         * bits/types.h (__swblk_t): Type removed.
68047         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68048         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68050         (__SWBLK_T_TYPE): Likewise.
68051         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68052         (__SWBLK_T_TYPE): Likewise.
68053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68054         (__SWBLK_T_TYPE): Likewise.
68055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68056         (__SWBLK_T_TYPE): Likewise.
68058 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68059             Honza Horak <hhorak@redhat.com>
68061         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68062         (xdr_mapname): Use YPMAXMAP as maxsize.
68063         (xdr_peername): Use YPMAXPEER as maxsize.
68064         (xdr_keydat): Use YPAXRECORD as maxsize.
68065         (xdr_valdat): Use YPMAXRECORD as maxsize.
68067 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68069         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68071         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68072         * csu/init-first.c: ... here.
68073         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68074         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68075         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68076         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68077         * sysdeps/i386/init-first.c: File removed.
68078         * sysdeps/sh/init-first.c: File removed.
68080 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68082         [BZ #14645]
68083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68084         if x * y might underflow to zero and z is zero.
68085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68087         * math/libm-test.inc (min_subnorm_value): New variable.
68088         (fma_test): Add more tests.
68089         (fma_test_towardzero): Likewise.
68090         (fma_test_downward): Likewise.
68091         (fma_test_upward): Likewise.
68092         (initialize): Set min_subnorm_value.
68094 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68096         [BZ #14638]
68097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68098         0 + 0.
68099         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68100         mode for addition resulting in exact zero.
68101         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68103         exact 0 + 0.
68104         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68105         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68106         * math/libm-test.inc (fma_test): Add more tests.
68107         (fma_test_towardzero): New function.
68108         (fma_test_downward): Likewise.
68109         (fma_test_upward): Likewise.
68110         (main): Call the new functions.
68112 2012-09-28  David S. Miller  <davem@davemloft.net>
68114         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68116 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68118         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68119         instead of SIGALRM.
68121         * sysdeps/gnu/_G_config.h: Moved to ...
68122         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68123         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68124         * sysdeps/generic/_G_config.h: ... here.
68126         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68128         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68130         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68131         Conditionalize target on [libnss_test1.so-version].
68133         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68135         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68136         (elfobjdir): Move out of conditionals.
68138         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68139         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68140         (__nss_lookup_function): Conditionalize label remove_from_tree on
68141         [!DO_STATIC_NSS || SHARED], matching its only use.
68143 2012-09-28  David S. Miller  <davem@davemloft.net>
68145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68146         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68147         file.
68148         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68149         sysdep_routines.
68150         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68151         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68152         when HWCAP_SPARC_CRYPTO is present.
68154 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68156         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68158 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68160         [BZ #6530]
68161         * stdio-common/vfprintf.c (process_string_arg): Revert
68162         2000-07-22 change.
68164 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68166         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68167         for testcase.
68168         * stdio-common/tst-sprintf.c: Include <locale.h>
68169         (main): Test sprintf's handling of incomplete multibyte
68170         characters.
68172 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68174         * elf/dl-runtime.c (VERSYMIDX): Removed.
68175         * elf/dl-version.c (VERSYMIDX): Likewise.
68176         * elf/do-rel.h (VERSYMIDX): Likewise.
68177         (VALIDX): Likewise.
68178         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68179         * elf/rtld.c (VALIDX): Likewise.
68180         (ADDRIDX): Likewise.
68181         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68182         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68183         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68184         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68185         (VALIDX): Likewise.
68186         (ADDRIDX): Likewise.
68188 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68190         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68192 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68194         [BZ #11438]
68195         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68196         to global scope.
68197         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68198         addresses are in the same scope as 192.0.2/24.
68199         * posix/gai.conf: Document new scope table defaults.
68201 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68203         [BZ #5298]
68204         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68205         for ftell.  Compute offsets from write pointers instead.
68206         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68208 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68210         [BZ #14543]
68211         * libio/Makefile (tests): New test case tst-fseek.
68212         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68213         combination works in wide mode.
68214         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68215         state when the external buffer state changes.
68217 2012-09-27  David S. Miller  <davem@davemloft.net>
68219         [BZ #14376]
68220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68221         pass reloc->r_addend in as the 'high' argument to
68222         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68226 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68228         * rt/tst-aio2.c: Include <pthread.h>.
68229         * rt/tst-aio3.c: Likewise.
68231 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68233         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68235 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68237         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68238         contents on [SHARED].
68240 2012-09-26  Marek Polacek  <polacek@redhat.com>
68242         [BZ #14530]
68243         [BZ #13741]
68244         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68245         for C++ and GCC <4.3 as well as for non GCC compilers.
68247 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68251 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68253         * Makefile.in (all, install): Declare with .PHONY.
68254         Reported by Michael Hope <michael.hope@linaro.org>.
68256 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68258         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68259         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68260         system header.
68261         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68262         Likewise.
68263         (sydep_routines): Add the new and the internal functions.
68264         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68265         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68267         (GLIBC_2.17): Add the new function.
68268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68269         (GLIBC_2.17): Likewise.
68270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68271         (GLIBC_2.17): Likewise.
68272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68273         (GLIBC_2.17): Likewise.
68274         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68276 2012-09-25  Alan Modra  <amodra@gmail.com>
68278         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68279         Add release barrier before setting once_control to say
68280         initialisation is done.  Add hints on lwarx.  Use macro in
68281         place of isync.
68282         (clear_once_control): Add release barrier.
68284 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68286         [BZ #13629]
68287         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68288         specially.
68289         * math/s_clog10.c (__clog10): Likewise.
68290         * math/s_clog10f.c (__clog10f): Likewise.
68291         * math/s_clog10l.c (__clog10l): Likewise.
68292         * math/s_clogf.c (__clogf): Likewise.
68293         * math/s_clogl.c (__clogl): Likewise.
68294         * math/Makefile (libm-calls): Add x2y2m1.
68295         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68296         (__x2y2m1): Likewise.
68297         (__x2y2m1l): Likewise.
68298         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68299         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68300         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68301         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68302         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68303         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68304         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68305         * sysdeps/i386/fpu/libm-test-ulps: Update.
68306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68308         [BZ #14621]
68309         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68310         int as type of variable DEPTH.
68311         (glob): Use size_t instead of int as type of variables NEWCOUNT
68312         and OLD_PATHC.
68314 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68316         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68317         Add s_sincosf-sse2.
68318         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68319         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68320         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68321         macros for using routine as __sincosf_ia32.
68322         Use macro for function declaration and weak_alias.
68323         * sysdeps/i386/fpu/libm-test-ulps: Update.
68325         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68328         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68329         subnormal argument.
68330         * math/s_cexpf.c (__cexpf): Likewise.
68331         * math/s_csinf.c (__csinf): Likewise.
68332         * math/s_csinhf.c (__csinhf): Likewise.
68333         * math/s_ctanf.c (__ctanf): Likewise.
68334         * math/s_ctanhf.c (__ctanhf): Likewise.
68335         * math/s_ccosh.c (__ccoshf): Likewise.
68336         * math/s_cexp.c (__cexpl): Likewise.
68337         * math/s_csin.c (__csin): Likewise.
68338         * math/s_csinh.c (__csinh): Likewise.
68339         * math/s_ctan.c (__ctan): Likewise.
68340         * math/s_ctanh.c (ctanh): Likewise.
68341         * math/s_ccoshl.c (__ccoshl): Likewise.
68342         * math/s_cexpl.c (__cexpl): Likewise.
68343         * math/s_csinl.c (__csinl): Likewise.
68344         * math/s_csinhl.c (__csinhl): Likewise.
68345         * math/s_ctanl.c (__ctanl): Likewise.
68346         * math/s_ctanhl.c (__ctanhl): Likewise.
68348 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68350         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68351         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
68352         (_IO_off_t): Define to __off_t, not _G_off_t.
68353         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
68354         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
68355         (_IO_wint_t): Define to wint_t, not _G_wint_t.
68356         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
68357         type of __dummy and __dummy2 fields.
68358         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
68359         (_G_ssize_t): Likewise.
68360         (_G_off_t): Likewise.
68361         (_G_pid_t): Likewise.
68362         (_G_uid_t): Likewise.
68363         (_G_wchar_t): Likewise.
68364         (_G_wint_t): Likewise.
68365         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
68366         (_G_ssize_t): Likewise.
68367         (_G_off_t): Likewise.
68368         (_G_pid_t): Likewise.
68369         (_G_uid_t): Likewise.
68370         (_G_wchar_t): Likewise.
68371         (_G_wint_t): Likewise.
68372         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
68373         (_G_ssize_t): Likewise.
68374         (_G_off_t): Likewise.
68375         (_G_pid_t): Likewise.
68376         (_G_uid_t): Likewise.
68377         (_G_wchar_t): Likewise.
68378         (_G_wint_t): Likewise.
68380 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68382         * malloc/arena.c: Include malloc-sysdep.h.
68383         (shrink_heap): Use check_may_shrink_heap to decide if madvise
68384         is sufficient to shrink the heap or an unmap is needed.
68385         * sysdeps/generic/malloc-sysdep.h: New file.  Define
68386         new function check_may_shrink_heap.
68387         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
68388         new function check_may_shrink_heap.
68390 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68392         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
68393         comments.
68395 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
68397         * catgets/test-gencat.sh: Add "set -e".
68398         * elf/tst-pathopt.sh: Likewise.
68399         * grp/tst_fgetgrent.sh: Likewise.
68400         * iconvdata/run-iconv-test.sh: Likewise.
68401         * intl/tst-gettext.sh: Likewise.
68402         * intl/tst-gettext2.sh: Likewise.
68403         * intl/tst-gettext4.sh: Likewise.
68404         * intl/tst-gettext6.sh: Likewise.
68405         * intl/tst-translit.sh: Likewise.
68406         * io/ftwtest-sh: Likewise.
68407         * libio/test-freopen.sh: Likewise.
68408         * malloc/tst-mtrace.sh: Likewise.
68409         * posix/globtest.sh: Likewise.
68410         * posix/tst-getconf.sh: Likewise.
68411         * posix/wordexp-tst.sh: Likewise.
68412         * stdio-common/tst-printf.sh: Likewise.
68413         * stdio-common/tst-unbputc.sh: Likewise.
68414         * stdlib/tst-fmtmsg.sh: Likewise.
68415         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68416         * catgets/Makefile: Do not specify -e option when running
68417         testsuite shell scripts.
68418         * elf/Makefile: Likewise.
68419         * grp/Makefile: Likewise.
68420         * iconvdata/Makefile: Likewise.
68421         * intl/Makefile: Likewise.
68422         * io/Makefile: Likewise.
68423         * libio/Makefile: Likewise.
68424         * malloc/Makefile: Likewise.
68425         * posix/Makefile: Likewise.
68426         * stdio-common/Makefile: Likewise.
68427         * stdlib/Makefile: Likewise.
68428         * sysdeps/x86_64/Makefile: Likewise.
68430         * io/ftwtest-sh: Add copyright header.
68431         * posix/globtest.sh: Likewise.
68432         * posix/tst-getconf.sh: Likewise.
68433         * posix/wordexp-tst.sh: Likewise.
68434         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68436 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68438         [BZ #13679]
68439         * Makeconfig (+link): Defined as $(+link-static) if
68440         $(build-shared) isn't yes.
68441         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68442         isn't yes.
68443         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68445         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68447         [BZ #14562]
68448         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68449         new chunk size with MALLOC_ALIGN_MASK.
68451 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68453         [BZ #5044]
68454         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68455         <rounding-mode.h>.
68456         (__printf_fphex): Determine rounding using get_rounding_mode and
68457         round_away.
68458         * stdio-common/tst-printf-round.c (struct hex_test): New
68459         structure.
68460         (hex_tests): New variable.
68461         (test_hex_in_one_mode): New function.
68462         (do_test): Also run tests for hex float output.
68464 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68466         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68467         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68468         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68469         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68470         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68471         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68472         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68473         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68475 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68477         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68478         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68479         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68480         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68482 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68484         [BZ #14579]
68485         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68486         mode only.
68487         * elf/tst-rtld-load-self.sh: New test.
68488         * elf/Makefile: Run it.
68490 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68492         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68493         (tst-writev-ENV): Remove.
68494         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68496 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68498         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68500 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68502         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68503         unconditional.
68504         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68505         Likewise.
68506         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68507         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68508         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68509         Likewise.
68511 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68513         [BZ #14587]
68514         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68515         * config.make.in (have-cpp-asm-debuginfo): Removed.
68516         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68517         * configure: Regenerated.
68519 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68521         [BZ #5044]
68522         * stdio-common/printf_fp.c: Include <stdbool.h> and
68523         <rounding-mode.h>.
68524         (___printf_fp): Determine rounding using get_rounding_mode and
68525         round_away.
68526         * stdio-common/tst-printf-round.c: New file.
68527         * stdio-common/Makefile (tests): Add tst-printf-round.
68528         (link-libm): New variable.
68529         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68531 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68533         [BZ #14576]
68534         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68535         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68536         Likewise.
68537         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68538         Likewise.
68540 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68542         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68543         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68544         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68545         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68547 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68549         [BZ #14518]
68550         * include/rounding-mode.h: New file.
68551         * sysdeps/generic/get-rounding-mode.h: Likewise.
68552         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68553         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68554         (MAX_VALUE): New macro.
68555         (MIN_VALUE): Likewise.
68556         (overflow_value): New function.
68557         (underflow_value): Likewise.
68558         (round_and_return): Use overflow_value and underflow_value to
68559         determine return values in overflow and underflow cases.  Use
68560         round_away to determine rounding depending on rounding mode.
68561         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68562         determine return values in overflow and underflow cases.
68563         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68564         (struct test_results): New structure.
68565         (struct test): Use struct test_results to store expected results
68566         for all rounding modes.
68567         (TEST): Include expected results for all rounding modes.
68568         (test_in_one_mode): New function.
68569         (do_test): Use test_in_one_mode to compute and check results.
68570         Check results for all rounding modes.
68571         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68572         $(link-libm).
68574 2012-12-09  Allan McRae  <allan@archlinux.org>
68576         * sysdeps/i386/fpu/libm-test-ulps: Update
68578 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68580         * sysdeps/generic/_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/gnu/_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.
68596         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68597         (_G_int32_t): Likewise.
68598         (_G_uint16_t): Likewise.
68599         (_G_uint32_t): Likewise.
68600         (_G_HAVE_BOOL): Likewise.
68601         (_G_HAVE_ATEXIT): Likewise.
68602         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68603         (_G_HAVE_IO_FILE_OPEN): Likewise.
68605 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68607         * csu/libc-tls.c: Update copyright years.
68609 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68611         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68612         [!_G_USING_THUNKS]: Remove conditional code.
68613         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68614         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68616         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68617         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68618         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68619         (_G_VTABLE_LABEL_PREFIX): Likewise.
68620         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68621         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68622         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68623         (_G_VTABLE_LABEL_PREFIX): Likewise.
68624         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68625         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68626         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68627         (_G_VTABLE_LABEL_PREFIX): Likewise.
68628         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68630 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68632         * libio/Makefile: Include ../Makeconfig before tests.
68633         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68634         only if $(build-shared) is yes.
68636         * iconv/gconv_db.c: Update copyright years.
68638 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68640         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68641         unwind info if defined PIC. Fix special cases description.
68642         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68644         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68645         DP_HI_MASK entry.
68646         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68648 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68650         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68652         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68653         is NULL.
68655         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68656         (LDLIBS-tst-chk4): This.
68657         (LDFLAGS-tst-chk5): Renamed to ...
68658         (LDLIBS-tst-chk5): This.
68659         (LDFLAGS-tst-chk6): Renamed to ...
68660         (LDLIBS-tst-chk6): This.
68661         (LDFLAGS-tst-lfschk4): Renamed to ...
68662         (LDLIBS-tst-lfschk4): This.
68663         (LDFLAGS-tst-lfschk5): Renamed to ...
68664         (LDLIBS-tst-lfschk5): This.
68665         (LDFLAGS-tst-lfschk6): Renamed to ...
68666         (LDLIBS-tst-lfschk6): This.
68668         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68669         on $(common-objpfx)soversions.mk.
68671 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68673         [BZ #10014]
68674         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68675         example host name.
68677 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68679         * malloc/arena.c (arena_get_retry): New function that gets
68680         another arena for the caller to try its request on.
68681         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68682         current arena cannot fulfill the request.
68683         (__libc_memalign): Likewise.
68684         (__libc_memalign): Likewise.
68685         (__libc_pvalloc): Likewise.
68686         (__libc_calloc): Likewise.
68688 2012-09-05  John Tobey  <john.tobey@gmail.com>
68690         [BZ #13542]
68691         * manual/arith.texi (Operations on Complex): Fix description
68692         of carg branch cut.
68694 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68696         [BZ #10014]
68697         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68698         host name.
68700         [BZ #10038]
68701         * manual/memory.texi (Memory): Make order of menu items match
68702         order of sections.
68704 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68706         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68707         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68708         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68710 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68712         * csu/libc-tls.c (static_dtv): Renamed to ...
68713         (_dl_static_dtv): This.  Make it global.
68714         (_dl_initial_dtv): Removed.
68715         (__libc_setup_tls): Updated.
68716         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68717         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68718         DL_INITIAL_DTV.
68720 2012-09-06  Petr Machata  <pmachata@redhat.com>
68722         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68723         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68724         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68725         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68727 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68729         [BZ #14545]
68730         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68731         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68732         freeing dtv[-1].
68734 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68736         [BZ #14544]
68737         * Makeconfig (link-static-before-libc): Replace $(+prector)
68738         with $(+prectorT).
68739         (link-static-after-libc): Replace $(+postctor) with
68740         $(+postctorT).
68741         (link-bounded): Replace $(+prector)/$(+postctor) with
68742         $(+prectorT)/$(+postctorT).
68743         (+prectorT): New macro.
68744         (+postctorT): Likewise.
68746 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68748         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68749         (round_str): Handle values above the maximum for IBM long double
68750         as inexact.
68751         * stdlib/tst-strtod-round.c (tests): Regenerated.
68753 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68755         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68756         assembler flag.
68757         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68758         zarch_nohighgprs around the zarch optimized routines.
68759         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68760         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68761         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68762         for zarch.
68764 2012-09-05  David S. Miller  <davem@davemloft.net>
68766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68768         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68769         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68770         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68771         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68772         entries.
68774 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68776         * malloc/arena.c: Fold copyright years.
68777         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68781         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68783 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68785         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68787 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68789         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68790         change internal state upon failure.
68792 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68794         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68795         * malloc/memusage.c (mmap): Likewise.
68796         (mmap64, mremap): Likewise.  Adjust name in comment.
68798 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68800         * libio/fileops.c: Fix typos in comments.
68801         * libio/oldfileops.c: Likewise.
68802         * libio/wfileops.c: Likewise.
68804 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68806         [BZ #1349]
68807         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68808         (tst-malloc-usable-ENV): Set environment for test case.
68809         * malloc/hooks.c (malloc_check_get_size): New function to get
68810         requested size.
68811         * malloc/malloc.c (musable): Use malloc_check_get_size.
68812         * malloc/tst-malloc-usable.c: New test case.
68814 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68816         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68818 2012-09-05  Allan McRae  <allan@archlinux.org>
68820         [BZ #13966]
68821         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68822         determine header location.
68823         * configure: Regenerated.
68825 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68827         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68828         float format.
68829         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68830         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68831         format.
68832         (test): Regenerate.
68834 2012-09-04  David S. Miller  <davem@davemloft.net>
68836         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68837         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68838         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68840 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68842         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68843         failures.
68845         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68847 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68849         [BZ #9914]
68850         * libio/iogetdelim.c: Include <limits.h>.
68851         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68852         + len + 1 would overflow.
68854 2012-09-03  Andreas Jaeger  <aj@suse.de>
68856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68857         * sysdeps/i386/fpu/libm-test-ulps: Update.
68859 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68861         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68862         Add s_sinf-sse2, s_conf-sse2.
68864         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68865         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68866         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68867         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68869         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68870         for using routine as __sinf_ia32.
68871         Use macro for function declaration and weak_alias.
68872         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68873         for using routine as __cosf_ia32.
68874         Use macro for function declaration and weak_alias.
68876         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68877         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68879         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68880         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68883         * math/libm-test.inc (cos_test): Add more test cases.
68884         (sin_test): Likewise.
68885         (sincos_test): Likewise.
68887 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68889         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68890         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68891         hidden.
68892         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68894 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68896         [BZ #14538]
68897         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68898         first element of the GOT.
68899         (elf_machine_load_address): Return the difference between
68900         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68902 2012-09-01  Allan McRae  <allan@archlinux.org>
68904         [BZ #13412]
68905         * configure.in (AWK): Require gawk version 3.0 or later.
68906         * configure: Regenerated.
68908 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68910         * sysdeps/unix/sysv/linux/kernel-features.h
68911         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68912         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68913         [__NR_clock_getres]: Make code unconditional.
68914         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68915         (clock_getcpuclockid): Remove code left unreachable by removal of
68916         conditionals.
68917         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68918         code unconditional.
68919         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68920         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68921         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68922         Make code unconditional.
68923         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68924         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68925         * sysdeps/unix/sysv/linux/clock_settime.c
68926         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68927         conditional code.
68928         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68929         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68931 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68933         [BZ #14476]
68934         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68935         scripts/test-installation.pl.
68937         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68938         and $ld_so_version if it is set.
68940 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68942         [BZ #14516]
68943         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68944         failure if reading from procfs failed.
68945         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68947 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68949         * sysdeps/unix/sysv/linux/kernel-features.h
68950         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68951         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68952         Remove conditional code.
68953         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68954         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68955         Remove conditional code.
68956         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68957         * sysdeps/unix/sysv/linux/i386/fxstat.c
68958         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68959         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68960         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68961         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68962         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68963         * sysdeps/unix/sysv/linux/i386/lxstat.c
68964         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68966         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68967         Remove conditional code.
68968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68969         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68970         Remove conditional code.
68971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68972         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68973         <kernel-features.h>.
68974         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68975         Remove.
68976         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68977         Remove conditional code.
68978         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68979         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68980         Remove conditional.
68982 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68984         [BZ #5400]
68985         * NEWS: Add fixed bug number.
68987 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68989         [BZ #14519]
68990         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68991         underflowing exponent in case of negative sign.
68992         * stdlib/tst-strtod-round-data: Add more tests.
68993         * stdlib/tst-strtod-round.c (tests): Regenerated.
68995         [BZ #3479]
68996         * stdlib/strtod_l.c (NDIG): Remove.
68997         (HEXNDIG): Likewise.
68998         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68999         smallest representable value.
69000         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
69001         lie within an exact representation of 1/2 ulp of the result.
69002         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
69003         unconditionally.
69004         (TENS_P9_IDX): Define unconditionally.
69005         (TENS_P9_SIZE): Likewise.
69006         (TENS_P10_IDX): Likewise.
69007         (TENS_P10_SIZE): Likewise.
69008         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69009         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69010         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69011         entries for 10^2^13 and 10^2^14.
69012         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69013         (TENS_P13_IDX): Define.
69014         (TENS_P13_SIZE): Likewise.
69015         (TENS_P14_IDX): Likewise.
69016         (TENS_P14_SIZE): Likewise.
69017         (_fpioconst_pow10): Change array size to
69018         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69019         unconditional.
69020         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69021         1024]: Add entries for 10^2^13 and 10^2^14.
69022         [LAST_POW10 > _LAST_POW10]: Remove #error.
69023         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69024         (_fpioconst_pow10): Change array size to
69025         FPIOCONST_POW10_ARRAY_SIZE.
69026         * stdlib/gen-fpioconst.c: New file.
69027         * stdlib/gen-tst-strtod-round.c: Likewise.
69028         * stdlib/tst-strtod-round-data: Likewise.
69029         * stdlib/tst-strtod-round.c: Likewise.
69030         * stdlib/Makefile (tests): Add tst-strtod-round.
69032         [BZ #14459]
69033         * stdlib/strtod_l.c: Include <stdint.h>.
69034         (NDEBUG): Do not define.
69035         (round_and_return): Change EXPONENT parameter to type intmax_t.
69036         Rearrange calculations to avoid internal overflow possibilities.
69037         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69038         Rearrange calculations to avoid internal overflow possibilities.
69039         Assert that number fits inside MPNSIZE limbs.
69040         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69041         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69042         calculations and add assertions to avoid internal overflow
69043         possibilities.  Add casts to avoid signed/unsigned operations.
69044         * stdlib/tst-strtod-overflow.c: New file.
69045         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69047 2012-08-25  Marek Polacek  <polacek@redhat.com>
69049         * time/time.h: Fix some typos in comments.
69051 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69053         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69054         * posix/tst-rfc3484-2.c: Likewise.
69055         * posix/tst-rfc3484-3.c: Likewise.
69057 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69059         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69060         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69062 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69064         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69065         #include of fxstatat64.c.
69067 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69069         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69070         * shadow/getspent_r.c: Likewise.
69071         * shadow/getspnam.c: Likewise.
69072         * shadow/getspnam_r.c: Likewise.
69073         * gshadow/getsgent.c: Likewise.
69074         * gshadow/getsgent_r.c: Likewise.
69075         * gshadow/getsgnam.c: Likewise.
69076         * gshadow/getsgnam_r.c: Likewise.
69077         * inet/getnetbyad.c: Likewise.
69078         * inet/getnetbyad_r.c: Likewise.
69079         * inet/getnetbynm.c: Likewise.
69080         * inet/getnetbynm_r.c: Likewise.
69081         * inet/getnetent.c: Likewise.
69082         * inet/getnetent_r.c: Likewise.
69083         * inet/getproto.c: Likewise.
69084         * inet/getproto_r.c: Likewise.
69085         * inet/getprtent.c: Likewise.
69086         * inet/getprtent_r.c: Likewise.
69087         * inet/getprtname.c: Likewise.
69088         * inet/getprtname_r.c: Likewise.
69089         * inet/getrpcbyname.c: Likewise.
69090         * inet/getrpcbyname_r.c: Likewise.
69091         * inet/getrpcbynumber.c: Likewise.
69092         * inet/getrpcbynumber_r.c: Likewise.
69093         * inet/getrpcent.c: Likewise.
69094         * inet/getrpcent_r.c: Likewise.
69095         * inet/getaliasent.c: Likewise.
69096         * inet/getaliasent_r.c: Likewise.
69097         * inet/getaliasname.c: Likewise.
69098         * inet/getaliasname_r.c: Likewise.
69099         * nscd/getgrgid_r.c: Likewise.
69100         * nscd/getgrnam_r.c: Likewise.
69101         * nscd/gethstbyad_r.c: Likewise.
69102         * nscd/gethstbynm3_r.c: Likewise.
69103         * nscd/getpwnam_r.c: Likewise.
69104         * nscd/getpwuid_r.c: Likewise.
69105         * nscd/getsrvbynm_r.c: Likewise.
69106         * nscd/getsrvbypt_r.c: Likewise.
69107         * nscd/gai.c: Likewise.
69109         * configure.in (build_nscd): New substituted variable, set
69110         by --disable-build-nscd and defaults to $use_nscd.
69111         * configure: Regenerated.
69112         * config.make.in (build-nscd): New substituted variable.
69113         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69114         Change conditional to require [$(build-nscd) = yes] as well.
69115         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69117         [BZ# 13696]
69118         * configure.in (use_nscd): New substituted variable, set by
69119         --disable-nscd.  If enabled, define USE_NSCD.
69120         * configure: Regenerated.
69121         * config.h.in: Add USE_NSCD.
69122         * config.make.in (use-nscd): New substituted variable.
69123         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69124         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69125         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69126         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69127         (CFLAGS-getgrnam_r.c): Likewise.
69128         (CFLAGS-initgroups.c): Likewise.
69129         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69130         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69131         Variables removed.
69132         * inet/getnetgrent_r.c
69133         (nscd_setnetgrent): New function, broken out of ...
69134         (setnetgrent): ... here.  Call it.
69135         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69136         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69137         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69138         * nscd/Makefile (routines, aux): Move definitions after include of
69139         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69140         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69141         Conditionalize on [USE_NSCD].
69142         (is_nscd, nscd_init_cb): Likewise.
69143         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69144         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69145         * nss/nss_db/db-init.c: Likewise.
69146         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69147         [USE_NSCD].
69148         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69149         (make_request): Use it.
69150         (cache_valid_p): New function.
69151         (__check_pf): Use it.
69152         * NEWS: Add item for --disable-nscd.
69154 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69156         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69157         to support sed >= 4.2.1-20-ga9bf076.
69158         * configure: Regenerated.
69160 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69162         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69163         Conditionalize whole body on [IREL].
69165 2012-08-22  Jeff Law <law@redhat.com>
69167         [BZ #14505]
69168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69169         if the family is PF_UNSPEC.
69171 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69173         * Makerules (lib-version): Rename from V.
69174         (install-lib-nosubdir): Change V to lib-version.
69176 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69178         [BZ #14252]
69179         * powerpc32/power6/wcschr.c: New file.
69180         * powerpc32/power6/wcscpy.c: New file.
69181         * powerpc32/power6/wcsrchr.c: New file.
69182         * powerpc64/power6/wcschr.c: New file.
69183         * powerpc64/power6/wcscpy.c: New file.
69184         * powerpc64/power6/wcsrchr.c: New file.
69186 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69188         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69189         (two_way_short_needle): Use it.
69190         * string/strstr.c (AVAILABLE1_USES_J): Define.
69191         * string/strcasestr.c: Likewise.
69193         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69194         array references.
69195         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69197         [BZ #11607]
69198         * NEWS: Add an entry.
69199         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69200         define their defaults.
69201         (two_way_short_needle): Detect end-of-string on-the-fly.
69202         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69203         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69204         * string/bug-strcasestr1.c: New test.
69205         * string/Makefile: Run it.
69207 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69209         [BZ #11607]
69210         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69211         the first character.
69213 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69215         * csu/elf-init.c (__libc_csu_irel): Function removed.
69216         * csu/libc-start.c (apply_irel): New function.
69217         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69219 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69221         * sysdeps/unix/sysv/linux/kernel-features.h
69222         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69223         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69224         <kernel-features.h>.
69225         [__NR_fadvise64_64]: Make code unconditional.
69226         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69227         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69228         !__NR_fadvise64_64)]: Likewise.
69229         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69230         !__NR_fadvise64_64))]: Likewise.
69231         [__NR_fadvise64]: Make code unconditional.
69232         [!__NR_fadvise64]: Remove conditional code.
69233         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69234         <kernel-features.h>.
69235         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69236         unconditional.
69237         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69238         conditional code.
69239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69240         not include <kernel-features.h>.
69241         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69242         unconditional.
69243         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69244         conditional code.
69245         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69246         include <kernel-features.h>.
69247         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69248         unconditional.
69249         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69250         conditional code.
69252 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69254         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69255         slight instruction rearrangements per scrollpipe analysis.
69256         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69258 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69260         * manual/syslog.texi (syslog; vsyslog, closelog):
69261         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69262         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69264         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69265         DSOCAPS to match condition on defining it.
69267 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69269         * sysdeps/unix/sysv/linux/kernel-features.h
69270         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69272         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69273         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69275         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69276         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69278         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69279         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69281         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69282         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69284         * sysdeps/unix/sysv/linux/kernel-features.h
69285         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69286         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69287         unconditional.
69288         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69289         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69290         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69291         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69292         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69293         Make code unconditional.
69294         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69295         (__mmap64) [!__NR_mmap2]: Likewise.
69296         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69297         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69298         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69299         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69300         [__NR_mmap2]: Make code unconditional.
69301         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69302         (__mmap64) [!__NR_mmap2]: Likewise.
69304 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69306         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69308 2012-08-18  Andreas Jaeger  <aj@suse.de>
69310         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69312 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69314         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69315         * include/unistd.h (__have_sock_cloexec): Likewise.
69316         (__have_pipe2): Likewise.
69317         (__have_dup3): Likewise.
69319 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69321         [BZ #9685]
69322         * include/unistd.h (__have_pipe2): Change define into an extern int.
69323         (__have_dup3): Likewise.
69324         * socket/have_sock_cloexec.c: Include fcntl.h.
69325         (__have_pipe2): New variable.
69326         (__have_dup3): Likewise.
69328 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69330         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69332 2012-08-17  Marek Polacek  <polacek@redhat.com>
69334         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69335         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69337 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69339         * configure.in: Add AC_SUBST for sysheaders.
69340         * configure: Regenerated.
69341         * config.make.in (sysheaders): New substituted variable.
69343         * sysdeps/unix/mkfifo.c: Moved ...
69344         * sysdeps/posix/mkfifo.c: ... here.
69345         * sysdeps/unix/mkfifoat.c: Moved ...
69346         * sysdeps/posix/mkfifoat.c: ... here.
69348         * sysdeps/unix/utime.c: Moved ...
69349         * sysdeps/posix/utime.c: ... here.
69351         * sysdeps/unix/time.c: Moved ...
69352         * sysdeps/posix/time.c: ... here.
69353         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
69354         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
69356         * sysdeps/unix/nice.c: Moved ...
69357         * sysdeps/posix/nice.c: ... here.
69359         * sysdeps/unix/alarm.c: Moved ...
69360         * sysdeps/posix/alarm.c: ... here.
69362         * intl/Makefile ($(codeset_mo)): Depend on the input file.
69364 2012-08-17  Jeff Law <law@redhat.com>
69366         * intl/Makefile (codeset_mo): New variable.
69367         ($(codeset_mo)): New target.
69368         (tst-codeset.out): Depend on that.  Remove explicit rule.
69369         (tst-gettext3.out, tst-gettext5.out): Likewise.
69370         (LOCPATH-ENV, tst-codeset-ENV): New variables.
69371         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
69372         * intl/tst-codeset.sh: Remove.
69373         * intl/tst-gettext3.sh: Likewise.
69374         * intl/tst-gettext5.sh: Likewise.
69376 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69378         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
69379         * sysdeps/unix/syscalls.list: ... here.
69381         * sysdeps/posix/getaddrinfo.c
69382         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
69383         (gaiconf_init, gaiconf_reload): Use them.
69384         [!_STATBUF_ST_NSEC]
69385         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
69386         Define using time_t rather than struct timespec.
69388         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
69389         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
69390         Macros removed.
69391         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
69392         [!NO_THREADS].
69393         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
69394         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
69395         Likewise.
69397         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
69398         __libc_cleanup_push argument.
69400         * bits/param.h: New file.
69401         * misc/sys/param.h: New file.
69402         * include/sys/param.h: New file.
69403         * misc/Makefile (headers): Add bits/param.h.
69404         * sysdeps/generic/sys/param.h: File removed.
69405         * sysdeps/unix/sysv/linux/bits/param.h: New file.
69406         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
69407         * sysdeps/mach/hurd/bits/param.h: New file.
69408         * sysdeps/mach/hurd/sys/param.h: File removed.
69410         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
69411         last change.
69413         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
69414         [_IO_MTSAFE_IO].
69415         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
69416         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
69417         New macros.
69419         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
69420         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
69421         rather than -D_IO_MTSAFE_IO conditionally.
69422         * stdio-common/Makefile (CPPFLAGS): Likewise.
69423         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69424         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69425         Use $(libio-mtsafe).
69426         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69427         of -D_IO_MTSAFE_IO.
69428         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69429         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69430         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69431         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69432         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69433         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69434         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69435         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69436         (CFLAGS-fread_u_chk.c): Likewise.
69437         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69438         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69439         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69440         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69441         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69442         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69443         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69444         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69445         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69447         * libio/Makefile: Test [$(libc-reentrant) = yes]
69448         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69450         * Makeconfig
69451         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69452         * sysdeps/pthread/configure: File removed.
69453         * sysdeps/pthread/Makeconfig: New file.
69454         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69455         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69457 2012-08-16  Gary Benson  <gbenson@redhat.com>
69459         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69460         unmapping the first object in a namespace.
69462 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69464         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69465         (__internal_setnetgrent): ... this.  Add internal_function to
69466         definition.  Add libc_hidden_def.
69467         (setnetgrent): Update caller.
69468         (internal_endnetgrent): Renamed to ...
69469         (__internal_endnetgrent): ... this.  Add internal_function to
69470         definition.  Add libc_hidden_def.
69471         (endnetgrent): Update caller.
69472         (internal_getnetgrent_r): Renamed to ...
69473         (__internal_getnetgrent_r): ... this.  Add internal_function to
69474         definition.  Add libc_hidden_def.
69475         (__getnetgrent_r): Update caller.
69476         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69478 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69480         * stdlib/longlong.h: Update from GCC.
69482 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69484         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69485         on _QL, which is set by umul_ppmm but never used.
69486         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69487         variables, which are set by GMP macros but never used.
69488         * stdio-common/_itowa.c (_itowa): Likewise.
69489         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69490         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69492 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69494         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69495         struct La_sh_regs is not constant.
69496         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69497         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69498         and struct La_sparc64_regs are not constant.
69500 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69502         * sysdeps/unix/sysv/linux/kernel-features.h
69503         (__ASSUME_POSIX_TIMERS): Remove.
69504         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69505         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69506         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69507         Make code unconditional.
69508         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69509         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69510         Make code unconditional.
69511         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69512         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69513         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69514         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69515         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69516         Make code unconditional.
69517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69518         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69519         (__libc_missing_posix_timers): Remove.
69521 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69523         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69524         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69526         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69528         * elf/dl-sym.c: Include <stdlib.h>.
69530         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69531         constants, which avoids warnings in 32-bit builds.
69533         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69534         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69536         * misc/lseek.c: File moved to ...
69537         * io/lseek.c: ... here.
69539         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69541         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69542         shifting LEN more than 31 bits at once.
69544 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69546         [BZ #14195]
69547         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69548         segmentation fault for a case of two empty input strings.
69549         * string/test-strncasecmp.c (check1): Renamed to...
69550         (bz12205): ...this.
69551         (bz14195): Add new testcase for two empty input strings and N > 0.
69552         (test_main): Call new testcase, adapt for renamed function.
69554 2012-08-15  Andreas Jaeger  <aj@suse.de>
69556         [BZ #14090]
69557         * crypt/md5test2.c: New test, based on test supplied by Serge
69558         Belyshev <belyshev@depni.sinp.msu.ru>.
69559         * crypt/Makefile (xtests): Add md5test-giant..
69560         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69562 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69564         [BZ #14090]
69565         * crypt/md5.c (md5_process_block): Don't assume the buffer
69566         length is less than 2**32.
69567         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69568         length is less than 2**64.
69570 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69572         * string/str-two-way.h: Include <sys/param.h>.
69573         (MAX): Macro removed.
69575         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69576         Move #define and #undef of memmove to just before and after
69577         including <string.h>.
69579         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69580         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69581         and after including <string.h>.  Move declarations of
69582         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69583         to before #include "string/memmove.c".
69585         * include/dirent.h: Declare __getdirentries.
69587         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69588         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69590 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69592         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69593         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69594         * sysdeps/i386/configure: Regenerated.
69595         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69596         STABS_CURRENT_FILE, and STABS_FUN.
69597         (END): Remove call to STABS_FUN_END.
69598         (STABS_CURRENT_FILE1): Delete.
69599         (STABS_CURRENT_FILE): Likewise.
69600         (STABS_FUN): Likewise.
69601         (STABS_FUN_END): Likewise.
69602         (STABS_FUN2): Likewise.
69603         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69604         * sysdeps/x86_64/configure: Regenerated.
69606 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69608         * elf/dl-open.c: Include <atomic.h>.
69609         * elf/dl-lookup.c: Likewise.
69611 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69613         * sysdeps/unix/sysv/linux/kernel-features.h
69614         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69615         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69616         unconditionally.
69617         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69618         unconditionally.
69619         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69620         condition on __ASSUME_CLONE_THREAD_FLAGS.
69622 2012-08-14  Andreas Jaeger  <aj@suse.de>
69624         * sysdeps/i386/fpu/libm-test-ulps: Update.
69626 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69628         * include/atomic.h (atomic_exchange_and_add): Split into ...
69629         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69630         New atomic macros.
69632 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69636 2012-08-13  Jeff Law <law@redhat.com>
69638         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69639         null byte in the output string.
69641 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69643         * sysdeps/unix/sysv/linux/kernel-features.h
69644         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69645         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69646         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69647         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69648         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69649         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69650         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69652 2012-08-09  Jeff Law <law@redhat.com>
69654         [BZ #13939]
69655         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69656         When avoid_arena is set, don't retry in the that arena.  Pick the
69657         next one, whatever it might be.
69658         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69659         (arena_lock): Pass in new parameter to arena_get2.
69660         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69661         arena_get2.
69662         (__libc_malloc): Unify retrying after main arena failure with
69663         __libc_memalign version.
69664         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69666 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69668         [BZ #14166]
69669         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69670         to __redirect_strstr.
69671         (__strstr_sse42): Use typeof __redirect_strstr.
69672         (__strstr_ia32): Likewise.
69673         (__libc_strstr): New prototype.
69674         (strstr): Renamed to ...
69675         (__libc_strstr): This.
69676         (strstr): New strong alias of __libc_strstr.
69677         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69678         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69679         __redirect_time.
69680         Include <time.h>.
69681         (__libc_time): New prototype.
69682         (time_ifunc): Replace time with __libc_time.
69683         (time): New strong alias and hidden definition of __libc_time.
69684         (__GI_time): Remove strong alias.
69685         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69686         Include <stddef.h>.
69687         (memmove): Redefined to __redirect_memmove.
69688         (__memmove_sse2): Use typeof __redirect_memmove.
69689         (__memmove_ssse3): Likewise.
69690         (__memmove_ssse3_back): Likewise.
69691         (__libc_memmove): New prototype.
69692         (memmove): Renamed to ...
69693         (__libc_memmove): This.
69694         (memmove): New strong alias of __libc_memmove.
69696 2012-08-08  Mark Salter  <msalter@redhat.com>
69698         * elf/elf.h
69699         (R_MN10300_TLS_GD): Define.
69700         (R_MN10300_TLS_LD): Likewise.
69701         (R_MN10300_TLS_LDO): Likewise.
69702         (R_MN10300_TLS_GOTIE): Likewise.
69703         (R_MN10300_TLS_IE): Likewise.
69704         (R_MN10300_TLS_LE): Likewise.
69705         (R_MN10300_TLS_DTPMOD): Likewise.
69706         (R_MN10300_TLS_DTPOFF): Likewise.
69707         (R_MN10300_TLS_TPOFF): Likewise.
69708         (R_MN10300_SYM_DIFF): Likewise.
69709         (R_MN10300_ALIGN): Likewise.
69710         (R_MN10300_NUM): Update.
69712 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69714         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69715         Remove.
69717 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69719         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69721         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69722         sysdeps/unix -> sysdeps/posix move.
69723         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69725 2012-08-07      Allan McRae     <allan@archlinux.org>
69727         [BZ #14303]
69728         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69729         (SUNOS_CPP): Likewise.
69730         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69731         not found.
69732         (open_input): Call CPP using execvp.
69734 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69736         * sysdeps/unix/sysv/linux/kernel-features.h
69737         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69738         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69739         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69740         (__ASSUME_WAITID_SYSCALL): Likewise.
69741         * sysdeps/unix/sysv/linux/dl-execstack.c
69742         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69743         code unconditional.
69744         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69745         conditional code.
69746         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69747         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69748         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69749         code.
69750         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69751         unconditional.
69752         [__ASSUME_WAITID_SYSCALL]: Likewise.
69753         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69755 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69757         * sysdeps/unix/closedir.c: Renamed to ...
69758         * sysdeps/posix/closedir.c: ... here.
69759         * sysdeps/unix/dirfd.c: Renamed to ...
69760         * sysdeps/posix/dirfd.c: ... here.
69761         * sysdeps/unix/dirstream.h: Renamed to ...
69762         * sysdeps/posix/dirstream.h: ... here.
69763         * sysdeps/unix/fdopendir.c: Renamed to ...
69764         * sysdeps/posix/fdopendir.c: ... here.
69765         * sysdeps/unix/opendir.c: Renamed to ...
69766         * sysdeps/posix/opendir.c: ... here.
69767         * sysdeps/unix/readdir.c: Renamed to ...
69768         * sysdeps/posix/readdir.c: ... here.
69769         * sysdeps/unix/readdir_r.c: Renamed to ...
69770         * sysdeps/posix/readdir_r.c: ... here.
69771         * sysdeps/unix/rewinddir.c: Renamed to ...
69772         * sysdeps/posix/rewinddir.c: ... here.
69773         * sysdeps/unix/seekdir.c: Renamed to ...
69774         * sysdeps/posix/seekdir.c: ... here.
69775         * sysdeps/unix/telldir.c: Renamed to ...
69776         * sysdeps/posix/telldir.c: ... here.
69777         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69778         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69779         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69780         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69782         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69783         * bits/fcntl.h: ... here.
69785         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69786         not 0.
69787         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69788         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69789         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69790         (struct flock): Move l_start, l_len to the beginning.
69791         Use __pid_t for l_pid.
69792         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69793         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69794         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69795         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69796         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69797         [__USE_LARGEFILE64] (struct flock64): New type.
69798         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69800         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69801         * bits/dirent.h: ... here.
69803         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69804         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69806 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69808         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69809         Change from 2.6.0 to 2.6.16.
69810         * sysdeps/unix/sysv/linux/configure: Regenerated.
69811         * sysdeps/unix/sysv/linux/kernel-features.h
69812         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69813         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69814         version.
69815         (__ASSUME_UTIMES): Likewise.
69816         (__ASSUME_CLONE_STOPPED): Remove.
69817         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69818         architectures, not kernel version.
69819         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69820         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69821         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69822         (__ASSUME_WAITID_SYSCALL): Likewise.
69823         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69824         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69825         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69826         refer to older versions.
69828 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69830         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69831         Define alphasort64 as an alias.
69832         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69833         Define versionsort64 as an alias.
69834         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69835         Define scandir64 as an alias.
69836         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69837         Define scandirat64 as an alias.
69838         * dirent/alphasort64.c (alphasort64):
69839         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69840         * dirent/versionsort64.c: Likewise.
69841         * dirent/scandir64.c: Likewise.
69842         * dirent/scandirat64.c: Likewise.
69843         * sysdeps/wordsize-64/alphasort.c: File removed.
69844         * sysdeps/wordsize-64/alphasort64.c: File removed.
69845         * sysdeps/wordsize-64/scandir.c: File removed.
69846         * sysdeps/wordsize-64/scandir64.c: File removed.
69847         * sysdeps/wordsize-64/scandirat.c: File removed.
69848         * sysdeps/wordsize-64/scandirat64.c: File removed.
69849         * sysdeps/wordsize-64/versionsort.c: File removed.
69850         * sysdeps/wordsize-64/versionsort64.c: File removed.
69851         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69852         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69853         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69854         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69855         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69856         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69857         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69858         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69860         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69862         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69864         [defined __arch64__ || defined __sparcv9]
69865         (__INO_T_MATCHES_INO64_T): New macro.
69866         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69867         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69868         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69869         * sysdeps/unix/sysv/linux/bits/dirent.h
69870         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69871         (_DIRENT_MATCHES_DIRENT64): New macro.
69873         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69874         Define lockf64 as an alias.
69875         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69876         Define fseeko64 as an alias.
69877         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69878         Define ftello64 as an alias.
69879         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69880         Define _IO_fgetpos64 and fgetpos64 as aliases.
69881         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69882         Define _IO_fsetpos64 and fsetpos64 as aliases.
69883         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69884         Conditionalize body on this.
69885         * libio/fseeko64.c: Likewise.
69886         * libio/ftello64.c: Likewise.
69887         * libio/iofgetpos64.c: Likewise.
69888         * libio/iofsetpos64.c: Likewise.
69889         * sysdeps/wordsize-64/lockf.c: File removed.
69890         * sysdeps/wordsize-64/lockf64.c: File removed.
69891         * sysdeps/wordsize-64/fseeko.c: File removed.
69892         * sysdeps/wordsize-64/fseeko64.c: File removed.
69893         * sysdeps/wordsize-64/ftello.c: File removed.
69894         * sysdeps/wordsize-64/ftello64.c: File removed.
69895         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69896         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69897         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69898         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69899         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69900         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69901         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69902         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69903         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69904         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69905         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69906         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69907         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69908         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69910         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69911         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69912         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69913         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69914         [defined __arch64__ || defined __sparcv9]
69915         (__OFF_T_MATCHES_OFF64_T): New macro.
69916         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69917         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69918         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69919         (__OFF_T_MATCHES_OFF64_T): New macro.
69921 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69923         * stdlib/secure-getenv.c (__secure_getenv): Replace
69924         GLIBC_2_16 with GLIBC_2_17.
69926 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69928         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69929         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69931 2012-08-03  David S. Miller  <davem@davemloft.net>
69933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69935 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69937         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69938         Remove.
69939         (__ASSUME_CORRECT_SI_PID): Likewise.
69940         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69941         (__ASSUME_TMPFS_NAME): Likewise.
69942         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69943         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69944         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69945         (HAVE_AUX_SECURE): Make definition unconditional.
69946         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69947         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69949 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69951         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69952         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69953         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69954         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69955         __eloop_threshold instead of SYMLOOP_MAX.
69957         * sysdeps/generic/eloop-threshold.h: New file.
69958         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69959         of MAXSYMLINKS.
69960         * elf/chroot_canon.c (chroot_canon): Likewise.
69962 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69964         [BZ #13717]
69965         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69966         Change to 2.6.0 everywhere.
69967         * sysdeps/unix/sysv/linux/configure: Regenerated.
69968         * sysdeps/unix/sysv/linux/kernel-features.h
69969         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69970         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69971         kernel versions.
69972         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69973         (__ASSUME_FUTEX_REQUEUE): Remove.
69974         (__ASSUME_STATFS64): Define unconditionally.
69975         (__ASSUME_AT_SECURE): Likewise.
69976         (__ASSUME_CORRECT_SI_PID): Likewise.
69977         (__ASSUME_TGKILL): Define without depending on kernel version for
69978         i386.
69979         (__ASSUME_UTIMES): Likewise.
69980         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69981         kernel version.
69982         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69983         (__ASSUME_TMPFS_NAME): Likewise.
69984         * README: Update reference to Linux kernel versions.
69986 2012-08-02  Marek Polacek  <polacek@redhat.com>
69988         [BZ# 14150]
69989         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69990         libc_cv_asm_type_prefix with %.
69991         * configure: Regenerated.
69992         * include/libc-symbols.h: Remove comment about
69993         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69994         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69995         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69996         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69997         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69998         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69999         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
70000         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
70001         * elf/tst-unique2mod1.c: Likewise.
70002         * elf/tst-unique1mod2.c: Likewise.
70003         * elf/tst-unique1mod1.c: Likewise.
70004         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
70005         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
70006         Replace ASM_TYPE_DIRECTIVE with .type.
70007         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70008         * sysdeps/i386/sysdep.h: Likewise.
70009         * sysdeps/x86_64/sysdep.h: Likewise.
70010         * sysdeps/sh/sysdep.h: Likewise.
70011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70012         Do not define ASM_TYPE_DIRECTIVE.
70013         * sysdeps/powerpc/sysdep.h: Likewise.
70014         * sysdeps/powerpc/powerpc32/sysdep.h:
70015         Replace ASM_TYPE_DIRECTIVE with .type.
70016         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70017         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70018         * sysdeps/i386/fpu/e_powf.S: Likewise.
70019         * sysdeps/i386/fpu/e_expl.S: Likewise.
70020         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70021         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70022         * sysdeps/i386/fpu/e_pow.S: Likewise.
70023         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70024         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70025         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70026         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70027         * sysdeps/i386/fpu/e_log2.S: Likewise.
70028         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70029         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70030         * sysdeps/i386/fpu/e_powl.S: Likewise.
70031         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70032         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70033         * sysdeps/i386/fpu/e_logl.S: Likewise.
70034         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70035         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70036         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70037         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70038         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70039         * sysdeps/i386/fpu/e_log.S: Likewise.
70040         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70041         * sysdeps/i386/fpu/e_logf.S: Likewise.
70042         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70043         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70044         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70045         * sysdeps/i386/fpu/e_log10.S: Likewise.
70046         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70047         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70048         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70049         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70050         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70051         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70052         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70053         * sysdeps/i386/i686/strtok.S: Likewise.
70054         * sysdeps/i386/i386-mcount.S: Likewise.
70055         * sysdeps/i386/strtok.S: Likewise.
70056         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70057         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70058         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70059         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70060         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70061         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70062         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70063         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70064         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70065         * sysdeps/x86_64/_mcount.S: Likewise.
70066         * sysdeps/x86_64/strtok.S: Likewise.
70067         * sysdeps/sh/_mcount.S: Likewise.
70069 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70071         * libio/iofopen.c: Include <fcntl.h>.
70072         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70073         (_IO_fopen64, fopen64): Define as aliases.
70074         * libio/iofopen64.c: Include <fcntl.h>.
70075         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70076         Conditionalize body on this.
70077         * sysdeps/wordsize-64/iofopen.c: File removed.
70078         * sysdeps/wordsize-64/iofopen64.c: File removed.
70080 2012-08-01  Marek Polacek  <polacek@redhat.com>
70082         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70083         Use dlfcn directly instead of a variable.
70084         (binfmt-subdir): Do not define.
70085         (dlfcn): Likewise.
70087 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70090         Remove all definitions.
70091         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70092         <kernel-features.h>.
70093         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70094         (miss_F_GETOWN_EX): Remove all definitions.
70095         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70096         macro definition.
70097         [!__ASSUME_FCNTL64]: Remove conditional code.
70098         [__ASSUME_FCNTL64]: Make code unconditional.
70099         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70100         <kernel-features.h>.
70101         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70102         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70103         (lockf64) [__NR_fcntl64]: Make code unconditional.
70104         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70106         * sysdeps/unix/sysv/linux/kernel-features.h
70107         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70108         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70109         Make code unconditional.
70110         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70111         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70113         [__NR_vfork]: Make code unconditional.
70114         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70115         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70117         [__NR_vfork]: Make code unconditional.
70118         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70119         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70121 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70123         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70124         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70126         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70127         Define mkstemp64 as an alias.
70128         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70129         Define mkstemps64 as an alias.
70130         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70131         Define mkostemp64 as an alias.
70132         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70133         Define mkostemps64 as an alias.
70134         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70135         Conditionalize body on this.
70136         * misc/mkostemp64.c: Likewise.
70137         * misc/mkostemps64.c: Likewise.
70138         * misc/mkstemps64.c: Likewise.
70139         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70140         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70141         * sysdeps/wordsize-64/mkostemp.c: File removed.
70142         * sysdeps/wordsize-64/mkstemp.c: File removed.
70143         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70144         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70145         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70146         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70148         [BZ #14138]
70149         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70150         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70151         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70152         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70154         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70155         compat_symbol macros from <shlib-compat.h> rather than the underlying
70156         default_symbol_version and symbol_version macros, so that DEFAULT
70157         lines in shlib-versions are respected.
70158         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70160 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70162         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70163         Declare with warn_unused_result.
70164         (setgid, setregid, setegid, setresgid): Likewise.
70165         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70166         Likewise.
70167         * WUR-REPORT: Remove set*id functions.
70169 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70171         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70173 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70175         [BZ #10191]
70176         * include/sys/socket.h (__libc_accept, __libc_accept4):
70177         Add attribute_hidden.
70178         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70180         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70181         use of PTR_MANGLE.
70182         * inet/getnetgrent_r.c (setup): Likewise.
70184         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70186 2012-07-31  David S. Miller  <davem@davemloft.net>
70188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70190 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70192         [BZ #13629]
70193         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70194         value between 1.0 and 2.0 and smaller part has absolute value less
70195         than 1.0.
70196         * math/s_clog10.c (__clog10): Likewise.
70197         * math/s_clog10f.c (__clog10f): Likewise.
70198         * math/s_clog10l.c (__clog10l): Likewise.
70199         * math/s_clogf.c (__clogf): Likewise.
70200         * math/s_clogl.c (__clogl): Likewise.
70201         * math/libm-test.inc (clog_test): Add more tests.
70202         (clog10_test): Likewise.
70203         * sysdeps/i386/fpu/libm-test-ulps: Update.
70204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70206 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70208         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70209         Exit with zero in case no suitable GID is found, and write a
70210         message to standard error.
70212 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70214         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70215         rather than to 1.
70216         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70217         (MAXPATHLEN): Removed.
70218         (NOGROUP, NODEV): New macros.
70219         (setbit, clrbit, isset, isclr): New macros.
70220         (howmany, roundup, powerof2): New macros.
70221         (DEV_BSIZE): New macro.
70223         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70224         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70226         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70227         definition on [!__NO_LONG_DOUBLE_MATH].
70229         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70230         PTR_MANGLE and PTR_DEMANGLE.
70232         * socket/accept4.c (accept4): Rename to __libc_accept4.
70233         Define accept4 as a weak alias.
70235         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70236         on [_DIRENT_HAVE_D_TYPE].
70237         * io/ftw.c (ftw_dir): Likewise.
70239         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70241         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70243         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70244         Use the BSD numbers rather than the arbitrary ones we had.
70245         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70246         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70247         (SIGXCPU, SIGXFSZ): New macros.
70248         (_NSIG): Now 32.
70250         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70251         initializer on [_LIBC_REENTRANT].
70253         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70254         definitions inside [_POSIX_MAPPED_FILES].
70256         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70258         * dirent/opendir.c: Include <fcntl.h>.
70260         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70261         (__libc_getspecific): Likewise.
70262         (__libc_key_create): Likewise.
70264         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70265         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70266         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70267         (tmpfile64): Define as alias.
70268         * sysdeps/wordsize-64/tmpfile.c: File removed.
70269         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70270         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70271         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70273         * stdio-common/vfscanf.c: Include <stdbool.h>.
70274         * nss/makedb.c: Likewise.
70275         * stdio-common/_i18n_number.h: Likewise.
70276         * argp/argp-help.c: Likewise.
70277         * posix/wordexp.c: Likewise.
70278         * sysdeps/posix/spawni.c: Likewise.
70279         * nss/nss_files/files-initgroups.c: Likewise.
70280         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70281         * nss/nss_files/files-initgroups.c: Likewise.
70282         * nss/nss_db/db-netgrp.c: Likewise.
70283         * nss/nss_db/db-initgroups.c: Likewise.
70284         * io/fchmodat.c: Include <sys/stat.h>.
70286         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70287         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70289         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70290         [HAVE_MMAP].
70292         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70293         Add multiple inclusion protection.
70295 2012-07-27  David S. Miller  <davem@davemloft.net>
70297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70299 2012-07-27  Gary Benson  <gbenson@redhat.com>
70301         [BZ #14298]
70302         * elf/rtld.c: Include <stap-probe.h>.
70303         (dl_main): Added static probes "init_start" and "init_complete".
70304         * elf/dl-load.c: Include <stap-probe.h>.
70305         (lose): Take new parameter "nsid".
70306         Added static probe "map_failed".
70307         (_dl_map_object_from_fd): Pass namespace id to lose.
70308         Added static probe "map_start".
70309         (open_verify): Pass namespace id to lose.
70310         * elf/dl-open.c: Include <stap-probe.h>.
70311         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70312         and "reloc_complete".
70313         * elf/dl-close.c: Include <stap-probe.h>.
70314         (_dl_close_worker): Added static probes "unmap_start" and
70315         "unmap_complete".
70316         * elf/rtld-debugger-interface.txt: New file documenting the above.
70318 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70320         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70321         rather than a string variable.
70322         * sunrpc/rpc_main.c (h_output): Likewise.
70323         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70325 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70327         * inet/check_native.c: New file.
70329 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70331         [BZ #13629]
70332         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70333         if larger part has absolute value 1.0.
70334         * math/s_clog10.c (__clog10): Likewise.
70335         * math/s_clog10f.c (__clog10f): Likewise.
70336         * math/s_clog10l.c (__clog10l): Likewise.
70337         * math/s_clogf.c (__clogf): Likewise.
70338         * math/s_clogl.c (__clogl): Likewise.
70339         * math/libm-test.inc (clog_test): Add more tests.
70340         (clog10_test): Likewise.
70341         * sysdeps/i386/fpu/libm-test-ulps: Update.
70342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70344         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
70345         (pltexit): Likewise.
70346         (La_regs): Likewise.
70347         (La_retval): Likewise.
70348         (int_retval): Likewise.
70349         Update #error for removed macros to refer only to definitions in
70350         tst-audit.h.
70351         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
70352         macro.
70353         (pltexit): Likewise.
70354         (La_regs): Likewise.
70355         (La_retval): Likewise.
70356         (int_retval): Likewise.
70357         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
70358         macro.
70359         (pltexit): Likewise.
70360         (La_regs): Likewise.
70361         (La_retval): Likewise.
70362         (int_retval): Likewise.
70363         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
70364         macro.
70365         (pltexit): Likewise.
70366         (La_regs): Likewise.
70367         (La_retval): Likewise.
70368         (int_retval): Likewise.
70369         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
70370         macro.
70371         (pltexit): Likewise.
70372         (La_regs): Likewise.
70373         (La_retval): Likewise.
70374         (int_retval): Likewise.
70375         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
70376         macro.
70377         (pltexit): Likewise.
70378         (La_regs): Likewise.
70379         (La_retval): Likewise.
70380         (int_retval): Likewise.
70381         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
70382         macro.
70383         (pltexit): Likewise.
70384         (La_regs): Likewise.
70385         (La_retval): Likewise.
70386         (int_retval): Likewise.
70387         * sysdeps/generic/tst-audit.h: Update comment to refer only to
70388         macro definitions in tst-audit.h.
70389         * sysdeps/i386/tst-audit.h: New file.
70390         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
70391         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
70392         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
70393         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
70394         * sysdeps/sh/tst-audit.h: Likewise.
70395         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
70396         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
70397         * sysdeps/x86_64/tst-audit.h: Likewise.
70399 2012-07-26  Andreas Jaeger  <aj@suse.de>
70401         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
70402         ptrace.
70404         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
70405         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
70406         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
70407         PTRACE_O_MASK.
70408         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
70409         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
70410         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70412         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
70413         value.
70415         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
70416         _sigsys.
70417         (si_call_addr, si_syscall, si_arch): Define new macro.
70418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
70419         _sigsys.
70420         (si_call_addr, si_syscall, si_arch): Define new marcro.
70421         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70422         _sigsys.
70423         (si_call_addr, si_syscall, si_arch): Define new macro.
70424         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70425         _sigsys.
70426         (si_call_addr, si_syscall, si_arch): Define new macro.
70428 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70430         [BZ #13717]
70431         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70432         Change to 2.4.21 where previously 2.4.1.
70433         * sysdeps/unix/sysv/linux/configure: Regenerated.
70434         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70435         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70436         Linux kernel version.
70437         (__ASSUME_STD_AUXV): Remove.
70438         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70439         kernel version.
70440         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70441         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70442         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70443         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70444         (__ASSUME_NETLINK_SUPPORT): Likewise.
70445         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70446         (__no_netlink_support): Remove conditional definition.
70447         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70448         Remove.
70449         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70450         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70451         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70452         (if_nameindex_ioctl): Remove.
70453         (if_nameindex_netlink): Do not handle __no_netlink_support.
70454         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70455         code.
70456         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70457         Remove conditional code.
70458         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70459         code.
70460         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70461         unconditional.
70462         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70463         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70464         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70465         Remove.
70466         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70467         [!__ASSUME_STD_AUXV]: Remove conditional code.
70468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70469         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70470         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70472         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70473         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70474         code.
70475         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70477         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70478         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70479         conditional code.
70480         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70482         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70483         code.
70484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70485         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70486         conditional code.
70487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70488         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70489         code unconditional.
70490         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70491         conditional code.
70492         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70493         unconditional.
70494         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70495         conditional code.
70496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70497         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70498         unconditional.
70499         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70500         conditional code.
70501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70502         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70503         code unconditional.
70504         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70505         conditional code.
70506         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70507         unconditional.
70508         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70509         conditional code.
70510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70511         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70512         code unconditional.
70513         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70514         conditional code.
70515         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70516         unconditional.
70517         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70518         conditional code.
70520 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70522         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70523         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70524         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70525         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70526         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70527         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70528         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70529         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70530         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70531         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70532         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70533         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70534         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70535         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70536         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70537         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70538         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70539         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70540         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70541         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70542         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70543         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70544         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70546 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70548         * Versions.def: Add GLIBC_2.17.
70549         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70550         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70551         Introduce __libc_secure_getenv.
70552         * stdlib/Versions (2.17): Add secure_getenv
70553         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70554         * stdlib/secure-getenv.c: Rename __secure_getenv to
70555         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70556         symbol __secure_getenv for GLIBC_2.0.
70557         * stdlib/tst-secure-getenv.c: New.
70558         * stdlib/Makefile (tests): Add testcase.
70559         * manual/startup.texi (Environment Access): Document
70560         secure_getenv.
70561         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70562         __libc_secure_getenv.
70563         * inet/ruserpass.c (ruserpass): Likewise.
70564         * malloc/mtrace.c (mtrace): Likewise.
70565         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70566         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70567         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70568         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70569         HAVE_SECURE_GETENV.
70570         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70571         __secure_getenv to __libc_secure_getenv.
70572         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70574         Likewise.
70575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70576         Likewise.
70577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70585 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70587         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70588         (struct La_i86_retval): Likewise.
70589         (struct La_x86_64_regs): Likewise.
70590         (struct La_x86_64_retval): Likewise.
70591         (struct La_x32_regs): Likewise.
70592         (struct La_x32_retval): Likewise.
70593         (struct La_ppc32_regs): Likewise.
70594         (struct La_ppc32_retval): Likewise.
70595         (struct La_ppc64_regs): Likewise.
70596         (struct La_ppc64_retval): Likewise.
70597         (struct La_sh_regs): Likewise.
70598         (struct La_sh_retval): Likewise.
70599         (struct La_s390_32_regs): Likewise.
70600         (struct La_s390_32_retval): Likewise.
70601         (struct La_s390_64_regs): Likewise.
70602         (struct La_s390_64_retval): Likewise.
70603         (struct La_sparc32_regs): Likewise.
70604         (struct La_sparc32_retval): Likewise.
70605         (struct La_sparc64_regs): Likewise.
70606         (struct La_sparc64_retval): Likewise.
70607         (struct audit_ifaces): Remove architecture-specific pltenter and
70608         pltexit members.
70609         * sysdeps/i386/ldsodefs.h: New file.
70610         * sysdeps/powerpc/ldsodefs.h: Likewise.
70611         * sysdeps/s390/ldsodefs.h: Likewise.
70612         * sysdeps/sh/ldsodefs.h: Likewise.
70613         * sysdeps/sparc/ldsodefs.h: Likewise.
70614         * sysdeps/x86_64/ldsodefs.h: Likewise.
70616 2012-07-25  Marek Polacek  <polacek@redhat.com>
70618         [BZ #6808]
70619         * math/libm-test.inc (yn_test): Add another test.
70620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70621         to ERANGE when the result is +-Inf.
70622         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70623         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70624         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70625         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70627 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70629         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70630         equal to 0.
70631         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70632         clock_t.
70633         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70635 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70637         * configure.in <sysdeps resolving>: Correct printing
70638         Implies_before.
70639         * configure: Regenerate.
70641 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70643         * math/w_ilogb.c: Include <limits.h>.
70644         * math/w_ilogbl.c: Likewise.
70646 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70648         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70649         va_copy.  Document allowing for unavailable va_copy only as
70650         pre-C99 compatibility.
70651         * manual/string.texi (Copying and Concatenation): Use va_copy
70652         instead of __va_copy in concat example.
70654 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70656         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70657         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70658         it if not null.
70660         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70661         with O_NOLINK passed to __file_name_lookup.
70663         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70664         with O_NOLINK passed to __file_name_lookup.
70666         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70667         negative N or less than NGIDS.
70669         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70670         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70671         enough.  Use memcpy instead of strncpy.
70673 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70675         * elf/Makefile (check-data): Remove.
70676         (localplt.data): New vpath directive.
70677         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70678         instead of $(check-data).
70679         * scripts/data/localplt-generic.data: Move to ...
70680         * sysdeps/generic/localplt.data: ... here.
70681         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70682         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70683         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70685         ... here.
70686         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70688         ... here.
70689         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70691         ... here.
70692         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70694         ... here.
70695         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70697         ... here.
70698         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70700         ... here.
70702 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70704         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70705         PPC32 and PPC64 files.
70706         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70707         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70709 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70711         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70712         __makecontext_ret to ...
70713         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70714         ... here and call exit if uc_link is NULL.  New file.
70715         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70716         __makecontext_ret.S.
70717         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70718         __makecontext_ret to ...
70719         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70720         ... here and call exit if uc_link is NULL.  New file.
70721         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70722         __makecontext_ret.S.
70724 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70726         * elf/elf.h (R_390_IRELATIVE): New definition.
70727         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70728         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70729         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70730         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70731         (elf_machine_lazy_rel): Likewise.
70732         * sysdeps/s390/dl-irel.h: New file.
70733         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70734         * sysdeps/s390/s390-64/memset.S: New asm code.
70735         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70736         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70737         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70738         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70739         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70740         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70741         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70742         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70743         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70744         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70745         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70746         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70747         * sysdeps/s390/s390-32/memset.S: New asm code.
70748         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70750 2012-07-17  Marek Polacek  <polacek@redhat.com>
70752         [BZ #14349]
70753         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70754         * sysdeps/s390/s390-64/configure.in: Likewise.
70755         * sysdeps/sparc/configure.in: Likewise.
70756         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70757         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70758         * sysdeps/i386/configure.in: Likewise.
70759         * sysdeps/x86_64/configure.in: Likewise.
70760         * sysdeps/sh/configure.in: Likewise.
70761         * sysdeps/s390/s390-32/configure: Regenerated.
70762         * sysdeps/s390/s390-64/configure: Likewise.
70763         * sysdeps/x86_64/configure: Likewise.
70764         * sysdeps/sh/configure: Likewise.
70765         * sysdeps/powerpc/powerpc64/configure: Likewise.
70766         * sysdeps/powerpc/powerpc32/configure: Likewise.
70767         * sysdeps/sparc/configure: Likewise.
70768         * sysdeps/i386/configure: Likewise.
70770         * elf/dl-open.c: Comment fixes.
70772 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70774         * Makefile [CXX] (check-data): Remove.
70775         [CXX] (c++-types.data): New vpath directive.
70776         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70777         vpath.  Do not allow for C++ type data being missing.
70778         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70779         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70780         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70781         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70782         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70783         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70784         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70786         ... here.
70787         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70789         ... here.
70790         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70792         ... here.
70793         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70795         ... here.
70796         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70798         ... here.
70799         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70801         ... here.
70802         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70804         ... here.
70805         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70808         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70809         definitions to architecture-specific files.
70810         (TLS_IE): Likewise.
70811         (TLS_LD): Likewise.
70812         (TLS_GD): Likewise.
70813         * sysdeps/i386/tls-macros.h: New file.
70814         * sysdeps/powerpc/tls-macros.h: Likewise.
70815         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70816         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70817         * sysdeps/sh/tls-macros.h: Likewise.
70818         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70819         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70820         * sysdeps/x86_64/tls-macros.h: Likewise.
70822 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70824         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70825         zero value for regular exit case.
70827         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70828         (__start_context): Preserve zero value for regular exit case.
70830 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70831             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70833         * manual/setjmp.texi (setcontext): Clarify normal process
70834         termination when uc_link is the null pointer.
70835         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70836         exit call.
70838 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70840         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70841         preprocessor.  Test for each exception mask separately.
70843 2012-07-16  Andreas Jaeger  <aj@suse.de>
70845         * po/ru.po: Update from translation team.
70847 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70849         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70850         equal to 0.
70851         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70852         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70853         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70854         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70857 2012-07-13  Andreas Jaeger  <aj@suse.de>
70859         * po/fr.po: Update from translation team.
70861 2012-07-12  Marek Polacek  <polacek@redhat.com>
70863         [BZ #14173]
70864         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70865         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70866         loop condition.
70868 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70870         [BZ #13717]
70871         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70872         Change to 2.4.1 where previously 2.4.0.
70873         * sysdeps/unix/sysv/linux/configure: Regenerated.
70874         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70875         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70876         version.
70877         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70878         (__ASSUME_AT_CLKTCK): Remove.
70879         (__ASSUME_AT_PAGESIZE): Likewise.
70880         (__ASSUME_AT_XID): Likewise.
70881         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70882         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70883         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70884         unconditionally.
70885         (HAVE_AUX_PAGESIZE): Likewise.
70886         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70887         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70888         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70890 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70892         [BZ #14307]
70893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70894         the temporary buffer used to invoke __gethostbyname2_r,
70895         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70896         host_data / struct gaih_addrtuple.
70897         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70898         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70899         header file nss/nsswitch.h.
70900         * nss/nsswitch.h (global scope): Add definition of implementation
70901         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70902         resolv/nss_dns/dns-host.c).
70904 2012-07-11  Andreas Jaeger  <aj@suse.de>
70906         * po/fr.po: Update from translation team.
70908         * po/sv.po: Update from translation team
70909         * po/fr.po: Another update from translation team.
70911 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70913         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70914         for subnormals or multiply small sinh result by itself.
70915         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70918 2012-07-11  David S. Miller  <davem@davemloft.net>
70920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70922 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70924         [BZ #14347]
70925         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70926         (INTERNAL_MARK): Shift it here.
70928 2012-07-10  Marek Polacek  <polacek@redhat.com>
70930         [BZ #14151]
70931         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70932         libc_cv_asm_global_directive with .globl.
70933         * configure: Regenerated.
70934         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70935         with .globl.
70936         * sysdeps/i386/configure: Regenerated.
70937         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70938         with .globl.
70939         * sysdeps/x86_64/configure: Regenerated.
70940         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70941         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70942         * elf/tst-unique2mod2.c: Likewise.
70943         * elf/tst-unique2mod1.c: Likewise.
70944         * elf/tst-unique1mod2.c: Likewise.
70945         * elf/tst-unique1mod1.c: Likewise.
70946         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70947         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70948         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70949         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70950         * sysdeps/mach/sysdep.h: Likewise.
70951         * sysdeps/i386/sysdep.h: Likewise.
70952         * sysdeps/i386/i386-mcount.S: Likewise.
70953         * sysdeps/x86_64/_mcount.S: Likewise.
70954         * sysdeps/x86_64/sysdep.h: Likewise.
70955         * sysdeps/sh/_mcount.S: Likewise.
70956         * sysdeps/sh/sysdep.h: Likewise.
70957         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70958         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70959         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70960         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70961         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70962         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70963         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70964         * locale/localeinfo.h: Likewise.
70965         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70966         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70968 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70970         [BZ #14336]
70971         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70972         system".
70973         * manual/message.texi (The Uniforum approach): Likewise.
70974         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70975         (glibc iconv Implementation): Likewise.
70977 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70979         [BZ #14337]
70980         * math/s_clog.c (__clog): Avoid scaling a value down where that
70981         could result in underflow.
70982         * math/s_clog10.c (__clog10): Likewise.
70983         * math/s_clog10f.c (__clog10f): Likewise.
70984         * math/s_clog10l.c (__clog10l): Likewise.
70985         * math/s_clogf.c (__clogf): Likewise.
70986         * math/s_clogl.c (__clogl): Likewise.
70987         * math/libm-test.inc (clog_test): Add more tests.
70988         (clog10_test): Likewise.
70989         * sysdeps/i386/fpu/libm-test-ulps: Update.
70990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70992 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70994         [BZ #14283]
70995         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70996         by 7 not 8 to examine high bit of fractional part.
70998         [BZ #14042]
70999         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
71000         for call to __mcount_internal.
71001         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
71002         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
71003         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
71005 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
71007         [BZ #14154]
71008         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71009         approximation for values within 0x1p-13f of an odd multiple of
71010         pi/4.
71011         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71012         exception.  Add more tests.
71013         * sysdeps/i386/fpu/libm-test-ulps: Update.
71015         [BZ #6778]
71016         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71017         inputs and return -1 for them.  Do not check for +Inf in case not
71018         reachable for +Inf.
71019         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71020         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71021         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71022         and return -1 for them.  Do not check for +Inf in case not
71023         reachable for +Inf.
71024         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71025         define.
71026         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71027         and return -1 for them.  Do not check for +Inf in case not
71028         reachable for +Inf.
71029         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71030         spurious underflow.
71031         * sysdeps/i386/fpu/libm-test-ulps: Update.
71032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71034 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71036         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71038 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71040         [BZ #14157]
71041         [BZ #14331]
71042         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71043         could result in spurious underflow.  Scale down values above
71044         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71045         * math/s_csqrtf.c (__csqrtf): Likewise.
71046         * math/s_csqrtl.c (__csqrtl): Likewise.
71047         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71048         spurious underflow.
71049         * sysdeps/i386/fpu/libm-test-ulps: Update.
71050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71052 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71054         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71055         xopen-msg.sed.
71056         * catgets/xopen-msg.awk: New file.
71057         * catgets/xopen-msg.sed: Removed.
71059         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71060         po2text.sed.
71061         * intl/po2test.awk: New file.
71062         * intl/po2test.sed: Removed.
71064 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71066         [BZ #14328]
71067         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71068         or multiply small sinh result by itself.
71069         * math/s_ctanf.c (__ctanf): Likewise.
71070         * math/s_ctanh.c (__ctanh): Likewise.
71071         * math/s_ctanhf.c (__ctanhf): Likewise.
71072         * math/s_ctanhl.c (__ctanhl): Likewise.
71073         * math/s_ctanl.c (__ctanl): Likewise.
71074         * math/libm-test.inc (ctan_test_tonearest): New function.
71075         (ctan_test_towardzero): Likewise.
71076         (ctan_test_downward): Likewise.
71077         (ctan_test_upward): Likewise.
71078         (ctanh_test_tonearest): Likewise.
71079         (ctanh_test_towardzero): Likewise.
71080         (ctanh_test_downward): Likewise.
71081         (ctanh_test_upward): Likewise.
71082         (main): Call these new functions.
71083         * sysdeps/i386/fpu/libm-test-ulps: Update.
71084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71086 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71088         * .gitignore: Delete /ports entry.
71090 2012-07-03  Andreas Jaeger  <aj@suse.de>
71092         * po/bg.po: Update from translation team.
71093         * po/cs.po: Likewise.
71094         * po/de.po: Likewise.
71095         * po/hr.po: Likewise.
71096         * po/nl.pl: Likewise.
71097         * po/pl.po: Likewise.
71098         * po/vi.po: Likewise.
71100 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71102         * Makeconfig [!+link] (+link-before-libc): New variable.
71103         [!+link] (+link-after-libc): Likewise.
71104         [!+link] (+link-tests): Likewise.
71105         [!+link] (+link): Define in terms of $(+link-before-libc) and
71106         $(+link-after-libc).
71107         [!+link-static] (+link-static-before-libc): New variable.
71108         [!+link-static] (+link-static-after-libc): Likewise.
71109         [!+link-static] (+link-static-tests): Likewise.
71110         [!+link-static] (+link-static): Define in terms of
71111         $(+link-static-before-libc) and $(+link-static-after-libc).
71112         [build-shared] (link-libc-before-gnulib): New variable.
71113         [build-shared] (link-libc-tests): Likewise.
71114         [build-shared] (link-libc): Define in terms of
71115         $(link-libc-before-gnulib).
71116         [!build-shared] (link-libc-tests): New variable.
71117         (link-libc-static-tests): New variable.
71118         [!gnulib] (gnulib-arch): New variable.
71119         [!gnulib] (gnulib-tests): Likewise.
71120         [!gnulib] (static-gnulib-arch): Likewise.
71121         [!gnulib] (static-gnulib-tests): Likewise.
71122         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71123         Define with "=" instead of ":=".
71124         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71125         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71126         * Rules (binaries-all-notests): New variable.
71127         (binaries-all-tests): Likewise.
71128         (binaries-static-notests): Likewise.
71129         (binaries-static-tests): Likewise.
71130         (binaries-all): Define using $(binaries-all-notests) and
71131         $(binaries-all-tests).
71132         (binaries-static): Define using $(binaries-static-notests) and
71133         $(binaries-static-tests).
71134         (binaries-shared-tests): New variable.
71135         (binaries-shared-notests): Likewise.
71136         (binaries-shared): Remove variable.
71137         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71138         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71139         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71140         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71141         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71142         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71143         * elf/Makefile (sln-modules): New variable.
71144         (extra-objs): Add $(sln-modules:=.o).
71145         (ldconfig-modules): Add static-stubs.
71146         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71147         * elf/static-stubs.c: New file.
71149         [BZ #14283]
71150         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71151         by 7 not 8 to examine high bit of fractional part.  Use volatile
71152         variables when splitting into final array of floats if
71153         __FLT_EVAL_METHOD__ != 0.
71154         * math/libm-test.inc (cos_test): Add another test.
71155         (sin_test): Likewise.
71156         * sysdeps/i386/fpu/libm-test-ulps: Update.
71158         [BZ #14273]
71159         * math/libm-test.inc (cosh_test): Add more tests.
71161         * version.h (RELEASE): Set to "development".
71162         (VERSION): Set to "2.16.90".
71164 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71166         * NEWS: Update copyright. Remove last-updated date.
71167         Mention math library bug fixes and timezone data changes.
71168         * README: Mention GNU/Hurd, x32, and HPPA support status.
71170 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71172         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71174 2012-06-27  Andreas Jaeger  <aj@suse.de>
71176         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71178 2012-06-25  Andreas Jaeger  <aj@suse.de>
71180         * sysdeps/s390/fpu/libm-test-ulps: Update.
71182 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71183             Thomas Schwinge  <thomas@codesourcery.com>
71185         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71186         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71187         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71188         fanotify_mark.
71190 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71192         * sysdeps/mach/start.c: Remove file.
71193         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71194         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71195         * sysdeps/sh/init-first.c: Likewise.
71197         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71198         registers for frame unwinding purposes, add CFI directives.
71199         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71200         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71201         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71202         Likewise.
71204         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71205         __fortify_fail returning.
71206         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71208         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71209         sysdeps/sh/____longjmp_chk.S.
71210         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71211         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71212         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71213         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71215         * sysdeps/sh/abort-instr.h: New file.
71216         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71217         process in case exit returns.
71219         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71220         initialize the GOT register before use.
71222         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71223         calculation of ARGC > 4.
71225         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71226         meaningful names to some local labels.
71228 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71229             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71231         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71232         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71233         (__arch_compare_and_exchange_val_16_acq): Likewise.
71234         (__arch_compare_and_exchange_val_32_acq): Likewise.
71235         (atomic_exchange_and_add): Fix gUSA sequence.
71236         (atomic_add): Likewise.
71237         (atomic_add_negative): Likewise.
71238         (atomic_add_zero): Likewise.
71239         (atomic_bit_test_set): Likewise.
71241 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71243         [BZ #13579]
71244         * include/link.h (struct link_map): Add l_free_initfini.
71245         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71246         l_initfini.
71247         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71248         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71249         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71250         set.
71252 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71254         * configure.in: Use AC_LANG_SOURCE.
71255         * configure: Regenerate.
71257 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71259         * configure.in (libc_cv_localstatedir): New substituted variable.
71260         * configure: Regenerated.
71261         * config.make.in (localstatedir): New variable, substituted from
71262         libc_cv_localstatedir.
71263         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71264         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71265         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71266         * sysdeps/gnu/configure: Regenerated.
71268 2012-06-21  Jeff Law  <law@redhat.com>
71270         [BZ #14277]
71271         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71272         free.  Simplify list management for _LIBC case.
71274 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71276         [BZ #14273]
71277         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71278         Clear sign bit of 64-bit integer value before comparing against
71279         overflow value.
71281         * sysdeps/mach/configure: Regenerated.
71283 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71285         [BZ #14278]
71286         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71288 2012-06-21  Jeff Law  <law@redhat.com>
71290         [BZ #13882]
71291         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71292         uint16_t for elements in the "seen" array to avoid char overflows.
71293         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71294         * elf/dl-open.c (dl_open_worker): Likewise.
71296 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71298         * scripts/list-sources.sh: Scan PORTS for translations.
71299         * po/libc.pot: Regenerated.
71301 2012-06-21  Andreas Jaeger  <aj@suse.de>
71303         [BZ #12194]
71304         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71305         warning.
71306         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71307         * bits/byteswap-16.h (__bswap_16): Likewise.
71308         * bits/byteswap.h (__bswap_constant_16): Likewise.
71310 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71312         [BZ #14117]
71313         * sysdeps/i386/fpu_control.h: Removed.
71314         * sysdeps/x86_64/fpu_control.h: Moved to ...
71315         * sysdeps/x86/fpu_control.h: Here.
71317         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71318         (_FPU_SETCW): Likewise.
71320 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71322         [BZ #14117]
71323         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71324         * sysdeps/x86/fpu/bits/mathinline.h: This.
71325         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71327         [BZ #14050]
71328         [BZ #14117]
71329         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71330         functions if __x86_64__ is defined.
71332 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71334         * string/endian.h: Add !__ASSEMBLER__ condition for including
71335         conversion interfaces.
71337 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71339         [BZ #14241]
71340         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71341         of ABS(x) in calculating zero to negative powers other than odd
71342         integers.
71343         * math/libm-test.inc (pow_test): Add more tests.
71345 2012-06-15  Andreas Jaeger  <aj@suse.de>
71347         * manual/contrib.texi (Contributors): Update entry of Liubov
71348         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
71349         Machado Filho.
71351 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
71353         * string/string.h: Add __wur to GNU version of strerror_r.
71355 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
71357         [BZ #14229]
71358         * string/Makefile (tests): Add tst-strtok_r.
71359         * string/tst-strtok_r.c: New file.
71360         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
71361         RAX_LP/RDX_LP on SAVE_PTR.
71363 2012-06-14  Roland McGrath  <roland@hack.frob.com>
71365         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
71367 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
71369         * libm_test.inc (csqrt_test): Allow more spurious underflow
71370         exceptions.
71371         (j0_test): Likewise.
71372         (j1_test): Likewise.
71373         (y0_test): Likewise.
71374         (y1_test): Likewise.
71376 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
71378         * po/Makefile (libc.pot): Use UTF-8 charset.
71380 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
71382         [BZ #14210]
71383         Suppress sign-conversion warning from FD_SET.
71384         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
71385         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
71386         not unsigned long int.
71387         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
71389 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
71391         [BZ #14050]
71392         [BZ #14117]
71393         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
71394         __extern_always_inline instead of __extern_inline.
71395         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
71396         (__signbit): Likewise.
71397         (__signbitl): Support C++ namespace.
71398         (lrintf): New inline function.
71399         (lrint): Likewise.
71400         (llrintf): Likewise.
71401         (llrint): Likewise.
71402         (fmaxf): Likewise.
71403         (fmax): Likewise.
71404         (fminf): Likewise.
71405         (fmin): Likewise.
71406         (rint): Likewise.
71407         (rintf): Likewise.
71408         (ceil): Likewise.
71409         (ceilf): Likewise.
71410         (floor): Likewise.
71411         (floorf): Likewise.
71412         (nearbyint): Likewise.
71413         (nearbyintf): Likewise.
71415 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
71417         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
71418         non-default versions.
71420 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71422         [BZ #14218]
71423         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71425 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71427         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71428         (FE_UPWARD, FE_DOWNWARD): Don't define.
71429         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71430         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71432         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71433         reading it.
71434         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71435         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71437 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71439         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71441         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71442         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71444 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71446         [BZ #14117]
71447         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71448         * sysdeps/i386/fpu/Implies: New file.
71449         * sysdeps/x86_64/fpu/Implies: Likewise.
71450         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71451         * sysdeps/x86/fpu/bits/fenv.h: This.
71453         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71454         __SSE_MATH__.
71456 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71458         [BZ #14134]
71459         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71460         character 0xffff that matches the last element of the
71461         conversion table.
71463 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71465         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71466         fmodl commit.
71468 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71470         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71471         values higher than 25.6283.
71473 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71475         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71476         subnormal exponent extraction and add some __builtin_expect.
71477         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71478         Fix for subnormal mantissa calculation.
71480 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71482         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71483         cpu2 is -1 and errno is not ENOSYS.
71485 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71487         [BZ #14117]
71488         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71489         * sysdeps/x86/bits/string.h: This.
71490         * sysdeps/x86_64/bits/string.h: Removed.
71492         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71493         if not compiling for x86-64, but compiling for >= i486.
71495         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71496         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71498         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71499         New macro from Linux kernel 3.4.0.
71500         (FP_XSTATE_MAGIC2): Likewise.
71501         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71502         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71503         (struct _fpx_sw_bytes): New struct.
71504         (struct _xsave_hdr): Likewise.
71505         (struct _ymmh_state): Likewise.
71506         (struct _xstate): Likewise.
71508         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71509         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71510         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71511         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71512         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71513         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71515         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71516         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71517         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71518         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71519         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71520         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71522 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71524         [BZ #13743]
71525         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71526         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71527         (sysdep_headers): Include sys/platform/ppc.h.
71528         * sysdeps/powerpc/test-gettimebase.c: Test for
71529         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71530         * manual/Makefile (appendices): Include platform.texi.
71531         * manual/contrib.texi (Contributors): Update @node pointers.
71532         * manual/maint.texi (Maintenance): Likewise.
71533         (Platform): New node.
71534         * manual/platform.texi: New file.  Document the new features.
71536 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71537             Jakub Jelinek  <jakub@redhat.com>
71539         [BZ #14188]
71540         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71541         where __builtin_expect is unavailable.
71543 2012-06-03  David S. Miller  <davem@davemloft.net>
71545         * stdlib/longlong.h: Updated from GCC.
71547 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71549         [BZ #14042]
71550         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71551         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71552         __mcount_internal.
71553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71554         (GLIBC_2.16): Likewise.
71556 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71558         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71560 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71563         (default-abi): New variable.
71564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71565         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71566         variable.
71567         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71568         Likewise.
71569         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71570         Likewise.
71571         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71572         Likewise.
71574         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71575         definition.  Document in comment.
71577 2012-06-01  David S. Miller  <davem@davemloft.net>
71579         * stdlib/longlong.h: Updated from GCC.
71581 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71583         [BZ #14117]
71584         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71585         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71586         sys/debugreg.h sys/io.h here.
71587         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71588         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71589         sys/io.h.
71590         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71591         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71592         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71593         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71594         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71595         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71597         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71598         Define only if __x86_64__ is defined.
71600 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71602         [BZ #14048]
71603         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71604         Use int64_t for variable i.
71605         * math/libm-test.inc (fmod_test): Add more tests.
71607         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71608         z computation is not scheduled after fetestexcept.
71609         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71610         Use math_force_eval instead of asm to ensure calculation scheduled
71611         before exception test.
71612         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71613         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71615 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71618         computation is not scheduled after fetestexcept.
71620 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71622         [BZ #14117]
71623         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71624         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71626 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71628         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71629         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71631 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71633         [BZ #14117]
71634         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71635         <bits/wordsize.h>.
71636         (__WCHAR_MIN): Support __WORDSIZE == 64.
71637         (__WCHAR_MAX): Likewise.
71639         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71640         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71642         [BZ #14183]
71643         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71644         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71646         [BZ #14117]
71647         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71648         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71650         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71651         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71653         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71654         Defined to 1 if __x86_64__ isn't defined.
71655         (_STAT_VER_LINUX_OLD): New.
71656         (st_atime): Remove duplicate.
71657         (st_mtime): Likewise.
71658         (st_ctime): Likewise.
71660 2012-05-31  David S. Miller  <davem@davemloft.net>
71662         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71663         entries.
71665 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71667         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71668         gen-libm-test.pl.
71670         [BZ #14132]
71671         * elf/dl-reloc.c: Include <_itoa.h>.
71672         (_dl_reloc_bad_type): Remove use of INTUSE.
71673         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71674         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71675         * stdio-common/psiginfo.c (psiginfo): Likewise.
71676         * stdio-common/psignal.c (psignal): Likewise.
71677         * string/strsignal.c (strsignal): Likewise.
71678         * include/signal.h (_sys_siglist): Declare hidden proto.
71679         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71680         INTVARDEF with libc_hidden_data_def.
71681         * stdio-common/itoa-udigits.c: Likewise.
71682         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71683         (_itoa_lower_digits_internal): Remove declaration.
71684         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71685         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71686         (_sys_sigabbrev_internal): Remove aliases.
71687         (_sys_siglist): Define hidden alias.
71689 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71692         bits/sysctl.h.
71694 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71696         [BZ #14117]
71697         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71698         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71700         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71701         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71702         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71703         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71705         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71707         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71708         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71709         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71711         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71712         with __addr.
71713         (insw): Likewise.
71714         (insl): Likewise.
71715         (outsb): Likewise.
71716         (outsw): Likewise.
71717         (outsl): Likewise.
71719         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71720         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71721         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71723         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71724         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71725         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71726         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71727         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71728         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71730         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71731         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71733         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71734         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71736         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71737         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71738         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71740         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71741         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71742         to ...
71743         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71745         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71746         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71747         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71749         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71750         for x86-64.
71751         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71753 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71755         * math/math.h (M_El): Use two more decimal places.
71756         (M_LOG2El): Likewise.
71757         (M_LOG10El): Likewise.
71758         (M_LN2l): Likewise.
71759         (M_LN10l): Likewise.
71760         (M_PIl): Likewise.
71761         (M_PI_2l): Likewise.
71762         (M_PI_4l): Likewise.
71763         (M_1_PIl): Likewise.
71764         (M_2_PIl): Likewise.
71765         (M_2_SQRTPIl): Likewise.
71766         (M_SQRT2l): Likewise.
71767         (M_SQRT1_2l): Likewise.
71769 2012-05-31  David S. Miller  <davem@davemloft.net>
71771         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71772         values between float registers.
71773         * sysdeps/sparc/sparc64/memset.S: Likewise.
71774         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71776 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71778         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71779         -D_FORTIFY_SOURCE=1.
71780         (CPPFLAGS-tst-longjmp_chk.c): Define.
71781         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71782         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71783         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71784         CFLAGS-tst-wchar-h.c.
71786 2012-05-31  Marek Polacek  <polacek@redhat.com>
71788         [BZ #14132]
71789         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71790         __endmntent_internal): Remove declaration.
71791         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71792         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71793         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71795 2012-05-30  David S. Miller  <davem@davemloft.net>
71797         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71798         (___Q_simulate_exceptions): Use real FP ops rather than writing
71799         into the %fsr.
71800         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71801         Likewise.
71803 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71805         [BZ #14117]
71806         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71807         * sysdeps/x86/bits/xtitypes.h: This.
71809         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71810         * sysdeps/x86/bits/wordsize.h: This.
71812         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71813         * sysdeps/x86/bits/huge_vall.h: This.
71815         * sysdeps/i386/bits/select.h: Removed.
71816         * sysdeps/x86_64/bits/select.h: Renamed to ...
71817         * sysdeps/x86/bits/select.h: This.
71819         * sysdeps/i386/bits/setjmp.h: Removed.
71820         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71821         * sysdeps/x86/bits/setjmp.h: This.
71823         * sysdeps/i386/bits/mathdef.h: Removed.
71824         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71825         * sysdeps/x86/bits/mathdef.h: This.
71827 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71829         [BZ #14132]
71830         * include/sys/socket.h (__connect_internal)
71831         (__libc_sa_len_internal): Remove declaration.
71832         (__connect, __libc_sa_len): Declare hidden_proto.
71833         (SA_LEN): Remove use of INTUSE.
71834         * socket/connect.c: Add libc_hidden_def.
71835         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71836         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71837         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71838         alias.
71839         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71840         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71841         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71842         of adding _internal alias.
71844 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71846         [BZ #14117]
71847         * sysdeps/i386/bits/link.h: Removed.
71848         * sysdeps/i386/bits/linkmap.h: Likewise.
71849         * sysdeps/x86_64/bits/link.h: Renamed to ...
71850         * sysdeps/x86/bits/link.h: This.
71851         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71852         * sysdeps/x86/bits/linkmap.h: This.
71854         * sysdeps/i386/bits/endian.h: Removed.
71855         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71856         * sysdeps/x86/bits/endian.h: This.
71858         * sysdeps/i386/bits/byteswap.h: Removed.
71859         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71860         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71861         * sysdeps/x86/bits/byteswap.h: This.
71862         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71863         * sysdeps/x86/bits/byteswap-16.h: This.
71864         * sysdeps/i386/Implies: Add x86.
71865         * sysdeps/x86_64/Implies: Likewise.
71867 2012-05-30  David S. Miller  <davem@davemloft.net>
71869         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71870         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71871         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71872         (FP_TRAPPING_EXCEPTIONS): Define.
71873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71874         (FP_TRAPPING_EXCEPTIONS): Define.
71875         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71876         subnormals only when inexact has been signalled or underflow
71877         exceptions are enabled.
71878         (_FP_PACK_CANONICAL): Likewise.
71880 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71882         [BZ #14183]
71883         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71884         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71886 2012-05-30  Richard Henderson  <rth@twiddle.net>
71888         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71889         with #ifndef NOT_IN_libc.
71891         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71892         marked to avoid plt entry.
71894 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71896         [BZ #14112]
71897         * Makeconfig (default-abi): New macro.
71898         (abi-includes): Likewise.
71899         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71900         $(abi-$(default-abi)-lib-soname) for soname if defined.
71901         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71902         abi-variants.
71903         * Makefile (installed-stubs): Likewise.
71904         * include/stubs-biarch.h: Removed.
71905         * scripts/lib-names.awk: Only handle one library at a time.
71906         * scripts/soversions.awk: Remove WORDSIZE support.
71907         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71908         entries.
71909         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71910         Removed.
71911         (syscall-list-default-condition): Likewise.
71912         (syscall-list-default-condition): Likewise.
71913         (syscall-list-includes): Likewise.
71914         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71915         syscall-list-* with abi-*.  Handle undefined abi-variants.
71916         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71917         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71918         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71919         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71920         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71921         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71922         Removed.
71923         (syscall-list-32-options): Likewise.
71924         (syscall-list-32-condition): Likewise.
71925         (syscall-list-64-options): Likewise.
71926         (syscall-list-64-condition): Likewise.
71927         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71928         macro.
71929         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71930         Renamed to ...
71931         (abi-*): This.
71932         (abi-64-ld-soname): New macro.
71933         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71934         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71935         Renamed to ...
71936         (abi-*): This.
71937         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71938         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71940 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71942         * sysdeps/unix/sysv/linux/kernel-features.h
71943         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71944         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71945         include <kernel-features.h>.
71946         [!__NR_ftruncate64]: Remove conditional code.
71947         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71948         [__NR_ftruncate64]: Make code unconditional.
71949         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71950         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71951         include <kernel-features.h>.
71952         [!__NR_ftruncate64]: Remove conditional code.
71953         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71954         [__NR_ftruncate64]: Make code unconditional.
71955         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71957         include <kernel-features.h>.
71958         [!__NR_ftruncate64]: Remove conditional code.
71959         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71960         [__NR_ftruncate64]: Make code unconditional.
71961         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71963         include <kernel-features.h>.
71964         [!__NR_ftruncate64]: Remove conditional code.
71965         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71966         [__NR_ftruncate64]: Make code unconditional.
71967         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71969         * configure.in (libc_cv_fpie): Weaken to a compile test using
71970         LIBC_TRY_CC_OPTION.
71971         * configure: Regenerated.
71973 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71979         Refreshed.
71980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71986         Refreshed.
71988 2012-05-27  David S. Miller  <davem@davemloft.net>
71990         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71991         (___Q_zero): New.
71992         (__Q_simulate_exceptions): Return void.  Change to simulate
71993         exceptions by writing into the %fsr.
71994         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71995         (__Qp_handle_exceptions): Likewise.
71996         (numbers): Delete.
71997         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71998         __Qp_handle_exceptions.
71999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
72000         __Qp_handle_exceptions.
72001         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72002         as unused and give dummy FP_RND_NEAREST initializer.
72003         (FP_INHIBIT_RESULTS): Define.
72004         (___Q_simulate_exceptions): Update declaration.
72005         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
72006         formatting.
72007         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72008         as unused and give dummy FP_RND_NEAREST initializer.
72009         (__Qp_handle_exceptions): Update declaration.
72010         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72011         formatting.
72013 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72015         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72016         the temporary FPU control word.
72017         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72018         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72019         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72020         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72021         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72022         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72023         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72024         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72025         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72026         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72027         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72029 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72031         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72032         fields.
72034 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72036         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72037         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72038         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72039         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72040         Likewise.
72041         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72042         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72043         Likewise.
72045 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72047         * po/h.po: Update from translation team.
72049 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72051         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72053         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72054         handling of denormals.
72055         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72056         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72057         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72058         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72062         Likewise.
72064 2012-05-26  Marek Polacek  <polacek@redhat.com>
72066         [BZ #14152]
72067         * math/libm-test.inc (fma_test): Don't always expect underflow
72068         exception.
72070 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72072         [BZ #12416]
72073         * elf/tst-execstack.c: Include stackinfo.h.
72074         (do_test): Adjust test case to ensure that pthread_getattr_np
72075         behaviour remains the same after marking stack executable.
72077 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72079         * sysdeps/unix/sysv/linux/kernel-features.h
72080         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72081         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72082         kernel-features.h.
72083         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72084         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72085         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72086         kernel-features.h.
72087         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72088         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72090 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72092         * configure.in: Define the default includes to being none.
72093         * configure: Regenerated.
72095 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72097         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72098         * sysdeps/x86_64/setjmp.S: Likewise.
72099         * sysdeps/i386/bsd-setjmp.S: Likewise.
72100         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72101         * sysdeps/i386/setjmp.S: Likewise.
72102         * sysdeps/i386/__longjmp.S: Likewise.
72103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72104         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72106         * include/stap-probe.h: New file.
72107         * configure.in: Handle --enable-systemtap.
72108         * configure: Regenerated.
72109         * config.h.in (USE_STAP_PROBE): New #undef.
72110         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72111         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72112         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72114 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72116         [BZ #13717]
72117         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72118         to 2.4.0 where earlier.
72119         * sysdeps/unix/sysv/linux/configure: Regenerated.
72120         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72121         <kernel-features.h>.
72122         [__ASSUME_32BITUIDS]: Make code unconditional.
72123         [!__ASSUME_32BITUIDS]: Remove conditional code.
72124         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72125         <kernel-features.h>.
72126         [__ASSUME_32BITUIDS]: Make code unconditional.
72127         [!__ASSUME_32BITUIDS]: Remove conditional code.
72128         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72129         [__ASSUME_32BITUIDS]: Make code unconditional.
72130         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72131         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
72164         <kernel-features.h>.
72165         [__ASSUME_32BITUIDS]: Make code unconditional.
72166         [!__ASSUME_32BITUIDS]: Remove conditional code.
72167         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
72168         <kernel-features.h>.
72169         [__ASSUME_32BITUIDS]: Make code unconditional.
72170         [!__ASSUME_32BITUIDS]: Remove conditional code.
72171         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
72172         <kernel-features.h>.
72173         [__NR_setresgid] (__setresgid): Do not declare.
72174         [__ASSUME_32BITUIDS]: Make code unconditional.
72175         [!__ASSUME_32BITUIDS]: Remove conditional code.
72176         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72177         <kernel-features.h>.
72178         [__NR_setresuid] (__setresuid): Do not declare.
72179         [__ASSUME_32BITUIDS]: Make code unconditional.
72180         [!__ASSUME_32BITUIDS]: Remove conditional code.
72181         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
72214         <kernel-features.h>.
72215         [__ASSUME_32BITUIDS]: Make code unconditional.
72216         [!__ASSUME_32BITUIDS]: Remove conditional code.
72217         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72218         <kernel-features.h>.
72219         [__ASSUME_32BITUIDS]: Make code unconditional.
72220         [!__ASSUME_32BITUIDS]: Remove conditional code.
72221         * sysdeps/unix/sysv/linux/kernel-features.h
72222         (__ASSUME_SETRESUID_SYSCALL): Remove.
72223         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72224         (__ASSUME_32BITUIDS): Likewise.
72225         (__ASSUME_LDT_WORKS): Likewise.
72226         (__ASSUME_O_DIRECTORY): Likewise.
72227         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72228         architecture but not kernel version.
72229         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72230         (__ASSUME_MMAP2_SYSCALL): Likewise.
72231         (__ASSUME_STAT64_SYSCALL): Likewise.
72232         (__ASSUME_IPC64): Likewise.
72233         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72234         <kernel-features.h>.
72235         [__ASSUME_32BITUIDS]: Make code unconditional.
72236         [!__ASSUME_32BITUIDS]: Remove conditional code.
72237         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72238         <kernel-features.h>.
72239         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72240         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72241         132096]: Remove conditional code.
72242         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72243         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72244         <kernel-features.h>.
72245         [__ASSUME_32BITUIDS]: Make code unconditional.
72246         [!__ASSUME_32BITUIDS]: Remove conditional code.
72247         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72248         <kernel-features.h>.
72249         [__ASSUME_32BITUIDS]: Make code unconditional.
72250         [!__ASSUME_32BITUIDS]: Remove conditional code.
72251         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72252         <kernel-features.h>.
72253         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72254         unconditional.
72255         (__setresgid): Do not declare.
72256         [__ASSUME_32BITUIDS]: Make code unconditional.
72257         [!__ASSUME_32BITUIDS]: Remove conditional code.
72258         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72259         <kernel-features.h>.
72260         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72261         unconditional.
72262         (__setresuid): Do not declare.
72263         [__ASSUME_32BITUIDS]: Make code unconditional.
72264         [!__ASSUME_32BITUIDS]: Remove conditional code.
72265         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72266         <kernel-features.h>.
72267         [__ASSUME_32BITUIDS]: Make code unconditional.
72268         [!__ASSUME_32BITUIDS]: Remove conditional code.
72269         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72270         <kernel-features.h>.
72271         [__ASSUME_32BITUIDS]: Make code unconditional.
72272         [!__ASSUME_32BITUIDS]: Remove conditional code.
72274 2012-05-25  Richard Henderson  <rth@twiddle.net>
72276         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72277         dl_hwcap to ifunc resolver.
72278         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72279         elf_ifunc_invoke.
72280         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72281         dl_hwcap to ifunc resolver.
72282         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72284 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72286         [BZ #14153]
72287         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72288         for |x| <= 2**-26, not 2**-57.
72289         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72290         exception.
72292 2012-05-24  Jeff Law  <law@redhat.com>
72294         * stdio-common/Makefile (tests): Add bug25.
72295         * stdio-common/bug25.c: New test.
72297 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72299         [BZ #13576]
72300         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72301         multiple of MALLOC_ALIGNMENT in size.
72302         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72304 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72306         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72307         Require >= 256.
72308         (FILENAME_MAX): Use macro-int-constant.
72309         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72310         (_IOFBF): Use macro-int-constant.
72311         (_IOLBF): Likewise.
72312         (_IONBF): Likewise.
72313         (SEEK_CUR): Likewise.
72314         (SEEK_END): Likewise.
72315         (SEEK_SET): Likewise.
72316         (TMP_MAX): Likewise.
72317         (EOF): Use macro-int-constant.  Require < 0.
72318         (NULL): Use macro-constant.  Require == 0.
72319         (stdin): Require type to be FILE *.
72320         (stdout): Likewise.
72321         (stderr): Likewise.
72322         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72323         macro-int-constant.
72324         (EXIT_SUCCESS): Likewise.
72325         (NULL): Use macro-constant.  Require == 0.
72326         (RAND_MAX): Use macro-int-constant.
72327         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72328         [C99-based standards] (strtof): Require function.
72329         [C99-based standards] (strtold): Likewise.
72330         [C99-based standards] (strtoll): Likewise.
72331         [C99-based standards] (strtoull): Likewise.
72332         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72333         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72334         [ISO || ISO99 || ISO11] (math.h): Likewise.
72335         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72336         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72337         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72339 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72341         [BZ #14132]
72342         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72343         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72344         * intl/dgettext.c (DCGETTEXT): Likewise.
72345         * intl/gettext.c (DCGETTEXT): Likewise.
72346         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
72347         * posix/regex_internal.h (gettext): Likewise.
72348         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
72349         Remove declaration.
72350         * include/argz.h (__argz_count_internal)
72351         (__argz_stringify_internal): Remove declaration.
72352         (__argz_count, __argz_stringify): Declare hidden proto.
72353         * intl/dcgettext.c: Remove use of INTDEF.
72354         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72355         * string/argz-stringify.c: Likewise.
72356         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72357         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72358         Declare hidden proto.
72359         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72360         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72361         Declare hidden proto.
72362         * include/stdio.h (__asprintf_internal): Don't declare.
72363         (__asprintf): Don't define as macro.  Declare hidden proto.
72364         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
72365         (__fsetlocking): Declare hidden proto.
72366         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
72367         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72368         hidden proto.
72369         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
72370         (_IO_setlinebuf): Remove use of INTUSE.
72371         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
72372         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
72373         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
72374         Remove declaration.
72375         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
72376         (_IO_do_flush): Remove use of INTUSE.
72377         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
72378         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
72379         (_IO_adjust_column, _IO_least_wmarker)
72380         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
72381         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
72382         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
72383         (_IO_default_doallocate, _IO_wdefault_doallocate)
72384         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
72385         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
72386         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
72387         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
72388         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
72389         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
72390         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
72391         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
72392         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
72393         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
72394         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
72395         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
72396         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
72397         proto.
72398         (_IO_flush_all_internal, _IO_adjust_column_internal)
72399         (_IO_default_uflow_internal, _IO_default_finish_internal)
72400         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
72401         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
72402         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
72403         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
72404         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
72405         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
72406         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
72407         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
72408         (_IO_file_close_internal, _IO_file_close_it_internal)
72409         (_IO_file_underflow_internal, _IO_file_overflow_internal)
72410         (_IO_file_init_internal, _IO_file_attach_internal)
72411         (_IO_file_fopen_internal, _IO_file_read_internal)
72412         (_IO_file_sync_internal, _IO_file_seek_internal)
72413         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
72414         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
72415         (_IO_str_underflow_internal, _IO_str_overflow_internal)
72416         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
72417         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
72418         (_IO_list_all_internal, _IO_link_in_internal)
72419         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
72420         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
72421         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72422         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72423         (_IO_do_write_internal, _IO_padn_internal)
72424         (_IO_getline_info_internal, _IO_getline_internal)
72425         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72426         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72427         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72428         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72429         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72430         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72431         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72432         with libc_hidden_ver, remove use of INTUSE.
72433         * libio/genops.c: Likewise.
72434         * libio/freopen.c: Likewise.
72435         * libio/freopen64.c: Likewise.
72436         * libio/iofclose.c: Likewise.
72437         * libio/iofdopen.c: Likewise.
72438         * libio/iofflush.c: Likewise.
72439         * libio/iofflush_u.c: Likewise.
72440         * libio/iofgets.c: Likewise.
72441         * libio/iofgets_u.c: Likewise.
72442         * libio/iofopen.c: Likewise.
72443         * libio/iofopncook.c: Likewise.
72444         * libio/iofread.c: Likewise.
72445         * libio/iofread_u.c: Likewise.
72446         * libio/ioftell.c: Likewise.
72447         * libio/iofwrite.c: Likewise.
72448         * libio/iogetline.c: Likewise.
72449         * libio/iogets.c: Likewise.
72450         * libio/iogetwline.c: Likewise.
72451         * libio/iopadn.c: Likewise.
72452         * libio/iopopen.c: Likewise.
72453         * libio/ioseekoff.c: Likewise.
72454         * libio/ioseekpos.c: Likewise.
72455         * libio/iosetbuffer.c: Likewise.
72456         * libio/iosetvbuf.c: Likewise.
72457         * libio/ioungetc.c: Likewise.
72458         * libio/ioungetwc.c: Likewise.
72459         * libio/iovdprintf.c: Likewise.
72460         * libio/iovsprintf.c: Likewise.
72461         * libio/iovsscanf.c: Likewise.
72462         * libio/memstream.c: Likewise.
72463         * libio/obprintf.c: Likewise.
72464         * libio/oldfileops.c: Likewise.
72465         * libio/oldiofclose.c: Likewise.
72466         * libio/oldiofdopen.c: Likewise.
72467         * libio/oldiofopen.c: Likewise.
72468         * libio/oldiopopen.c: Likewise.
72469         * libio/oldstdfiles.c: Likewise.
72470         * libio/putc.c: Likewise.
72471         * libio/setbuf.c: Likewise.
72472         * libio/setlinebuf.c: Likewise.
72473         * libio/stdfiles.c: Likewise.
72474         * libio/strops.c: Likewise.
72475         * libio/vasprintf.c: Likewise.
72476         * libio/vscanf.c: Likewise.
72477         * libio/vsnprintf.c: Likewise.
72478         * libio/vswprintf.c: Likewise.
72479         * libio/wfiledoalloc.c: Likewise.
72480         * libio/wfileops.c: Likewise.
72481         * libio/wgenops.c: Likewise.
72482         * libio/wmemstream.c: Likewise.
72483         * libio/wstrops.c: Likewise.
72484         * libio/__fpurge.c: Likewise.
72485         * libio/__fsetlocking.c: Likewise.
72486         * assert/assert.c: Likewise.
72487         * debug/fgets_chk.c: Likewise.
72488         * debug/fgets_u_chk.c: Likewise.
72489         * debug/fread_chk.c: Likewise.
72490         * debug/fread_u_chk.c: Likewise.
72491         * debug/gets_chk.c: Likewise.
72492         * debug/obprintf_chk.c: Likewise.
72493         * debug/vasprintf_chk.c: Likewise.
72494         * debug/vdprintf_chk.c: Likewise.
72495         * debug/vsnprintf_chk.c: Likewise.
72496         * debug/vsprintf_chk.c: Likewise.
72497         * malloc/mtrace.c: Likewise.
72498         * misc/error.c: Likewise.
72499         * misc/syslog.c: Likewise.
72500         * stdio-common/asprintf.c: Likewise.
72501         * stdio-common/fxprintf.c: Likewise.
72502         * stdio-common/getw.c: Likewise.
72503         * stdio-common/isoc99_fscanf.c: Likewise.
72504         * stdio-common/isoc99_scanf.c: Likewise.
72505         * stdio-common/isoc99_vfscanf.c: Likewise.
72506         * stdio-common/isoc99_vscanf.c: Likewise.
72507         * stdio-common/isoc99_vsscanf.c: Likewise.
72508         * stdio-common/printf-prs.c: Likewise.
72509         * stdio-common/printf_fp.c: Likewise.
72510         * stdio-common/printf_fphex.c: Likewise.
72511         * stdio-common/printf_size.c: Likewise.
72512         * stdio-common/putw.c: Likewise.
72513         * stdio-common/scanf.c: Likewise.
72514         * stdio-common/sprintf.c: Likewise.
72515         * stdio-common/tmpfile.c: Likewise.
72516         * stdio-common/vfprintf.c: Likewise.
72517         * stdio-common/vfscanf.c: Likewise.
72518         * stdlib/strfmon_l.c: Likewise.
72519         * sunrpc/openchild.c: Likewise.
72520         * sunrpc/xdr_stdio.c: Likewise.
72521         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72522         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72524 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72526         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72528         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72529         in the third column, to generate for the shared library an IFUNC
72530         that uses _dl_vdso_vsym.
72531         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72532         * Makeconfig (object-suffixes-noshared): New variable.
72534         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72535         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72536         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72537         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72539         [BZ #14132]
72540         * include/sys/time.h (__gettimeofday): Remove macro.
72541         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72542         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72543         Remove INTDEF.
72544         (__gettimeofday): Add libc_hidden_def.
72545         (gettimeofday): Add libc_hidden_weak.
72546         * sysdeps/mach/gettimeofday.c: Likewise.
72547         * sysdeps/posix/gettimeofday.c: Likewise.
72548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72549         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72550         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72551         (__gettimeofday_internal): Remove strong_alias.
72552         (__gettimeofday): Add libc_hidden_def.
72553         (gettimeofday): Add libc_hidden_weak.
72554         * sysdeps/unix/syscalls.list (gettimeofday):
72555         Remove __gettimeofday_internal alias.
72557 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72558             H.J. Lu  <hongjiu.lu@intel.com>
72560         [BZ #12495]
72561         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72562         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72563         (largebin_index_32_big): New.
72564         (largebin_index): Use it for 16-byte alignment.
72565         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72566         correction with front_misalign.
72568 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72572         Likewise.
72573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72574         Likewise.
72575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72576         Likewise.
72577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72578         Likewise.
72579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72580         Likewise.
72581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72582         Likewise.
72583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72584         Likewise.
72585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72586         Likewise.
72587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72588         Likewise.
72589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72590         Likewise.
72591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72592         Likewise.
72593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72594         Likewise.
72596         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72597         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72599 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72601         [BZ #10846]
72602         [BZ #14036]
72603         * math/libm-test.inc (exp_test): Add test from bug 14036.
72604         (pow_test): Add test from bug 10846.
72606         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72607         and other flags.
72608         (special_function): Do not include flags in test name.
72609         (parse_args): Likewise.
72610         * sysdeps/i386/fpu/libm-test-ulps: Update.
72611         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72612         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72616         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72617         exceptions.
72618         * math/libm-test.inc ("Philosophy"): Update comment about
72619         exception testing.
72620         (UNDERFLOW_EXCEPTION): New macro.
72621         (UNDERFLOW_EXCEPTION_OK): Likewise.
72622         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72623         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72624         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72625         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72626         (INVALID_EXCEPTION_OK): Update value.
72627         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72628         (OVERFLOW_EXCEPTION_OK): Likewise.
72629         (IGNORE_ZERO_INF_SIGN): Likewise.
72630         (test_exceptions): Handle underflow exceptions.
72631         (acos_test): Update for underflow exception expectations.
72632         (cexp_test): Likewise.
72633         (clog_test): Likewise.
72634         (clog10_test): Likewise.
72635         (csqrt_test): Likewise.
72636         (ctan_test): Likewise.
72637         (ctanh_test): Likewise.
72638         (exp_test): Likewise.
72639         (exp10_test): Likewise.
72640         (exp2_test): Likewise.
72641         (expm1_test): Likewise.
72642         (fma_test): Likewise.
72643         (j0_test): Likewise.
72644         (jn_test): Likewise.
72645         (nexttoward_test): Likewise.
72646         (pow_test): Likewise.
72647         (scalbn_test): Likewise.
72648         (scalbln_test): Likewise.
72649         (tan_test): Likewise.
72650         (y1_test): Likewise.
72651         * sysdeps/i386/fpu/libm-test-ulps: Update.
72652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72654 2012-05-23  David S. Miller  <davem@davemloft.net>
72656         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72657         (__libc_sigaction): Remove unused local variables.
72659 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72661         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72663 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72665         mktime: avoid signed integer overflow
72666         * time/mktime.c (__mktime_internal): Do not mishandle the case
72667         where diff == INT_MIN.
72669         mktime: simplify computation of average
72670         * time/mktime.c (ranged_convert): Use new time_t_avg function
72671         instead of rolling our own (probably-slower) code.
72673         mktime: do not assume signed right shift propagates sign bit
72674         * time/mktime.c (isdst_differ): New static function.
72675         (__mktime_internal): No need to normalize tm_isdst now.
72676         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72677         tm_isdst values.
72679         mktime: merge another wrapv change from gnulib
72680         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72681         from some compilers.
72683         mktime: remove incorrect attempt at unusual arithmetics
72684         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72685         The code didn't really work on such machines anyway.
72686         (TYPE_MINIMUM): Assume two's complement.
72687         (twos_complement_arithmetic): Verify that long_int and time_t
72688         are two's complement (or unsigned, in the latter case).
72690         mktime: check signed shifts on long_int and time_t, too
72691         * time/mktime.c (SHR): Check that shifts work as desired
72692         on the types long_int and time_t too, as SHR is used on
72693         such types.
72695         mktime: do not assume 'long' is wide enough
72696         * time/mktime.c (verify): Move decl up.
72697         (long_int): New type.
72698         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72699         to remove assumption in the code that 'long' is wide enough to
72700         store year values.  This assumption is not true on x32 and on
72701         some non-glibc platforms.
72703         mktime: merge wrapv change from gnulib
72704         * time/mktime.c (WRAPV): New macro.
72705         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72706         (guess_time_tm, __mktime_internal): Do not assume that signed
72707         integer overflow wraps around; modern compilers generate code
72708         where this assumption is no longer valid.
72710 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72712         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72713         Replace "jmp L(pseudo_end)" with "ret".
72714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72715         Likewise.
72717 2012-05-23  Andreas Jaeger  <aj@suse.de>
72719         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72720         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72722 2012-05-23  Andreas Jaeger  <aj@suse.de>
72723             Maximilian Attems  <max@stro.at>
72725         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72726         New macros.
72728 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72731         code so that pseudo_end is just ret and the stack pointer is
72732         correct also for static library in error case.
72734 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72736         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72737         move to syscalls.list.
72738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72743         * manual/install.texi (Running make install): Do not mention Linux
72744         kernel version for which pt_chown is not needed.
72745         (Linux): Do not mention problems with nscd with 2.0 kernels.
72746         * INSTALL: Regenerated.
72748 2012-05-23  Andreas Jaeger  <aj@suse.de>
72750         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72751         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72752         macro.
72753         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72754         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72755         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72756         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72757         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72758         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72759         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72760         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72761         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72762         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72763         * sysdeps/unix/sysv/linux/bits/in.h
72764         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72766 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72768         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72769         (PREPARE_VERSION): Just use assert instead, it will be elided
72770         under [NDEBUG] anyway.
72772 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72774         * sysdeps/unix/sysv/linux/Makefile: Include
72775         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72776         (sysdep_routines): Remove sysctl.
72777         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72778         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72779         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72780         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72781         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72783 2012-05-22  Andreas Jaeger  <aj@suse.de>
72785         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72786         that pseudo_end is just ret and the stack pointer is correct also
72787         for static library in error case.
72789 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72791         [BZ #14122]
72792         * nss/nsswitch.c (defconfig_entries): New variable.
72793         (__nss_database_lookup): Don't leak defconfig entries.
72794         (nss_parse_service_list): Don't leak on error paths.
72795         (free_database_entries): New function.
72796         (free_defconfig): New function.
72797         (free_mem): Move common code to free_database_entries.
72799 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72801         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72802         Add arch_prctl.
72803         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72805         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72806         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72808         New macro.
72809         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72810         (INTERNAL_SYSCALL_TYPES): Likewise.
72811         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72812         (LOAD_REGS_TYPES_[1-6]): Likewise.
72813         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72814         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72816 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72818         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72819         copysignl for GLIBC_2_0.
72820         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72821         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72823         logbl for GLIBC_2_0.
72824         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72825         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72827 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72829         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72830         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72832         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72833         Use "neg %eax".
72835         * time/mktime.c: Update copyright years.
72837 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72839         mktime: merge comment-quoting-style change from gnulib
72840         * time/mktime.c: Quote 'like this' in comments.
72841         The GNU coding standards suggest that we no longer quote `like this',
72842         as "`" and "'" are typically rendered asymmetrically nowadays.
72843         The typical gnulib style is to quote 'like this' when quoting
72844         code, and "like this" when quoting English.
72846         * time/mktime.c (compile-command): Add "-I.".
72848         mktime: merge mktime-internal.h change from gnulib
72849         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72851         mktime: merge time_r change from gnulib
72852         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72854         mktime: merge DEBUG change from gnulib
72855         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72856         case system <time.h> has a #define.
72858         mktime: merge <sys/types.h> change from gnulib
72859         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72860         since <time.t> is now guaranteed to define time_t.
72862         mktime: merge HAVE_CONFIG_H change from gnulib
72863         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72865 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72867         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72868         Use "neg %eax".
72870         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72871         __rlim_t cast.
72872         (struct rusage): Use anonymous union to pad each field to
72873         __syscall_slong_t.
72875 2012-05-21  David S. Miller  <davem@davemloft.net>
72877         * Makefules (o-iterator): Remove .s cases.
72878         (compile-command.s): Delete.
72879         (COMPILE.s): Delete.
72880         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72882 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72884         * configure.in (libc_cv_predef_stack_protector): Only consider
72885         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72886         * configure: Regenerated.
72888 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72891         New macro.  Use R*LP on int and pointer.
72892         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72893         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72894         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72895         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72897         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72898         [__WORDSIZE_TIME64_COMPAT32] instead of
72899         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72900         (struct utmp): Likewise.
72901         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72902         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72903         Renamed to ...
72904         (__WORDSIZE_TIME64_COMPAT32): This.
72905         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72906         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72907         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72908         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72909         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72910         (__WORDSIZE_TIME64_COMPAT32): New macro.
72912 2012-05-21  Andreas Jaeger  <aj@suse.de>
72914         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72915         only if [SHARED]. Add prototype for __wcschr_ia32.
72917 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72919         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72920         of %rbp unmolested in the jmp_buf while mangling the low bits.
72921         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72922         unmolested high bits of %rbp while demangling the low bits.
72923         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72925 2012-05-21  Andreas Jaeger  <aj@suse.de>
72927         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72928         * sunrpc/svc_simple.c: Use it for registerrpc.
72929         * sunrpc/xcrypt.c: Use it for passwd2des.
72931         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72933 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72935         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72936         Don't define if [__SYSCALL_WORDSIZE != 32].
72937         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72938         New macro.
72940 2012-05-21  Bruno Haible  <bruno@clisp.org>
72941             Andreas Jaeger  <aj@suse.de>
72943         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72944         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72945         inptr and inend for must_buffer_ch.
72946         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72947         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72948         * stdio-common/Makefile (tests): Remove bug15.
72949         (bug15-ENV): Remove macro.
72950         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72951         anymore.
72953 2012-05-19  Andreas Jaeger  <aj@suse.de>
72954             Roland McGrath  <roland@hack.frob.com>
72956         * manual/contrib.texi: Completely rewritten. It contains now an
72957         alphabetical list of contributors and their contributions.
72959 2012-05-21  Richard Henderson  <rth@twiddle.net>
72961         * misc/getauxval.c (__getauxval): Use unsigned long int.
72962         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72963         (getauxval): Use unsigned long int.
72965 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72967         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72969 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72971         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72972         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72973         __alignof__ (long double).
72975 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72979 2012-05-20  Richard Henderson  <rth@twiddle.net>
72981         * misc/getauxval.c: New file.
72982         * misc/sys/auxv.h: New file.
72983         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72984         (routines): Add getauxval.
72985         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72986         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72987         * elf/dl-sysdep.c (_dl_auxv): Remove.
72988         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72989         * elf/dl-support.c (_dl_auxv): New variable.
72990         (_dl_aux_init): Initialize it.
72991         * manual/startup.texi (Auxiliary Vector): New node.
72992         * sysdeps/generic/bits/hwcap.h: New file.
72993         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72994         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72995         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72996         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72997         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72998         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73000         Update.
73001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
73002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
73003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
73004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
73005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73010 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73014 2012-05-19  David S. Miller  <davem@davemloft.net>
73016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73018 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73020         [BZ #14123]
73021         * math/s_ccosh.c: Include <float.h>
73022         (__ccosh): Avoid internal overflow calculating sinh and cosh
73023         values before multiplying by sin and cos values.
73024         * math/s_ccoshf.c: Likewise.
73025         * math/s_ccoshl.c: Likewise.
73026         * math/s_csin.c: Likewise.
73027         * math/s_csinf.c: Likewise.
73028         * math/s_csinl.c: Likewise.
73029         * math/s_csinh.c: Likewise.
73030         * math/s_csinhf.c: Likewise.
73031         * math/s_csinhl.c: Likewise.
73032         * math/libm-test.inc (ccos_test): Add more tests.
73033         (ccosh_test): Likewise.
73034         (csin_test): Likewise.
73035         (csinh_test): Likewise.
73036         * sysdeps/i386/fpu/libm-test-ulps: Update.
73037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73039 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73041         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73042         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73044         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73046 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73048         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73049         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73050         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73051         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73052         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73053         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73054         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73055         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73056         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73057         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73058         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73059         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73060         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73061         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73062         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73063         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73064         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73065         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73066         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73067         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73068         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73069         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73070         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73071         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73072         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73073         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73074         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73075         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73076         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73077         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73078         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73080 2012-05-18  Andreas Jaeger  <aj@suse.de>
73082         * csu/.gitignore: Delete.
73084 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73086         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73087         (timex): Use __syscall_slong_t.
73089 2012-05-18  Andreas Jaeger  <aj@suse.de>
73090             Carlos O'Donell  <carlos_odonell@mentor.com>
73092         * manual/install.texi (Configuring and compiling): Update
73093         description about files modified in the source directory.
73094         * INSTALL: Regenerated.
73096 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73098         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73099         value.  Use "or" to set return value to -1.
73100         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73101         negate return value.
73103 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73105         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73106         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73107         failure if the compiler has Graphite support disabled.
73108         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73109         Likewise.
73110         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73111         (CFLAGS-memmove.c): Likewise.
73112         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73113         Likewise.
73115 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73117         * sysdeps/x86_64/x32/_itoa.h: New file.
73119         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73120         getdents system call only if kernel and user dirents have the
73121         same d_ino and d_off.
73123         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73124         LLONG_MAX != LONG_MAX.
73125         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73126         (_fitoa_word): Likewise.
73128         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73129         years.
73130         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73131         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73132         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73134         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73135         include <bits/wordsize.h>.  Check __x86_64__ instead of
73136         __WORDSIZE.
73137         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73138         if __x86_64__ is defined.  Use anonymous union on fpstate.
73140         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73141         anonymous union.
73143 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73145         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73146         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73147         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73148         Refer to _rtld_local_ro instead of _rtld_global_ro.
73149         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73150         Likewise.
73151         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73152         Likewise.
73153         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73154         Likewise.
73155         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73156         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73157         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73159         [BZ #10882]
73160         * sysdeps/powerpc/powerpc32/dl-machine.c
73161         (__elf_machine_runtime_setup) [PROF]: Don't reference
73162         _dl_prof_resolve.
73164 2012-05-18  Andreas Jaeger  <aj@suse.de>
73166         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73167         function only available for GCCs before 3.4 since GCC 3.4
73168         introduced a builtin.
73169         (lrint): Likewise.
73170         (llrintf): Likewise.
73171         (llrint): Likewise.
73172         (fmaxf): Likewise.
73173         (fmax): Likewise.
73174         (fminf): Likewise.
73175         (fmin): Likewise.
73176         (rint): Likewise.
73177         (rintf): Likewise.
73178         (nearbyint): Likewise.
73179         (nearbyintf): Likewise.
73180         (ceil): Likewise.
73181         (ceilf): Likewise.
73182         (floor): Likewise.
73183         (floorf): Likewise.
73185 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73187         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73188         on both fields and cast pointer to __syscall_ulong_t.
73190         * bits/types.h (__fsword_t): New type.
73191         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73192         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73193         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73194         (__FSWORD_T_TYPE): Likewise.
73195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73196         (__FSWORD_T_TYPE): Likewise.
73197         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73198         (__FSWORD_T_TYPE): Likewise.
73199         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73200         (__FSWORD_T_TYPE): Likewise.
73201         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73202         __SWORD_TYPE with __fsword_t.
73203         (statfs64): Likewise.
73205 2012-05-17  David S. Miller  <davem@davemloft.net>
73207         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73209 2012-05-17  Andreas Jaeger  <aj@suse.de>
73211         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73212         warning.
73214 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73216         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73218 2012-05-17  Andreas Jaeger  <aj@suse.de>
73220         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73221         when it is used.
73223 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73225         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73227 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73229         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73230         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73232 2012-05-17  Andreas Jaeger  <aj@suse.de>
73233             Carlos O'Donell  <carlos_odonell@mentor.com>
73235         [BZ #14059]
73236         * sysdeps/x86_64/multiarch/init-arch.h
73237         (bit_YMM_Usable): Rename to...
73238         (bit_AVX_Usable): ... this.
73239         (bit_FMA4_Usable): New macro.
73240         (bit_XMM_state): New macro.
73241         (bit_YMM_state): New macro.
73242         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73243         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73244         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73245         (CPUID_OSXSAVE): New macro.
73246         (CPUID_AVX): New macro.
73247         (CPUID_FMA4): New macro.
73248         (index_YMM_Usable): Rename to...
73249         (index_AVX_Usable): ... this.
73250         (HAS_AVX): Use HAS_ARCH_FEATURE.
73251         (HAS_FMA4): Likewise.
73252         (HAS_YMM_USABLE): Remove.
73253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73254         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73255         are present.
73256         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73257         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73258         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73259         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73260         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73262 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73264         * math/libm-test.c: Support platforms without multiple rounding modes.
73265         * math/bug-nextafter.c: Support platforms without FP exceptions.
73266         * math/bug-nexttoward.c: Likewise.
73267         * math/test-fenv.c: Likewise.
73268         * math/test-misc.c: Likewise.
73269         * stdlib/bug-getcontext.c: Likewise.
73271 2012-05-17  Andreas Jaeger  <aj@suse.de>
73273         * manual/examples/search.c (critter_cmp): Change signature to
73274         avoid warnings.
73275         * manual/string.texi (Collation Functions): Likewise.
73277 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73279         * bits/types.h: Fold copyright years.
73280         * bits/typesizes.h: Likewise.
73281         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73283         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73284         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73285         * time/time.h: Likewise.
73287 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73289         [BZ #208]
73290         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73291         in instead of returning them.  Return void.
73292         (__libc_mallinfo): Accumulate over all arenas.
73293         (__malloc_stats): Adjust for change in int_mallinfo interface.
73295 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73297         [BZ #10375]
73298         * configure.in (NM): Add AC_CHECK_TOOL for it.
73299         (libc_extra_cflags): New substituted variable.
73300         Check for -fstack-protector being used implicitly.
73301         * configure: Regenerated.
73302         * config.make.in (config-extra-cflags): New variable,
73303         gets @libc_extra_cflags@.
73304         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73306         [BZ #10375]
73307         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73308         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73309         * configure: Regenerated.
73310         * config.make.in (CPPUNDEFS): New substituted variable.
73311         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73312         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73313         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73317         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73318         (mq_attr): Use __syscall_slong_t.
73320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73322         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73323         Check __x86_64__ instead of __WORDSIZE.
73324         (_STAT_VER_LINUX): Likewise.
73325         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73326         __syscall_ulong_t and __syscall_slong_t.
73327         (stat64): Likewise.
73329 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73331         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73333 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73335         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73337 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73339         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73340         __syscall_ulong_t.
73342         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73343         include <bits/wordsize.h>.  Check __x86_64__ instead of
73344         __WORDSIZE.
73345         (greg_t): Use "__extension__ long long int" if __x86_64__ is
73346         defined.
73347         (mcontext_t): Replace "unsigned long" with "unsigned long long".
73349         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
73350         include <bits/wordsize.h>.  Check __x86_64__ instead of
73351         __WORDSIZE.
73352         (user_regs_struct): Use "__extension__ unsigned long long"
73353         instead of "unsigned long" if __x86_64__ is defined.
73354         (user): Likewise.  Pad after pointer field if __ILP32__ is
73355         defined.
73357 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
73359         * configure.in (makeinfo): Require version 4.5 or later.  Allow
73360         versions 5 to 9.
73361         * configure: Regenerated.
73362         * manual/install.texi (texinfo): Increase version requirement to
73363         4.5 or later.
73364         * INSTALL: Regenerated.
73366         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
73368 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73370         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
73372         * sysdeps/x86_64/x32/ffs.c: New file.
73374         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
73375         __syscall_ulong_t.
73376         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
73377         defined.  Use __syscall_ulong_t.
73378         (shminfo): Use __syscall_ulong_t.
73379         (shm_info): Likewise.
73381         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73382         __syscall_ulong_t.
73384         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
73385         <bits/wordsize.h>.
73386         (msgqnum_t): Use __syscall_ulong_t.
73387         (msglen_t): Likewise.
73388         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
73389         __syscall_ulong_t.
73391         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
73392         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73394         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
73396         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
73397         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
73399         * sysvipc/sys/msg.h (msgbuf): Replace long int with
73400         __syscall_slong_t.
73402         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
73403         include <bits/wordsize.h>.  Check __x86_64__ instead of
73404         __WORDSIZE.
73406         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
73407         "unsigned long long int" if __x86_64__ is defined.
73408         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
73410         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
73411         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73412         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
73414         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
73415         <stdint.h>.
73416         (GET_PC): Cast to uintptr_t first.
73417         (GET_FRAME): Likewise.
73418         (GET_STACK): Likewise.
73420         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
73421         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73422         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73423         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73424         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73425         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73426         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73427         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73428         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73429         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73430         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73431         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73432         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73434         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73435         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73436         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73437         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73438         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73440         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73441         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73442         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73443         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73444         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73445         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73446         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73447         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73448         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73450 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73452         * Makerules (+depfiles): Also collect depfiles from .oS in
73453         $(extra-objs).
73454         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73455         .oS, $(libnldbl-routines)).
73457         * Makerules (native-compile-mkdep-flags): Define.
73458         * sunrpc/Makefile (extra-objs): Add $(addprefix
73459         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73460         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73461         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73462         calling $(make-target-directory).
73464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73466         * bits/types.h (__snseconds_t): Removed.
73467         * time/time.h (struct timespec): Replace __snseconds_t with
73468         __syscall_slong_t.
73469         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73470         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73471         Likewise.
73472         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73473         (__SNSECONDS_T_TYPE): Likewise.
73474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73475         (__SNSECONDS_T_TYPE): Likewise.
73476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73477         (__SNSECONDS_T_TYPE): Likewise.
73479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73481         * sysdeps/mach/hurd/bits/typesizes.h
73482         (__SYSCALL_SLONG_TYPE): New macro.
73483         (__SYSCALL_ULONG_TYPE): Likewise.
73485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73487         * bits/types.h (__syscall_slong_t): New type.
73488         (__syscall_ulong_t): Likewise.
73490         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73491         (__SYSCALL_ULONG_TYPE): Likewise.
73492         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73493         (__SYSCALL_SLONG_TYPE): Likewise.
73494         (__SYSCALL_ULONG_TYPE): Likewise.
73495         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73496         (__SYSCALL_SLONG_TYPE): Likewise.
73497         (__SYSCALL_ULONG_TYPE): Likewise.
73498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73499         (__SYSCALL_SLONG_TYPE): Likewise.
73500         (__SYSCALL_ULONG_TYPE): Likewise.
73502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73504         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73505         Add sigaltstack-offsets.sym.
73506         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73507         <sigaltstack-offsets.h>.
73508         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73509         longjmp_msg pointer.
73510         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73511         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73512         signal stack.
73513         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73515 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73517         * elf/stackguard-macros.h: Remove file.
73518         * sysdeps/generic/stackguard-macros.h: New file.
73519         * sysdeps/i386/stackguard-macros.h: Likewise.
73520         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73521         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73522         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73523         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73524         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73525         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73526         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73527         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73528         <elf/stackguard-macros.h>.
73530         [BZ #14109]
73531         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73532         __aligned__ in attribute.
73533         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73534         (gregset_t): Likewise.
73536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73538         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73539         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73540         * sysdeps/x86_64/x32/Implies-after: New file.
73542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73544         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73545         and access return value for _dl_profile_fixup.  Use R10_LP to
73546         load frame size.
73548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73550         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73554         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73555         * sysdeps/x86_64/x32/sysdep.h: New file.
73557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73559         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73560         * sysdeps/x86_64/setjmp.S: Likewise.
73562 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73564         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73565         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73566         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73567         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73568         remove unused global constant.
73570 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73572         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73573         include of <not-cancel.h>.
73575 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73577         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73579 2012-05-15  Jeff Law  <law@redhat.com>
73580             Andreas Jaeger  <aj@suse.de>
73582         [BZ #13594]
73583         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73584         out from...
73585         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73586         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73587         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73588         code changing __hst_map_handle.map.
73590 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73592         * configure.in (sysnames): Look for Implies-before and Implies-after
73593         files.
73594         * configure: Regenerated.
73596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73598         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73599         8-byte data alignment with LP_SIZE alignment.
73601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73603         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73604         into R10_LP.
73606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73608         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73612         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73613         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73614         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73615         Likewise.
73616         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73620         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73621         (stackinfo_sub_sp): Likewise.
73623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73626         RAX_LP.
73628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73630         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73631         into R*_LP.
73633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73635         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73636         sizes into R*_LP.
73638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73640         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73644         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73645         into R11_LP and load __x86_64_shared_cache_size_half into
73646         R8_LP.
73648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73650         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73651         R8_LP.
73653 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73656         logb for POWER7.
73657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73658         logbf for POWER7.
73659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73660         logbl for POWER7.
73661         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73662         powerpc32/power7/fpu/s_logb.c via #include.
73663         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73664         powerpc32/power7/fpu/s_logbf.c via #include.
73665         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73666         powerpc32/power7/fpu/s_logbl.c via #include.
73668 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73670         * README.libm: Remove file.
73672 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73674         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73675         count for x32.  Use R*_LP and omit operand-size suffix.
73677 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73679         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73680         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73681         * sysdeps/x86_64/x32/shlib-versions: New file.
73683 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73685         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73686         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73687         Use _dl_fatal_printf instead.
73689 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73691         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73692         set if not set by the user.  Do not allow for being unset.
73693         * sysdeps/unix/sysv/linux/configure: Regenerated.
73695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73697         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73698         the `q' suffix from lea and replace .quad with ASM_ADDR.
73700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73703         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73704         instead of $17.
73705         (PTR_DEMANGLE): Likewise.
73707 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73709         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73710         (LP_OP): Likewise.
73711         (ASM_ADDR): Likewise.
73712         (RAX_LP): Likewise.
73713         (RBP_LP): Likewise.
73714         (RBX_LP): Likewise.
73715         (RCX_LP): Likewise.
73716         (RDI_LP): Likewise.
73717         (RSI_LP): Likewise.
73718         (RSP_LP): Likewise.
73719         (R8_LP): Likewise.
73720         (R9_LP): Likewise.
73721         (R10_LP): Likewise.
73722         (R10_LP): Likewise.
73723         (R11_LP): Likewise.
73724         (R12_LP): Likewise.
73725         (R13_LP): Likewise.
73726         (R14_LP): Likewise.
73727         (R15_LP): Likewise.
73729 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73731         * sysdeps/x86_64/x32/dl-machine.h: New file.
73733 2012-05-14  Andreas Jaeger  <aj@suse.de>
73735         * manual/Makefile (subdir): Remove export of subdir.
73736         (all): Remove target.
73737         (.PHONY): Remove all from list.
73738         (mkinstalldirs): Remove.
73739         (.PHONY): Remove installdirs from list.
73740         ($(inst_infodir)/libc.info): Use make-target-directory.
73741         (installdirs): Remove.
73742         (subdir_%): Remove.
73743         (glibc-targets): Remove.
73744         (lib): Remove.
73745         (stubs): Remove.
73746         ($(objpfx)stubs ../po/manual.pot): Remove.
73747         ($(objpfx)stamp%): Remove.
73748         (make-target-directory): Remove.
73749         (subdir_install): Remove.
73750         (routines): Remove.
73751         (aux): Remove.
73752         (sources): Remove.
73753         (objects): Remove.
73754         (headers): Remove.
73756         [BZ #13750]
73757         * manual/.gitignore: Remove, it's not needed anymore.
73758         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73759         all files in it.
73760         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73761         directory.
73762         (texis): Renamed to $(objpfx)texis.
73763         (texis-path): New, contains path to generated files.
73764         (chapters.%): Use texis-path for complete path, add extra argument
73765         libc-texinfo.sh.
73766         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73767         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73768         (summary,texi, stamp-summary): Use complete path of
73769         files. Generate files in build dir.
73770         (dir-add.texi): Build in build dir.
73771         (libm-err.texi,stamp-libm-err): Likewise.
73772         (version.texi, stamp-version): Likewise.
73773         (.%c.texi): Likewise.
73774         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73775         (mostlyclean): Remove target.
73776         (realclean): Remove target.
73777         (generated): Add new variable with contents from mostlyclean and
73778         realclean, remove entries duplicated in common-mostlyclean, add
73779         stamp-libm-err and stamp-version.
73780         (generated-dirs): Add libc directory.
73781         ($(inst_infodir)/libc.info): Install files from build dir.
73783         * manual/install.texi (Configuring and compiling): Adjust since
73784         the info files are not part of the tar ball anymore.
73786 2012-05-14  Andreas Jaeger  <aj@suse.de>
73788         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73789         variable.
73791 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73793         [BZ #13717]
73794         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73795         to 2.2.0 where earlier.
73796         * sysdeps/unix/sysv/linux/configure: Regenerated.
73797         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73798         Remove conditional code.
73799         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73800         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73801         Remove conditional code.
73802         [!__NR_lchown]: Likewise.
73803         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73804         [__NR_lchown]: Likewise.
73805         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73806         comment referencing __ASSUME_LCHOWN_SYSCALL.
73807         * sysdeps/unix/sysv/linux/i386/sigaction.c
73808         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73809         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73810         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73811         Remove conditional code.
73812         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73813         (__protocol_available): Remove #if 0 code.
73814         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73815         conditional code.
73816         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73817         * sysdeps/unix/sysv/linux/kernel-features.h
73818         (__ASSUME_GETCWD_SYSCALL): Don't define.
73819         (__ASSUME_REALTIME_SIGNALS): Likewise.
73820         (__ASSUME_PREAD_SYSCALL): Likewise.
73821         (__ASSUME_PWRITE_SYSCALL): Likewise.
73822         (__ASSUME_POLL_SYSCALL): Likewise.
73823         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73824         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73825         non-SPARC.
73826         (__ASSUME_SIOCGIFNAME): Don't define.
73827         (__ASSUME_MSG_NOSIGNAL): Likewise.
73828         (__ASSUME_SENDFILE): Define unconditionally.
73829         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73830         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73831         conditional code.
73832         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73833         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73834         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73835         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73836         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73837         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73838         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73840         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73841         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73843         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73844         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73846         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73847         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73849         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73850         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73852         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73853         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73855         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73856         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73858         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73859         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73861         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73862         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73863         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73864         Remove conditional code.
73865         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73866         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73867         Remove conditional code.
73868         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73869         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73870         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73871         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73872         Remove conditional code.
73873         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73874         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73875         Remove conditional code.
73876         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73877         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73878         Remove conditional code.
73879         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73880         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73881         Remove conditional code.
73882         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73883         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73884         Remove conditional code.
73885         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73886         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73887         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73889         * sysdeps/unix/sysv/linux/sigaction.c
73890         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73891         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73892         * sysdeps/unix/sysv/linux/sigpending.c
73893         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73894         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73895         * sysdeps/unix/sysv/linux/sigprocmask.c
73896         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73897         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73898         * sysdeps/unix/sysv/linux/sigsuspend.c
73899         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73900         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73901         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73902         (__libc_missing_rt_sigs): Remove.
73903         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73904         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73905         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73906         Remove conditional code.
73907         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73908         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73909         return 1.
73910         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73911         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73912         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73913         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73915 2012-05-14  Andreas Jaeger  <aj@suse.de>
73917         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73918         it's not used in glibc.
73919         (__coshm1): Likewise.
73920         (__acosh1p): Likewise.
73921         (__sgn): Likewise.
73923         * manual/string.texi (Copying and Concatenation): Add missing
73924         variable in concat example.
73925         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73927 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73929         [BZ #14103]
73930         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73931         __builtin_clzl with __builtin_clzll.
73933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73935         [BZ #14104]
73936         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73937         libc_freeres_ptr.
73939 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73941         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73942         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73943         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73944         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73946 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73948         * NEWS: Update ia64 info.
73950 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73952         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73953         used as bcopy.
73955 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73957         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73958         * sysdeps/unix/syscalls.list (dup3): Likewise.
73959         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73960         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73962 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73964         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73965         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73967 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73969         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73970         thread pointer.
73971         (TLS_IE): Use mov/add instead of movq/addq to load thread
73972         pointer.
73973         (TLS_GD_PREFIX): New.
73974         (TLS_GD): Use it.
73976 2012-05-11  David S. Miller  <davem@davemloft.net>
73978         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73979         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73980         (_FPU_SETCW): Likewise.
73982 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73984         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73985         is 32-byte aligned.
73987 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73989         [BZ #11837]
73990         * iconvdata/gb18030.c: Update tables.
73991         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73992         characters specially.
73993         (BODY for TO_LOOP): Add encoding of missing ranges.
73995 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73997         [BZ #13673]
73998         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73999         * sysdeps/mach/hurd/dup3.c: Likewise.
74000         * sysdeps/mach/hurd/readlinkat.c: Likewise.
74001         * sysdeps/powerpc/memmove.c:: Likewise.
74003 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
74006         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74008 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74010         * elf/elf.h (R_X86_64_RELATIVE64): New.
74011         (R_X86_64_NUM): Updated.
74012         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74013         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74014         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74015         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74016         tst-quad1pie tst-quad2pie
74017         (modules-names): Add tst-quadmod1 tst-quadmod2.
74018         ($(objpfx)tst-quad1): New dependency.
74019         ($(objpfx)tst-quad2): Likewise.
74020         ($(objpfx)tst-quad1pie): Likewise.
74021         ($(objpfx)tst-quad2pie): Likewise.
74022         * sysdeps/x86_64/tst-quad1.c: New file.
74023         * sysdeps/x86_64/tst-quad1pie.c: New file.
74024         * sysdeps/x86_64/tst-quad2.c: Likewise.
74025         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74026         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74027         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74028         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74029         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74033         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74034         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74035         * streams/stropts.h (t_scalar_t): Define type.
74037         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74038         (_PATH_PRESERVE): Set to "/var/lib".
74039         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74041         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74042         instead of int.
74044         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74045         if __dir_mkfile succeeded.
74047         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74048         checking for _hurd_dtablesize.  Unlock it right after having
74049         finished _hurd_dtable allocation.
74051 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74053         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74054         * sysdeps/mach/hurd/configure: Regenerated.
74055         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74056         special-casing to...
74057         * sysdeps/gnu/configure.in: ... this new file.
74058         * sysdeps/unix/sysv/linux/configure: Regenerated.
74059         * sysdeps/gnu/configure: New generated file.
74061         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74062         for Linux: use nsec instead of usec, as well as:
74063         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74064         members of type struct timespec.
74065         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74066         New macros.
74067         (struct stat64): Likewise.
74068         (_STATBUF_ST_NSEC): New macro.
74069         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74071         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74072         __strtoul_internal rather than strtoul.
74074 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74076         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74077         and reject them.
74079 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74081         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74082         which preserves existing values.
74083         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74085 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74087         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74088         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74089         greater than FD_SETSIZE.
74091 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74093         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74094         allocated, call __vm_protect to finish enabling the existing space, and
74095         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74096         allocate the remainder.
74098 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74100         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74101         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74103 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74105         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74106         sysdeps/mach/hurd/readlink.c.
74108         * posix/tst-sysconf.c (posix_options): Only use
74109         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74110         _POSIX_SYNCHRONIZED_IO when they are defined
74111         * sysdeps/mach/hurd/bits/posix_opt.h:
74112         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74113         (_XOPEN_REALTIME): Undefine macro.
74114         (_XOPEN_REALTIME_THREADS): Undefine macro.
74115         (_XOPEN_SHM): Undefine macro.
74116         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74117         macro to -1.
74118         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74119         macro to -1.
74120         (_POSIX_ASYNC_IO): Undefine macro.
74121         (_POSIX_PRIORITIZED_IO): Undefine macro.
74122         (_POSIX_SPIN_LOCKS): Define macro to -1.
74124         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74125         SA_NODEFER, SA_RESETHAND.
74126         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74127         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74128         F_DUPFD_CLOEXEC.
74130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74132         * elf/Makefile (pldd-modules): Define unconditionally.
74134 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74136         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74138 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74140         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74141         Return ENOENT when name is empty.
74142         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74146         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74148         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74150 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74152         Fix mlock in all cases except non-readable pages.
74153         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74154         instead of VM_PROT_ALL as parameter to __vm_wire function.
74156         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74157         (__mkdir): When path is `/', just fail with EEXIST.
74158         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74160 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74162         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74163         <sys/uio.h> (for writev).
74164         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74165         and <sys/param.h> (for MIN).
74167 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74169         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74170         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74171         if interrupted.
74173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74175         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74176         Depend on against $(link-rpcuserlibs).
74178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74180         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74181         (__libc_stack_end): Do not use attribute_relro.
74182         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74183         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74184         to libthread-provided value.
74185         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74186         attribute_relro.
74188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74190         [BZ #3748]
74191         * bits/libc-lock.h (__libc_once_get): New macro.
74192         * sysdeps/mach/bits/libc-lock.h: Likewise.
74193         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74194         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74195         instead of using implementation details.
74197         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74198         * libio/freopen.c: Likewise.
74199         * libio/freopen64.c: Likewise.
74200         * misc/syslog.c: Likewise.
74201         * nscd/connections.c: Likewise.
74202         * nscd/netgroupcache.c: Likewise.
74203         * sysdeps/posix/getcwd.c: Likewise.
74205 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74207         * math/w_ilogbf.c: Add #include <limits.h>.
74209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74211         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74212         path instead of returning without unlocking.
74214         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74215         immediate-write ioctls.
74216         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74218 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74220         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74221         __builtin_frame_address instead of making assumptions about the
74222         location of the return address relative to DATA.  Force early load of
74223         the return address.
74224         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74225         __builtin_frame_address.
74227         dup3 for GNU Hurd.
74228         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74229         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74230         implement dup3 and do some further code clean-ups.
74231         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74232         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74236         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74238         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74239         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74240         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74241         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74242         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74243         d->port.lock.
74245         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74246         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74247         when handler == SIG_ERR, not when handler != SIG_ERR.
74249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74251         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74252         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74253         definitions.
74255         accept4 for GNU Hurd.
74256         * include/sys/socket.h (__libc_accept4): New prototype.
74257         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74258         to implement __libc_accept4.
74259         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74260         __libc_accept4.
74261         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74263         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74264         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74265         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74266         signal-defines.sym.
74268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74270         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74274         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74275         assertion on O_CLOEXEC flag.
74276         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74277         * hurd/intern-fd.c: Likewise.
74278         * hurd/port2fd.c: Likewise.
74280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74282         [BZ #3906]
74283         * bits/in.h (IPV6_PKTINFO): Define new macro.
74284         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74286 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74288         [BZ #13954]
74289         [BZ #13955]
74290         [BZ #13956]
74291         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74292         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74293         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74294         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74296         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74297         * math/libm-test.inc (logb_test) : Additional logb tests.
74299 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74300             Andreas Jaeger  <aj@suse.de>
74302         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74303         * configure: Regenerated.
74304         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74305         * config.make.in (link-obsolete-rpc): New substituted variable.
74306         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74307         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74308         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74309         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74310         so that libc.a contains the symbols.
74311         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74312         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74313         * sunrpc/auth_none.c: Likewise.
74314         * sunrpc/auth_unix.c: Likewise.
74315         * sunrpc/authdes_prot.c: Likewise.
74316         * sunrpc/authuxprot.c: Likewise.
74317         * sunrpc/clnt_gen.c: Likewise.
74318         * sunrpc/clnt_perr.c: Likewise.
74319         * sunrpc/clnt_raw.c: Likewise.
74320         * sunrpc/clnt_simp.c: Likewise.
74321         * sunrpc/clnt_tcp.c: Likewise.
74322         * sunrpc/clnt_udp.c: Likewise.
74323         * sunrpc/clnt_unix.c: Likewise.
74324         * sunrpc/des_crypt.c: Likewise.
74325         * sunrpc/des_soft.c: Likewise.
74326         * sunrpc/get_myaddr.c: Likewise.
74327         * sunrpc/key_call.c: Likewise.
74328         * sunrpc/key_prot.c: Likewise.
74329         * sunrpc/netname.c: Likewise.
74330         * sunrpc/pm_getmaps.c: Likewise.
74331         * sunrpc/pm_getport.c: Likewise.
74332         * sunrpc/pmap_clnt.c: Likewise.
74333         * sunrpc/pmap_prot.c: Likewise.
74334         * sunrpc/pmap_prot2.c: Likewise.
74335         * sunrpc/pmap_rmt.c: Likewise.
74336         * sunrpc/publickey.c: Likewise.
74337         * sunrpc/rpc_cmsg.c: Likewise.
74338         * sunrpc/rpc_common.c: Likewise.
74339         * sunrpc/rpc_dtable.c: Likewise.
74340         * sunrpc/rpc_prot.c: Likewise.
74341         * sunrpc/rpc_thread.c: Likewise.
74342         * sunrpc/rtime.c: Likewise.
74343         * sunrpc/svc.c: Likewise.
74344         * sunrpc/svc_auth.c: Likewise.
74345         * sunrpc/svc_raw.c: Likewise.
74346         * sunrpc/svc_run.c: Likewise.
74347         * sunrpc/svc_tcp.c: Likewise.
74348         * sunrpc/svc_udp.c: Likewise.
74349         * sunrpc/svc_unix.c: Likewise.
74350         * sunrpc/svcauth_des.c: Likewise.
74351         * sunrpc/xcrypt.c: Likewise.
74352         * sunrpc/xdr.c: Likewise.
74353         * sunrpc/xdr_array.c: Likewise.
74354         * sunrpc/xdr_float.c: Likewise.
74355         * sunrpc/xdr_intXX_t.c: Likewise.
74356         * sunrpc/xdr_mem.c: Likewise.
74357         * sunrpc/xdr_rec.c: Likewise.
74358         * sunrpc/xdr_ref.c: Likewise.
74359         * sunrpc/xdr_sizeof.c: Likewise.
74360         * sunrpc/xdr_stdio.c: Likewise.
74362 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74364         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
74365         change.  Update copyright years.
74367 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74369         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
74371 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
74372             Joseph Myers  <joseph@codesourcery.com>
74373             Paul Pluzhnikov  <ppluzhnikov@google.com>
74375         [BZ #14012]
74376         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
74377         requiring rpcgen.
74378         [cross-compiling] (extra-libs): Likewise.
74379         [cross-compiling] (extra-libs-others): Likewise.
74380         [cross-compiling] (librpcsvc-routines): Likewise.
74381         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
74382         [cross-compiling] (omit-deps): Likewise.
74383         (sunrpc-CPPFLAGS): New variable.
74384         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
74385         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
74386         (cross-rpcgen-objs): New variable.
74387         (extra-objs): Append $(cross-rpcgen-objs).
74388         ($(cross-rpcgen-objs)): New rule.
74389         ($(objpfx)cross-rpcgen): Likewise.
74390         (rpcgen-cmd): Define to use $(built-program-file).  Expand
74391         comment.
74392         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
74393         ($(objpfx)x%.stmp): Likewise.
74394         * sunrpc/proto.h [IS_IN_build] (_): Define.
74395         [IS_IN_build] (_libc_intl_domainname): Likewise.
74397 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
74400         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
74401         and R_X86_64_TPOFF64.
74403 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74405         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
74406         sysdeps/unix/sysv/syscalls.list.
74407         (stime): Likewise.
74408         (utime): Likewise.
74409         * sysdeps/unix/sysv/syscalls.list: Remove file.
74411 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
74413         [BZ #3440]
74414         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
74415         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
74416         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
74417         (__LC_IDENTIFICATION): Make these macros useful in #if
74418         expressions, as required by C99.
74420 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74422         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74423         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74424         after this.
74426 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74428         * stdlib/longlong.h: Updated from GCC.
74430 2012-05-09  Andreas Jaeger  <aj@suse.de>
74432         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74433         default is first entry.
74434         (run_mode): Set type.
74435         (main): Remove informal message about syslog.
74436         (options): Fix typo.
74438         [BZ #14053]
74439         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74440         to asm.
74441         (lrint): Likewise.
74442         (llrintf): Likewise.
74443         (llrint): Likewise.
74444         (rint): Likewise.
74445         (rintf): Likewise.
74446         (nearbyint): Likewise.
74447         (nearbyintf): Likewise.
74449 2012-05-09  Andreas Jaeger  <aj@suse.de>
74450             Pedro Alves  <palves@redhat.com>
74452         * nscd/nscd.c (run_mode): Use enum.
74453         (main): Cleanup coding style issue.
74455 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74456             Andreas Jaeger  <aj@suse.de>
74458         * nscd/nscd.c (go_background): Replaced with...
74459         (run_mode): ... this.
74460         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74461         (options): Add -F --foreground.
74462         (main): Implement it.
74463         (parse_opt): Parse it.
74465 2012-05-09  Andreas Jaeger  <aj@suse.de>
74467         [BZ #14083]
74468         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74469         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74470         -Wconversion warning.
74471         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74472         Likewise.
74474 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74476         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74477         == 0.
74478         (LC_ALL): Use macro-int-constant.
74479         (LC_COLLATE): Likewise.
74480         (LC_CTYPE): Likewise.
74481         (LC_MESSAGES): Likewise.
74482         (LC_MONETARY): Likewise.
74483         (LC_NUMERIC): Likewise.
74484         (LC_TIME): Likewise.
74485         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74486         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74487         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74488         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74489         Specify type.
74490         [C99-based standards] (float_t): Expect type.
74491         [C99-based standards] (double_t): Expect type.
74492         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74493         type.
74494         [C99-based standards] (HUGE_VALL): Likewise.
74495         [C99-based standards] (INFINITY): Likewise.
74496         [C99-based standards] (NAN): Likewise.
74497         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74498         [C99-based standards] (FP_NAN): Likewise.
74499         [C99-based standards] (FP_NORMAL): Likewise.
74500         [C99-based standards] (FP_SUBNORMAL): Likewise.
74501         [C99-based standards] (FP_ZERO): Likewise.
74502         [C99-based standards] (FP_FAST_FMA): Use
74503         optional-macro-int-constant.  Specify type.  Require == 1.
74504         [C99-based standards] (FP_FAST_FMAF): Likewise.
74505         [C99-based standards] (FP_FAST_FMAL): Likewise.
74506         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74507         [C99-based standards] (FP_ILOGBNAN): Likewise.
74508         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74509         Specify type.
74510         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74511         [C99-based standards] (math_errhandling): Specify type.
74512         [ISO99 || ISO11] (signgam): Do not allow.
74513         [non-C99-based standards] (copysignf): Do not allow.
74514         [non-C99-based standards] (exp2f): Likewise.
74515         [non-C99-based standards] (log2f): Likewise.
74516         [non-C99-based standards] (modff): Allow.
74517         [non-C99-based standards] (erff): Do not allow.
74518         [non-C99-based standards] (erfcf): Likewise.
74519         [non-C99-based standards] (gammaf): Likewise.
74520         [non-C99-based standards] (hypotf): Likewise.
74521         [non-C99-based standards] (j0f): Likewise.
74522         [non-C99-based standards] (j1f): Likewise.
74523         [non-C99-based standards] (jnf): Likewise.
74524         [non-C99-based standards] (lgammaf): Likewise.
74525         [non-C99-based standards] (tgammaf): Likewise.
74526         [non-C99-based standards] (y0f): Likewise.
74527         [non-C99-based standards] (y1f): Likewise.
74528         [non-C99-based standards] (ynf): Likewise.
74529         [non-C99-based standards] (isnanf): Likewise.
74530         [non-C99-based standards] (acoshf): Likewise.
74531         [non-C99-based standards] (asinhf): Likewise.
74532         [non-C99-based standards] (atanhf): Likewise.
74533         [non-C99-based standards] (cbrtf): Likewise.
74534         [non-C99-based standards] (expm1f): Likewise.
74535         [non-C99-based standards] (ilogbf): Likewise.
74536         [non-C99-based standards] (log1pf): Likewise.
74537         [non-C99-based standards] (logbf): Likewise.
74538         [non-C99-based standards] (nextafterf): Likewise.
74539         [non-C99-based standards] (remainderf): Likewise.
74540         [non-C99-based standards] (rintf): Likewise.
74541         [non-C99-based standards] (scalbf): Likewise.
74542         [non-C99-based standards] (copysignl): Likewise.
74543         [non-C99-based standards] (exp2l): Likewise.
74544         [non-C99-based standards] (log2l): Likewise.
74545         [non-C99-based standards] (modfl): Allow.
74546         [non-C99-based standards] (erfl): Do not allow.
74547         [non-C99-based standards] (erfcl): Likewise.
74548         [non-C99-based standards] (gammal): Likewise.
74549         [non-C99-based standards] (hypotl): Likewise.
74550         [non-C99-based standards] (j0l): Likewise.
74551         [non-C99-based standards] (j1l): Likewise.
74552         [non-C99-based standards] (jnl): Likewise.
74553         [non-C99-based standards] (lgammal): Likewise.
74554         [non-C99-based standards] (tgammal): Likewise.
74555         [non-C99-based standards] (y0l): Likewise.
74556         [non-C99-based standards] (y1l): Likewise.
74557         [non-C99-based standards] (ynl): Likewise.
74558         [non-C99-based standards] (isnanl): Likewise.
74559         [non-C99-based standards] (acoshl): Likewise.
74560         [non-C99-based standards] (asinhl): Likewise.
74561         [non-C99-based standards] (atanhl): Likewise.
74562         [non-C99-based standards] (cbrtl): Likewise.
74563         [non-C99-based standards] (expm1l): Likewise.
74564         [non-C99-based standards] (ilogbl): Likewise.
74565         [non-C99-based standards] (log1pl): Likewise.
74566         [non-C99-based standards] (logbl): Likewise.
74567         [non-C99-based standards] (nextafterl): Likewise.
74568         [non-C99-based standards] (remainderl): Likewise.
74569         [non-C99-based standards] (rintl): Likewise.
74570         [non-C99-based standards] (scalbl): Likewise.
74571         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74572         [non-C99-based standards] (FP_*): Do not allow.
74573         [C99-based standards] (FP_*): Change to
74574         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74575         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74576         allow.
74577         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74578         (SIG_ERR): Likewise.
74579         [X/Open-based standards] (SIG_HOLD): Likewise.
74580         (SIG_IGN): Likewise.
74581         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74582         positive value.
74583         (SIGFPE): Likewise.
74584         (SIGILL): Likewise.
74585         (SIGINT): Likewise.
74586         (SIGSEGV): Likewise.
74587         (SIGTER): Likewise.
74588         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74589         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74590         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74591         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74592         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74593         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74594         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74595         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74596         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74597         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74598         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74599         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74600         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74601         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74602         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74603         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74604         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74605         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74606         [X/Open-based standards] (SIGTRAP): Likewise.
74607         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74608         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74609         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74610         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74611         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74612         allow.
74614 2012-05-08  Ian Wienand  <ianw@vmware.com>
74616         [BZ #14080]
74617         * time/tzset.c (__tzset_parse_tz): Update default rules for
74618         daylight time changes in the Energy Policy Act of 2005.
74620 2012-05-09  Andreas Jaeger  <aj@suse.de>
74622         [BZ #13983]
74623         * elf/ldconfig.c (parse_conf): Change string to make clear that
74624         ldconfig only issued a warning if ld.so.conf does not exist.
74626 2012-05-08  David S. Miller  <davem@davemloft.net>
74628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74629         movxtod instead of popping the value on the stack.
74631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74633 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74635         * config.h.in: Add HAVE_ARM_PCS_VFP.
74637 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74639         [BZ #13979]
74640         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74641         checking but the checks are disabled for any reason.
74643 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74645         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74646         and ELF64_R_TYPE with ELFW(R_TYPE).
74648 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74650         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74651         (ulimit): Likewise.
74653         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74654         (settimeofday): Likewise.
74656 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74658         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74659         a struct th_u2 inside the union, and move tu_block/tu_code into
74660         a new th_u3 union of tu_block/tu_code inside of that.  Move
74661         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74662         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74663         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74664         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74665         (th_stuff): Change to th_u1.tu_stuff.
74666         (th_data): Define.
74667         (th_msg): Change to th_u1.th_u2.tu_data.
74669 2012-05-07  David S. Miller  <davem@davemloft.net>
74671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74673         [BZ #14074]
74674         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74675         (SETUP_PIC_REG): Use it.
74676         (SETUP_PIC_REG_LEAF): Use it.
74678 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74680         [BZ #13885]
74681         [BZ #13923]
74682         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74683         USE_AS_EXPM1L.
74684         (EXPL_FINITE): Likewise.
74685         (FLDLOG): Likewise.
74686         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74687         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74688         e_expl.S.
74689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74690         USE_AS_EXPM1L.
74691         (EXPL_FINITE): Likewise.
74692         (FLDLOG): Likewise.
74693         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74694         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74695         e_expl.S.
74696         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74697         test of -max_value argument for long double.
74698         * sysdeps/i386/fpu/libm-test-ulps: Update.
74699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74701 2012-05-06  David S. Miller  <davem@davemloft.net>
74703         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74704         quad soft-float symbols whose references which are compiler
74705         generated.
74706         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74708 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74710         [BZ #13884]
74711         [BZ #13914]
74712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74713         USE_AS_EXP10L.
74714         (EXPL_FINITE): Likewise.
74715         (FLDLOG): Likewise.
74716         (c0): Likewise.
74717         (c1): Likewise.
74718         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74719         Adjust comments for base varying.
74720         (__expl_finite): Change alias to EXPL_FINITE.
74721         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74722         e_expl.S.
74723         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74724         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74725         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74726         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74727         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74728         USE_AS_EXP10L.
74729         (EXPL_FINITE): Likewise.
74730         (FLDLOG): Likewise.
74731         (c0): Likewise.
74732         (c1): Likewise.
74733         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74734         Adjust comments for base varying.
74735         (__expl_finite): Change alias to EXPL_FINITE.
74736         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74737         tests for bugs.
74738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74740         [BZ #14064]
74741         * math/libm-test.inc (check_float_internal): Correct ulp
74742         calculation for subnormal expected results.
74744 2012-05-06  Andreas Jaeger  <aj@suse.de>
74746         * Makeconfig (+math-flags): New, set to -frounding-math.
74747         (+cflags): Add +math-flags so that all of glibc gets compiled with
74748         it.
74750         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74752 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74754         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74755         Disable one test.
74757         [BZ #13787]
74758         [BZ #13922]
74759         [BZ #14036]
74760         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74761         (__ieee754_expl): Allow for and saturate large arguments.
74762         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74763         (u_threshold): Likewise.
74764         (__exp): Call __ieee754_exp before checking for overflow and
74765         underflow.
74766         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74767         (u_threshold): Likewise.
74768         (__expf): Call __ieee754_expf before checking for overflow and
74769         underflow.
74770         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74771         (u_threshold): Likewise.
74772         (__expl): Call __ieee754_expl before checking for overflow and
74773         underflow.
74774         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74775         (__ieee754_expl): Allow for and saturate large arguments.
74776         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74777         missing overflow exception on overflow.
74778         (expm1_test): Do not allow missing overflow exception on overflow.
74780         * sysdeps/i386/fpu/e_expl.c: Move to ...
74781         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74782         rather than using inline asm.
74783         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74784         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74785         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74787         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74788         (nice): Likewise.
74789         (poll): Likewise.
74790         (signal): Likewise.
74791         (time): Likewise.
74792         (times): Likewise.
74794 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74796         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74797         sysdeps/unix/common/syscalls.list.
74798         (fchmod): Likewise.
74799         (fchown): Likewise.
74800         (ftruncate): Likewise.
74801         (getrusage): Likewise.
74802         (gettimeofday): Likewise.
74803         (setpgid): Likewise.
74804         (setregid): Likewise.
74805         (setreuid): Likewise.
74806         (sigaction): Likewise.
74807         (truncate): Likewise.
74808         (vhangup): Likewise.
74809         * sysdeps/unix/common/syscalls.list: Remove file.
74810         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74811         * sysdeps/unix/sysv/linux/Implies: Likewise.
74813 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74815         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74817         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74818         Moved to ...
74819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74820         Here.
74821         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74822         to ...
74823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74824         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74825         to ...
74826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74827         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74828         to ...
74829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74830         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74831         to ...
74832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74833         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74834         to ...
74835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74836         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74837         to ...
74838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74839         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74840         to ...
74841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74842         Here.
74843         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74844         to ...
74845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74846         Here.
74847         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74848         to ...
74849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74850         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74851         Moved to ...
74852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74853         Here.
74854         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74855         to ...
74856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74858 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74860         * sysdeps/unix/common/bits/dirent.h: Remove file.
74861         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74863         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74864         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74865         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74866         * sysdeps/unix/bsd/isatty.c: Likewise.
74867         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74868         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74869         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74871 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74873         [BZ #13563]
74874         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74875         long double comparison inaccuracies.
74876         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74879 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74881         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74882         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74884 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74886         [BZ #14049]
74887         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74888         nonzero digits before rounding a hex value.
74889         * stdlib/tst-strtod.c (tests): Add another test.
74891 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74893         * sysdeps/s390/fpu/libm-test-ulps: Update.
74895 2012-05-03  Andreas Jaeger  <aj@suse.de>
74897         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74898         does not get optimized out.
74899         (malloc_opt_barrier): New.
74901 2012-05-03  Andreas Jaeger  <aj@suse.de>
74902             Roland McGrath  <roland@hack.frob.com>
74904         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74905         intermediate file deletion.
74906         (generated): Add .symlist files.
74908 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74910         [BZ #13775]
74911         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74912         Redirect under this condition.
74913         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74914         [__USE_GNU] (__dprintf_chk): Not under this condition.
74915         [__USE_GNU] (__vdprintf_chk): Likewise.
74916         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74917         under this condition.
74918         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74919         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74920         [__USE_XOPEN2K8] (vdprintf): Likewise.
74921         [__USE_GNU] (__dprintf_chk): Not under this condition.
74922         [__USE_GNU] (__vdprintf_chk): Likewise.
74923         [__USE_GNU] (dprintf): Likewise.
74924         [__USE_GNU] (vdprintf): Likewise.
74926 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74928         * elf/Makefile (common-generated): Set this instead of generated for
74929         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74930         $(all-built-dso)-derived lists.
74932 2012-05-03  Andreas Jaeger  <aj@suse.de>
74934         * sysdeps/i386/fpu/libm-test-ulps: Update.
74936         * FAQ: Removed.
74937         * FAQ.in: Likewise.
74938         * scripts/gen-FAQ.pl: Likewise.
74939         * manual/install.texi (Installation): Point to online location of
74940         FAQ.
74941         * Makefile (files-for-dist): Remove FAQ.
74942         (FAQ): Remove.
74944 2012-05-02  Allan McRae  <allan@archlinux.org>
74946         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74947         (LDFLAGS-reldepmod5.so): Likewise.
74948         (LDFLAGS-reldep6mod1.so): Likewise.
74949         (LDFLAGS-reldep6mod4.so): Likewise.
74950         (LDFLAGS-reldep8mod3.so): Likewise.
74951         (LDFLAGS-unload4mod1.so): Likewise.
74952         (LDFLAGS-unload4mod2.so): Likewise.
74953         (LDFLAGS-tst-initorder): Likewise.
74954         (LDFLAGS-tst-initordera2.so): Likewise.
74955         (LDFLAGS-tst-initordera3.so): Likewise.
74956         (LDFLAGS-tst-initordera4.so): Likewise.
74957         (LDFLAGS-tst-initorderb2.so): Likewise.
74958         (LDFLAGS-noload): Likewise.
74959         (LDFLAGS-next): Likewise.
74960         (LDFLAGS-order2mod1.so): Likewise.
74961         (LDFLAGS-order2mod2.so): Likewise.
74962         (LDFLAGS-tst-initorder2): Likewise.
74963         (LDFLAGS-tst-initorder2a.so): Likewise.
74964         (LDFLAGS-tst-initorder2b.so): Likewise.
74965         (LDFLAGS-tst-initorder2c.so): Likewise.
74966         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74968 2012-05-02  David S. Miller  <davem@davemloft.net>
74970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74972 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74974         [BZ #14055]
74975         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74977 2012-05-02  Andreas Jaeger  <aj@suse.de>
74979         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74980         since we manipulate rounding mode.
74981         (CPPFLAGS-test-idouble.c): Likewise.
74982         (CPPFLAGS-test-ifloat.c): Likewise.
74983         (CFLAGS-test-ldouble.c): Likewise.
74984         (CFLAGS-test-double.c): Likewise.
74985         (CFLAGS-test-float.c): Likewise.
74986         (CFLAGS-test-misc.c): Likewise.
74987         (CFLAGS-test-test-fenv.c): Likewise.
74989 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74991         [BZ #2550]
74992         [BZ #2570]
74993         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74994         comparisons to determine direction to adjust input.
74996 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74998         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74999         output to the target.
75001         * scripts/localplt.awk: New file.
75002         * elf/Makefile ($(objpfx)check-localplt): Target removed.
75003         (check-localplt-CFLAGS): Variable removed.
75004         ($(all-built-dso:=.jmprel)): New static pattern rule.
75005         (generated): Add those targets.
75006         (localplt-built-dso): New variable.
75007         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75009         * elf/check-localplt.c: File removed.
75011         * scripts/check-execstack.awk: New file.
75012         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75013         (check-execstack-CFLAGS): Variable removed.
75014         ($(objpfx)check-execstack.h): Target removed.
75015         ($(objpfx)execstack-default): New target.
75016         (generated): Add that instead of check-execstack.h.
75017         ($(all-built-dso:=.phdr)): New static pattern rule.
75018         (generated): Add those targets.
75019         * elf/check-execstack.c: File removed.
75021         * scripts/check-textrel.awk: New file.
75022         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75023         (check-textrel-CFLAGS): Variable removed.
75024         (all-built-dso): Use := to define.o
75025         ($(all-built-dso:=.dyn)): New static pattern rule.
75026         (generated): Add those targets.
75027         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75028         * config.make.in (READELF): New substituted variable.
75029         * elf/check-textrel.c: File removed.
75031 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75033         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75034         allow.
75035         * conform/data/ctype.h-data [C99-based standards] (isblank):
75036         Expect function.
75037         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75038         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75040         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75041         Specify type.  Require positive value.
75042         (EILSEQ): Likewise.
75043         (ERANGE): Likewise.
75044         [ISO || POSIX] (EILSEQ): Do not expect.
75045         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75046         Specify type.  Require positive value.
75047         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75048         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75049         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75050         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75051         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75052         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75053         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75054         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75055         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75056         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75057         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75058         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75059         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75060         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75061         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75062         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75063         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75064         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75065         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75066         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75067         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75068         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75069         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75070         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75071         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75072         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75073         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75074         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75075         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75076         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75077         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75078         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75079         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75080         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75081         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75082         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75083         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75084         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75085         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75086         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75087         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75088         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75089         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75090         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75091         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75092         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75093         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75094         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75095         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75096         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75097         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75098         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75099         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75100         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75101         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75102         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75103         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75104         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75105         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75106         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75107         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75108         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75109         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75110         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75111         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75112         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75113         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75114         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75115         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75116         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75117         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75118         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75119         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75120         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75121         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75122         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75123         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75124         Require >= 2.
75125         (FLT_ROUNDS): Expect as macro, not constant.
75126         (FLT_MANT_DIG): Use macro-int-constant.
75127         (DBL_MANT_DIG): Likewise.
75128         (LDBL_MANT_DIG): Likewise.
75129         (FLT_DIG): Likewise.
75130         (DBL_DIG): Likewise.
75131         (LDBL_DIG): Likewise.
75132         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75133         (DBL_MIN_EXP): Likewise.
75134         (LDBL_MIN_EXP): Likewise.
75135         (FLT_MAX_EXP): Use macro-int-constant.
75136         (DBL_MAX_EXP): Likewise.
75137         (LDBL_MAX_EXP): Likewise.
75138         (FLT_MAX_10_EXP): Likewise.
75139         (DBL_MAX_10_EXP): Likewise.
75140         (LDBL_MAX_10_EXP): Likewise.
75141         (FLT_MAX): Use macro-constant.
75142         (DBL_MAX): Likewise.
75143         (LDBL_MAX): Likewise.
75144         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75145         (DBL_EPSILON): Likewise.
75146         (LDBL_EPSILON): Likewise.
75147         (FLT_MIN): Likewise.
75148         (DBL_MIN): Likewise.
75149         (LDBL_MIN): Likewise.
75150         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75151         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75152         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75153         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75154         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75155         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75156         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75157         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75158         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75159         [ISO11] (FLT_TRUE_MIN): Likewise.
75160         [ISO11] (LDBL_TRUE_MIN): Likewise.
75161         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75162         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75163         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75164         (SCHAR_MAX): Likewise.
75165         (UCHAR_MAX): Likewise.
75166         (CHAR_MIN): Likewise.
75167         (CHAR_MAX): Likewise.
75168         (MB_LEN_MAX): Use macro-int-constant.
75169         (SHRT_MIN): Use macro-int-constant.  Specify type.
75170         (SHRT_MAX): Likewise.
75171         (USHRT_MAX): Likewise.
75172         (INT_MAX): Likewise.
75173         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75174         bound negative.
75175         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75176         bound with "U".
75177         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75178         bound with "L".
75179         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75180         bound negative.  Suffix upper bound with "L".
75181         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75182         bound with "UL".
75183         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75184         Specify type.
75185         [C99-based standards] (LLONG_MAX): Likewise.
75186         [C99-based standards] (ULLONG_MAX): Likewise.
75187         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75188         == 0.
75189         [ISO11] (max_align_t): Require type.
75190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75192         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75193         from $CFLAGS, without defining away __attribute__ calls.
75194         (checknamespace): Use $CFLAGS_namespace.
75196         * conform/conformtest.pl (@keywords): Only include C99 keywords
75197         for standards based on C99 or C11.
75199         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75200         Disable tests.
75201         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75202         UNIX98]: Likewise.
75204         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75205         usability of symbols in #if.
75207         * conform/conformtest.pl: If macro or constant types start
75208         "promoted:", expect the symbol to be of the following type
75209         promoted by the integer promotions.
75211         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75212         in one place.  Also handle "macro-constant".
75214         * conform/conformtest.pl: Only accept expected macro values with
75215         "==".  Parse all "macro" lines in one place.
75216         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75218         * conform/conformtest.pl: Handle braced types on "constant" lines
75219         instead of handling "typed-constant".
75220         * conform/data/signal.h-data: Use "constant" instead of
75221         "typed-constant".
75223         * conform/conformtest.pl: Handle "optional-" at start of lines in
75224         one place rather than duplicating several cases.  Handle each
75225         format of "macro" line with initial "optional-".
75227         * conform/conformtest.pl: Only accept expected constant or
75228         optional-constant values with "==".  Parse all "constant" lines in
75229         one place.  Parse all "optional-constant" lines in one place.
75230         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75231         * conform/data/fmtmsg.h-data: Likewise.
75232         * conform/data/netinet/in.h-data: Likewise.
75233         * conform/data/tar.h-data: Likewise.
75234         * conform/data/limits.h-data: Use "==" form on "constant" and
75235         "optional-constant" lines.
75237         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75238         Use -std=c99 for XOPEN2K.
75239         (@knownproblems): Remove.
75240         (newtoken): Don't check %isknown.
75242         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75243         Do not expect macro.
75244         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75245         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75246         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75247         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75248         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75249         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75250         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75251         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75252         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75253         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75254         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75255         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75256         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75257         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75258         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75259         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75260         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75261         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75262         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75263         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75264         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75265         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75266         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75267         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75268         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75269         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75270         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75271         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75272         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75273         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75274         [XPG3] (acosh): Likewise.
75275         [XPG3] (asinh): Likewise.
75276         [XPG3] (atanh): Likewise.
75277         [XPG3] (cbrt): Likewise.
75278         [XPG3] (expm1): Likewise.
75279         [XPG3] (ilogb): Likewise.
75280         [XPG3] (log1p): Likewise.
75281         [XPG3] (logb): Likewise.
75282         [XPG3] (nextafter): Likewise.
75283         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75284         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75285         [XPG3] (remainder): Likewise.
75286         [XPG3] (rint): Likewise.
75287         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75288         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75289         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75290         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75291         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75292         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75293         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75294         [UNIX98 || XOPEN2K] (scalb): Expect.
75295         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75296         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75297         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75298         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75299         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75300         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75301         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75302         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75303         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75304         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75305         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75306         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75307         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75308         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75309         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75310         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75311         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75312         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75313         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75314         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75315         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75316         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75317         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75318         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75319         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75320         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75321         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75322         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75323         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75324         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75325         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75326         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75327         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75328         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75329         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75330         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75331         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75332         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75333         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75334         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75335         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75336         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75337         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75338         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75339         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75340         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75341         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75342         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75343         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75344         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
75345         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
75346         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
75347         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
75348         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
75349         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
75350         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
75351         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
75352         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
75353         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
75354         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
75355         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
75356         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
75357         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
75358         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
75359         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
75360         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
75361         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
75362         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
75363         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
75364         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
75365         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
75366         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
75367         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
75368         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
75369         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
75370         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
75371         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
75372         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
75373         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
75374         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
75375         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
75376         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
75377         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
75378         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
75379         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
75380         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
75381         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
75382         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
75383         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
75384         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
75385         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
75386         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
75387         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
75388         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
75389         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
75390         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
75391         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
75392         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
75393         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
75394         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
75395         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
75396         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
75397         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
75398         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
75399         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
75400         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
75401         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
75402         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
75403         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
75404         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
75405         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
75406         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
75407         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
75408         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
75409         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
75410         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
75411         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
75412         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
75413         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
75414         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
75415         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
75416         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
75417         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
75418         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
75419         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
75420         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
75421         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75422         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75423         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75424         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75425         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75426         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75427         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75428         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75429         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75430         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75431         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75433         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75434         _XOPEN_SOURCE_EXTENDED for XPG4.
75436         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75438         * Makeconfig (localtime): Remove variable.
75439         (inst_localtime-file): Likewise.
75441 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75444         Update.
75445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75446         Update.
75447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75448         Update.
75449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75450         Update.
75451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75452         Update.
75453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75454         Update.
75455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75456         Update.
75457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75458         Update.
75459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75460         Update.
75462 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75464         [BZ #2550]
75465         [BZ #2570]
75466         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75467         comparisons to determine direction to adjust input.
75468         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75469         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75470         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75471         Likewise.
75472         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75473         Likewise.
75474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75475         Likewise.
75476         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75477         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75478         Likewise.
75479         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75480         Likewise.
75481         * math/libm-test.inc (nexttoward_test): Add more tests.
75483 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75485         [BZ #14040]
75486         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75487         in version GLIBC_2.1, not GLIBC_2.0.
75488         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75489         Likewise.
75491 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75493         [BZ #13942]
75494         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75495         (1 - x) * (1 + x).
75496         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75497         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75498         * math/libm-test.inc (acos_test): Add more tests.
75499         (asin_test): Likewise.
75500         * sysdeps/i386/fpu/libm-test-ulps: Update.
75501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75503         [BZ #14034]
75504         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75505         of square root.
75506         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75507         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75508         * math/libm-test.inc (acos_test_tonearest): New function.
75509         (acos_test_towardzero): Likewise.
75510         (acos_test_downward): Likewise.
75511         (acos_test_upward): Likewise.
75512         (asin_test_tonearest): Likewise.
75513         (asin_test_towardzero): Likewise.
75514         (asin_test_downward): Likewise.
75515         (asin_test_upward): Likewise.
75516         (main): Call the new functions.
75517         * sysdeps/i386/fpu/libm-test-ulps: Update.
75518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75520         [BZ #13884]
75521         [BZ #13924]
75522         * math/e_exp10.c: Include <float.h>.
75523         (__ieee754_exp10): Handle underflow here rather than multiplying
75524         large negative argument by M_LN10.
75525         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75526         of __ieee754_expf.
75527         * math/e_exp10l.c: Include <float.h>.
75528         (__ieee754_exp10l): Handle underflow here rather than multiplying
75529         large negative argument by M_LN10l.
75530         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75531         spurious overflow exception on underflow.
75533 2012-04-29  Marek Polacek  <polacek@redhat.com>
75535         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75536         (__fortify_function): New macro.
75537         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75538         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75539         __extern_always_inline.
75540         * libio/bits/stdio2.h: Likewise.
75541         * libio/bits/stdio.h: Likewise.
75542         * string/string.h: Likewise.
75543         * string/bits/string3.h: Likewise.
75544         * include/stdio.h: Likewise.
75545         * stdlib/bits/stdlib.h: Likewise.
75546         * stdlib/stdlib.h: Likewise.
75547         * rt/bits/mqueue2.h: Likewise.
75548         * rt/mqueue.h: Likewise.
75549         * posix/bits/unistd.h: Likewise.
75550         * posix/unistd.h: Likewise.
75551         * io/bits/poll2.h: Likewise.
75552         * io/bits/fcntl2.h: Likewise.
75553         * io/fcntl.h: Likewise.
75554         * io/sys/poll.h: Likewise.
75555         * misc/bits/syslog.h: Likewise.
75556         * misc/bits/syslog-ldbl.h: Likewise.
75557         * misc/sys/syslog.h: Likewise.
75558         * socket/bits/socket2.h: Likewise.
75559         * socket/sys/socket.h: Likewise.
75560         * debug/tst-chk1.c: Likewise.
75561         * wcsmbs/bits/wchar2.h: Likewise.
75562         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75563         * wcsmbs/wchar.h: Likewise.
75565 2012-04-29  Andreas Jaeger  <aj@suse.de>
75567         * Makerules (tests): Remove enable-check-abi protection.
75568         (check-abi-warn): Remove.
75569         (check-abi-%): Remove check-abi-warn usage.
75571         * configure.in: Remove check-abi configure option.
75572         * configure: Regenerated.
75573         * config.make.in (enable-check-abi): Remove.
75575 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75577         [BZ #14033]
75578         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75579         double functions to double *_finite functions.
75581         [BZ #13941]
75582         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75583         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75584         LDBL_MIN_EXP.
75585         * stdio-common/Makefile (tests): Add tst-sprintf3.
75586         * stdio-common/tst-sprintf3.c: New file.
75588         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75589         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75591 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75593         * conform/conformtest.pl: Remove duplicate typed-constant
75594         handling.
75596 2012-04-28  David S. Miller  <davem@davemloft.net>
75598         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75599         (check-abi-%): Remove AWK script prerequisite and explicit
75600         abilist directory.
75601         (check-abi): Rewrite to just diff the symlist with the abilist.
75602         (config-tls, config-abi-config): Delete, no longer used.
75603         (update-abi-%): Remove AWK script and explicit abilist directory.
75604         (update-abi): Rewrite to simply compare and conditionally copy the
75605         symlist and the sysdep abilist file.  Remove update-abi-config
75606         checks.
75607         * abilist/ld.abilist: Remove.
75608         * abilist/libBrokenLocale.abilist: Remove.
75609         * abilist/libanl.abilist: Remove.
75610         * abilist/libcrypt.abilist: Remove.
75611         * abilist/libdl.abilist: Remove.
75612         * abilist/librt.abilist: Remove.
75613         * abilist/libthread_db.abilist: Remove.
75614         * abilist/libutil.abilist: Remove.
75615         * scripts/extract-abilist.awk: Remove.
75616         * scripts/merge-abilist.awk: Remove.
75617         * sysdeps/generic/libcidn.abilist: New file.
75618         * sysdeps/generic/libnss_compat.abilist: New file.
75619         * sysdeps/generic/libnss_db.abilist: New file.
75620         * sysdeps/generic/libnss_dns.abilist: New file.
75621         * sysdeps/generic/libnss_files.abilist: New file.
75622         * sysdeps/generic/libnss_hesiod.abilist: New file.
75623         * sysdeps/generic/libnss_nis.abilist: New file.
75624         * sysdeps/generic/libnss_nisplus.abilist: New file.
75625         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75626         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75627         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75628         file.
75629         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75630         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75631         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75632         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75633         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75634         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75635         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75636         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75637         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75638         file.
75639         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75640         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75641         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75642         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75643         file.
75644         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75645         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75646         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75647         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75648         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75649         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75650         file.
75651         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75652         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75653         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75654         file.
75655         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75656         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75657         New file.
75658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75659         New file.
75660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75661         New file.
75662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75663         New file.
75664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75665         New file.
75666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75667         New file.
75668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75669         New file.
75670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75671         New file.
75672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75673         New file.
75674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75675         New file.
75676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75677         New file.
75678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75679         New file.
75680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75681         New file.
75682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75683         file.
75684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75685         New file.
75686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75687         New file.
75688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75689         file.
75690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75691         New file.
75692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75693         New file.
75694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75695         file.
75696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75697         New file.
75698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75699         New file.
75700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75701         New file.
75702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75703         New file.
75704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75705         New file.
75706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75707         New file.
75708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75710         file.
75711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75712         New file.
75713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75714         file.
75715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75716         file.
75717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75718         file.
75719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75720         file.
75721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75722         file.
75723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75724         New file.
75725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75726         file.
75727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75728         file.
75729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75730         New file.
75731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75732         file.
75733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75735         file.
75736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75737         New file.
75738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75739         file.
75740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75741         file.
75742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75743         file.
75744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75745         file.
75746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75747         file.
75748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75749         New file.
75750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75751         file.
75752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75753         file.
75754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75755         New file.
75756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75757         file.
75758         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75759         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75760         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75761         file.
75762         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75763         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75764         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75765         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75766         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75767         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75768         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75769         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75770         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75771         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75774         file.
75775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75776         New file.
75777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75778         file.
75779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75780         file.
75781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75782         file.
75783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75784         file.
75785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75786         file.
75787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75788         New file.
75789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75790         New file.
75791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75792         file.
75793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75794         New file.
75795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75796         file.
75797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75799         file.
75800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75801         New file.
75802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75803         file.
75804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75805         file.
75806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75807         file.
75808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75809         file.
75810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75811         file.
75812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75813         New file.
75814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75815         New file.
75816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75817         file.
75818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75819         New file.
75820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75821         file.
75823 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75825         * conform/conformtest.pl: Fix typo in handling typed-constant from
75826         allow-header.
75828 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75830         * README: Cut down references to pre-2.6 Linux kernels and
75831         Linuxthreads.  Update lists of configurations in libc and ports
75832         and sort alphabetically.  Say "or newer" with Linux kernel version
75833         requirements.
75835         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75837 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75839         [BZ #887]
75840         * math/libm-test.inc (logb_test_downward): New test to expose
75841         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75842         rounding mode.
75844 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75846         [BZ #14027]
75847         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75848         to be done.
75849         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75850         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75852 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75854         * sysdeps/unix/i386/brk.S: Remove file.
75855         * sysdeps/unix/i386/dl-brk.S: Likewise.
75856         * sysdeps/unix/i386/pipe.S: Likewise.
75857         * sysdeps/unix/i386/sigreturn.S: Likewise.
75858         * sysdeps/unix/i386/syscall.S: Likewise.
75859         * sysdeps/unix/i386/vfork.S: Likewise.
75860         * sysdeps/unix/i386/wait.S: Likewise.
75862         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75863         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75865         * configure.in (arm*-none*): Do not allow without
75866         --enable-hacker-mode.
75867         (netbsd*): Remove case setting base_os.
75868         (386bsd*): Likewise.
75869         (freebsd*): Likewise.
75870         (bsdi*): Likewise.
75871         (osf*): Likewise.
75872         (sunos*): Likewise.
75873         (ultrix*): Likewise.
75874         (newsos*): Likewise.
75875         (dynix*): Likewise.
75876         (*bsd*): Likewise.
75877         (sysv*): Likewise.
75878         (isc*): Likewise.
75879         (esix*): Likewise.
75880         (sco*): Likewise.
75881         (minix*): Likewise.
75882         (irix4*): Likewise.
75883         (irix6*): Likewise.
75884         (solaris[2-9]*): Likewise.
75885         (none): Likewise.
75886         * configure: Regenerated.
75888 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75890         [BZ #11521]
75891         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75892         overflow or cancellation in calculating denominator.
75893         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75894         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75895         down expression to avoid unexpected rounding in newer GCCs.
75896         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75898 2012-04-26  David S. Miller  <davem@davemloft.net>
75900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75901         long-double compat symbols.
75902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75916 2012-04-25  David S. Miller  <davem@davemloft.net>
75918         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75919         HWCAP_* values only after the memory barriers have been defined.
75920         (atomic_full_barrier): Define.
75921         (atomic_read_barrier): Define.
75922         (atomic_write_barrier): Define.
75924 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75926         * shlib-versions: Add libgcc_s version information.
75927         * sysdeps/generic/libgcc_s.h: Remove.
75928         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75929         libgcc_s.h.
75930         * sysdeps/gnu/unwind-resume.c: Likewise.
75931         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75933 2012-04-25  David S. Miller  <davem@davemloft.net>
75935         * sysdeps/unix/sparc/brk.S: Delete.
75936         * sysdeps/unix/sparc/dl-brk.S: Delete.
75937         * sysdeps/unix/sparc/pipe.S: Delete.
75938         * sysdeps/unix/sparc/sysdep.S: Delete.
75939         * sysdeps/unix/sparc/sysdep.h: Delete.
75940         * sysdeps/unix/sparc/vfork.S: Delete.
75941         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75942         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75943         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75944         (ret_ERRVAL, r0, r1, MOVE): Define.
75945         (JUMPTARGET): Remove.
75946         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75947         sysdeps/unix/sparc/sysdep.h
75948         (ENTRY, END): Remove.
75949         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75951 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75953         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75954         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75955         -DIS_IN_build.
75957         * timezone/README: Update upstream location and email address for
75958         tzcode and tzdata.
75959         * timezone/zdump.c: Update from tzcode 2012b.
75960         * timezone/zic.c: Likewise.
75962         * configure.in (libc_cv_as_needed): Remove test.
75963         * configure: Regenerated.
75964         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75965         conditional definition.
75966         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75967         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75968         * config.make.in (have-as-needed): Remove variable.
75970 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75971             Paul Pluzhnikov  <ppluzhnikov@google.com>
75973         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75974         strings correctly.
75976 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75978         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75979         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75980         * sysdeps/sh/strlen.S: Likewise.
75982 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75984         * sysdeps/unix/fork.S: Remove file.
75985         * sysdeps/unix/i386/fork.S: Likewise.
75986         * sysdeps/unix/sparc/fork.S: Likewise.
75988         * sysdeps/unix/system.c: Remove file.
75989         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75991         * sysdeps/unix/getegid.S: Remove file.
75992         * sysdeps/unix/geteuid.S: Likewise.
75994 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75996         * scripts/check-localplt.awk: New file.
75997         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75998         of diff.
75999         * scripts/data/localplt-generic.data: Add a comment.
76001         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
76002         NODE when __dir_mkfile failed.
76003         * sysdeps/mach/hurd/symlinkat.c: Likewise.
76004         Reported by Ludovic Courtès <ludo@gnu.org>.
76006 2012-04-24  Andreas Jaeger  <aj@suse.de>
76008         * Makerules (common-clean): Also remove gen-as-const-headers
76009         files.
76011 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76013         * Makerules (native-compile): Do not change working directory for
76014         build.  Use $(OUTPUT_OPTION) in command.
76015         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76017 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76019         [BZ #13886]
76020         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76021         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76022         * math/libm-test.inc (floor_test): Add more tests.
76023         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76025 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76027         * sysdeps/unix/getdents.c: Remove file.
76028         * sysdeps/unix/sysv/getdents.c: Likewise.
76029         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76031         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76032         sysdeps/unix/mman/syscalls.list.
76033         (mmap): Likewise.
76034         (mprotect): Likewise.
76035         (msync): Likewise.
76036         (munmap): Likewise.
76037         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76038         * sysdeps/unix/mman/syscalls.list: Remove.
76039         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76041         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76042         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76043         * configure: Regenerated.
76044         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76045         $(libgcc_s_suffix).
76046         * config.make.in (libgcc_s_suffix): Remove variable.
76048 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76050         * sysdeps/unix/sysv/gethostname.c: Move to ...
76051         * sysdeps/posix/gethostname.c: ... here.
76053         * sysdeps/unix/execve.S: Remove file.
76055         * sysdeps/unix/_exit.S: Remove file.
76057 2012-04-23  Andreas Jaeger  <aj@suse.de>
76059         [BZ #13739]
76060         * manual/Makefile: Remove make dist support, there's no
76061         need for a stand-alone documentation tar ball.
76062         (TEXI2DVI): Define always, it's not in Makeconfig.
76063         (dist): Removed.
76064         (tar-it): Removed.
76065         (edition): Removed.
76066         (glibc-doc-$(edition).tar): Removed
76067         (%.Z): Removed.
76068         (%.gz): Removed.
76069         (%.uu): Removed.
76070         (ETAGS): Remove, it's in Makeconfig.
76071         (move-if-change): Remove, it's in Makeconfig.
76073 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76075         [BZ #13970]
76076         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76077         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76078         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76079         (strtod_l, strtof_l, strtold_l): Remove __wur.
76080         It is not necessarily an error to ignore strtol's return value.
76081         One can reliably look at the stored endptr to decide whether
76082         the number had valid syntax.
76084 2012-04-21  Andreas Jaeger  <aj@suse.de>
76086         [BZ #13739]
76087         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76089 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76091         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76092         * sysdeps/unix/sysv/Versions: Remove file.
76094 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76096         [BZ #13927]
76097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76099 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76101         [BZ #7064]
76102         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76103         version from __vm86.
76105 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76107         * sysdeps/unix/common/lxstat.c: Remove file.
76108         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76110         * sysdeps/unix/sysv/Makefile: Remove file.
76112         * sysdeps/unix/sysv/direct.h: Remove file.
76114         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76115         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76116         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76117         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76118         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76119         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76120         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76122         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76124         * sysdeps/unix/xmknod.c: Remove file.
76125         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76127         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76129         * sysdeps/unix/sysv/i386/time.S: Remove file.
76131         * sysdeps/unix/fxstat.c: Remove file.
76132         * sysdeps/unix/xstat.c: Likewise.
76133         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76135         * sysdeps/unix/sysv/sigaction.c: Remove file.
76137         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76138         (sysdep_headers): Remove variable.
76139         [termio.h not in sysdep_headers] (generated): Likewise.
76140         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76141         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76142         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76143         * sysdeps/unix/sysv/tcflow.c: Likewise.
76144         * sysdeps/unix/sysv/tcflush.c: Likewise.
76145         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76146         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76147         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76148         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76149         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76151         * sysdeps/unix/siglist.c: Remove file.
76153         * sysdeps/unix/getppid.S: Remove file.
76155         * sysdeps/unix/mkdir.c: Remove file.
76156         * sysdeps/unix/rmdir.c: Likewise.
76158 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76160         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76161         ERR_MAX value.
76162         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76163         errlist-compat value.
76165 2012-04-18  David S. Miller  <davem@davemloft.net>
76167         * sysdeps/generic/memcopy.h (reg_char): Delete.
76168         * debug/strcat_chk.c: Use char, not reg_char.
76169         * debug/strcpy_chk.c: Likewise.
76170         * debug/strncat_chk.c: Likewise.
76171         * debug/strncpy_chk.c: Likewise.
76172         * string/memchr.c: Likewise.
76173         * string/memrchr.c: Likewise.
76174         * string/rawmemchr.c: Likewise.
76175         * string/strcat.c: Likewise.
76176         * string/strchr.c: Likewise.
76177         * string/strchrnul.c: Likewise.
76178         * string/strcmp.c: Likewise.
76179         * string/strcpy.c: Likewise.
76180         * string/strncat.c: Likewise.
76181         * string/strncmp.c: Likewise.
76182         * string/strncpy.c: Likewise.
76184 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76186         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76187         __builtin_memcopy is called when src and dest ranges are known to not
76188         overlap.
76190 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76192         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76193         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76194         fwd_align_merge macro call.
76195         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76196         bwd_align_merge macro call.
76197         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76199 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76201         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76202         bwd_align_merge macros.
76203         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76204         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76205         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76207 2012-04-18  David S. Miller  <davem@davemloft.net>
76209         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76211 2012-04-18  Andreas Jaeger  <aj@suse.de>
76213         [BZ# 6794]
76214         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76215         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76216         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76218         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76219         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76220         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76222         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76223         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76224         Adjust for changed ldbl-128 files.
76226         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76227         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76228         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76230 2012-04-17  David S. Miller  <davem@davemloft.net>
76232         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76234 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76236         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76237         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76238         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76239         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76240         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76241         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76243 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76245         [BZ #6794]
76246         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76247         * math/libm-test.inc: Add ilogb errno and exception tests.
76248         * math/w_ilogb.c: New file: ilogb wrapper.
76249         * math/w_ilogbf.c: New file: ilogbf wrapper.
76250         * math/w_ilogbl.c: New file: ilogbl wrapper.
76251         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76252         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76253         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76254         exception being thrown with 0.0 as argument.
76255         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76256         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76257         exception being thrown with 0.0 as argument.
76258         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76259         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76260         exception being thrown with 0.0 as argument.
76261         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76262         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76263         exception being thrown with 0.0 as argument.
76264         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76265         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76266         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76267         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76268         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76269         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76270         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76271         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76272         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76274 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76276         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76277         with altivec.
76279 2012-04-16  Marek Polacek  <polacek@redhat.com>
76281         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76283 2012-04-16  Marek Polacek  <polacek@redhat.com>
76285         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76286         operands of fdivp instruction.
76288 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76290         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76291         * elf/tst-auditmod3b.c: Likewise.
76292         * elf/tst-auditmod4b.c: Likewise.
76293         * elf/tst-auditmod5b.c: Likewise.
76294         * elf/tst-auditmod6b.c: Likewise.
76295         * elf/tst-auditmod6c.c: Likewise.
76296         * elf/tst-auditmod7b.c: Likewise.
76297         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76298         * sysdeps/x86_64/preconfigure.in: Likewise.
76299         * sysdeps/x86_64/preconfigure: Regenerated.
76301 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76303         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76304         __ILP32__.
76306 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76309         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76311 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76313         [BZ #13973]
76314         * locale/iso-639.def: Fix gl language name. Spotted by
76315         Yaron Shahrabani.
76317 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76319         [BZ #2074]
76320         * libio/libio.h (__io_write_fn): Update comment.
76322 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76324         [BZ #2074]
76325         * stdio.texi (Hook Functions): The user provided writer function
76326         is not allowed to return -1.
76328 2012-04-11  David S. Miller  <davem@davemloft.net>
76330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76332 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76334         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76335         Add a leading slash to rtkaio.
76337 2012-04-11  Jim Meyering  <meyering@redhat.com>
76339         [BZ #11959]
76340         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76341         It is not necessarily an error to ignore fwrite's return
76342         value.  One can reliably use ferror to test for errors after
76343         the fact.
76345 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76347         * bits/types.h (__snseconds_t): New type.
76348         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
76350         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
76351         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76352         (__SNSECONDS_T_TYPE): Likewise.
76353         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76354         (__SNSECONDS_T_TYPE): Likewise.
76355         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76356         (__SNSECONDS_T_TYPE): Likewise.
76358 2012-04-10  Andreas Jaeger  <aj@suse.de>
76360         [BZ #2636]
76361         * manual/time.texi (Processor Time): Return type of times is
76362         elapsed real time since an arbitrary point in the past.
76363         (CPU Time): Move CLK_TCK from here...
76364         (Processor Time): ...to here.  Correct description.
76365         * manual/conf.texi (Constants for Sysconf): Correct description of
76366         _SC_CLK_TCK.
76368 2012-04-10  David S. Miller  <davem@davemloft.net>
76370         [BZ #13967]
76371         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
76372         where the is a gap between DT_REL(A) and DT_JMPREL.
76374 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76376         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
76377         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76378         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76380 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
76382         * elf/dl-support.c (_dl_inhibit_cache): New variable.
76383         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
76384         (dl_main): Handle --inhibit-cache.
76385         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
76386         _dl_inhibit_cache.
76387         * elf/dl-load.c (_dl_map_object): Use it.
76388         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
76390 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76392         [BZ #13872]
76393         * sysdeps/i386/fpu/e_powl.S (p78): New object.
76394         (__ieee754_powl): Saturate large exponents rather than testing for
76395         overflow of y*log2(x).
76396         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76397         * math/libm-test.inc (pow_test): Do not permit spurious overflow
76398         exceptions.
76400         [BZ #11521]
76401         * math/s_ctan.c: Include <float.h>.
76402         (__ctan): Avoid internal overflow or cancellation in calculating
76403         denominator.
76404         * math/s_ctanf.c: Likewise.
76405         * math/s_ctanl.c: Likewise.
76406         * math/s_ctanh.c: Likewise.
76407         * math/s_ctanhf.c: Likewise.
76408         * math/s_ctanhl.c: Likewise.
76409         * math/libm-test.inc (ctan_test): Add more tests.
76410         (ctanh_test): Likewise.
76411         * sysdeps/i386/fpu/libm-test-ulps: Update.
76412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76414 2012-04-09  Andreas Jaeger  <aj@suse.de>
76416         [BZ #6894]
76417         * manual/filesys.texi (Directory Entries): Mention that d_namlen
76418         is an optional BSD extension.
76420         [BZ #10254]
76421         * manual/stdio.texi (Opening Streams): Document additional fopen
76422         parameters.
76424 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76426         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76427         %eax without telling the compiler.
76429 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76431         [BZ # 13963]
76432         * manual/install.texi: Use sourceware.org.
76434 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76436         [BZ #13873]
76437         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76438         (__ieee754_pow): Generate overflow and underflow using huge*huge
76439         and tiny*tiny rather than just returning constant infinity or zero
76440         for large exponents.
76441         * math/libm-test.inc (pow_test): Require overflow exceptions for
76442         applicable cases of large exponents.
76444         [BZ #706]
76445         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76446         (__ieee754_pow): Use iterative multiplication algorithm only for
76447         integer exponents with absolute value below 1024.  Check for odd
76448         integer exponents when using algorithm for real exponents.
76449         * math/libm-test.inc (pow_test): Add more tests.
76450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76452 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76454         [BZ #13705]
76455         * math/libm-test.inc (exp_test): Do not allow overflow exception
76456         on underflow test.
76458 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76460         [BZ #13705]
76461         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76462         instead of __kernel_standard_f.
76464 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76466         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76467         * sysdeps/x86_64/memset_chk.S: Likewise.
76469 2012-04-08  Andreas Jaeger  <aj@suse.de>
76471         [BZ #10153]
76472         * manual/startup.texi (Environment Access): Describe return value
76473         for putenv and setenv.
76475         [BZ #6895]
76476         * manual/filesys.texi (Directory Entries): Add description for
76477         DT_LNK.
76479         [BZ #6890]
76480         * manual/filesys.texi (Directory Entries): Clarify that it's file
76481         system not operating system in the description of DT_UNKNOWN.
76483         [BZ #6578]
76484         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76486 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76488         [BZ #6649]
76489         * manual/llio.texi (Opening and Closing Files): Add cross
76490         reference to explain mode argument.
76492 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76494         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76495         * sysdeps/x86_64/memset_chk.S: Likewise.
76497 2012-04-07  David S. Miller  <davem@davemloft.net>
76499         * elf/elf.h (R_SPARC_WDISP10): Define.
76500         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76501         R_SPARC_SIZE32.
76502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76503         R_SPARC_SIZE64 and R_SPARC_H34.
76505 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76507         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76508         conditions and remove no longer applicable assertion.
76510 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76512         * bits/byteswap.h: Include <features.h>.
76513         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76514         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76516 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76518         * bits/byteswap.h (__bswap_16): Removed.
76519         Include <bits/byteswap-16.h> to get __bswap_16.
76520         * sysdeps/i386/bits/byteswap.h: Likewise.
76521         * sysdeps/s390/bits/byteswap.h: Likewise.
76522         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76523         * bits/byteswap-16.h: New file.
76524         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76525         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76526         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76527         * string/Makefile (headers): Add bits/byteswap-16.h.
76529 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76531         [BZ #13895]
76532         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76533         extra indirection.
76534         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76535         * nss/tst-nss-static.c: New.
76537 2012-04-06  Robert Millan  <rmh@gnu.org>
76539         [BZ #6486]
76540         * manual/llio.texi (File Position Primitive): lseek
76541         refers to WHENCE when it really means OFFSET.
76543 2012-04-06  Andreas Jaeger  <aj@suse.de>
76545         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76546         strncmp declarations.
76548         * abilist/libc.abilist: Add __poll and __ppoll.
76550 2012-04-05  David S. Miller  <davem@davemloft.net>
76552         * scripts/check-local-headers.sh: Accept a host triplet in the
76553         path matched by the exclude regexp.
76555         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76556         definition.
76557         * sysdeps/powerpc/powerpc32/dl-machine.h
76558         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76559         * sysdeps/s390/s390-32/dl-machine.h
76560         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76561         * sysdeps/sparc/sparc32/dl-machine.h
76562         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76563         * sysdeps/sparc/sparc64/dl-machine.h
76564         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76566         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76567         lazy binding.
76568         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76569         undefined symbol errors.
76571         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76572         DT_NEEDED entries.
76574 2012-04-05  Michael Matz  <matz@suse.de>
76576         [BZ #13592]
76577         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76579 2012-04-05  Andreas Jaeger  <aj@suse.de>
76581         [BZ #13908]
76582         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76583         comment.
76585 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76587         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76588         which ROUND is no valid rounding mode.
76590 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76592         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76593         read again.
76594         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76596 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76598         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76599         an exception using FPU order intentionally.
76601 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76603         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76604         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76605         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76606         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76608 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76610         [BZ #12340]
76611         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76612         EINVAL when BUFLEN is too smal.
76614 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76616         [BZ #13553]
76617         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76618         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76620 2012-04-03  Andreas Jaeger  <aj@suse.de>
76622         [BZ #13938]
76623         * manual/setjmp.texi (System V contexts): Fix sentence.
76625         [BZ #13926]
76626         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76627         New macro for this case.
76628         [!__GNUC__] (__bswap_64): New inline function for this case.
76629         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76630         * bits/byteswap.h: Likewise.
76631         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76632         ull, guard with __GLIBC_HAVE_LONG_LONG.
76634         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76635         __GLIBC_HAVE_LONG_LONG.
76637         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76638         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76640 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76642         [BZ #13691]
76643         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76644         inptr and inend, rather than using last_ch.
76646 2012-04-02  David S. Miller  <davem@davemloft.net>
76648         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76649         * stdio-common/printf-parse.h (read_int): Change return type to
76650         'int', return -1 on INT_MAX overflow.
76651         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76652         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76653         overflows INT_MAX.  Check for overflow of in-format-string precision
76654         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76655         SIZE_MAX not INT_MAX for integer overflow test.
76656         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76657         skip the construct in the format string but do not record anything.
76658         * stdio-common/bug22.c: Adjust to test both width/prevision
76659         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76660         explicitly for proper errno values.
76662 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76664         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76665         CHAR_MAX.
76666         * string/test-strcmp.c [! WIDE]: Likewise.
76667         * time/tst-mktime2.c: Likewise for INT_MAX.
76668         * string/test-string.h: #include <sys/param.h> for MIN.
76670         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76671         * sysdeps/i386/init-first.c (init): Likewise.
76672         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76673         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76674         * sysdeps/sh/init-first.c (init): Likewise.
76676 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76678         * po/ru.po: Update from translation team.
76679         * po/vi.po: Likewise.
76681 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76683         * resolv/nss_dns/dns-host.c: Merge copyright years.
76685 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76687         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76688         Optimize memcpy with prefetch if
76689         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76690         src, dst pointers have unequal 16 byte alignments.
76692 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76694         [BZ #13928]
76695         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76696         from a CNAME entry and return the minimum ttl for the query.
76697         (gaih_getanswer_slice): Likewise.
76699 2012-03-30  Jeff Law  <law@redhat.com>
76701         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76702         due to long keys.
76703         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76704         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76706         * resolv/nss_dns/dns-host.c: Update copyright year.
76708 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76710         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76711         requests to save a system call.  Fix check that all bytes are sent.
76713         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76714         comments for sendmmsg.
76716 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76718         [BZ #13691]
76719         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76720         with only 1 character between 0x0041 and 0x01b0.
76721         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76722         * wcsmbs/tst-mbsnrtowcs.c: New file.
76724 2012-03-29  David S. Miller  <davem@davemloft.net>
76726         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76727         small copies by hand.
76729 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76731         [BZ #13761]
76732         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76733         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76734         group memberships.
76736 2012-03-28  David S. Miller  <davem@davemloft.net>
76738         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76739         that branches into memcpy.
76740         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76742         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76743         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76745         bits.
76746         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76747         implementation too.
76748         * sysdeps/sparc/mempcpy.S: New file.
76750         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76751         the IFUNC routine in the libc case.
76752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76754         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76755         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76756         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76757         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76758         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76759         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76760         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76761         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76763         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76764         loop to 256 bytes instead of 64 bytes and fix test signedness.
76766         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76767         * sysdeps/sparc/sparc32/Makefile: rather than here...
76768         * sysdeps/sparc/sparc64/Makefile: and here.
76770 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76772         * malloc/mallocbug.c: Avoid warnings about unused variables.
76774 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76776         [BZ #13760]
76777         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76778         in the right place. Discard and retry query if response is
76779         larger than input buffer size.
76781 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76783         [BZ #369]
76784         [BZ #2678]
76785         [BZ #3866]
76786         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76787         x for large integer exponent.
76788         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76789         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76790         sign of result as needed afterwards.
76791         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76792         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76793         result for underflowing pow the same as for overflow.
76794         (__kernel_standard_l): Handle powl overflow and underflow here
76795         rather than calling __kernel_standard.
76796         * math/libm-test.inc (pow_test): Add more tests.
76798         [BZ #3868]
76799         [BZ #13879]
76800         [BZ #13910]
76801         [BZ #13911]
76802         [BZ #13912]
76803         [BZ #13913]
76804         [BZ #13915]
76805         [BZ #13916]
76806         [BZ #13917]
76807         [BZ #13918]
76808         [BZ #13919]
76809         [BZ #13920]
76810         [BZ #13921]
76811         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76812         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76813         (__kernel_standard_l): New function.
76814         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76815         __kernel_standard.
76816         * math/w_acosl.c (__acosl): Likewise.
76817         * math/w_asinl.c (__asinl): Likewise.
76818         * math/w_atan2l.c (__atan2l): Likewise.
76819         * math/w_atanhl.c (__atanhl): Likewise.
76820         * math/w_coshl.c (__coshl): Likewise.
76821         * math/w_exp10l.c (__exp10l): Likewise.
76822         * math/w_exp2l.c (__exp2l): Likewise.
76823         * math/w_fmodl.c (__fmodl): Likewise.
76824         * math/w_hypotl.c (__hypotl): Likewise.
76825         * math/w_j0l.c (__j0l, __y0l): Likewise.
76826         * math/w_j1l.c (__j1l, __y1l): Likewise.
76827         * math/w_jnl.c (__jnl, __ynl): Likewise.
76828         * math/w_lgammal.c (__lgammal): Likewise.
76829         * math/w_log10l.c (__log10l): Likewise.
76830         * math/w_log2l.c (__log2l): Likewise.
76831         * math/w_logl.c (__logl): Likewise.
76832         * math/w_powl.c (__powl): Likewise.
76833         * math/w_remainderl.c (__remainderl): Likewise.
76834         * math/w_scalbl.c (sysv_scalbl): Likewise.
76835         * math/w_sinhl.c (__sinhl): Likewise.
76836         * math/w_sqrtl.c (__sqrtl): Likewise.
76837         * math/w_tgammal.c (__tgammal): Likewise.
76838         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76839         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76840         * math/libm-test.inc (acos_test): Add more tests.
76841         (acosh_test): Likewise.
76842         (asin_test): Likewise.
76843         (atanh_test): Likewise.
76844         (exp_test): Likewise.
76845         (exp10_test): Likewise.
76846         (exp2_test): Likewise.
76847         (expm1_test): Likewise.
76848         (lgamma_test): Likewise.
76849         (log_test): Likewise.
76850         (log10_test): Likewise.
76851         (log1p_test): Likewise.
76852         (log2_test): Likewise.
76853         (pow_test): Do not allow some spurious overflow exceptions.
76854         (sqrt_test): Add more tests.
76855         (tgamma_test): Likewise.
76856         (y0_test): Likewise.
76857         (y1_test): Likewise.
76858         (yn_test): Likewise.
76860 2012-03-27  Anton Blanchard  <anton@samba.org>
76862         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76863         MAP_HUGETLB.
76864         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76865         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76868 2012-03-27  David S. Miller  <davem@davemloft.net>
76870         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76872         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76873         have-as-vis3 check.
76875 2012-03-27  Andreas Jaeger  <aj@suse.de>
76877         * sysdeps/x86_64/elf/configure.in: Moved to ...
76878         * sysdeps/x86_64/configure.in: ... here.
76879         * sysdeps/x86_64/elf/start.S: Moved to ...
76880         * sysdeps/x86_64/start.S: ... here.
76881         * sysdeps/x86_64/elf/configure: Delete.
76883         * sysdeps/x86_64/configure.in: Merge contents from
76884         sysdeps/i386/configure.in (without i686 check).
76886         * sysdeps/i386/elf/Versions: Merge into ...
76887         * sysdeps/i386/Versions: ... this.
76888         * sysdeps/i386/elf/Versions: Delete file.
76889         * sysdeps/i386/elf/start.S: Moved to ...
76890         * sysdeps/i386/start.S: ...here.
76891         * sysdeps/i386/elf/configure.in: Merge into...
76892         * sysdeps/i386/configure.in: ...here.
76893         * sysdeps/i386/elf/configure.in: Delete file.
76894         * sysdeps/i386/elf/configure: Delete file.
76896         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76897         * debug/backtracesyms.c: ... here.
76898         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76899         * debug/backtracesymsfd.c: ... here.
76900         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76901         * sysdeps/generic/ifunc-sel.h: ... here.
76903         * sysdeps/unix/i386/start.c: Delete file.
76904         * sysdeps/unix/sparc/start.c: Delete file.
76905         * sysdeps/unix/start.c: Delete file.
76907         * sysdeps/sh/elf/configure.in: Moved to ...
76908         * sysdeps/sh/configure.in: ... here.
76909         * sysdeps/sh/elf/start.S: Moved to ...
76910         * sysdeps/sh/start.S: ... here.
76911         * sysdeps/sh/elf/configure: Delete file.
76913         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76914         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76915         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76916         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76917         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76918         * sysdeps/powerpc/powerpc64/start.S: here.
76919         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76920         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76921         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76922         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76923         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76925         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76926         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76927         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76928         * sysdeps/powerpc/powerpc32/start.S: ... here.
76929         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76930         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76931         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76933         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76934         * sysdeps/powerpc/ifunc-sel.h: ... here.
76935         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76936         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76938         * sysdeps/sparc/elf/configure.in: Moved to ...
76939         * sysdeps/sparc/configure.in: ... here.
76940         * sysdeps/sparc/elf/configure: Delete file.
76941         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76942         * sysdeps/sparc/sparc32/start.S: ... here.
76943         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76944         * sysdeps/sparc/sparc64/start.S: ... here.
76945         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76946         * sysdeps/sparc/sparc32/Makefile: ... this.
76947         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76948         * sysdeps/sparc/sparc64/Makefile: ... this.
76950         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76951         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76952         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76953         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76954         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76955         * sysdeps/s390/s390-32/setjmp.S: ... here.
76956         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76957         * sysdeps/s390/s390-32/configure.in: ... here.
76958         * sysdeps/s390/s390-32/elf/configure: Delete file.
76959         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76960         * sysdeps/s390/s390-32/start.S: ... here.
76962         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76963         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76964         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76965         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76966         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76967         * sysdeps/s390/s390-64/setjmp.S: ... here.
76968         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76969         * sysdeps/s390/s390-64/configure.in: ... here
76970         * sysdeps/s390/s390-64/elf/configure: Delete file.
76971         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76972         * sysdeps/s390/s390-64/start.S: ... here.
76973         * sysdeps/s390/s390-64/elf/configure: Delete.
76975         * configure.in: Remove support for elf directories in sysdeps.
76977         * configure: Regenerated.
76978         * sysdeps/i386/configure: Regenerated.
76979         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76980         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76981         * sysdeps/s390/s390-32/configure: Regenerated.
76982         * sysdeps/s390/s390-64/configure: Regenerated.
76983         * sysdeps/sh/configure: Regenerated.
76984         * sysdeps/sparc/configure: Regenerated.
76985         * sysdeps/x86_64/configure: Regenerated.
76987 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76992         denormal result into account.
76994 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76996         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76997         Reported by Allan McRae <allan@archlinux.org>.
76999 2012-03-23  Jeff Law  <law@redhat.com>
77001         * nss/getnssent.c (__nss_getent): Fix typo.
77003 2012-03-23  David S. Miller  <davem@davemloft.net>
77005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77007 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77009         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77010         to pad to uint64_t for each field.
77011         (dl_tls_index): Replace unsigned long with uint64_t.
77013 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77014         Paul Pluzhnikov  <ppluzhnikov@google.com>
77016         [BZ #6528]
77017         * grp/Makefile (otherlibs): Don't set it.
77018         * inet/Makefile (otherlibs): Likewise.
77019         * login/Makefile (otherlibs): Likewise.
77020         * nscd/Makefile (otherlibs): Likewise.
77021         * posix/Makefile (otherlibs): Likewise.
77022         * pwd/Makefile (otherlibs): Likewise.
77023         * rt/Makefile (otherlibs): Likewise.
77024         * sunrpc/Makefile (otherlibs): Likewise.
77025         * nss/Makefile (otherlibs): Likewise.
77026         Add libnss_files to routines and static-only-routines.
77027         ($(objpfx)getent): Remove rule.
77028         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77029         static-only-routines.
77031 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77033         [BZ #13892]
77034         * math/s_cexp.c: Include <float.h>.
77035         (__cexp): Handle exp result overflowing not necessarily
77036         overflowing both real and imaginary parts of result.
77037         * math/s_cexpf.c: Likewise.
77038         * math/s_cexpl.c: Likewise.
77039         * math/libm-test.inc (cexp_test): Add more tests.
77040         * sysdeps/i386/fpu/libm-test-ulps: Update.
77041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77043 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77045         * include/link.h (ELFW): New macro.
77046         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77047         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77049 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77051         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77052         with uint64_t.
77054 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77056         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77057         declaration.
77058         (struct La_x32_retval): Likewise.
77060 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77062         * sysdeps/x86_64/preconfigure.in: New file.
77063         * sysdeps/x86_64/preconfigure: New generated file.
77065 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77067         [BZ #13824]
77068         * math/e_exp2l.c: Include <float.h>.
77069         (__ieee754_exp2l): Handle overflow and underflow cases
77070         separately.  Only pass fractional part of argument to
77071         __ieee754_expl.
77072         * math/libm-test.inc (exp2_test): Add more tests.
77074         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77075         negating x to take absolute value.
77076         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77077         Likewise.
77078         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77079         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77080         Likewise.
77081         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77082         computing low part if x was negated.
77083         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77085 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77087         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77088         la_x32_gnu_pltexit.
77089         (pltexit): Cast int_retval to ptrdiff_t.
77090         * elf/tst-auditmod3b.c: Likewise.
77091         * elf/tst-auditmod4b.c: Likewise.
77092         * elf/tst-auditmod5b.c: Likewise.
77093         * elf/tst-auditmod6b.c: Likewise.
77094         * elf/tst-auditmod6c.c: Likewise.
77095         * elf/tst-auditmod7b.c: Likewise.
77097         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77098         and x32_gnu_pltexit.
77100         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77101         __ELF_NATIVE_CLASS.
77102         (La_x32_regs): New macro.
77103         (La_x32_retval): Likewise.
77104         (la_x32_gnu_pltenter): New function prototype.
77105         (la_x32_gnu_pltexit): Likewise.
77107 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77109         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77110         exponent.
77112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77114         * configure.in (libc_cv_cc_nofma): Check for option to disable
77115         generation of FMA instructions.
77116         * configure: Regenerate.
77117         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77118         * sysdeps/ieee754/dbl-64/Makefile: New file.
77119         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77120         Remove brandred-fma4.
77121         (CFLAGS-brandred-fma4.c): Remove.
77122         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77123         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77124         define.
77125         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77126         define.
77128 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77130         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77131         LLONG_MAX != LONG_MAX.
77132         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77133         (_fitoa_word): Likewise.
77134         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77135         LLONG_MAX != LONG_MAX.
77136         * stdio-common/_itowa.h: Include <_itoa.h>.
77137         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77138         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77139         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77140         only if not defined.
77141         (_ITOA_WORD_TYPE): Likewise.
77142         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77143         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77145 2012-03-21  David S. Miller  <davem@davemloft.net>
77147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77149 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77151         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77152         of x86_64 when setting libc_cv_slibdir, libdir and
77153         libc_cv_localedir.
77154         * sysdeps/unix/sysv/linux/configure: Regenerated.
77156 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77158         * manual/lang.texi (Old Varargs): Remove section.
77159         (How Variadic): Update menu.
77160         (va_start): Do not mention varargs.h.
77162 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77163             Joseph Myers  <joseph@codesourcery.com>
77165         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77166         link test.
77167         * configure: Regenerated.
77169 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77171         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77172         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77173         conformtest.pl
77175 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77177         * NOTES: Remove.
77178         * Makefile (files-for-dist): Remove NOTES.
77179         (NOTES): Remove rule.
77180         * README: Don't refer to NOTES.
77181         * manual/creature.texi: Don't include macros.texi.
77182         * manual/intro.texi (creature.texi): Remove comment referring to
77183         NOTES.
77185         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77186         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77187         * configure: Regenerated.
77188         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77189         LIBC_TRY_CC_OPTION.
77190         (libc_cv_as_i686): Likewise.
77191         (libc_cv_cc_avx): Likewise.
77192         (libc_cv_cc_sse2avx): Likewise.
77193         (libc_cv_cc_fma4): Likewise.
77194         (libc_cv_cc_novzeroupper): Likewise.
77195         * sysdeps/i386/configure: Regenerated.
77197         [BZ #13883]
77198         * sysdeps/i386/fpu/s_cexp.S: Remove.
77199         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77200         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77201         * math/libm-test.inc (cexp_test): Add more tests.
77202         * sysdeps/i386/fpu/libm-test-ulps: Update.
77203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77205 2012-03-21  Allan McRae  <allan@archlinux.org>
77207         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77209 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77211         [BZ #13871]
77212         * math/w_exp2.c: Do not include <float.h>.
77213         (o_threshold, u_threshold): Remove.
77214         (__exp2): Calculate result before checking finiteness and calling
77215         __kernel_standard.
77216         * math/w_exp2f.c: Likewise.
77217         * math/w_exp2l.c: Likewise.
77218         * math/libm-test.inc (exp2_test): Require overflow exception for
77219         1e6 input.
77221         [BZ #3866]
77222         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77223         range of signed 64-bit integers before using fistpll.  Remove
77224         checks for whether integers fit in mantissa bits.
77225         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77226         the range of signed 32-bit integers before using fistpl.  Remove
77227         checks for whether integers fit in mantissa bits.
77228         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77229         (__ieee754_powl): Test for y outside the range of signed 64-bit
77230         integers before using fistpll.  Reduce 64-bit values to 63-bit
77231         ones as needed.
77232         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77233         divide-by-zero is raised for zero to large negative powers.
77234         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77235         (__ieee754_powl): Test for y outside the range of signed 64-bit
77236         integers before using fistpll.  Reduce 64-bit values to 63-bit
77237         ones as needed.
77238         * math/libm-test.inc (pow_test): Add more tests.
77240 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77242         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77243         <stdio-common/_itoa.h>.
77244         * debug/segfault.c: Likewise.
77245         * elf/dl-cache.c: Likewise.
77246         * elf/dl-minimal.c: Likewise.
77247         * elf/dl-misc.c: Likewise.
77248         * elf/dl-sysdep.c: Likewise.
77249         * elf/dl-version.c: Likewise.
77250         * elf/rtld.c: Likewise.
77251         * hurd/hurdsock.c: Likewise.
77252         * hurd/lookup-retry.c: Likewise.
77253         * malloc/malloc.c: Likewise.
77254         * malloc/mtrace.c: Likewise.
77255         * nscd/nscd_getgr_r.c: Likewise.
77256         * nscd/nscd_getpw_r.c: Likewise.
77257         * nscd/nscd_getserv_r.c: Likewise.
77258         * posix/getopt_init.c: Likewise.
77259         * posix/wordexp.c: Likewise.
77260         * stdio-common/_itoa.c: Likewise.
77261         * stdio-common/printf_fphex.c: Likewise.
77262         * stdio-common/vfprintf.c: Likewise.
77263         * string/_strerror.c: Likewise.
77264         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77265         * sysdeps/i386/i686/hp-timing.h: Likewise.
77266         * sysdeps/mach/_strerror.c: Likewise.
77267         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77268         * sysdeps/mach/hurd/sethostid.c: Likewise.
77269         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77270         * sysdeps/mach/xpg-strerror.c: Likewise.
77271         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77272         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77273         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77274         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77275         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77276         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77277         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77278         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77279         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77280         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77281         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77282         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77283         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77284         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77285         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77286         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77287         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77288         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77289         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77290         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77291         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77293         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77295         * stdio-common/_itoa.h: Moved to ...
77296         * sysdeps/generic/_itoa.h: Here.
77298         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77300         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77301         instead of "_itoa.h" and "_itowa.h".
77302         * stdio-common/vfprintf.: Likewise.
77304 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77306         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77307         <bits/wordsize.h>.
77308         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77309         (__signbit): Likewise.
77310         (llrintf): Likewise.
77311         (llrint): Likewise.
77313 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77315         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77316         __WORDSIZE != 64.
77318 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77320         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77321         OVERFLOW_EXCEPTION_OK.
77322         * math/libm-test.inc ("Philosophy"): Update comment about
77323         exception testing.
77324         (OVERFLOW_EXCEPTION): Define.
77325         (OVERFLOW_EXCEPTION_OK): Likewise.
77326         (INVALID_EXCEPTION_OK): Renumber.
77327         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77328         (IGNORE_ZERO_INF_SIGN): Likewise.
77329         (test_exceptions): Handle FE_OVERFLOW.
77330         (exp10_test): Expect overflow exceptions.
77331         (exp2_test): Likewise.
77332         (expm1_test): Likewise.
77333         (nextafter_test): Likewise.
77334         (pow_test): Likewise.
77335         (scalbn_test): Likewise.
77336         (scalbln_test): Likewise.
77338 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77340         * sysdeps/x86_64/bits/atomic.h
77341         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77342         64bit integer.
77343         (atomic_exchange_acq): Likewise.
77344         (__arch_exchange_and_add_body): Likewise.
77345         (__arch_add_body): Likewise.
77346         (atomic_add_negative): Likewise.
77347         (atomic_add_zero): Likewise.
77349 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77351         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
77352         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
77354 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77356         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
77357         Check __x86_64__ instead of __WORDSIZE.
77359 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77361         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
77363 2012-03-19  David S. Miller  <davem@davemloft.net>
77365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77367         * sysdeps/sparc/fpu/fenv_private.h: New file.
77368         * sysdeps/sparc/fpu/math_private.h: Use it.
77369         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
77370         Remove.
77371         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
77372         (libc_feholdexcept_setroundl): Remove.
77373         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
77374         Remove.
77375         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
77376         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
77378 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77380         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
77381         int64_t instead of long int.
77382         (INSERT_WORDS64): Likewise.
77384 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77386         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
77387         _Unwind_GetCFA return to _Unwind_Ptr first.
77389 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
77391         [BZ #13629]
77392         * math/s_clog.c: Include <float.h>.
77393         (__clog): Scale large or subnormal inputs.
77394         * math/s_clogf.c: Likewise.
77395         * math/s_clogl.c: Likewise.
77396         * math/s_clog10.c: Include <float.h>.
77397         (M_LOG10_2): Define.
77398         (__clog10): Scale large or subnormal inputs.
77399         * math/s_clog10f.c: Likewise.
77400         * math/s_clog10l.c: Likewise.
77401         * math/libm-test.inc (clog_test): Add more tests.
77402         (clog10_test): Likewise.
77403         * sysdeps/i386/fpu/libm-test-ulps: Update.
77404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77406         [BZ #11451]
77407         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
77408         x and y.
77409         * math/libm-test.inc (atan2_test): Add another test.
77411         * Makerules (common-objdir-compile): Remove.
77412         * sysdeps/unix/Makefile (config-generated): Do not add
77413         $(unix-generated) to variable.
77414         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
77415         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
77416         Remove rule.
77417         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
77418         Likewise.
77419         [generic bits/local_lim.h] (before-compile): Do not append to
77420         variable.
77421         [generic bits/local_lim.h] (common-generated): Likewise.
77422         [generic sys/param.h] (before-compile): Do not append to variable.
77423         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77424         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77425         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77426         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77427         include.
77428         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77429         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77430         [generic sys/param.h] ($(addprefix
77431         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77432         [generic sys/param.h] (common-generated): Do not append to
77433         variable.
77434         [generic sys/param.h] (sysdep_headers): Likewise.
77435         [generic bits/errno.h] (before-compile): Do not append to
77436         variable.
77437         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77438         rule.
77439         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77440         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77441         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77442         [generic bits/errno.h] (common-generated): Do not append to
77443         variable.
77444         [generic bits/ioctls.h] (before-compile): Do not append to
77445         variable.
77446         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77447         rule.
77448         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77449         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77450         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77451         rule.
77452         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77453         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77454         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77455         [generic bits/ioctls.h] (common-generated): Do not append to
77456         variable.
77457         [generic sys/syscall.h] (syscall.h): Remove variable.
77458         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77459         rule.
77460         [generic sys/syscall.h] (before-compile): Do not append to
77461         variable.
77462         [generic sys/syscall.h] (common-generated): Likewise.
77463         * sysdeps/unix/errnos-tmpl.c: Remove file.
77464         * sysdeps/unix/errnos.awk: Likewise.
77465         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77466         * sysdeps/unix/ioctls.awk: Likewise.
77467         * sysdeps/unix/mk-local_lim.c: Likewise.
77468         * sysdeps/unix/snarf-ioctls: Likewise.
77470 2012-03-19  Richard Henderson  <rth@twiddle.net>
77472         * sysdeps/i386/fpu/fenv_private.h: New file.
77473         * sysdeps/i386/fpu/math_private.h: Use it.
77474         (math_opt_barrier, math_force_eval): Remove.
77475         (libc_feholdexcept_setround_53bit): Remove.
77476         (libc_feupdateenv_53bit): Remove.
77477         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77478         (math_opt_barrier, math_force_eval): Remove.
77479         (libc_feholdexcept): Remove.
77480         (libc_feholdexcept_setround): Remove.
77481         (libc_fetestexcept, libc_fesetenv): Remove.
77482         (libc_feupdateenv_test): Remove.
77483         (libc_feupdateenv, libc_feholdsetround): Remove.
77484         (libc_feresetround): Remove.
77486         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77487         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77489         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77490         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77491         (libc_feupdateenv_testl): New.
77492         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77493         (libc_feupdateenv_testf): New.
77494         (libc_feupdateenv): Use libc_feupdateenv_test.
77495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77496         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77498         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77499         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77500         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77501         (libc_feresetround_noex): New.
77502         (libc_feresetround_noexf): New.
77503         (libc_feresetround_noexl): New.
77504         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77505         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77506         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77507         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77508         SET_RESTORE_ROUND.
77509         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77511         (__cos): Likewise.
77512         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77513         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77514         SET_RESTORE_ROUND_NOEX.
77515         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77516         SET_RESTORE_ROUND_NOEXF.
77517         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77518         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77519         (libc_feholdsetroundf): New.
77520         (libc_feresetround, libc_feresetroundf): New.
77522         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77523         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77524         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77526         * sysdeps/generic/math_private.h: Include <fenv.h>.
77527         (default_libc_feholdexcept): New.
77528         (default_libc_feholdexcept_setround): New.
77529         (default_libc_fesetenv, default_libc_feupdateenv): New.
77530         (libc_feholdexcept): Only define if undefined.
77531         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77532         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77533         (libc_feholdexcept_setroundl): Likewise.
77534         (libc_feholdexcept_setround_53bit): Likewise.
77535         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77536         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77537         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77538         (libc_feupdateenv_53bit): Likewise.
77539         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77540         (libc_feholdexcept): Convert from macro to inline function.
77541         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77542         (libc_fesetenv, libc_feupdateenv): Likewise.
77544         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77545         not previously defined.
77546         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77547         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77548         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77549         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77550         * sysdeps/ieee754/flt-32/math_private.h: New file.
77551         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77552         math_private.h below SET_FLOAT_WORD.
77553         (__isnan, __isinf_ns, __finite): Remove.
77554         (__isnanf, __isinf_nsf, __finitef): Remove.
77556 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77560 2012-03-17  David S. Miller  <davem@davemloft.net>
77562         [BZ #6471]
77563         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77564         for 2.16.
77566 2012-03-16  David S. Miller  <davem@davemloft.net>
77568         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77569         warnings.
77571         [BZ #6471]
77572         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77573         properly.
77574         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77575         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77576         sysdep_routines when subdir is sysvipc.
77577         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77578         __getshmlba helper.
77580         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77582 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77584         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77585         [__LP64__].
77587 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77589         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77590         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77591         (__lround): Renamed to ...
77592         (__llround): This.  Replace long int with long long int.
77593         Define lround functions as aliases of llround functions.
77594         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77596 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77598         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77599         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77600         adresses to uintptr_t.  Replace "long int" and "unsigned long
77601         int" with "greg_t" on va_arg.
77603 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77605         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77606         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77608         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77609         Move e_machine check before EI_CLASS check.  Handle x32
77610         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77611         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77612         SKIP_EM_IA_64 and include
77613         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77615         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77616         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77617         (add_system_dir): New macro.
77619         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77620         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77622 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77624         [BZ #2551]
77625         [BZ #2552]
77626         [BZ #2553]
77627         [BZ #2554]
77628         [BZ #2562]
77629         [BZ #2563]
77630         [BZ #2565]
77631         [BZ #2566]
77632         [BZ #2576]
77633         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77634         (y0): Likewise.
77635         * math/w_j0f.c (j0f): Likewise.
77636         (y0f): Likewise.
77637         * math/w_j0l.c (__j0l): Likewise.
77638         (__y0l): Likewise.
77639         * math/w_j1.c (j1): Likewise.
77640         (y1): Likewise.
77641         * math/w_j1f.c (j1f): Likewise.
77642         (y1f): Likewise.
77643         * math/w_j1l.c (__j1l): Likewise.
77644         (__y1l): Likewise.
77645         * math/w_jn.c (jn): Likewise.
77646         (yn): Likewise.
77647         * math/w_jnf.c (jnf): Likewise.
77648         (ynf): Likewise.
77649         * math/w_jnl.c (__jnl): Likewise.
77650         (__ynl): Likewise.
77651         * math/libm-test.inc (j0_test): Add more tests.
77652         (j1_test): Likewise.
77653         (jn_test): Likewise.  Add trailing semicolon to existing test.
77654         (y0_test): Likewise.
77655         (y1_test): Likewise.
77656         * sysdeps/i386/fpu/libm-test-ulps: Update.
77657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77659         [BZ #13851]
77660         [BZ #13854]
77661         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77662         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77663         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77664         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77665         (__tanl): Set errno for infinite argument.
77666         * sysdeps/i386/fpu/mptan.c: Remove.
77667         * sysdeps/i386/fpu/s_tan.S: Likewise.
77668         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77669         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77670         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77671         * math/libm-test.inc (tan_test): Add more tests and enable more
77672         tests for double and long double.
77673         * sysdeps/i386/fpu/libm-test-ulps: Update.
77674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77676 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77678         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77679         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77681 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77683         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77684         * configure.in: Use it for both main tree and add-ons.
77685         * configure: Regenerated.
77687 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77689         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77691 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77693         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77694         in comment.
77696         [BZ #13851]
77697         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77698         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77699         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77700         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77701         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77702         infinite argument.
77703         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77704         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77705         != 0 for prec == 2.
77706         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77707         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77708         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77709         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77710         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77711         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77712         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77713         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77714         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77715         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77716         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77717         * math/libm-test.inc (cos_test): Add more tests and enable more
77718         tests for long double.
77719         (sin_test): Likewise.
77720         (sincos_test): Likewise.
77721         * sysdeps/i386/fpu/libm-test-ulps: Update.
77722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77724 2012-03-16  David S. Miller  <davem@davemloft.net>
77726         * sysdeps/sparc/fpu/math_private.h: New file.
77728 2012-03-15  David S. Miller  <davem@davemloft.net>
77730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77731         file.
77732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77734         file.
77735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77740         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77741         sysdep routines.
77742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77744         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77745         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77747         * sysdeps/sparc/sparc-ifunc.h: New file.
77748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77749         sparc-ifunc.h
77750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77752         Likewise.
77753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77754         Likewise.
77755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77759         Likewise.
77760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77765         Likewise.
77766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77767         Likewise.
77768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77790         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77791         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77793 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77795         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77796         scaling.
77797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77799 2012-03-15  Andreas Jaeger  <aj@suse.de>
77801         [BZ #13852]
77802         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77803         ieee754/flt-32 implementation for sin, cos and sincos.
77804         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77805         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77806         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77807         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77808         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77809         ieee754/flt-32 implementation for tan.
77811         * math/libm-test.inc (cos_test): Enable some large input tests for
77812         float as well
77813         (sin_test): Likewise.
77814         (sincos_test): Likewise.
77815         (tan_test): Add tests for large input.
77817         * sysdeps/i386/fpu/libm-test-ulps: Update.
77819 2012-03-15  Andreas Jaeger  <aj@suse.de>
77821         [BZ #13658]
77822         * math/libm-test.inc (cos_test): Add more test cases.
77823         (sin_test): Likewise.
77824         (sincos_test): Likewise.
77826 2012-03-15  Andreas Jaeger  <aj@suse.de>
77828         [BZ #13837]
77829         * math/libm-test.inc (cos_test): Add a test case for large input
77830         value.
77831         (sin_test): Likewise.
77832         (sincos_test): Likewise.
77834 2012-03-15  Andreas Jaeger  <aj@suse.de>
77835             Joseph Myers  <joseph@codesourcery.com>
77837         [BZ #13658]
77838         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77839         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77840         * sysdeps/i386/fpu/branred.c: Likewise.
77841         * sysdeps/i386/fpu/dosincos.c: Likewise.
77842         * sysdeps/i386/fpu/mpa.c: Likewise.
77843         * sysdeps/i386/fpu/s_cos.S: Likewise.
77844         * sysdeps/i386/fpu/s_sin.S: Likewise.
77845         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77846         * sysdeps/i386/fpu/sincos32.c: Likewise.
77848         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77849         Define.
77850         (libc_feupdateenv_53bit): Define.
77851         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77852         Define.
77853         (libc_feupdateenv_53bit): Define.
77855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77856         53 bit (without extend i386 double precision).
77858         * math/libm-test.inc (sincos_test): Add tests for large input.
77859         (sin): Likewise.
77860         (cos): Likewise.
77862         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77864 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77868 2012-03-15  David S. Miller  <davem@davemloft.net>
77870         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77871         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77872         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77873         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77886         file.
77887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77889         file.
77890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77892         file.
77893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77895         file.
77896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77898         fmin/fmax sysdep routines.
77899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77901 2012-03-14  David S. Miller  <davem@davemloft.net>
77903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77907         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77908         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77909         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77910         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77914         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77918         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77919         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77923         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77924         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77925         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77926         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77927         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77928         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77929         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77930         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77932         routines.
77933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77934         file.
77935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77937         file.
77938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77940         file.
77941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77943         file.
77944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77946         file.
77947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77949         file.
77950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77951         file.
77952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77953         file.
77954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77955         file.
77956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77957         New file.
77958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77959         file.
77960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77961         file.
77962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77964         file.
77965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77967         file.
77968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77970         file.
77971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77973         VIS3 routines.
77975         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77976         New file.
77978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77980         * sysdeps/sparc/configure.in: New file.
77981         * sysdeps/sparc/configure: Generate.
77982         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77983         * configure: Regenerate.
77984         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77985         * config.make.in (have-as-vis3): New.
77986         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77987         available use -Av9d instead of -Av9a.
77988         * sysdeps/sparc/sparc64/Makefile: Likewise.
77989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77991         New file.
77992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77993         file.
77994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77995         New file.
77996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77997         file.
77998         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
78000         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
78001         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
78002         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
78004         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
78005         fzeros/fnegs to load 0x80000000 into a float register instead of
78006         using the stack.
78007         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78009 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78012         bits/syscall.h.
78013         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78014         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78015         ($(inst_includedir)/bits/syscall.h): Remove rule.
78016         ($(objpfx)bits/syscall.d): Include instead of
78017         $(objpfx)syscall-list.d.
78018         (generated): Change syscall-list.h and syscall-list.d to
78019         bits/syscall.h and bits/syscall.d.
78021 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78023         [BZ #13846]
78024         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78026 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78028         [BZ #13841]
78029         * math/s_csqrt.c: Include <float.h>.
78030         (__csqrt): Scale large or subnormal inputs.
78031         * math/s_csqrtf.c: Likewise.
78032         * math/s_csqrtl.c: Likewise.
78033         * math/libm-test.inc (csqrt_test): Add more tests.
78034         * sysdeps/i386/fpu/libm-test-ulps: Update.
78035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78037         [BZ #13840]
78038         * math/libm-test.inc (hypot_test): Add more tests.
78040 2012-03-13  David S. Miller  <davem@davemloft.net>
78042         [BZ #13840]
78043         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78044         double-precision for the calculation instead of scaling.
78046 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78048         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78049         manipulate bits before adding and subtracting TWO52[sx].
78050         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78051         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78052         Likewise.
78053         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78055 2012-03-13  David S. Miller  <davem@davemloft.net>
78057         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78058         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78060         rtld-global-offsets.h
78061         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78063         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78064         large parameters.
78066         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78068         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78069         'err' in the ifdef scope in which it is actually used.
78071         * nss/nss_db/db-init.c: Include string.h
78073 2012-03-12  David S. Miller  <davem@davemloft.net>
78075         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78076         masking out of the most significant byte of random value used.
78077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78078         Fix coding style in previous change.
78080         * sysdeps/unix/sysv/linux/kernel-features.h
78081         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78082         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78083         expression.
78084         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78085         later.
78087 2012-03-11  David S. Miller  <davem@davemloft.net>
78089         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78090         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78091         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78092         for 'resultvar' otherwise things get truncated on 64-bit.
78094         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78095         Fix masking out of the most significant byte of random value used.
78097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78099 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78103 2012-03-09  David S. Miller  <davem@davemloft.net>
78105         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78106         variables with appropriate CPP guards.
78107         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78108         from the frame pointer, not the stack pointer.  Correct layout
78109         comments.  Fix test on resulting framesize and the management of
78110         the outregs buffer for pltexit.  Preserve floating point return
78111         values across _dl_call_pltexit call.
78112         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78113         framesize and the management of the outregs buffer for pltexit.
78114         Preserve floating point return values across _dl_call_pltexit
78115         call.
78116         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78117         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78118         (la_sparc64_gnu_pltexit): New functions.
78119         (print_exit): Fix format string for return register value.
78121 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78123         * sunrpc/Makefile (others): Add rpcgen.
78124         ($(objpfx)rpcgen): Remove special build rule and dependency on
78125         libc.
78126         * sunrpc/rpcgen.c: New file.
78128 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78130         [BZ #13673]
78131         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78132         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78133         * sysdeps/i386/crti.S: Likewise.
78134         * sysdeps/i386/crtn.S: Likewise.
78135         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78136         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78137         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78138         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78139         * sysdeps/sh/crti.S: Likewise.
78140         * sysdeps/sh/crtn.S: Likewise.
78141         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78143         [BZ #13673]
78144         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78145         with URL.
78146         * locale/programs/locfile-kw.gperf: Likewise.
78147         * locale/programs/charmap-kw.h: Regenerated.
78148         * locale/programs/locfile-kw.h: Likewise.
78150         [BZ #13673]
78151         * intl/plural.y: Replace FSF snail mail address with URL.
78152         * intl/plural.c: Regenerated.
78154 2012-03-09  Richard Henderson  <rth@twiddle.net>
78156         * include/math_private.h: Remove file.
78157         * math/math_private.h: Move file ...
78158         * sysdeps/generic/math_private.h: ... here.
78160         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78161         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78162         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78164         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78165         and <math_private.h>.
78166         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78167         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78168         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78169         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78170         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78171         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78172         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78173         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78174         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78175         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78177         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78178         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78179         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78180         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78181         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78182         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78184         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78185         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78187         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78188         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78190         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78191         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78192         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78193         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78194         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78196         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78197         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78198         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78199         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78200         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78202         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78203         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78204         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78206         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78207         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78208         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78209         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78210         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78212         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78213         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78215         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78216         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78217         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78218         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78219         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78220         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78221         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78222         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78223         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78224         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78225         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78226         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78227         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78228         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78229         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78230         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78231         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78232         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78233         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78234         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78235         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78236         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78237         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78238         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78239         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78240         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78241         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78245         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78246         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78247         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78249         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78250         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78252         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78253         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78254         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78255         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78256         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78257         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78259         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78260         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78261         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78263         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78264         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78266         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78267         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78268         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78269         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78270         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78271         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78272         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78273         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78274         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78275         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78276         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78277         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78278         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78279         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78280         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78281         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78282         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78283         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78284         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78285         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78286         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78287         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78288         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78289         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78290         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78291         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78292         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78293         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78294         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78295         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78296         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78297         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78298         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78299         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78300         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78301         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78302         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78303         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78304         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78305         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78306         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78307         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78308         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78309         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78310         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78311         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78312         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78313         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78314         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78315         * sysdeps/ieee754/k_standard.c: Likewise.
78316         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78317         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78319         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78320         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78321         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78322         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78323         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78324         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78325         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78326         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78327         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78328         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78329         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78330         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78331         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78332         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78333         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78334         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78335         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78336         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78337         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78338         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78339         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78340         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78341         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78342         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78343         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78344         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78345         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78346         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
78347         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78348         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78349         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78350         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
78351         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
78368         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78371         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78372         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78385         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78386         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78388         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78389         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78390         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
78393         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78400         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
78401         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78402         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78403         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
78404         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78406         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
78407         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78408         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
78409         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
78410         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78411         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78412         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
78413         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
78414         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
78415         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
78416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78417         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78418         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78419         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78420         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
78421         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78422         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78423         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78424         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78425         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78426         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78427         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78428         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78429         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78430         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78431         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78432         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78433         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78434         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78435         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78436         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78437         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78438         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78439         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78440         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78441         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78442         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78443         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78444         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78446         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78447         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78448         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78449         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78450         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78451         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78452         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78453         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78454         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78455         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78456         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78457         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78458         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78459         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78460         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78461         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78462         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78463         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78464         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78465         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78466         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78467         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78470         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78471         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78472         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78473         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78474         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78475         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78476         * sysdeps/ieee754/s_lib_version.c: Likewise.
78477         * sysdeps/ieee754/s_matherr.c: Likewise.
78478         * sysdeps/ieee754/s_signgam.c: Likewise.
78479         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78480         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78481         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78482         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78483         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78484         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78485         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78486         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78487         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78488         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78489         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78490         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78491         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78492         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78493         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78494         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78495         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78496         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78497         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78499         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78501 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78503         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78504         * sunrpc/rpc_main.c: Likewise.
78505         * sunrpc/rpc_svcout.c: Likewise.
78507 2012-03-09  David S. Miller  <davem@davemloft.net>
78509         * include/math_private.h: New file.
78511 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78513         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78514         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78515         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78516         from <bits/socket_type.h>.
78517         (enum __socket_type): Don't define here.
78518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78520         bits/socket_type.h.
78522         [BZ #13566]
78523         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78524         checking __USE_GNU.
78526         * Makerules ($(inst_includedir)/%.h): New rule.
78527         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78528         (install-others): Remove variable setting.
78529         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78531 2012-03-08  Richard Henderson  <rth@twiddle.net>
78533         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78534         from macro to inline function; merge with the
78535         !__LIBC_INTERNAL_MATH_INLINES version.
78536         (__ieee754_sqrtf): Likewise.
78538         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78539         to inline function.
78540         (__rintf, __floor, __floorf): Likewise.
78542         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78543         macro to inline function.
78544         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78546         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78547         not <math/math_private.h>.
78549 2012-03-08  David S. Miller  <davem@davemloft.net>
78551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78552         copyright year.
78553         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78555 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78557         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78558         normalization.
78559         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78560         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78562 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78564         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78565         be defined individually, they must be defined as a block.  Define
78566         S for printing a string instead of hidint the different by using a
78567         macro for adding the 'l'.
78568         * stdio-common/tst-fphex-wide.c: Adjust.
78570 2012-03-07  Marek Polacek  <polacek@redhat.com>
78572         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78574 2012-03-08  Marek Polacek  <polacek@redhat.com>
78576         [BZ #13806]
78577         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78578         * stdio-common/tst-fphex.c: Define a few macros to make the
78579         test reusable.  Use them.
78580         * stdio-common/tst-fphex-wide.c: New file.
78582 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78584         [BZ #6911]
78585         * manual/macros.texi (gnusystems): New macro.
78586         (nongnusystems): Likewise.
78587         (gnulinuxhurdsystems): Likewise.
78588         (gnuhurdsystems): Likewise..
78589         (gnulinuxsystems): Likewise.
78590         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78591         variants of the GNU system, not "GNU system".
78592         * manual/conf.texi: Likewise.
78593         * manual/errno.texi: Likewise.  Update example of errno macro
78594         expansion.
78595         * manual/filesys.texi: Likewise.
78596         (getumask): Document as specific to GNU/Hurd.
78597         * manual/install.texi: Likewise.  Reword some references to
78598         GNU/Linux.
78599         * manual/intro.texi: Likewise.
78600         * manual/io.texi: Likewise.
78601         (File Name Portability): Detail which constraints are inapplicable
78602         to all GNU systems and which are only inapplicable to GNU/Hurd.
78603         * manual/job.texi: Likewise.
78604         * manual/llio.texi: Likewise.
78605         (O_NOCTTY): Document as present on GNU/Linux.
78606         * manual/maint.texi: Likewise.
78607         * manual/memory.texi: Likewise.
78608         * manual/pattern.texi: Likewise.
78609         * manual/pipe.texi: Likewise.
78610         * manual/process.texi: Likewise.
78611         * manual/resource.texi: Likewise.
78612         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78613         child on GNU/Hurd.
78614         * manual/setjmp.texi: Likewise.
78615         * manual/signal.texi: Likewise.
78616         * manual/startup.texi: Likewise.
78617         * manual/stdio.texi: Likewise.
78618         * manual/terminal.texi: Likewise.
78619         (ONLCR): Document as POSIX.
78620         (OXTABS): Document availability on GNU/Linux as XTABS.
78621         (ONOEOT): Document availability separately from other bits.
78622         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78623         * manual/time.texi: Likewise.
78624         * manual/users.texi: Likewise.
78625         * INSTALL: Regenerated.
78626         * sysdeps/gnu/errlist.c: Regenerated.
78628         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78629         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78630         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78631         puts.
78632         * configure: Regenerated.
78634 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78636         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78637         default includes instead of AC_HEADER_CHECK.
78638         * sysdeps/i386/configure: Regenerated.
78640         [BZ #10716]
78641         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78642         * math/s_cacoshf.c (__cacoshf): Likewise.
78643         * math/s_cacoshl.c (__cacoshl): Likewise.
78644         * math/s_casinh.c (__casinh): Set signs of result from argument.
78645         * math/s_casinhf.c (__casinhf): Likewise.
78646         * math/s_casinhl.c (__casinhl): Likewise.
78647         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78648         (casinh_test): Add more tests.
78649         * sysdeps/i386/fpu/libm-test-ulps: Update.
78650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78652 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78654         * po/zh_TW.po: Update from translation team.
78656         * login/Makefile (distribute): Remove variable.
78657         * catgets/Makefile: Likewise.
78658         * mach/Makefile: Likewise.
78659         * malloc/Makefile: Likewise.
78660         * misc/Makefile: Likewise.
78661         * iconv/Makefile: Likewise.
78662         * nscd/Makefile: Likewise.
78663         * hurd/Makefile: Likewise.
78664         * manual/Makefile: Likewise.
78665         * locale/Makefile: Likewise.
78666         * intl/Makefile: Likewise.
78667         * conform/Makefile: Likewise.
78668         * nss/Makefile: Likewise.
78669         * time/Makefile: Likewise.
78670         * soft-fp/Makefile: Likewise.
78671         * dirent/Makefile: Likewise.
78672         * gmon/Makefile: Likewise.
78673         * po/Makefile: Likewise.
78674         * rt/Makefile: Likewise.
78675         * socket/Makefile: Likewise.
78676         * math/Makefile: Likewise.
78677         * signal/Makefile: Likewise.
78678         * debug/Makefile: Likewise.
78679         * elf/Makefile: Likewise.
78680         * timezone/Makefile: Likewise.
78681         * stdlib/Makefile: Likewise.
78682         * iconvdata/Makefile: Likewise.
78683         * sunrpc/Makefile: Likewise.
78684         * io/Makefile: Likewise.
78685         * argp/Makefile: Likewise.
78686         * inet/Makefile: Likewise.
78687         * hesiod/Makefile: Likewise.
78688         * grp/Makefile: Likewise.
78689         * csu/Makefile: Likewise.
78690         * wctype/Makefile: Likewise.
78691         * crypt/Makefile: Likewise.
78692         * libio/Makefile: Likewise.
78693         * string/Makefile: Likewise.
78694         * nis/Makefile: Likewise.
78695         * resolv/Makefile: Likewise.
78696         * stdio-common/Makefile: Likewise.
78697         * wcsmbs/Makefile: Likewise.
78698         * dlfcn/Makefile: Likewise.
78699         * posix/Makefile: Likewise.
78701         [BZ #6959]
78702         * timezone/Makefile: Don't install timezone files, just the programs
78703         and scripts.
78705 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78707         * nss/databases.def: Add missing gshadow entry.
78709         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78711 2012-03-06  Marek Polacek  <polacek@redhat.com>
78713         [BZ #13726]
78714         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78715         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78716         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78717         * stdio-common/tst-long-dbl-fphex.c: New file.
78719 2012-03-06  David S. Miller  <davem@davemloft.net>
78721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78722         (set_obp_int): New function.
78723         (get_obp_int): New function.
78724         (__get_clockfreq_via_dev_openprom): Likewise.
78725         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78726         Avoid unused variable warnings on 'val' and use builtin_expect.
78727         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78728         __builtin_expect.
78729         (INLINE_CLONE_SYSCALL): Likewise.
78731 2012-03-05  David S. Miller  <davem@davemloft.net>
78733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78735 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78740         only for |x| >= 40.
78741         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78743 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78745         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78746         Replace gettimeofday with __vdso_gettimeofday.
78748         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78749         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78750         __vdso_clock_gettime and __vdso_getcpu.
78752         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78753         time with __vdso_time.
78755 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78757         * manual/lang.texi (size_t): Note types to which size_t may be
78758         equivalent with the GNU C Library, but do not describe when
78759         differences between them are significant.
78761 2012-03-05  Andreas Jaeger  <aj@suse.de>
78763         * sysdeps/i386/fpu/libm-test-ulps: Update.
78765 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78767         [BZ #3976]
78768         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78769         (__ieee754_pow): Save and restore rounding mode and use
78770         round-to-nearest for main computations.
78771         * math/libm-test.inc (pow_test_tonearest): New function.
78772         (pow_test_towardzero): Likewise.
78773         (pow_test_downward): Likewise.
78774         (pow_test_upward): Likewise.
78775         (main): Call the new functions.
78776         * sysdeps/i386/fpu/libm-test-ulps: Update.
78777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78779         [BZ #3976]
78780         * math/libm-test.inc (cosh_test_tonearest): New function.
78781         (cosh_test_towardzero): Likewise.
78782         (cosh_test_downward): Likewise.
78783         (cosh_test_upward): Likewise.
78784         (sinh_test_tonearest): Likewise.
78785         (sinh_test_towardzero): Likewise.
78786         (sinh_test_downward): Likewise.
78787         (sinh_test_upward): Likewise.
78788         (main): Call the new functions.
78789         * sysdeps/i386/fpu/libm-test-ulps: Update.
78790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78792 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78794         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78795         default stack guard is set in last bytes.
78796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78798 2012-03-05  Kees Cook  <keescook@chromium.org>
78800         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78802         [BZ #13656]
78803         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78804         possibly allocate from heap instead of stack.
78805         * stdio-common/bug-vfprintf-nargs.c: New file.
78806         * stdio-common/Makefile (tests): Add nargs overflow test.
78808 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78812 2012-03-03  Marek Polacek  <polacek@redhat.com>
78814         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78815         * math/math_private.h: Likewise.
78816         * stdlib/tst-strtod.c: Likewise.
78817         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78818         * sysdeps/x86_64/bits/atomic.h: Likewise.
78820 2012-03-02  David S. Miller  <davem@davemloft.net>
78822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78826         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78827         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78828         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78829         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78831 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78833         [BZ #13792]
78834         * manual/examples/README: New file, says the example source files
78835         can be used under GPL>=2.
78836         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78837         line containing just "*/".
78838         * manual/examples/add.c: Add copyright header (GPL>=2).
78839         * manual/examples/argp-ex1.c: Likewise.
78840         * manual/examples/argp-ex2.c: Likewise.
78841         * manual/examples/argp-ex3.c: Likewise.
78842         * manual/examples/argp-ex4.c: Likewise.
78843         * manual/examples/atexit.c: Likewise.
78844         * manual/examples/db.c: Likewise.
78845         * manual/examples/dir.c: Likewise.
78846         * manual/examples/dir2.c: Likewise.
78847         * manual/examples/execinfo.c: Likewise.
78848         * manual/examples/filecli.c: Likewise.
78849         * manual/examples/filesrv.c: Likewise.
78850         * manual/examples/fmtmsgexpl.c: Likewise.
78851         * manual/examples/genpass.c: Likewise.
78852         * manual/examples/inetcli.c: Likewise.
78853         * manual/examples/inetsrv.c: Likewise.
78854         * manual/examples/isockad.c: Likewise.
78855         * manual/examples/longopt.c: Likewise.
78856         * manual/examples/memopen.c: Likewise.
78857         * manual/examples/memstrm.c: Likewise.
78858         * manual/examples/mkfsock.c: Likewise.
78859         * manual/examples/mkisock.c: Likewise.
78860         * manual/examples/mygetpass.c: Likewise.
78861         * manual/examples/pipe.c: Likewise.
78862         * manual/examples/popen.c: Likewise.
78863         * manual/examples/rprintf.c: Likewise.
78864         * manual/examples/search.c: Likewise.
78865         * manual/examples/select.c: Likewise.
78866         * manual/examples/setjmp.c: Likewise.
78867         * manual/examples/sigh1.c: Likewise.
78868         * manual/examples/sigusr.c: Likewise.
78869         * manual/examples/stpcpy.c: Likewise.
78870         * manual/examples/strdupa.c: Likewise.
78871         * manual/examples/strftim.c: Likewise.
78872         * manual/examples/strncat.c: Likewise.
78873         * manual/examples/subopt.c: Likewise.
78874         * manual/examples/swapcontext.c: Likewise.
78875         * manual/examples/termios.c: Likewise.
78876         * manual/examples/testopt.c: Likewise.
78877         * manual/examples/testpass.c: Likewise.
78878         * manual/examples/timeval_subtract.c: Likewise.
78880         [BZ #13792]
78881         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78882         function to ...
78883         * manual/timeval_subtract.c.texi: ... here, new file.
78885 2012-03-02  David S. Miller  <davem@davemloft.net>
78887         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78889 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78891         [BZ #3976]
78892         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78893         (__sin): Save and restore rounding mode and use round-to-nearest
78894         for all computations.
78895         (__cos): Save and restore rounding mode and use round-to-nearest
78896         for all computations.
78897         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78898         <fenv.h>.
78899         (tan): Save and restore rounding mode and use round-to-nearest for
78900         all computations.
78901         * math/libm-test.inc (cos_test_tonearest): New function.
78902         (cos_test_towardzero): Likewise.
78903         (cos_test_downward): Likewise.
78904         (cos_test_upward): Likewise.
78905         (sin_test_tonearest): Likewise.
78906         (sin_test_towardzero): Likewise.
78907         (sin_test_downward): Likewise.
78908         (sin_test_upward): Likewise.
78909         (tan_test_tonearest): Likewise.
78910         (tan_test_towardzero): Likewise.
78911         (tan_test_downward): Likewise.
78912         (tan_test_upward): Likewise.
78913         (main): Call the new functions.
78914         * sysdeps/i386/fpu/libm-test-ulps: Update.
78915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78917         [BZ #10135]
78918         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78919         small n, then large n, before computing and testing k+n.
78920         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78922         Likewise.
78923         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78924         Likewise.
78925         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78926         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78928         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78929         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78930         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78933         * math/libm-test.inc (scalbn_test): Add more tests.
78934         (scalbln_test): Likewise.
78936         * manual/filesys.texi (mode_t): Describe constraints on size and
78937         signedness, not exact equivalence to a particular type.
78938         (ino_t): Likewise.
78939         (ino64_t): Likewise.
78940         (dev_t): Likewise.
78941         (nlink_t): Likewise.
78942         (blkcnt_t): Likewise.
78943         (blkcnt64_t): Likewise.
78944         * manual/llio.texi (off_t): Likewise.
78946         [BZ #3976]
78947         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78948         (__ieee754_exp): Save and restore rounding mode and use
78949         round-to-nearest for all computations.
78950         * math/libm-test.inc (exp_test_tonearest): New function.
78951         (exp_test_towardzero): Likewise.
78952         (exp_test_downward): Likewise.
78953         (exp_test_upward): Likewise.
78954         (main): Call the new functions.
78955         * sysdeps/i386/fpu/libm-test-ulps: Update.
78956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78958 2012-03-01  Chris Demetriou  <cgd@google.com>
78960         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78961         have predictable order.
78963 2012-03-01  David S. Miller  <davem@davemloft.net>
78965         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78967         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78968         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78969         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78970         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78972         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78973         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78974         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78976         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78977         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78978         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78979         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78980         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78984         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78985         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78986         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78988         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78989         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78990         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78991         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78992         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78993         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78994         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78995         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78996         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78997         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78998         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78999         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79001         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79002         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79004         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
79005         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
79006         * sysdeps/sparc/elf/configure: Regenerated.
79008 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79010         * configure.in (AS, LD): Require binutils 2.20 or later.
79011         * configure: Regenerated.
79012         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79013         as required minimum version.
79014         * INSTALL: Regenerated.
79016         [BZ #2541]
79017         [BZ #4108]
79018         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79019         before squaring exponent.
79020         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79021         bottom long double and 27 bits of top long double before squaring
79022         exponent.
79023         * math/libm-test.inc (erfc_test): Add more tests.
79024         * sysdeps/i386/fpu/libm-test-ulps: Update.
79025         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79028 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79030         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79031         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79032         containing bit-fields.
79033         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79034         * soft-fp/single.h (_FP_UNION_S): Likewise.
79035         * soft-fp/double.h (_FP_UNION_D): Likewise.
79037 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79039         [BZ #13786]
79040         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79041         not include ../strcmp.S.
79042         [USE_AS_STRNCASECMP_L]: Likewise.
79043         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79044         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79045         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79046         (__strncasecmp_l_ia32): Define as alias to
79047         __strncasecmp_l_nonascii.
79049         [BZ #5794]
79050         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79051         * sysdeps/i386/fpu/libm-test-ulps: Update.
79052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79054         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79057 2012-02-29  Jeff Law  <law@redhat.com>
79059         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79060         out of bounds read.
79062 2012-02-29  Marek Polacek  <polacek@redhat.com>
79064         [BZ #13706]
79065         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79066         * elf/Makefile: Add rules to run tst-unused-dep.out.
79068 2012-02-28  David S. Miller  <davem@davemloft.net>
79070         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79071         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79072         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79073         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79074         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79075         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79077 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79079         * math/libm-test.inc (llround_test): Move one test from
79080         lround_test.  Use TEST_f_L in moved test.
79081         (lround_test): Move misplaced test to llround_test.  Add testcase
79082         from bug 2561.
79084 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79086         * sysdeps/x86_64/fpu/e_expf.S: New file.
79087         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79089 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79091         [BZ #13637]
79092         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79093         of remain_len that may cause incomplete multi-byte character and
79094         false match.
79095         * posix/bug-regex33.c: New file.
79096         * posix/Makefile (tests): Add bug-regex33.
79098 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79100         * manual/macros.texi: New file.
79101         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79102         * manual/libc.texinfo: Include macros.texi.
79103         * manual/creatute.texi: Likewise.
79104         * manual/install.texi: Likewise.
79105         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79106         @glibcadj{} in references to the GNU C Library.
79107         * manual/charset.texi: Likewise.
79108         * manual/conf.texi: Likewise.
79109         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79110         when not using those macros.
79111         * manual/creature.texi: Likewise.
79112         * manual/crypt.texi: Likewise.
79113         * manual/errno.texi: Likewise.
79114         * manual/filesys.texi: Likewise.
79115         * manual/header.texi: Likewise.
79116         * manual/install.texi: Likewise.
79117         * manual/intro.texi: Likewise.
79118         * manual/io.texi: Likewise.
79119         * manual/job.texi: Likewise.
79120         * manual/lang.texi: Likewise.
79121         * manual/libc.texiinfo: Likewise.
79122         * manual/llio.texi: Likewise.
79123         * manual/locale.texi: Likewise.
79124         * manual/maint.texi: Likewise.
79125         * manual/math.texi: Likewise.
79126         * manual/memory.texi: Likewise.
79127         * manual/message.texi: Likewise.
79128         * manual/nss.texi: Likewise.
79129         * manual/pattern.texi: Likewise.
79130         * manual/process.texi: Likewise.
79131         * manual/resource.texi: Likewise.
79132         * manual/search.texi: Likewise.
79133         * manual/setjmp.texi: Likewise.
79134         * manual/signal.texi: Likewise.
79135         * manual/socket.texi: Likewise.
79136         * manual/startup.texi: Likewise.
79137         * manual/stdio.texi: Likewise.
79138         * manual/string.texi: Likewise.
79139         * manual/sysinfo.texi: Likewise.
79140         * manual/syslog.texi: Likewise.
79141         * manual/terminal.texi: Likewise.
79142         * manual/time.texi: Likewise.
79143         * manual/users.texi: Likewise.
79144         * INSTALL: Regenerated.
79145         * NOTES: Regenerated.
79146         * sysdeps/gnu/errlist.c: Regenerated.
79148 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79150         * include/dirent.h: Include <dirstream.h> before
79151         <dirent/dirent.h>.
79153 2012-02-28  David S. Miller  <davem@davemloft.net>
79155         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79156         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79157         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79158         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79160 2012-02-27  David S. Miller  <davem@davemloft.net>
79162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79164         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79165         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79168         frame pointer instead of stack pointer relative arg slot.
79169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79170         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79171         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79173 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79175         [BZ #3992]
79176         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79178 2012-02-27  David S. Miller  <davem@davemloft.net>
79180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79184         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79185         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79186         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79187         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79189 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79191         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79192         later.  Allow versions 5-9.
79193         * configure: Regenerated.
79194         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79195         required minimum version and 4.6 as recommended version.  Do not
79196         mention bugs in GCC 2.7 and 2.8.
79197         * INSTALL: Regenerated.
79199 2012-02-27  David S. Miller  <davem@davemloft.net>
79201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79205         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79206         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79207         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79208         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79210         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79211         manipulate bits before adding and subtracting TWO112[sx].
79212         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79214 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79216         [BZ #13775]
79217         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79218         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79219         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79220         being in POSIX, because they are in 1003.1-2008.
79222         * rt/tst-aio.c: Include <fcntl.h>.
79223         * rt/tst-aio7.c: Likewise.
79224         * rt/tst-aio64.c: Likewise.
79226         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79228 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79230         * manual/install.texi (--with-headers): Describe headers as
79231         interface headers, not private headers.
79232         (Specific advice for GNU/Linux systems): Describe use of headers
79233         from "make headers_install", not private headers from older
79234         kernels.
79235         * INSTALL: Regenerated.
79236         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79237         Change to 2.6.19.
79238         * sysdeps/unix/sysv/linux/configure: Regenerated.
79240         * manual/llio.texi (fclean): Remove documentation.
79242         * manual/Makefile (libc-texi-generated): New variable.  Include
79243         version.texi.
79244         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79245         $(libc-texi-generated), not duplicated list of files.
79246         (version.texi, stamp-version): New rules.
79247         (realclean): Remove $(libc-texi-generated), not individual files
79248         from that list.  Do not remove dir-add.texinfo.
79249         * manual/libc.texinfo: Comment out uses of edition numbers and
79250         references to printed manual.  Remove last-updated dates.
79251         (EDITION): Comment out.
79252         (ISBN): Likewise.
79253         (VERSION, UPDATED): Remove.
79254         (version.texi): Include.
79256 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79258         * sysdeps/posix/spawni.c: Include <signal.h>.
79259         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79260         * sysdeps/pthread/aio_fsync.c: Likewise.
79262 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79264         * conform/Makefile (tests): Run only when not cross-compiling and
79265         when fast-check is not defined.
79267         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79268         * conform/data/limits.h-data: Fixes for POSIX2008.
79269         * conform/run-conformtest.sh: Run all tests.
79270         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79271         headers.
79272         * include/bits/dlfcn.h: Likewise.
79273         * include/langinfo.h: Likewise.
79274         * include/monetary.h: Likewise.
79275         * include/sys/poll.h: Likewise.
79277         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79278         for __USE_GNU.
79279         * posix/spawn.h: Define __need_sigset_t.
79280         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79281         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79282         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79283         to get sigevent_t only.
79284         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79285         only for __USE_GNU.
79286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79287         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79288         process_vm_writev only for __USE_GNU.
79289         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79291         * conform/Makefile: For now ignore errors from run-conformtest.
79292         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79293         POSIX to avoid namespace pollution.  Don't prepend headers.
79294         * conform/data/aio.h-data: Fixes for POSIX testing.
79295         * conform/data/fcntl.h-data: Likewise.
79296         * conform/data/glob.h-data: Likewise.
79297         * conform/data/grp.h-data: Likewise.
79298         * conform/data/pthread.h-data: Likewise.
79299         * conform/data/pwd.h-data: Likewise.
79300         * conform/data/signal.h-data: Likewise.
79301         * conform/data/spawn.h-data: Likewise.
79302         * conform/data/stdio.h-data: Likewise.
79303         * conform/data/stdlib.h-data: Likewise.
79304         * conform/data/stropts.h-data: Likewise.
79305         * conform/data/sys/mman.h-data: Likewise.
79306         * conform/data/sys/stat.h-data: Likewise.
79307         * conform/data/sys/types.h-data: Likewise.
79308         * conform/data/sys/wait.h-data: Likewise.
79309         * conform/data/time.h-data: Likewise.
79310         * conform/data/unistd.h-data: Likewise.
79311         * conform/data/utime.h-data: Likewise.
79313         * io/sys/stat.h: fchmod was always in POSIX.
79314         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79315         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79316         * rt/aio.h: Define __need_timespec before including <time.h>.
79317         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79318         struct.  Add forward declaration of pthread_attr_t and use it in
79319         sigevent.
79320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79321         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79322         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79323         always remove CLK_TCK definition.
79325 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79327         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79329 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79331         * conform/run-conformtest.sh: New file.
79332         * conform/Makefile: Run run-conformtest for tests.
79333         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79334         support.
79336         * conform/data/uchar.h-data: New file.
79337         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79338         * conform/data/arpa/inet.h-data: Likewise.
79339         * conform/data/assert.h-data: Likewise.
79340         * conform/data/complex.h-data: Likewise.
79341         * conform/data/cpio.h-data: Likewise.
79342         * conform/data/ctype.h-data: Likewise.
79343         * conform/data/dirent.h-data: Likewise.
79344         * conform/data/dlfcn.h-data: Likewise.
79345         * conform/data/errno.h-data: Likewise.
79346         * conform/data/fcntl.h-data: Likewise.
79347         * conform/data/float.h-data: Likewise.
79348         * conform/data/fmtmsg.h-data: Likewise.
79349         * conform/data/fnmatch.h-data: Likewise.
79350         * conform/data/ftw.h-data: Likewise.
79351         * conform/data/glob.h-data: Likewise.
79352         * conform/data/grp.h-data: Likewise.
79353         * conform/data/iconv.h-data: Likewise.
79354         * conform/data/inttypes.h-data: Likewise.
79355         * conform/data/langinfo.h-data: Likewise.
79356         * conform/data/libgen.h-data: Likewise.
79357         * conform/data/limits.h-data: Likewise.
79358         * conform/data/locale.h-data: Likewise.
79359         * conform/data/math.h-data: Likewise.
79360         * conform/data/monetary.h-data: Likewise.
79361         * conform/data/mqueue.h-data: Likewise.
79362         * conform/data/ndbm.h-data: Likewise.
79363         * conform/data/net/if.h-data: Likewise.
79364         * conform/data/netdb.h-data: Likewise.
79365         * conform/data/netinet/in.h-data: Likewise.
79366         * conform/data/nl_types.h-data: Likewise.
79367         * conform/data/poll.h-data: Likewise.
79368         * conform/data/pthread.h-data: Likewise.
79369         * conform/data/pwd.h-data: Likewise.
79370         * conform/data/regex.h-data: Likewise.
79371         * conform/data/sched.h-data: Likewise.
79372         * conform/data/search.h-data: Likewise.
79373         * conform/data/semaphore.h-data: Likewise.
79374         * conform/data/setjmp.h-data: Likewise.
79375         * conform/data/signal.h-data: Likewise.
79376         * conform/data/spawn.h-data: Likewise.
79377         * conform/data/stdarg.h-data: Likewise.
79378         * conform/data/stdio.h-data: Likewise.
79379         * conform/data/stdlib.h-data: Likewise.
79380         * conform/data/string.h-data: Likewise.
79381         * conform/data/strings.h-data: Likewise.
79382         * conform/data/stropts.h-data: Likewise.
79383         * conform/data/sys/ipc.h-data: Likewise.
79384         * conform/data/sys/mman.h-data: Likewise.
79385         * conform/data/sys/msg.h-data: Likewise.
79386         * conform/data/sys/resource.h-data: Likewise.
79387         * conform/data/sys/select.h-data: Likewise.
79388         * conform/data/sys/sem.h-data: Likewise.
79389         * conform/data/sys/shm.h-data: Likewise.
79390         * conform/data/sys/socket.h-data: Likewise.
79391         * conform/data/sys/stat.h-data: Likewise.
79392         * conform/data/sys/statvfs.h-data: Likewise.
79393         * conform/data/sys/time.h-data: Likewise.
79394         * conform/data/sys/timeb.h-data: Likewise.
79395         * conform/data/sys/times.h-data: Likewise.
79396         * conform/data/sys/types.h-data: Likewise.
79397         * conform/data/sys/uio.h-data: Likewise.
79398         * conform/data/sys/un.h-data: Likewise.
79399         * conform/data/sys/utsname.h-data: Likewise.
79400         * conform/data/sys/wait.h-data: Likewise.
79401         * conform/data/syslog.h-data: Likewise.
79402         * conform/data/tar.h-data: Likewise.
79403         * conform/data/termios.h-data: Likewise.
79404         * conform/data/utime.h-data: Likewise.
79405         * conform/data/utmpx.h-data: Likewise.
79406         * conform/data/varargs.h-data: Likewise.
79407         * conform/data/wchar.h-data: Likewise.
79408         * conform/data/wctype.h-data: Likewise.
79409         * conform/data/wordexp.h-data: Likewise.
79411         * include/stropts.h: New file.
79412         * include/uchar.h: New file.
79413         * include/aio.h: Changes to allow conformtest.pl to use the headers.
79414         * include/assert.h: Likewise.
79415         * include/ctype.h: Likewise.
79416         * include/dirent.h: Likewise.
79417         * include/dlfcn.h: Likewise.
79418         * include/fcntl.h: Likewise.
79419         * include/fnmatch.h: Likewise.
79420         * include/glob.h: Likewise.
79421         * include/grp.h: Likewise.
79422         * include/libio.h: Likewise.
79423         * include/locale.h: Likewise.
79424         * include/math.h: Likewise.
79425         * include/net/if.h: Likewise.
79426         * include/netdb.h: Likewise.
79427         * include/netinet/in.h: Likewise.
79428         * include/pthread.h: Likewise.
79429         * include/pwd.h: Likewise.
79430         * include/regex.h: Likewise.
79431         * include/sched.h: Likewise.
79432         * include/search.h: Likewise.
79433         * include/setjmp.h: Likewise.
79434         * include/signal.h: Likewise.
79435         * include/stdio.h: Likewise.
79436         * include/stdlib.h: Likewise.
79437         * include/string.h: Likewise.
79438         * include/sys/cdefs.h: Likewise.
79439         * include/sys/mman.h: Likewise.
79440         * include/sys/msg.h: Likewise.
79441         * include/sys/resource.h: Likewise.
79442         * include/sys/select.h: Likewise.
79443         * include/sys/socket.h: Likewise.
79444         * include/sys/stat.h: Likewise.
79445         * include/sys/statvfs.h: Likewise.
79446         * include/sys/time.h: Likewise.
79447         * include/sys/times.h: Likewise.
79448         * include/sys/uio.h: Likewise.
79449         * include/sys/utsname.h: Likewise.
79450         * include/sys/wait.h: Likewise.
79451         * include/termios.h: Likewise.
79452         * include/time.h: Likewise.
79453         * include/ulimit.h: Likewise.
79454         * include/unistd.h: Likewise.
79455         * include/utime.h: Likewise.
79456         * include/wchar.h: Likewise.
79457         * include/wctype.h: Likewise.
79458         * include/wordexp.h: Likewise.
79460         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79462         * time/time.h: TIME_UTC must be a macro.
79463         Make timespec_get available for ISO C11 only as well.
79465 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79467         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79468         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79470 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79472         * configure.in: Use -o not -a in test for unsupported multi-arch.
79474 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79476         * manual/texinfo.tex: Update to version 2012-01-19.16.
79478 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79480         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79482 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79484         [BZ #13738]
79485         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79486         * manual/fdl-1.3.texi: New file.
79487         * manual/fdl-1.1.texi: File removed.
79489         [BZ #13738]
79490         * manual/libc.texinfo (FDL_VERSION): New @set.
79491         Use it for mention of FDL in cover text.
79492         (Documentation License): Use it in @include file name.
79494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79495             Roland McGrath  <roland@hack.frob.com>
79497         [BZ #5461]
79498         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79499         (not LONG_LONG_MAX and LONG_LONG_MIN.
79500         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79501         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79502         name.
79503         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79507         [BZ #2547]
79508         [BZ #11365]
79509         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79510         manipulate bits before adding and subtracting TWO23[sx].
79511         * math/libm-test.inc (nearbyint_test): Add more tests.
79513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79515         [BZ #2548]
79516         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79517         bits before adding and subtracting TWO23[sx].
79518         * math/libm-test.inc (rint_test): Add more tests.
79519         (rint_test_tonearest): Likewise.
79520         (rint_test_towardzero): Likewise.
79521         (rint_test_downward): Likewise.
79522         (rint_test_upward: Likewise.
79524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79526         [BZ #10110]
79527         * include/stdc-predef.h: New file.  Extracted from features.h.
79528         * include/features.h: Include stdc-predef.h.
79529         * Makefile (headers): Add stdc-predef.h.
79530         * CONFORMANCE (Compiler limitations): Update.
79532 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79534         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79536 2012-02-21  David S. Miller  <davem@davemloft.net>
79538         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79539         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79541 2012-02-20  David S. Miller  <davem@davemloft.net>
79543         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79544         using a normal save/restore sequence, rather than allocating a
79545         dummy stack frame just to store a frame pointer and restore.
79546         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79548 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79550         * manual/install.texi: Fix stray word in line-wrapped comment.
79552 2012-02-20  David S. Miller  <davem@davemloft.net>
79554         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79555         both binutils and gcc support GOTDATA.
79557         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79558         "rd %pc" in the PIC register setup sequences.
79560         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79561         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79562         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79563         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79564         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79566         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79567         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79569         (SYSCALL_ERROR_HANDLER): Likewise.
79570         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79571         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79572         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79573         (SYSCALL_ERROR_HANDLER): Likewise.
79575         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79576         (HAVE_GCC_GOTDATA): New.
79577         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79578         relocation support in both binutils and gcc.
79579         * sysdeps/sparc/elf/configure: Regenerate.
79581         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79582         * sysdeps/sparc/sparc32/elf/configure: Delete.
79583         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79584         * sysdeps/sparc/sparc64/elf/configure: Delete.
79585         * sysdeps/sparc/elf/configure.in: New file.
79586         * sysdeps/sparc/elf/configure: Generate.
79588         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79589         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79590         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79591         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79592         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79594 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79596         * manual/install.texi: Do not mention specific glibc version
79597         numbers.
79598         * manual/libc.texinfo (VERSION, UPDATED): Update.
79599         (@copying): Use @copyright{} and range of years.
79601 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79603         [BZ #13695]
79604         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79605         [crti.S not in sysdirs] (generated): Do not append.
79606         [crti.S not in sysdirs] (omit-deps): Likewise.
79607         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79608         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79609         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79610         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79611         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79612         Likewise.
79613         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79614         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79615         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79616         * csu/defs.awk: Remove file.
79617         * sysdeps/generic/initfini.c: Likewise.
79618         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79619         variable.
79620         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79621         Likewise.
79623 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79625         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79626         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79627         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79628         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79630         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79631         <bits/epoll.h>.
79632         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79633         (__EPOLL_PACKED): Define to empty if not defined by
79634         <bits/epoll.h>.
79635         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79637         bits/epoll.h.
79639 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79641         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79642         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79643         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79644         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79645         <bits/timerfd.h>.
79646         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79648         bits/timerfd.h.
79650 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79652         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79653         in C locale.
79654         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79655         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79656         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79659 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79661         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79662         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79664 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79666         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79667         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79668         defined.
79669         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79670         Likewise.
79671         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79672         entry for 2.16.
79674 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79676         * math/w_acos.c: Use non-signaling floating-point comparisons.
79677         * math/w_acosf.c: Likewise.
79678         * math/w_acosh.c: Likewise.
79679         * math/w_acoshf.c: Likewise.
79680         * math/w_acoshl.c: Likewise.
79681         * math/w_acosl.c: Likewise.
79682         * math/w_asin.c: Likewise.
79683         * math/w_asinf.c: Likewise.
79684         * math/w_asinl.c: Likewise.
79685         * math/w_atanh.c: Likewise.
79686         * math/w_atanhf.c: Likewise.
79687         * math/w_atanhl.c: Likewise.
79688         * math/w_exp2.c: Likewise.
79689         * math/w_exp2f.c: Likewise.
79690         * math/w_exp2l.c: Likewise.
79691         * math/w_j0.c: Likewise.
79692         * math/w_j0f.c: Likewise.
79693         * math/w_j0l.c: Likewise.
79694         * math/w_j1.c: Likewise.
79695         * math/w_j1f.c: Likewise.
79696         * math/w_j1l.c: Likewise.
79697         * math/w_jn.c: Likewise.
79698         * math/w_jnf.c: Likewise.
79699         * math/w_log.c: Likewise.
79700         * math/w_log10.c: Likewise.
79701         * math/w_log10f.c: Likewise.
79702         * math/w_log10l.c: Likewise.
79703         * math/w_log2.c: Likewise.
79704         * math/w_log2f.c: Likewise.
79705         * math/w_log2l.c: Likewise.
79706         * math/w_logf.c: Likewise.
79707         * math/w_logl.c: Likewise.
79708         * math/w_sqrt.c: Likewise.
79709         * math/w_sqrtf.c: Likewise.
79710         * math/w_sqrtl.c: Likewise.
79711         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79712         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79713         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79714         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79715         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79717 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79719         [BZ #9739]
79720         * manual/string.texi (strnlen): Use correct parameter name in
79721         equivalent expression.
79723 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79725         [BZ #11174]
79726         * manual/users.texi (seteuid): Consistently use neweuid for
79727         argument name.
79729 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79731         [BZ #13704]
79732         * manual/nss.texi (Services in the NSS configuration): Correct
79733         list of services in example configuration file.
79735 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79737         [BZ #11322]
79738         * manual/arith.texi: Remove statements about negative zero
79739         behaving identically to zero.
79741 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79743         [BZ #5993]
79744         * manual/install.texi: Do not document upgrading from libc5.
79746 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79748         [BZ #4596]
79749         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79751 2012-02-18  David S. Miller  <davem@davemloft.net>
79753         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79754         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79755         %o7 across the call.
79756         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79757         instead.
79758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79759         SETUP_PIC_REG_LEAF.
79760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79761         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79762         * sysdeps/sparc/crtn.S: Likewise.
79764 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79766         * aout/Makefile: Remove.
79768 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79770         [BZ #13058]
79771         * manual/examples/argp-ex1.c (main): Format definition in GNU
79772         style.
79773         * manual/examples/argp-ex2.c (main): Likewise.
79774         * manual/examples/argp-ex3.c (main): Likewise.
79775         * manual/examples/argp-ex4.c (main): Likewise.
79776         * manual/examples/longopt.c (main): Use new-style prototype
79777         definition.
79778         * manual/examples/strncat.c (main): Specify return type and use
79779         (void) for arguments.
79780         * manual/examples/subopt.c (main): Use char **argv argument.
79782 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79784         [BZ #5077]
79785         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79786         rounding modes.
79788 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79790         [BZ #6907]
79791         * manual/string.texi (strchr): Change when strchrnul is
79792         recommended.
79794 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79796         [BZ #174]
79797         * manual/locale.texi (setlocale): Document LOCPATH.
79799 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79801         [BZ #10210]
79802         * manual/process.texi (execle): Move @dots{} before last argument.
79804 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79806         [BZ #12047]
79807         * manual/charset.texi (Generic Charset Conversion): Fix typo
79808         (LC_TYPE -> LC_CTYPE).
79810 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79812         [BZ #5805]
79813         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79814         (scalbnf): Likewise.
79815         (scalbnl): Likewise.
79816         (scalbln): Likewise.
79817         (scalblnf): Likewise.
79818         (scalblnl): Likewise.
79819         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79820         (vwarnx): Likewise.
79821         (verr): Likewise.
79822         (verrx): Likewise.
79823         * manual/filesys.texi (telldir): Use braces around return type.
79824         * manual/llio.texi (mmap): Add space after comma.
79825         (mmap64): Likewise.
79826         * manual/math.texi (jn): Use @var{} on parameter names.
79827         (jnf): Likewise.
79828         (jnl): Likewise.
79829         (yn): Likewise.
79830         (ynf): Likewise.
79831         (ynl): Likewise.
79832         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79833         line.
79834         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79835         "...".
79836         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79837         (sched_get_priority_max): Likewise.
79838         * manual/signal.texi (sigvec): Add space after comma.
79839         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79840         names.
79841         (if_indextoname): Likewise.
79842         (if_freenameindex): Likewise.
79843         (sendto): Use ',' instead of '.' in prototype.
79844         * manual/startup.texi (syscall): Use @dots{} instead of literal
79845         "...".
79846         * manual/stdio.texi (__fpending): Separate initial words of
79847         paragraph from @deftypefun line.
79848         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79849         "...".
79850         (vsyslog): Use @var{} on parameter names.
79851         * manual/terminal.texi (stty): Use @var{} on parameter names.
79852         * manual/users.texi (getutmp): Use @var{} on parameter names.
79853         (getutmpx): Likewise.
79855 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79857         [BZ #6884]
79858         * manual/stdio.texi (fopen): Fix typos in description of
79859         ",ccs=STRING".
79861 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79863         [BZ #4026]
79864         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79865         get clock_id definition.
79867 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79869         [BZ #4822]
79870         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79871         (madvise): Cast every argument to void on its own.
79873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79875         [BZ #9902]
79876         * manual/startup.texi (Exit Status): Fix typo.
79878 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79880         [BZ #10140]
79881         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79882         * manual/examples/argp-ex2.c: Likewise.
79883         * manual/examples/argp-ex3.c: Likewise.
79885 2012-02-16  Richard Henderson  <rth@redhat.com>
79887         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79888         * sysdeps/s390/s390-32/initfini.c: Remove.
79889         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79890         * sysdeps/s390/s390-64/initfini.c: Remove.
79892 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79894         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79895         compiler output for sysdeps/generic/initfini.c.
79896         * sysdeps/sh/elf/initfini.c: Remove file.
79898 2012-02-16  David S. Miller  <davem@davemloft.net>
79900         [BZ #11494]
79901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79903         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79904         * sysdeps/sparc/crti.S: New file.
79905         * sysdeps/sparc/crtn.S: New file.
79906         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79907         * sysdeps/sparc/sparc64/Makefile: Likewise.
79909 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79911         [BZ #3335]
79912         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79914 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79916         [BZ #4822]
79917         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79919         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79920         (write, read, close): Likewise.
79921         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79923 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79925         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79926         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79927         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79928         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79929         <bits/signalfd.h>.
79930         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79932         bits/signalfd.h.
79934 2012-02-14  Marek Polacek  <polacek@redhat.com>
79936         * sysdeps/x86_64/crti.S: New file.
79937         * sysdeps/x86_64/crtn.S: New file.
79938         * sysdeps/x86_64/elf/initfini.c: Remove file.
79940 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79942         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79943         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79944         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79945         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79946         <bits/inotify.h>.
79947         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79949         bits/inotify.h.
79951 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79953         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79954         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79955         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79956         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79957         <bits/eventfd.h>.
79958         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79960         bits/eventfd.h.
79962 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79964         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79965         __feraiseexcept instead of feraiseexcept.
79967         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79968         nanosleep invocations.
79969         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79970         strings, and add error checking for a nanosleep invocations.
79972 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79974         Replace FSF snail mail address with URLs, as per GNU coding standards.
79975         Most of the snail mail addresses were wrong anyway, and omitting
79976         them makes the source code easier to maintain.  Almost all of the
79977         changes are to license notices and to locale LC_IDENTIFICATION
79978         addresses, except for this one:
79979         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79980         not its snail mail address.
79982 2012-02-09  Richard Henderson  <rth@twiddle.net>
79984         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79985         of kernel-features.h.
79987         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79989 2012-02-08  Marek Polacek  <polacek@redhat.com>
79991         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79992         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79993         * sysdeps/gnu/_G_config.h: Likewise.
79994         * sysdeps/generic/_G_config.h: Likewise.
79996 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79998         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79999         tests.
80000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80002         * sysdeps/powerpc/powerpc32/crti.S: New file.
80003         * sysdeps/powerpc/powerpc32/crtn.S: New file.
80004         * sysdeps/powerpc/powerpc64/crti.S: New file.
80005         * sysdeps/powerpc/powerpc64/crtn.S: New file.
80007         * Makeconfig (have-initfini): Don't set.
80008         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80009         * configure.in (nopic_initfini): Don't substitute.
80010         * config.h.in (HAVE_INITFINI): Don't #undef.
80011         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80012         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80014 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80016         Support crti.S and crtn.S provided directly by architectures.
80017         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80018         [crti.S in sysdirs] (omit-deps): Likewise.
80019         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80020         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80021         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80022         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80023         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80024         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80025         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80026         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80027         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80028         compiler output for sysdeps/generic/initfini.c.
80029         * sysdeps/i386/elf/Makefile: Remove file.
80030         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80032 2012-02-07  Marek Polacek  <polacek@redhat.com>
80034         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80035         * sysdeps/gnu/_G_config.h: Likewise.
80036         * sysdeps/mach/hurd/_G_config.h: Likewise.
80038 2012-02-07  Marek Polacek  <polacek@redhat.com>
80040         * math/Makefile (tests): Add tst-CMPLX2.
80041         * math/tst-CMPLX2.c: New file.
80043 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80045         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80047         * math/libm-test.inc (jn_test): Add missing L suffix.
80049 2012-02-06  Marek Polacek  <polacek@redhat.com>
80051         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80052         * sysdeps/i386/fpu/e_powf.S: Likewise.
80053         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80054         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80055         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80056         * sysdeps/i386/fpu/e_pow.S: Likewise.
80057         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80058         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80059         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80060         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80061         * sysdeps/i386/fpu/e_log2.S: Likewise.
80062         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80063         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80064         * sysdeps/i386/fpu/e_powl.S: Likewise.
80065         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80066         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80067         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80068         * sysdeps/i386/fpu/e_logl.S: Likewise.
80069         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80070         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80071         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80072         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80073         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80074         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80075         * sysdeps/i386/fpu/e_log.S: Likewise.
80076         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80077         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80078         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80079         * sysdeps/i386/fpu/e_logf.S: Likewise.
80080         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80081         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80082         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80083         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80084         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80085         * sysdeps/i386/fpu/e_log10.S: Likewise.
80086         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80087         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80088         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80089         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80090         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80091         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80092         * sysdeps/i386/asm-syntax.h: Likewise.
80093         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80094         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80095         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80096         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80097         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80098         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80099         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80100         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80101         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80102         * sysdeps/powerpc/sysdep.h: Likewise.
80103         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80104         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80106 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80108         [BZ #411]
80109         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80111 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80113         * sysdeps/i386/sysdep.h: Include <features.h>.
80114         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80115         version.
80117 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80119         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80120         Define.
80121         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80122         LOAD_PIC_REG_STR.
80124 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80126         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80127         (SETUP_PIC_REG): Use GET_PC_THUNK.
80128         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80129         macro.
80131 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80133         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80134         for non-PIC compilation.
80135         (SETUP_PIC_REG): Add .p2align directive.
80136         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80137         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80138         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80139         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80140         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80141         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80142         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80143         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80144         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80145         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80146         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80147         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80148         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80149         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80150         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80151         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80152         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80153         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80154         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80155         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80156         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80157         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80158         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80159         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80160         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80161         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80162         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80164         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80165         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80166         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80167         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80168         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80169         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80170         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80171         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80172         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80173         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80174         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80175         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80176         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80178 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80180         * math/tst-CMPLX.c: Include <stdio.h>.
80182 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80184         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80185         float.
80186         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80187         * sysdeps/sparc/bits/mathdef.h: Likewise.
80189 2012-01-31  Marek Polacek  <polacek@redhat.com>
80191         * libio/libio.h: Don't define _PARAMS.
80192         * locale/programs/config.h: Don't define PARAMS.
80193         * stdlib/strtol_l.c: Likewise.
80194         (__strtol_l): Remove PARAMS from the prototype.
80196 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80198         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80199         names.  Just use the correct names.  Remove unnecessary wrapper
80200         functions.
80201         * malloc/arena.c: Likewise.
80202         * malloc/hooks.c: Likewise.
80204         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80205         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80206         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80208 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80210         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80211         into tail calls.
80212         (update_get_addr): New function.
80213         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80214         GET_ADDR_MODULE parameter.
80216 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80218         * crypt/cert.c: Remove __STDC__ conditionals.
80219         * crypt/crypt-entry.c: Likewise.
80220         * crypt/crypt_util.c: Likewise.
80221         * libio/filedoalloc.c: Likewise.
80222         * libio/fileops.c: Likewise.
80223         * libio/genops.c: Likewise.
80224         * libio/iofclose.c: Likewise.
80225         * libio/iofdopen.c: Likewise.
80226         * libio/iofopen.c: Likewise.
80227         * libio/iofopen64.c: Likewise.
80228         * libio/iogetdelim.c: Likewise.
80229         * libio/iopopen.c: Likewise.
80230         * libio/obprintf.c: Likewise.
80231         * libio/oldfileops.c: Likewise.
80232         * libio/oldiofclose.c: Likewise.
80233         * libio/oldiofdopen.c: Likewise.
80234         * libio/oldiofopen.c: Likewise.
80235         * libio/oldiopopen.c: Likewise.
80236         * libio/wfiledoalloc.c: Likewise.
80237         * libio/wgenops.c: Likewise.
80238         * locale/programs/xmalloc.c: Likewise.
80239         * misc/syslog.c: Likewise.
80240         * stdio-common/xbug.c: Likewise.
80241         * string/memchr.c: Likewise.
80242         * string/memcmp.c: Likewise.
80243         * string/memrchr.c: Likewise.
80244         * string/rawmemchr.c: Likewise.
80245         * sysdeps/posix/getcwd.c: Likewise.
80246         * time/strftime_l.c: Likewise.
80248 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80250         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80251         * config.make.in (config-cflags-sse2avx): Define.
80252         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80253         Fix typo.
80255 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80257         * scripts/config.guess: Update from upstream config git repository.
80258         * scripts/config.sub: Likewise.
80260 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80262         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80263         (EM_NUM): Update.
80264         (R_TILEPRO_*, R_TILEGX_*): New macros.
80266         * scripts/firstversions.awk: Fix bug in version range handling.
80268         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80270         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80272         * include/sys/epoll.h: New file.
80273         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80274         libc_hidden_def.
80276 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80278         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80279         Avoid unnecessary __WORDSIZE == 64 test.
80280         (fmaxf): Use VEX format if possible.
80281         (fmax): Likewise.
80282         (fminf): Likewise.
80283         (fmin): Likewise.
80285         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80286         * math/math_private.h: Remove libc_fegetround* and
80287         libc_fesetround*.
80288         * sysdeps/i386/configure.in: Check for -msse2avx.
80289         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80290         also if SSE2AVX is defined.
80291         Remove libc_fegetround* and libc_fesetround*.
80292         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80293         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80295         of HAS_YMM_USABLE.
80296         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80297         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80299         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80300         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80302         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80304 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80306         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80307         size is not set.
80308         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80310 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80312         [BZ #13618]
80313         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80314         relocation.
80315         * Makeconfig (libm): Define.
80316         * elf/Makefile: Add rules to build and run tst-relsort1.
80317         * elf/tst-relsort1.c: New file.
80318         * elf/tst-relsort1mod1.c: New file.
80319         * elf/tst-relsort1mod2.c: New file.
80321 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80323         * math/s_ldexp.c: Remove __STDC__ conditionals.
80324         * math/s_ldexpf.c: Likewise.
80325         * math/s_ldexpl.c: Likewise.
80326         * math/s_nextafter.c: Likewise.
80327         * math/s_nexttowardf.c: Likewise.
80328         * math/s_significand.c: Likewise.
80329         * math/s_significandf.c: Likewise.
80330         * math/s_significandl.c: Likewise.
80331         * math/w_jnl.c: Likewise.
80332         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80333         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80334         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80335         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80336         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80338         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80339         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80340         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80341         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80342         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80343         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80344         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80345         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80346         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80347         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80348         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80349         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80350         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80351         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80352         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80353         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80354         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80355         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80356         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80357         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80358         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80359         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80360         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80361         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80362         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80363         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80364         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80365         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80366         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80367         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80368         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80369         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80370         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80371         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80372         * sysdeps/ieee754/k_standard.c: Likewise.
80373         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80375         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80376         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80377         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80378         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80380         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80381         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80382         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80383         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80384         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80385         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80386         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80387         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80389         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80390         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80391         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80392         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80393         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80394         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80395         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80396         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80397         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80398         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80399         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80400         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80401         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80402         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80403         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80404         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
80405         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80406         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80407         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80408         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80409         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
80410         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80411         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
80413         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
80414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80415         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
80416         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
80417         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80418         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
80419         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
80420         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80422         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80423         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80424         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80425         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80426         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80427         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80428         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80429         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80430         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80431         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80433         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80434         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80435         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80436         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80437         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80438         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80439         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80440         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80441         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80442         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80443         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80444         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80445         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80446         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80447         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80448         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80449         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80450         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80451         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80452         * sysdeps/ieee754/s_matherr.c: Likewise.
80453         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80454         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80458 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80460         * crypt/md5.h: Remove __STDC__ conditionals.
80461         * libio/libioP.h: Likewise.
80462         * locale/programs/config.h: Likewise.
80463         * sysdeps/generic/sysdep.h: Likewise.
80464         * sysdeps/i386/asm-syntax.h: Likewise.
80465         * sysdeps/s390/asm-syntax.h: Likewise.
80466         * sysdeps/unix/sysdep.h: Likewise.
80467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80470 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80472         * libio/libio.h: Remove __STDC__ conditionals.
80473         * malloc/obstack.h: Likewise.
80474         * math/complex.h: Likewise.
80475         * math/math.h: Likewise.
80476         * sysdeps/generic/_G_config.h: Likewise.
80477         * sysdeps/gnu/_G_config.h: Likewise.
80478         * sysdeps/mach/hurd/_G_config.h: Likewise.
80479         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80480         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80481         * sysdeps/sparc/bits/mathdef.h: Likewise.
80483 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80485         [BZ #13583]
80486         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80487         Clean up HAS_* macros.
80488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80489         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80490         possible.
80491         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80492         HAS_AVX.
80493         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80494         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80496         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80497         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80499 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80501         * elf/tst-unique3.cc (gets): Remove declaration.
80502         * elf/tst-unique3lib.cc (gets): Likewise.
80503         * elf/tst-unique3lib2.cc (gets): Likewise.
80504         * elf/tst-unique4.cc (gets): Likewise.
80506 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80508         * include/stdio.h: Add C++ protection.  Add gets declarations and
80509         definitions.
80510         * debug/tst-chk1.c: Don't declare gets here.
80511         * stdio-common/tst-gets.c: Likewise.
80513 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80515         * posix/glob: Remove directory.
80517 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80519         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80521 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80523         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80524         of the non-standard EPFNOSUPPORT.
80526 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80528         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80529         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80530         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80532 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80534         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80536 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80538         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80539         transient errors.
80540         * nscd/grpcache.c (cache_addgr): Likewise.
80541         * nscd/hstcache.c (cache_addhst): Likewise.
80542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80543         * nscd/pwdcache.c (cache_addpw): Likewise.
80544         * nscd/servicescache.c (cache_addserv): Likewise.
80546 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80548         * malloc/malloc.c: Various cleanups.
80549         * malloc/hooks.c: Likewise.
80551         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80552         * stdlib/bug-fmtmsg1.c: New file.
80554         * stdlib/fmtmsg.c (init): Add missing unlock.
80555         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80557 2012-01-12  Marek Polacek  <polacek@redhat.com>
80559         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80560         and _GNU_SOURCE.
80562 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80564         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80565         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80566         macro to ensure uniqueness of label name.
80567         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80568         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80570 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80572         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80574         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80575         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80576         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80577         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80579 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80581         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80583         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80584         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80585         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80587         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80589         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80590         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80591         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80594         * math/bits/math-finite.h: Add ldexp support.
80596 2012-01-10  Marek Polacek  <polacek@redhat.com>
80598         * locale/programs/localedef.h (show_archive_content): Add noreturn
80599         attribute.
80601 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80603         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80605 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80607         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80609         * io/Makefile (headers): Add bits/poll2.h.
80611 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80614         typo #include statement.
80616 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80618         * include/sys/cdefs.h: Define __attribute_alloc_size.
80619         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80620         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80621         * elf/pldd.c: Likewise.
80622         * iconv/iconv_charmap.c: Likewise.
80623         * iconv/iconvconfig.c: Likewise.
80624         * iconv/strtab.c: Likewise.
80625         * locale/programs/locale.c: Likewise.
80626         * locale/programs/localedef.h: Likewise.
80627         * locale/programs/simple-hash.c: Likewise.
80628         * nscd/nscd.h: Likewise.
80629         * nss/makedb.c: Likewise.
80630         * sysdeps/generic/ldconfig.h: Likewise.
80631         * locale/programs/localedef.c: Remove xmalloc prototype.
80632         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80634 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80636         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80637         appropriate.
80639 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80641         * math/Makefile (tests): Add tst-CMPLX.
80642         * math/tst-CMPLX.c: New file.
80644         * math/complex.h (CMPLXL): Fix typo.
80646         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80647         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80648         GLIBC_2.16.
80649         * debug/tst-chk1.c: Add poll and ppoll tests.
80650         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80651         * include/sys/poll.h: Add hidden proto for ppoll.
80652         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80653         * sysdeps/mach/hurd/ppoll.c: Likewise.
80654         * io/ppoll.c: Likewise.
80655         * debug/poll_chk.c: New file.
80656         * debug/ppoll_chk.c: New file.
80657         * include/bits/poll2.h: New file.
80658         * io/bits/poll2.h: New file.
80660         [BZ #1350]
80661         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80663         * configure.in: static is always set to yes.  Remove.
80664         * config.make.in: Don't set build-static.
80665         * Makeconfig: Remove use of build-static.
80666         * dlfcn/Makefile: Likewise.
80667         * elf/Makefile: Likewise.
80668         * math/Makefile: Likewise.
80669         * misc/Makefile: Likewise.
80670         * nptl/Makefile: Likewise.
80671         * sysdeps/mach/hurd/Makefile: Likewise.
80673         * configure.in: PWD_P is not used anymore.
80674         * config.make.in: Remove PWD_P entry.
80676         * configure.in: Remove last remnants of RANLIB.
80677         No need to check for signed size_t anymore.
80678         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80679         and IA-64.
80680         Remove __builtin_expect test because we require at least gcc 3.4.
80681         * aclocal.m4: Likewise.
80683         * wcsmbs/mbrtoc16.c: Implement using towc function.
80684         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80685         * wcsmbs/wcsmbsload.c: Likewise.
80686         * iconv/gconv_simple.c: Likewise.
80687         * iconv/gconv_int.h: Likewise.
80688         * iconv/gconv_builtin.h: Likewise.
80689         * iconv/iconv_prog.c: Remove CHAR16 handling.
80691         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80693         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80695         * configure.in: Remove --with-elf and --enable-bounded options.
80696         Dont set base_machine for ia64.  More non-ELF conditions removed.
80697         Remove testing and setting of leading underscore information.
80698         * config.make.in (build-bounded): Set to no.
80699         * config.h.in: Remove NO_UNDERSCORES entry.
80700         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80701         them.
80702         * csu/start.c: Remove !NO_UNDERSCORE code.
80703         * locale/localeinfo.h: Likewise.
80704         * sysdeps/generic/machine-gmon.h: Likewise.
80705         * sysdeps/generic/sysdep.h: Likewise.
80706         * sysdeps/i386/sysdep.h: Likewise.
80707         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80708         * sysdeps/mach/sysdep.h: Likewise.
80709         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80710         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80711         * sysdeps/sh/sysdep.h: Likewise.
80712         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80713         * sysdeps/unix/i386/sysdep.S: Likewise.
80714         * sysdeps/unix/sparc/start.c: Likewise.
80715         * sysdeps/unix/sparc/sysdep.S: Likewise.
80716         * sysdeps/unix/sparc/sysdep.h: Likewise.
80717         * sysdeps/unix/start.c: Likewise.
80718         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80719         * sysdeps/x86_64/sysdep.h: Likewise.
80721 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80723         [BZ #13553]
80724         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80725         for non-gcc.
80726         * argp/argp-fmtstream.h: Use const instead __const.
80727         * argp/argp.h: Likewise.
80728         * assert/assert.h: Likewise.
80729         * bits/fenv.h: Likewise.
80730         * bits/sched.h: Likewise.
80731         * bits/sigset.h: Likewise.
80732         * bits/sigthread.h: Likewise.
80733         * catgets/nl_types.h: Likewise.
80734         * conform/data/pthread.h-data: Likewise.
80735         * crypt/crypt-private.h: Likewise.
80736         * crypt/crypt.h: Likewise.
80737         * crypt/crypt_util.c: Likewise.
80738         * ctype/ctype.h: Likewise.
80739         * debug/execinfo.h: Likewise.
80740         * debug/mbsnrtowcs_chk.c: Likewise.
80741         * debug/mbsrtowcs_chk.c: Likewise.
80742         * debug/wcsnrtombs_chk.c: Likewise.
80743         * debug/wcsrtombs_chk.c: Likewise.
80744         * debug/wcstombs_chk.c: Likewise.
80745         * dirent/dirent.h: Likewise.
80746         * dlfcn/dlfcn.h: Likewise.
80747         * elf/neededtest4.c: Likewise.
80748         * grp/grp.h: Likewise.
80749         * gshadow/gshadow.h: Likewise.
80750         * iconv/gconv.h: Likewise.
80751         * iconv/gconv_int.h: Likewise.
80752         * iconv/gconv_simple.c: Likewise.
80753         * iconv/iconv.h: Likewise.
80754         * iconv/loop.c: Likewise.
80755         * iconv/skeleton.c: Likewise.
80756         * include/aio.h: Likewise.
80757         * include/aliases.h: Likewise.
80758         * include/argz.h: Likewise.
80759         * include/arpa/inet.h: Likewise.
80760         * include/assert.h: Likewise.
80761         * include/dirent.h: Likewise.
80762         * include/dlfcn.h: Likewise.
80763         * include/execinfo.h: Likewise.
80764         * include/fcntl.h: Likewise.
80765         * include/fenv.h: Likewise.
80766         * include/glob.h: Likewise.
80767         * include/grp.h: Likewise.
80768         * include/libintl.h: Likewise.
80769         * include/mntent.h: Likewise.
80770         * include/netdb.h: Likewise.
80771         * include/pwd.h: Likewise.
80772         * include/rpc/netdb.h: Likewise.
80773         * include/sched.h: Likewise.
80774         * include/search.h: Likewise.
80775         * include/shadow.h: Likewise.
80776         * include/signal.h: Likewise.
80777         * include/stdio.h: Likewise.
80778         * include/stdlib.h: Likewise.
80779         * include/string.h: Likewise.
80780         * include/sys/socket.h: Likewise.
80781         * include/sys/stat.h: Likewise.
80782         * include/sys/statfs.h: Likewise.
80783         * include/sys/statvfs.h: Likewise.
80784         * include/sys/syslog.h: Likewise.
80785         * include/sys/time.h: Likewise.
80786         * include/sys/uio.h: Likewise.
80787         * include/time.h: Likewise.
80788         * include/unistd.h: Likewise.
80789         * include/utmp.h: Likewise.
80790         * include/wchar.h: Likewise.
80791         * include/wctype.h: Likewise.
80792         * inet/aliases.h: Likewise.
80793         * inet/arpa/inet.h: Likewise.
80794         * inet/netinet/ether.h: Likewise.
80795         * inet/netinet/in.h: Likewise.
80796         * intl/libintl.h: Likewise.
80797         * io/bits/fcntl2.h: Likewise.
80798         * io/fcntl.h: Likewise.
80799         * io/ftw.h: Likewise.
80800         * io/sys/poll.h: Likewise.
80801         * io/sys/stat.h: Likewise.
80802         * io/sys/statfs.h: Likewise.
80803         * io/sys/statvfs.h: Likewise.
80804         * io/utime.h: Likewise.
80805         * libio/bits/stdio.h: Likewise.
80806         * libio/bits/stdio2.h: Likewise.
80807         * libio/libio.h: Likewise.
80808         * libio/libioP.h: Likewise.
80809         * libio/stdio.h: Likewise.
80810         * locale/lc-ctype.c: Likewise.
80811         * locale/locale.h: Likewise.
80812         * login/utmp.h: Likewise.
80813         * malloc/arena.c: Likewise.
80814         * malloc/malloc.c: Likewise.
80815         * malloc/malloc.h: Likewise.
80816         * malloc/mcheck.c: Likewise.
80817         * malloc/mtrace.c: Likewise.
80818         * math/bits/mathcalls.h: Likewise.
80819         * math/fenv.h: Likewise.
80820         * math/math_private.h: Likewise.
80821         * misc/bits/error.h: Likewise.
80822         * misc/bits/syslog.h: Likewise.
80823         * misc/err.h: Likewise.
80824         * misc/error.h: Likewise.
80825         * misc/fstab.h: Likewise.
80826         * misc/mntent.h: Likewise.
80827         * misc/regexp.h: Likewise.
80828         * misc/search.h: Likewise.
80829         * misc/sgtty.h: Likewise.
80830         * misc/sys/mman.h: Likewise.
80831         * misc/sys/syslog.h: Likewise.
80832         * misc/sys/uio.h: Likewise.
80833         * misc/sys/xattr.h: Likewise.
80834         * misc/ttyent.h: Likewise.
80835         * nis/rpcsvc/ypclnt.h: Likewise.
80836         * nss/nss.h: Likewise.
80837         * posix/bits/unistd.h: Likewise.
80838         * posix/fnmatch.h: Likewise.
80839         * posix/glob.h: Likewise.
80840         * posix/sched.h: Likewise.
80841         * posix/spawn.h: Likewise.
80842         * posix/sys/wait.h: Likewise.
80843         * posix/unistd.h: Likewise.
80844         * posix/wordexp.h: Likewise.
80845         * pwd/pwd.h: Likewise.
80846         * resolv/netdb.h: Likewise.
80847         * resource/sys/resource.h: Likewise.
80848         * rt/aio.h: Likewise.
80849         * rt/bits/mqueue2.h: Likewise.
80850         * rt/mqueue.h: Likewise.
80851         * shadow/shadow.h: Likewise.
80852         * signal/signal.h: Likewise.
80853         * socket/send.c: Likewise.
80854         * socket/sendto.c: Likewise.
80855         * socket/sys/socket.h: Likewise.
80856         * stdio-common/printf.h: Likewise.
80857         * stdlib/bits/stdlib.h: Likewise.
80858         * stdlib/fmtmsg.h: Likewise.
80859         * stdlib/monetary.h: Likewise.
80860         * stdlib/stdlib.h: Likewise.
80861         * stdlib/ucontext.h: Likewise.
80862         * streams/stropts.h: Likewise.
80863         * string/argz.h: Likewise.
80864         * string/bits/string2.h: Likewise.
80865         * string/string.h: Likewise.
80866         * string/strings.h: Likewise.
80867         * sunrpc/rpc/auth.h: Likewise.
80868         * sunrpc/rpc/auth_des.h: Likewise.
80869         * sunrpc/rpc/clnt.h: Likewise.
80870         * sunrpc/rpc/netdb.h: Likewise.
80871         * sunrpc/rpc/pmap_clnt.h: Likewise.
80872         * sunrpc/rpc/xdr.h: Likewise.
80873         * sysdeps/generic/inttypes.h: Likewise.
80874         * sysdeps/generic/net/if.h: Likewise.
80875         * sysdeps/generic/sys/swap.h: Likewise.
80876         * sysdeps/gnu/net/if.h: Likewise.
80877         * sysdeps/gnu/utmpx.h: Likewise.
80878         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80879         * sysdeps/i386/i486/bits/string.h: Likewise.
80880         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80881         * sysdeps/s390/bits/string.h: Likewise.
80882         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80883         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80884         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80885         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80886         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80887         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80888         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80889         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80890         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80891         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80892         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80893         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80894         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80895         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80896         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80897         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80898         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80900         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80901         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80902         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80903         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80904         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80905         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80906         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80907         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80908         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80909         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80910         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80911         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80912         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80913         * sysvipc/sys/ipc.h: Likewise.
80914         * sysvipc/sys/msg.h: Likewise.
80915         * sysvipc/sys/sem.h: Likewise.
80916         * sysvipc/sys/shm.h: Likewise.
80917         * termios/termios.h: Likewise.
80918         * time/sys/time.h: Likewise.
80919         * time/time.h: Likewise.
80920         * wcsmbs/bits/wchar2.h: Likewise.
80921         * wcsmbs/uchar.h: Likewise.
80922         * wcsmbs/wchar.h: Likewise.
80923         * wctype/wctype.h: Likewise.
80925         [BZ #13551]
80926         * Makeconfig: Remove all but ELF support including AIX support.
80927         * Makerules: Likewise.
80928         * config.h.in: Likewise.
80929         * config.make.in: Likewise.
80930         * configure: Likewise.
80931         * configure.in: Likewise.
80932         * csu/Makefile: Likewise.
80933         * csu/version.c: Likewise.
80934         * debug/Makefile: Likewise.
80935         * dlfcn/Makefile: Likewise.
80936         * elf/Makefile: Likewise.
80937         * extra-lib.mk: Likewise.
80938         * iconv/Makefile: Likewise.
80939         * include/libc-symbols.h: Likewise.
80940         * include/shlib-compat.h: Likewise.
80941         * resolv/Makefile: Likewise.
80942         * resolv/res_libc.c: Likewise.
80943         * rt/Makefile: Likewise.
80944         * sysdeps/i386/asm-syntax.h: Likewise.
80945         * sysdeps/i386/sysdep.h: Likewise.
80946         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80947         * sysdeps/mach/sysdep.h: Likewise.
80948         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80949         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80950         * sysdeps/s390/asm-syntax.h: Likewise.
80951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80953         * sysdeps/sh/sysdep.h: Likewise.
80954         * sysdeps/unix/sparc/sysdep.h: Likewise.
80955         * sysdeps/wordsize-32/divdi3.c: Likewise.
80956         * sysdeps/x86_64/sysdep.h: Likewise.
80958         * argp/Versions: Remove _argp_unlock_xxx.
80960         [BZ #13559]
80961         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80962         * abilist/libBrokenLocale.abilist: Likewise.
80963         * abilist/libanl.abilist: Likewise.
80964         * abilist/libc.abilist: Likewise.
80965         * abilist/libcrypt.abilist: Likewise.
80966         * abilist/libdl.abilist: Likewise.
80967         * abilist/libm.abilist: Likewise.
80968         * abilist/libnsl.abilist: Likewise.
80969         * abilist/libpthread.abilist: Likewise.
80970         * abilist/libresolv.abilist: Likewise.
80971         * abilist/librt.abilist: Likewise.
80972         * abilist/libthread_db.abilist: Likewise.
80973         * abilist/libutil.abilist: Likewise.
80974         * abilist/libnss_db.abilist: New file.
80976         * scripts/abilist.awk: Add support for indirect functions.
80978         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80980         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80982         * shlib-versions: Remove entries for ports architectures.
80984         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80985         files in ports.
80986         * elf/stackguard-macros.h: Remove support for IA-64.
80987         * elf/tst-auditmod1.c: Likewise.
80988         * sysdeps/generic/ldsodefs.h: Likewise.
80990         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80991         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80992         configure files.
80994         [BZ #13552]
80995         * configure.in: Remove --enable-omitfp support.
80996         * FAQ.in: Adjust.
80997         * config.make.in: Likewise.
80998         * Makeconfig: Likewise.
80999         * manual/install.texi: Likewise.
81001         In case anyone cares, the IA-64 architecture could move to ports.
81002         * sysdeps/ia64/*: Removed.
81003         * sysdeps/unix/sysv/linux/ia64/*: Removed.
81004         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
81006         [BZ #13555]
81007         * configure.in: Remove entries for unsupported architectures.
81009         [BZ #13533]
81010         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81011         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81012         routines.
81013         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81014         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81015         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81016         fall back to using wcrtomb.
81017         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81018         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81019         renaming.
81020         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81021         * wcsmbs/tst-c16c32-1.c: New file.
81023         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81024         local variable.
81026         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81028         * elf/tst-unique3.cc: Add explicit declaration of gets.
81029         * elf/tst-unique3lib.cc: Likewise.
81030         * elf/tst-unique3lib2.cc: Likewise.
81031         * elf/tst-unique4.cc: Likewise.
81033         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81035 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81037         [BZ #13566]
81038         * assert/assert.h (static_assert): Don't define for C++.
81039         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81040         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81042 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81044         * iconv/loop.c (single loop): Fix assertion in storing of
81045         remaining bytes.
81047         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81049 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81051         * posix/getconf.c: Update copyright year.
81052         * nss/getent.c: Likewise.
81053         * nss/makedb.c: Likewise.
81054         * iconv/iconvconfig.c: Likewise.
81055         * iconv/iconv_prog.c: Likewise.
81056         * elf/ldconfig.c: Likewise.
81057         * elf/pldd.c: Likewise.
81058         * elf/sotruss.ksh: Likewise.
81059         * catgets/gencat.c: Likewise.
81060         * csu/version.c: Likewise.
81061         * elf/ldd.bash.in: Likewise.
81062         * elf/sprof.c (print_version): Likewise.
81063         * locale/programs/locale.c: Likewise.
81064         * locale/programs/localedef.c: Likewise.
81065         * login/programs/pt_chown.c: Likewise.
81066         * nscd/nscd.c (print_version): Likewise.
81067         * debug/xtrace.sh: Likewise.
81068         * malloc/memusage.sh: Likewise.
81069         * malloc/mtrace.pl: Likewise.
81070         * debug/catchsegv.sh: Likewise.
81072 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81074         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81075         pure attribute.
81077 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81079         [BZ #13533]
81080         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81081         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81082         transformations.
81083         * iconv/gconv_int.h: Likewise.
81084         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81085         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81086         from libc for GLIBC_2.16.
81087         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81088         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81089         * wcsmbs/uchar.h: Really define mbstate_t.
81090         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81091         * wcsmbs/c16rtomb.c: New file.
81092         * wcsmbs/mbrtoc16.c: New file.
81093         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81094         for C/POSIX locale.
81095         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81096         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81098         * wcsmbs/wchar.h: Add missing __restrict.
81100 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81102         [BZ #13532]
81103         * time/Makefile (routines): Add timespec_get.
81104         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81105         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81106         timespec for ISO C11.
81107         * time/timespec_get.c: New file.
81108         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81109         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81111         [BZ #13531]
81112         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81113         * stdlib/stdlib.h: Declare aligned_alloc.
81114         * Versions.def: Add GLIBC_2.16 for libc.
81115         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81117         [BZ 13527]
81118         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81119         ISO C11.
81121         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81122         code.
81124         [BZ #13528]
81125         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81127         [BZ #13529]
81128         * assert/assert.h (static_assert): Define.
81130         * version.h: Update for 2.16 development version.
81132         [BZ #13526]
81133         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81134         _ISOC11_SOURCE.
81136         * version.h (RELEASE): Bump for 2.15 release.
81137         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81139         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81140         Patch by Marek Polacek <mpolacek@redhat.com>.
81142         * bits/byteswap.h: Protect long long constants with __extension__.
81143         * sysdeps/i386/bits/byteswap.h: Likewise.
81144         * sysdeps/ia64/bits/byteswap.h: Likewise.
81145         * sysdeps/s390/bits/byteswap.h: Likewise.
81146         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81148 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81150         [BZ #13540]
81151         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81152         destination buffer.
81153         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81155 2011-12-23  Marek Polacek  <polacek@redhat.com>
81157         * elf/dl-addr.c (determine_info): Add inline keyword.
81158         * elf/tst-auditmod4b.c (check_avx): Likewise.
81159         * elf/tst-auditmod6b.c (check_avx): Likewise.
81160         * elf/tst-auditmod6c.c (check_avx): Likewise.
81161         * elf/tst-auditmod7b.c (check_avx): Likewise.
81163 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81165         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81166         !__SSE_MATH__.
81168 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81170         [BZ #13540]
81171         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81172         processing for last bytes.
81174 2011-08-06  Bruno Haible  <bruno@clisp.org>
81176         [BZ #13061]
81177         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81178         U+0385, not to U+1FEE.
81180         [BZ #13062]
81181         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81182         entry for U+00A5 U+0301.
81184 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81186         [BZ #13166]
81187         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81188         buffer for the output is too small.
81190         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81191         optimization.
81193         [BZ #13185]
81194         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81195         SSE flags if possible.
81197 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81199         [BZ #13540]
81200         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81201         processing for last bytes.
81203 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81205         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81206         (syscall-list-default-options, syscall-list-default-condition)
81207         (syscall-list-includes): Define.
81208         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81209         list of ABIs and options and #if conditions for each ABI.  Do not
81210         handle common syscalls between ABIs specially.
81211         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81212         Remove.
81213         (syscall-list-variants, syscall-list-32bit-options)
81214         (syscall-list-32bit-condition, syscall-list-64bit-options)
81215         (syscall-list-64bit-condition): Define.
81216         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81217         (syscall-list-variants, syscall-list-32bit-options)
81218         (syscall-list-32bit-condition, syscall-list-64bit-options)
81219         (syscall-list-64bit-condition): Define.
81220         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81221         Remove.
81222         (syscall-list-variants, syscall-list-32bit-options)
81223         (syscall-list-32bit-condition, syscall-list-64bit-options)
81224         (syscall-list-64bit-condition): Define.
81225         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81226         Remove.
81227         (syscall-list-variants, syscall-list-32bit-options)
81228         (syscall-list-32bit-condition, syscall-list-64bit-options)
81229         (syscall-list-64bit-condition): Define.
81231 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81233         * locale/iso-639.def: Add brx entry.
81235         [BZ #13328]
81236         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81237         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81239         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81240         __feraiseexcept_renamed.
81242 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81244         [BZ #13538]
81245         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81246         EPOLLET with unsigned values.
81247         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81248         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81250         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81251         to large cancellation.
81252         * math/s_cacoshf.c: Likewise.
81253         * math/s_cacoshl.c: Likewise.
81255 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81257         [BZ #13305]
81258         [BZ #12786]
81259         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81260         * math/s_cacoshf.c: Likewise.
81261         * math/s_cacoshl.c: Likewise.
81263 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81265         [BZ #13439]
81266         * iconv/gconv.h: Define __GCONV_SWAP.
81267         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81268         * iconvdata/utf-16.c: Likewise.
81269         * iconvdata/utf-32.c: Likewise.
81271 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81273         [BZ #13524]
81274         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81275         numerator after shifting it by one limb.
81277 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81279         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81280         under [__USE_EXTERN_INLINES].
81282 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81284         [BZ #13446]
81285         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81287 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81289         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81290         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81291         optimized code.
81292         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81293         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81294         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81295         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81296         for strncasecmp/strncasecmp_l compilation.
81297         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81298         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81300 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81302         [BZ #13484]
81303         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81304         of __asm__.
81306 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81308         [BZ #13506]
81309         * time/tzfile.c (__tzfile_read): Check values from file header.
81311 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81313         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81314         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81315         * powerpc/powerpc32/dl-start.S: Likewise.
81316         * powerpc/powerpc32/elf/start.S: Likewise.
81317         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81318         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81319         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81320         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81321         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81322         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81323         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81324         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81325         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81326         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81327         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81328         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81329         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81330         * powerpc/powerpc32/memset.S: Likewise.
81331         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81332         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81333         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81334         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81335         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81336         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81337         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81338         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81339         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81340         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81341         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81342         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81343         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81345 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81347         * math/libm-test.inc: Added more nearbyint tests.
81348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
81349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
81350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81351         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
81353 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
81355         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
81356         FD_CLOEXEC.
81358 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81360         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
81361         Add wcscpy-ssse3 wcscpy-c.
81362         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
81363         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
81364         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
81365         * sysdeps/x86_64/wcschr.S: New file.
81366         * sysdeps/x86_64/wcsrchr.S: New file.
81367         * string/test-strcmp.c: Remove checking of wcscmp function for
81368         wrong alignments.
81369         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
81370         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
81371         wcsrchr-sse2 wcsrchr-c.
81372         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
81373         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
81374         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
81375         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
81376         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
81377         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
81378         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
81379         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
81380         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
81381         * wcsmbc/wcschr.c (WCSCHR): New macro.
81383 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81385         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
81386         * wcsmbs/test-wcsrchr.c: New file.
81387         * string/test-strrchr.c: Add wcsrchr support.
81388         (WIDE): New macro.
81389         * wcsmbs/test-wcscpy.c: New file.
81390         * string/test-strcpy.c: Add wcscpy support.
81391         (WIDE): New macro.
81393 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
81395         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
81396         the inner loop.
81398 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
81400         [BZ #13472]
81401         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
81403 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
81405         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
81406         Minor optimizations.
81408         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
81409         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
81410         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
81412 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
81414         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
81415         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
81416         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
81417         for gcc to avoid warnings.
81418         * inet/Makefile (tests): Add tst-checks.
81419         * inet/tst-checks.c: New file.
81421         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81422         warning.
81424         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81425         __wmemcmp_sse2.
81427         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81428         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81430         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81432 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81434         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81435         problem.
81437         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81439 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81441         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81442         conditional on GCC version.
81443         (__arch_compare_and_exchange_val_8_acq)
81444         (__arch_compare_and_exchange_val_16_acq)
81445         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81446         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81447         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81449 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81451         * sysdeps/sh/backtrace.c: New file.
81453 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81455         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81456         parenthesis.
81458 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81460         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81461         falling back to utime.
81463 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81465         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81466         expectations for float.
81468 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81470         * locale/weight.h (findidx): Add parameter len.
81471         * locale/weightwc.h (findidx): Likewise.
81472         * posix/fnmatch_loop.c (FCT): Adjust caller.
81473         * posix/regcomp.c (build_equiv_class): Likewise.
81474         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81475         * posix/regexec.c (check_node_accept_bytes): Likewise.
81476         * string/strcoll_l.c (STRCOLL): Likewise.
81477         * string/strxfrm_l.c (STRXFRM): Likewise.
81479 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81481         * Makefile.in: Remove CVSOPT handling.
81482         * configure.in: Remove use of AC_REVISION.
81483         * iconvdata/Makefile (distribute): No need to filter out CVS.
81484         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81485         handling.
81487 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81490         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81491         [USE_AS_STRNCASECMP_L]: Likewise.
81492         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81493         NO_TLS_DIRECT_SEG_REFS.
81494         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81495         Fix argument offsets for non-PIC.
81496         [USE_AS_STRNCASECMP_L]: Likewise.
81497         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81498         NO_TLS_DIRECT_SEG_REFS.
81500 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81502         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81503         O_CLOEXEC.
81504         * locale/loadlocale.c (_nl_load_locale): Likewise.
81506 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81508         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81509         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81510         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81511         (SYSCALL_GETTIME): Set errno on error.
81513         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81514         count references to noai6ai_cached.
81516 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81518         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81520         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81521         FD_CLOEXEC for /proc/self/maps.
81523         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81524         FD_CLOEXEC for /proc/meminfo.
81526         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81527         gai.conf.
81529         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81530         FD_CLOEXEC for given file.
81532         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81534         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81535         FD_CLOEXEC for /etc/hosts.
81536         (_gethtent): Likewise.
81538         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81540         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81541         cancellation and set FD_CLOEXEC for /etc/netgroup.
81543         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81544         reading /etc/publickey.
81546         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81547         allow cancellation when reading /etc/group.
81549         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81550         cancellation.
81551         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81553         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81554         when using data file.
81556         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81558         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81559         (write_nis_obj): Use "c" and "e" in fopen.
81561         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81563         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81565         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81567         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81569         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81570         locale.alias.
81572         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81574         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81576         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81578         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81579         file parsing and set FD_CLOEXEC.
81581 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81583         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81585 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81587         * malloc/arena.c (arena_get2): Don't call reused_arena when
81588         _int_new_arena failed.
81590 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81592         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81593         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81594         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81595         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81596         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81597         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81598         to compile strcasecmp and strncasecmp.
81599         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81600         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81604 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81606         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81607         locale-defines.sym to gen-as-const-headers.
81608         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81609         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81611         to compile strcasecmp and strncasecmp.
81612         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81613         strcasecmp_l and strncasecmp_l.
81614         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81615         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81616         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81617         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81618         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81619         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81620         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81621         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81622         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81623         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81624         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81626 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81628         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81629         result of SYSDEP_GETTIME_CPU to retval.
81630         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81631         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81633         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81634         variable.
81636         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81637         mantissa words.
81638         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81640         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81641         from unused variable.
81643         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81644         DWARF definitions.
81645         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81646         for assembling.
81648         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81649         over namespaces.
81651         * sunrpc/rpc_prot.c (rejected): Fix case value.
81653         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81654         unsigned long long int to avoid warnings in shift.
81656         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81657         of use of trans.
81658         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81659         variable tmp.
81661         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81662         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81663         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81665         * nis/nis_table.c (nis_list): Use variable of correct type for
81666         result of __follow_path call.
81668 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81670         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81671         of math functions ceil, trunc, floor, round, and sqrt, when
81672         avaliable on the platform.
81673         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81674         name clash.
81675         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81676         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81677         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81679 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81681         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81682         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81684 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81686         * include/unistd.h: Fix __readlink return type.
81687         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81689 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81691         * stdlib/ucontext.h: Undo last change for makecontext.
81693 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81695         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81697         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81698         * setjmp/setjmp.h: Mark functions as non-leaf.
81699         * setjmp/bits/setjmp2.h: Likewise.
81700         * stdlib/ucontext.h: Likewise.
81702 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81704         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81705         (reused_arena): Don't check arena limit.
81706         (arena_get2): Atomically check arena limit.
81708 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81710         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81711         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81714         instructions.
81716 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81718         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81719         handler when locking.
81721         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81722         Fix size of allocated buffer.
81724 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81726         [BZ #10103]
81727         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81728         declarations for long double functions.
81729         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81731         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81733 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81735         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81736         installed.
81738         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81739         is disabled.
81741 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81743         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81745 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81747         * include/alloca.h (stackinfo_alloca_round): Define.
81748         (extend_alloca): Use it.
81749         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81750         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81751         here.
81753         * scripts/check-local-headers.sh: Ignore libaudit.h.
81755         * nscd/Makefile (extra-objs): Make recursively expanded.
81757 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81759         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81760         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81762         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81763         * posix/tst-rfc3484-2.c: Likewise.
81764         * posix/tst-rfc3484-3.c: Likewise.
81766         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81767         process_vm_writev.
81768         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81769         process_vm_writev.
81770         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81771         process_vm_writev from libc using GLIBC_2.15 version.
81773         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81775 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81777         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81778         stack usage.
81780 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81782         [BZ #13367]
81783         * nss/getent.c (initgroups_keys): Show error message in case no group
81784         names are given.
81786         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81787         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81788         __bump_nl_timestamp.
81789         * nscd/connections (nscd_init): When host database is served open
81790         netlink socket and request notification about configuration changes.
81791         (main_loop_poll): Track netlink file descriptor and bump timestamp
81792         in case data becomes available.
81793         (main_loop_epoll): Likewise.
81794         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81795         (database_pers_head): Add extra_data fileds.
81796         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81797         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81798         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81799         Adjust caller.
81800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81801         in6ai data, call __free_in6ai.
81802         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81803         Add -DHAVE_NETLINK.
81804         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81805         interface information.  Reuse previous data if netlink timestamp
81806         is not changed.
81807         (__bump_nl_timestamp): New function.
81808         (__free_in6ai): New function.
81810 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81812         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81813         close_not_cancel_no_status here.
81814         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81816 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81818         [BZ #13276]
81819         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81820         return value.
81822         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81823         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81824         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81826 2011-07-03  Andreas Jaeger  <aj@suse.de>
81828         [BZ #10709]
81829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81830         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81831         * math/libm-test.inc (sin_test): Add test case.
81833 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81835         [BZ #13337]
81836         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81837         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81839         * elf/chroot_canon.c (chroot_canon): Cleanups.
81841         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81843         [BZ #13335]
81844         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81845         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81847         * string/test-strchr.c: Make usable for strchrnul testing.
81848         * string/test-strchrnul.c: New file.
81849         * string/Makefile (strop-tests): Add strchrnul.
81851         * po/it.po: Update from translation team.
81852         * po/es.po: Likewise.
81854 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81856         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81857         the three constants needed as parameters.  Drop the others.
81858         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81859         __m128i_strloadu_tolower.
81860         Create and initialize variable zero and use it in all the places
81861         where _mm_setzero_si128 was used.
81863         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81864         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81865         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81866         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81867         anymore.
81868         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81869         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81870         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81871         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81872         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81873         __mpranred, __mptan.
81874         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81875         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81876         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81877         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81878         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81879         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81880         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81881         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81882         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81884 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81886         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81887         redefine if SHARED.
81888         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81891         wide char related routines to wcsmbs subdir.
81893 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81895         [BZ #13344]
81896         * misc/sys/cdefs.h (__THROWNL): Define.
81897         * posix/unistd.h: Use __THREADNL instead of __THREAD
81898         for memory synchronization functions.
81900 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81902         [BZ #13349]
81903         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81904         doesn't exist.
81905         * manual/stdio.texi (Obstack Streams): Node removed.
81907 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81909         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81910         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81911         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81913         * math/math_private.h (math_force_eval): Allow non-addressable
81914         arguments.
81915         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81917 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81919         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81920         file is not needed.
81922         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81923         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81924         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81925         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81926         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81927         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81928         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81929         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81930         Add AVX variants.
81931         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81932         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81933         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81934         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81935         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81936         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81937         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81938         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81939         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81940         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81941         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81942         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81943         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81944         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81945         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81946         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81947         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81948         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81949         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81951         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81952         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81955         place.  Use VEX encoding when compiling for AVX.
81957 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81959         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81960         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81962         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81964 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81966         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81967         useless if() expression.
81968         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81969         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81970         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81971         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81972         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81973         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81974         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81975         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81976         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81977         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81978         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81979         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81980         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81981         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81982         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81983         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81984         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81985         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81986         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81988         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81990 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81992         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81993         condition.
81994         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81996 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81998         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81999         .text section.  Avoid duplicate constants.
82000         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82001         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82002         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82008         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82009         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82010         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82011         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82012         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82013         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82014         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82015         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82016         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82017         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82018         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82019         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82020         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82021         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82022         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82023         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82024         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82025         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82026         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82027         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82028         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82029         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82030         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82031         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82032         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82033         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82034         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82035         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82036         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82037         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82038         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82039         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82040         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82041         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82042         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82043         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82044         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82046 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82048         * sysdeps/x86_64/dla.h: Move to ...
82049         * sysdeps/x86_64/fpu/dla.h: ...here.
82050         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82051         situations.  Use __builtin_fma only for gcc 4.6 and up.
82053         * config.make.in: Add have-mfma4 entry.
82054         * configure.in: Substitute libc_cv_cc_fma4.
82055         * math/Makefile (dbl-only-routines): Add sincostab.
82056         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82057         Use __sincostab not sincos.
82058         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82059         name is a macro.
82060         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82062         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82063         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82064         using __copysign.
82065         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82066         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82067         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82068         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82069         and __inv.
82070         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82071         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82072         __copysign.
82073         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82074         define aliases when function name is a macro.
82075         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82076         sysdeps/ieee754/dbl-64/sincos.tbl.
82077         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82078         fma4-enabled routines.
82079         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82080         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82081         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82082         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82083         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82084         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82085         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82086         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82087         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82088         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82089         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82090         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82091         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82092         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82094         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82095         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82096         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82097         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82098         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82099         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82100         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82101         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82102         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82103         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82104         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82105         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82106         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82107         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82108         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82110         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82111         rename.
82112         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82113         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82114         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82117         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82118         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82119         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82121 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82123         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82125 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82127         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82129         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82130         prediction.
82131         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82133         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82134         Remove unused variable magic_bits.
82135         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82137         * string/strnlen.c: Define and use STRNLEN macro.
82138         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82139         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82141         * wcsmbs/wcslen.c: Define and use WCSLEN.
82142         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82143         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82144         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82145         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82146         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82147         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82148         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82150 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82153         strnlen-sse2-no-bsf.
82154         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82155         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82156         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82157         Add strnlen support.
82158         (USE_AS_STRNLEN): New macro.
82159         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82160         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82161         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82162         * sysdeps/x86_64/wcslen.S: New file.
82164 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82166         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82167         XMM-moves are used for copying on small sizes.
82169 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82171         * wcsmbs/Makefile (strop-tests): Add wcschr.
82172         * wcsmbs/test-wcschr.c: New file.
82173         * string/test-strchr.c: Update.
82174         Add wcschr support.
82175         (WIDE): New macro.
82177 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82179         * wcsmbs/Makefile (strop-tests): Add wcslen.
82180         * wcsmbs/test-wcslen.c: New file.
82181         * string/test-strlen.c: Update.
82182         Add wcslen support.
82183         (WIDE): New macro.
82185 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82187         * po/it.po: Update from translation team.
82189 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82191         * sysdeps/x86_64/wcscmp.S: Update.
82192         Fix wrong comparison semantics.
82193         wcscmp shall use signed comparison not unsigned.
82194         Don't use substraction to avoid overflow bug.
82195         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82196         * wcsmbc/wcscmp.c: Likewise.
82197         * string/test-strcmp.c: Likewise.
82198         Add new tests to check cases with negative values.
82200 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82202         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82203         * sysdeps/x86_64/dla.h: ...here.  New file.
82204         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82207         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82209         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82211         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82212         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82214 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82217         __ynl_finite aliases.
82219 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82223         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82224         define DLA_FMA.
82225         [DLA_FMA] (EMULV): Use DLA_FMA.
82226         [DLA_FMA] (MUL12): Use EMULV.
82227         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82228         that are not needed.
82229         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82231         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82232         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82234         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82235         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82237 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82239         * math/s_nan.c: Undef __nan.
82240         * math/s_nanf.c: Undef __nanf.
82241         * math/s_nanl.c: Undef __nanl.
82242         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82243         "math_private.h".
82245 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82247         * math/s_catan.c: Add branch predictions.
82248         * math/s_catanf.c: Likewise.
82249         * math/s_catanh.c: Likewise.
82250         * math/s_catanhf.c: Likewise.
82251         * math/s_catanhl.c: Likewise.
82252         * math/s_catanl.c: Likewise.
82253         * math/s_cexp.c: Likewise.
82254         * math/s_cexpf.c: Likewise.
82255         * math/s_cexpl.c: Likewise.
82256         * math/s_clog.c: Likewise.
82257         * math/s_clog10.c: Likewise.
82258         * math/s_clog10f.c: Likewise.
82259         * math/s_clog10l.c: Likewise.
82260         * math/s_clogf.c: Likewise.
82261         * math/s_clogl.c: Likewise.
82262         * math/s_csqrt.c: Likewise.
82263         * math/s_csqrtf.c: Likewise.
82264         * math/s_csqrtl.c: Likewise.
82265         * math/s_ctanf.c: Likewise.
82266         * math/s_ctanh.c: Likewise.
82267         * math/s_ctanhf.c: Likewise.
82268         * math/s_ctanhl.c: Likewise.
82269         * math/s_ctanl.c: Likewise.
82271         * math/math_private.h: Define __nan, __nanf, __nanl.
82272         * math/s_cacosh.c: Include <math_private.h>.
82273         * math/s_cacoshl.c: Likewise.
82274         * math/s_casinh.c: Likewise.
82275         * math/s_casinhf.c: Likewise.
82276         * math/s_casinhl.c: Likewise.
82277         * math/s_ccos.c: Rely entire on ccosh.
82278         * math/s_ccosf.c: Rely entire on ccoshf.
82279         * math/s_ccosl.c: Rely entirely on ccoshl.
82280         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82281         Remove tests for FE_INVALID.
82282         * math/s_ccoshf.c: Likewise.
82283         * math/s_ccoshl.c: Likewise.
82284         * math/s_csin.c: Likewise.
82285         * math/s_csinf.c: Likewise.
82286         * math/s_csinh.c Likewise.
82287         * math/s_csinhf.c: Likewise.
82288         * math/s_csinhl.c: Likewise.
82289         * math/s_csinl.c: Likewise.
82290         * math/s_ctan.c: Likewise.
82291         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82292         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82293         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82295 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82298         compilation problems.
82300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82301         __builtin_expect.
82303 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82305         * sysdeps/i386/configure.in: Test for -mfma4 option.
82306         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82307         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82308         COMMON_CPUID_INDEX_80000001.
82309         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82310         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82311         use it if FMA3 is not supported.
82312         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82314         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82315         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82317 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82319         [BZ #12892]
82320         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82321         it would create a cycle with a link time dependency.
82323 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82325         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82326         instruction.
82327         * string/Makefile (strop-tests): Add rawmemchr.
82328         * string/test-rawmemchr.c: New file.
82330         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82331         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82332         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82333         when compiling str{,n}casecmp and when AVX is available.  Hook up
82334         new optimized code in initializers.
82336 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82338         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82339         __feraiseexcept instead of feraiseexcept.
82341 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82343         * math/math_private.h: Define defaults for libc_fetestexcept and
82344         libc_feupdateenv.
82345         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
82346         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
82347         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82348         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82349         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82350         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82351         libc_fetestexcept and libc_feupdateenv.
82353         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
82354         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
82355         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
82356         * sysdeps/x86_64/fpu/math_private.h: Define special version of
82357         libc_feholdexcept_setround.
82359         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
82360         Add s_nearbyint-c and s_nearbyintf-c.
82361         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
82362         nearbyintf inlines.
82363         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
82364         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
82365         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
82366         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
82368         * math/math_private.h: Define defaults for libc_fegetround,
82369         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
82370         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
82371         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
82372         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
82373         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
82374         standard functions.
82375         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82376         Remove comments and hacks for old compiler versions.
82377         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82378         libc_fegetround, libc_fesetround, libc_feholdexcept, and
82379         libc_feholdexceptl.
82381 2011-10-18  Andreas Schwab  <schwab@redhat.com>
82383         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
82384         (__feraiseexcept_renamed): Add __NTH.
82385         (feraiseexcept): Add __NTH.  Rename local variables to fix
82386         namespace violations.
82388 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
82390         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
82392         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
82394         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
82395         recently added interfaces.
82396         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
82398         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
82399         about macro parameter expansion.
82401         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
82402         __NO_MATH_INLINES is defined.  Cleanups.
82404         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
82405         and __floorf is target has SSE4.1.
82406         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
82407         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
82408         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
82409         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
82411         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
82412         name.
82413         (floorf): Likewise.
82415         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
82417 2011-10-17  Andreas Schwab  <schwab@redhat.com>
82419         * misc/sys/cdefs.h: Fix last change.
82421         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82422         database lookup.
82424 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82426         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82428         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82429         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82430         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82431         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82432         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82433         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82434         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82435         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82436         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82437         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82438         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82439         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82440         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82441         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82442         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82443         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82444         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82445         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82446         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82447         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82448         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82449         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82451         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82452         ceil, ceilf, floor, floorf.
82454         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82455         Perform IRELATIVE relocations last.
82457         * elf/do-rel.h: Add another parameter nrelative, replacing the
82458         local variable with the same name.  Change name of the function
82459         to end in Rel or Rela (uppercase).
82460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82461         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82462         elf_dynamic_do_##reloc function.
82464 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82466         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82467         is sufficient, at least on modern CPUs.
82469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82471         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82472         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82474         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82475         __expl_finite.
82476         * math/bits/math-finite.h: Add entries for exp.
82477         * math/e_expl.c: Add __*_finite alias.
82478         * sysdeps/i386/fpu/e_exp.S: Likewise.
82479         * sysdeps/i386/fpu/e_expf.S: Likewise.
82480         * sysdeps/i386/fpu/e_expl.c: Likewise.
82481         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82482         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82483         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82484         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82485         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82486         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82487         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82489         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82490         is sufficient, at least on modern CPUs.
82492         * ctype/ctype-info.c (__ctype_init): Define.
82493         * include/ctype.h (__ctype_init): Declare.
82494         (__ctype_b_loc): The variable is always initialized.
82495         (__ctype_toupper_loc): Likewise.
82496         (__ctype_tolower_loc): Likewise.
82497         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82498         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82500 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82502         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82504         * configure.in: Also look in $cxxmachine/include for C++ system
82505         headers.
82507 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82509         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82510         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82511         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82512         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82513         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82514         (USE_AS_WMEMCMP): New macro.
82515         Fixing indents.
82516         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82517         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82518         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82519         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82521         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82522         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82523         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82524         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82525         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82526         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82527         (USE_AS_WMEMCMP): New macro.
82528         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82529         * sysdeps/string/test-memcmp.c: Update.
82530         Fix simple_wmemcmp.
82531         Add new tests.
82532         * wcsmbs/wmemcmp.c: Update.
82533         (WMEMCMP): New macro.
82534         Fix overflow bug.
82536 2011-10-12  Andreas Jaeger  <aj@suse.de>
82538         [BZ #13268]
82539         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82541 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82543         * libio/iofwide.c (do_length): Avoid warning.
82545         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82547 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82549         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82551         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82552         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82553         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82554         * sysdeps/i386/i686/fpu/e_log.S: New file.
82555         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82556         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82558         * ctype/ctype.h: Add support for inlined isXXX functions when
82559         compiling C++ code.
82561 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82563         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82565         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82567 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82569         [BZ #13291]
82570         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82572 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82574         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82575         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82576         feraiseexcept.
82578         * sysdeps/x86_64/memrchr.S: Check for zero size.
82580         * string/stratcliff.c: Add memrchr tests.
82582 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82585         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82586         rawmemchr-sse2 rawmemchr-sse2-bsf.
82587         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82588         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82589         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82590         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82591         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82592         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82593         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82594         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82595         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82596         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82597         * string/memrchr.c (MEMRCHR): New macro.
82599 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82601         Add integration with gcc's -ffinite-math-only and optimize wrapper
82602         functions in libm.
82603         * Versions.def: Define GLIBC_2.15 version for libm.
82604         * math/Makefile (headers): Add bits/math-finite.h.
82605         * math/bits/math-finite.h: New file.
82606         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82607         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82608         * math/e_acoshl.c: Add __*_finite alias.
82609         * math/e_acosl.c: Likewise.
82610         * math/e_asinl.c: Likewise.
82611         * math/e_atan2l.c: Likewise.
82612         * math/e_atanhl.c: Likewise.
82613         * math/e_coshl.c: Likewise.
82614         * math/e_exp10.c: Likewise.
82615         * math/e_exp10f.c: Likewise.
82616         * math/e_exp10l.c: Likewise.
82617         * math/e_exp2l.c: Likewise.
82618         * math/e_fmodl.c: Likewise.
82619         * math/e_gammal_r.c: Likewise.
82620         * math/e_hypotl.c: Likewise.
82621         * math/e_j0l.c: Likewise.
82622         * math/e_j1l.c: Likewise.
82623         * math/e_jnl.c: Likewise.
82624         * math/e_lgammal_r.c: Likewise.
82625         * math/e_log10l.c: Likewise.
82626         * math/e_log2l.c: Likewise.
82627         * math/e_logl.c: Likewise.
82628         * math/e_powl.c: Likewise.
82629         * math/e_sinhl.c: Likewise.
82630         * math/e_sqrtl.c: Likewise.
82631         * math/e_scalb.c: Completely rewritten and optimized.
82632         * math/e_scalbf.c: Likewise.
82633         * math/e_scalbl.c: Likewise.
82634         * math/w_acos.c: Likewise.
82635         * math/w_acosf.c: Likewise.
82636         * math/w_acosl.c: Likewise.
82637         * math/w_acosh.c: Likewise.
82638         * math/w_acoshf.c: Likewise.
82639         * math/w_acoshl.c: Likewise.
82640         * math/w_asin.c: Likewise.
82641         * math/w_asinf.c: Likewise.
82642         * math/w_asinl.c: Likewise.
82643         * math/w_atan2.c: Likewise.
82644         * math/w_atan2f.c: Likewise.
82645         * math/w_atan2l.c: Likewise.
82646         * math/w_atanh.c: Likewise.
82647         * math/w_atanhf.c: Likewise.
82648         * math/w_atanhl.c: Likewise.
82649         * math/w_exp10.c: Likewise.
82650         * math/w_exp10f.c: Likewise.
82651         * math/w_exp10l.c: Likewise.
82652         * math/w_fmod.c: Likewise.
82653         * math/w_fmodf.c: Likewise.
82654         * math/w_fmodl.c: Likewise.
82655         * math/w_j0.c: Likewise.
82656         * math/w_j0f.c: Likewise.
82657         * math/w_j0l.c: Likewise.
82658         * math/w_j1.c: Likewise.
82659         * math/w_j1f.c: Likewise.
82660         * math/w_j1l.c: Likewise.
82661         * math/w_jn.c: Likewise.
82662         * math/w_jnf.c: Likewise.
82663         * math/w_log.c: Likewise.
82664         * math/w_logf.c: Likewise.
82665         * math/w_logl.c: Likewise.
82666         * math/w_log10.c: Likewise.
82667         * math/w_log10f.c: Likewise.
82668         * math/w_log10l.c: Likewise.
82669         * math/w_log2.c: Likewise.
82670         * math/w_log2f.c: Likewise.
82671         * math/w_log2l.c: Likewise.
82672         * math/w_pow.c: Likewise.
82673         * math/w_powf.c: Likewise.
82674         * math/w_powl.c: Likewise.
82675         * math/w_remainder.c: Likewise.
82676         * math/w_remainderf.c: Likewise.
82677         * math/w_remainderl.c: Likewise.
82678         * math/w_scalb.c: Likewise.
82679         * math/w_scalbf.c: Likewise.
82680         * math/w_scalbl.c: Likewise.
82681         * math/w_sqrt.c: Likewise.
82682         * math/w_sqrtf.c: Likewise.
82683         * math/w_sqrtl.c: Likewise.
82684         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82685         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82686         used.
82687         * math/math_private.h: Declare __kernel_standard_f.
82688         * math/w_cosh.c: Remove cruft and optimize a bit.
82689         * math/w_coshf.c: Likewise.
82690         * math/w_coshl.c: Likewise.
82691         * math/w_exp2.c: Likewise.
82692         * math/w_exp2f.c: Likewise.
82693         * math/w_exp2l.c: Likewise.
82694         * math/w_hypot.c: Likewise.
82695         * math/w_hypotf.c: Likewise.
82696         * math/w_hypotl.c: Likewise.
82697         * math/w_lgamma.c: Likewise.
82698         * math/w_lgamma_r.c: Likewise.
82699         * math/w_lgammaf.c: Likewise.
82700         * math/w_lgammaf_r.c: Likewise.
82701         * math/w_lgammal.c: Likewise.
82702         * math/w_lgammal_r.c: Likewise.
82703         * math/w_sinh.c: Likewise.
82704         * math/w_sinhf.c: Likewise.
82705         * math/w_sinhl.c: Likewise.
82706         * math/w_tgamma.c: Likewise.
82707         * math/w_tgammaf.c: Likewise.
82708         * math/w_tgammal.c: Likewise.
82709         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82710         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82711         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82712         Minor optimizations.  Pretty printing.  Remove cruft.
82713         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82714         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82715         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82716         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82717         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82718         * sysdeps/i386/fpu/e_asin.S: Likewise.
82719         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82720         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82721         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82722         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82723         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82724         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82725         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82726         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82727         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82728         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82729         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82730         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82731         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82732         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82733         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82734         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82735         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82736         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82737         * sysdeps/i386/fpu/e_log.S: Likewise.
82738         * sysdeps/i386/fpu/e_log10.S: Likewise.
82739         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82740         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82741         * sysdeps/i386/fpu/e_log2.S: Likewise.
82742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82743         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82744         * sysdeps/i386/fpu/e_logf.S: Likewise.
82745         * sysdeps/i386/fpu/e_logl.S: Likewise.
82746         * sysdeps/i386/fpu/e_pow.S: Likewise.
82747         * sysdeps/i386/fpu/e_powf.S: Likewise.
82748         * sysdeps/i386/fpu/e_powl.S: Likewise.
82749         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82750         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82751         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82752         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82753         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82754         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82755         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82756         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82757         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82758         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82761         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82763         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82766         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82767         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82768         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82771         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82772         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82774         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82775         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82778         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82779         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82780         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82781         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82782         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82783         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82784         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82785         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82786         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82787         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82788         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82789         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82790         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82791         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82792         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82793         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82794         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82795         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82796         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82797         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82798         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82799         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82800         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82801         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82802         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82803         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82804         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82805         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82806         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82807         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82808         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82809         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82810         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82811         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82813         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82814         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82815         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82816         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82817         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82818         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82819         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82820         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82822         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82824         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82825         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82826         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82827         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82828         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82829         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82830         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82832         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82833         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82834         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82835         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82836         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82837         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82838         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82839         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82840         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82841         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82842         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82843         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82844         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82846         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82847         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82848         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82849         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82850         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82851         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82852         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82853         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82854         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82855         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82856         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82857         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82858         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82859         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82860         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82861         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82862         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82863         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82864         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82865         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82866         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82867         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82868         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82869         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82870         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82871         (__isnanf): Likewise.
82872         (__isinf_ns): Likewise.
82873         (__isinf_nsf): Likewise.
82874         (__finite): Likewise.
82875         (__finitef): Likewise.
82876         (__ieee754_sqrt): Define as macro.
82877         (__ieee754_sqrtf): Define as macro.
82878         (__ieee754_sqrtl): Define as macro.
82879         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82880         inlined copy.
82881         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82882         __FINITE_MATH_ONLY__ consistent.
82883         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82885 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82887         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82888         of rawmemchr.
82890         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82892 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82894         * po/ja.po: Update from translation team.
82896 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82898         * locale/programs/locarchive.c (prepare_address_space): New function.
82899         (create_archive, enlarge_archive, open_archive): Use it.
82901         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82902         inside [SHARED], where it is used.
82904         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82906         * nss/getent.c (netgroup_keys): Remove unused variable.
82907         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82909 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82911         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82912         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82914         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82915         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82916         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82917         * math/Makefile (libm-calls): Add s_isinf_ns.
82918         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82919         * math/multc3.c: Likewise.
82920         * math/s_casin.c: Likewise.
82921         * math/s_casinf.c: Likewise.
82922         * math/s_casinl.c: Likewise.
82923         * math/s_ccos.c: Likewise.
82924         * math/s_ccosf.c: Likewise.
82925         * math/s_ccosl.c: Likewise.
82926         * math/s_ctan.c: Likewise.
82927         * math/s_ctanf.c: Likewise.
82928         * math/s_ctanh.c: Likewise.
82929         * math/s_ctanhf.c: Likewise.
82930         * math/s_ctanhl.c: Likewise.
82931         * math/s_ctanl.c: Likewise.
82932         * math/w_fmod.c: Likewise.
82933         * math/w_fmodf.c: Likewise.
82934         * math/w_fmodl.c: Likewise.
82935         * math/w_remainder.c: Likewise.
82936         * math/w_remainderf.c: Likewise.
82937         * math/w_remainderl.c: Likewise.
82938         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82939         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82940         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82942         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82943         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82944         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82945         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82947         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82948         of the number.
82949         * stdio-common/printf_fphex.c: Likewise.
82950         * stdio-common/printf_size.c: Likewise.
82952         * math/e_exp10.c: Include math_private.h using <...> not "...".
82953         * math/e_exp10f.c: Likewise.
82954         * math/e_exp10l.c: Likewise.
82955         * math/e_exp2l.c: Likewise.
82956         * math/e_j0l.c: Likewise.
82957         * math/e_j1l.c: Likewise.
82958         * math/e_jnl.c: Likewise.
82959         * math/e_lgammal_r.c: Likewise.
82960         * math/e_rem_pio2l.c: Likewise.
82961         * math/e_scalb.c: Likewise.
82962         * math/e_scalbf.c: Likewise.
82963         * math/e_scalbl.c: Likewise.
82964         * math/k_cosl.c: Likewise.
82965         * math/k_sinl.c: Likewise.
82966         * math/k_tanl.c: Likewise.
82967         * math/s_cacoshf.c: Likewise.
82968         * math/s_catan.c: Likewise.
82969         * math/s_catanf.c: Likewise.
82970         * math/s_catanh.c: Likewise.
82971         * math/s_catanhf.c: Likewise.
82972         * math/s_catanhl.c: Likewise.
82973         * math/s_catanl.c: Likewise.
82974         * math/s_ccosh.c: Likewise.
82975         * math/s_ccoshf.c: Likewise.
82976         * math/s_ccoshl.c: Likewise.
82977         * math/s_cexp.c: Likewise.
82978         * math/s_cexpf.c: Likewise.
82979         * math/s_cexpl.c: Likewise.
82980         * math/s_clog.c: Likewise.
82981         * math/s_clog10.c: Likewise.
82982         * math/s_clog10f.c: Likewise.
82983         * math/s_clog10l.c: Likewise.
82984         * math/s_clogf.c: Likewise.
82985         * math/s_clogl.c: Likewise.
82986         * math/s_csin.c: Likewise.
82987         * math/s_csinf.c: Likewise.
82988         * math/s_csinh.c: Likewise.
82989         * math/s_csinhf.c: Likewise.
82990         * math/s_csinhl.c: Likewise.
82991         * math/s_csinl.c: Likewise.
82992         * math/s_csqrt.c: Likewise.
82993         * math/s_csqrtf.c: Likewise.
82994         * math/s_csqrtl.c: Likewise.
82995         * math/s_ctan.c: Likewise.
82996         * math/s_ctanf.c: Likewise.
82997         * math/s_ctanh.c: Likewise.
82998         * math/s_ctanhf.c: Likewise.
82999         * math/s_ctanhl.c: Likewise.
83000         * math/s_ctanl.c: Likewise.
83001         * math/s_ldexp.c: Likewise.
83002         * math/s_ldexpf.c: Likewise.
83003         * math/s_ldexpl.c: Likewise.
83004         * math/s_significand.c: Likewise.
83005         * math/s_significandf.c: Likewise.
83006         * math/s_significandl.c: Likewise.
83007         * math/w_acos.c: Likewise.
83008         * math/w_acosf.c: Likewise.
83009         * math/w_acosh.c: Likewise.
83010         * math/w_acoshf.c: Likewise.
83011         * math/w_acoshl.c: Likewise.
83012         * math/w_acosl.c: Likewise.
83013         * math/w_asin.c: Likewise.
83014         * math/w_asinf.c: Likewise.
83015         * math/w_asinl.c: Likewise.
83016         * math/w_atan2.c: Likewise.
83017         * math/w_atan2f.c: Likewise.
83018         * math/w_atan2l.c: Likewise.
83019         * math/w_atanh.c: Likewise.
83020         * math/w_atanhf.c: Likewise.
83021         * math/w_atanhl.c: Likewise.
83022         * math/w_cosh.c: Likewise.
83023         * math/w_coshf.c: Likewise.
83024         * math/w_coshl.c: Likewise.
83025         * math/w_dremf.c: Likewise.
83026         * math/w_exp10.c: Likewise.
83027         * math/w_exp10f.c: Likewise.
83028         * math/w_exp10l.c: Likewise.
83029         * math/w_exp2.c: Likewise.
83030         * math/w_exp2f.c: Likewise.
83031         * math/w_fmod.c: Likewise.
83032         * math/w_fmodf.c: Likewise.
83033         * math/w_fmodl.c: Likewise.
83034         * math/w_hypot.c: Likewise.
83035         * math/w_hypotf.c: Likewise.
83036         * math/w_hypotl.c: Likewise.
83037         * math/w_j0.c: Likewise.
83038         * math/w_j0f.c: Likewise.
83039         * math/w_j0l.c: Likewise.
83040         * math/w_j1.c: Likewise.
83041         * math/w_j1f.c: Likewise.
83042         * math/w_j1l.c: Likewise.
83043         * math/w_jn.c: Likewise.
83044         * math/w_jnf.c: Likewise.
83045         * math/w_jnl.c: Likewise.
83046         * math/w_lgamma.c: Likewise.
83047         * math/w_lgamma_r.c: Likewise.
83048         * math/w_lgammaf.c: Likewise.
83049         * math/w_lgammaf_r.c: Likewise.
83050         * math/w_lgammal.c: Likewise.
83051         * math/w_lgammal_r.c: Likewise.
83052         * math/w_log.c: Likewise.
83053         * math/w_log10.c: Likewise.
83054         * math/w_log10f.c: Likewise.
83055         * math/w_log10l.c: Likewise.
83056         * math/w_log2.c: Likewise.
83057         * math/w_log2f.c: Likewise.
83058         * math/w_log2l.c: Likewise.
83059         * math/w_logf.c: Likewise.
83060         * math/w_logl.c: Likewise.
83061         * math/w_pow.c: Likewise.
83062         * math/w_powf.c: Likewise.
83063         * math/w_powl.c: Likewise.
83064         * math/w_remainder.c: Likewise.
83065         * math/w_remainderf.c: Likewise.
83066         * math/w_remainderl.c: Likewise.
83067         * math/w_scalb.c: Likewise.
83068         * math/w_scalbf.c: Likewise.
83069         * math/w_scalbl.c: Likewise.
83070         * math/w_sinh.c: Likewise.
83071         * math/w_sinhf.c: Likewise.
83072         * math/w_sinhl.c: Likewise.
83073         * math/w_sqrt.c: Likewise.
83074         * math/w_sqrtf.c: Likewise.
83075         * math/w_sqrtl.c: Likewise.
83076         * math/w_tgamma.c: Likewise.
83077         * math/w_tgammaf.c: Likewise.
83078         * math/w_tgammal.c: Likewise.
83080         * po/ja.po: Update from translation team.
83082 2011-09-29  Andreas Jaeger  <aj@suse.de>
83084         [BZ #13179]
83085         * sunrpc/netname.c (netname2host): Fix logic.
83087         [BZ #6779]
83088         [BZ #6783]
83089         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83090         correctly.
83091         * math/w_remainder.c (__remainder): Likewise.
83092         * math/w_remainderf.c (__remainderf): Likewise.
83093         * math/libm-test.inc (remainder_test): Add test cases.
83095 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83097         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83098         sdiv_qrnnd.
83100 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83102         * string/test-memcmp.c: Avoid unncessary #defines.
83103         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83105 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83107         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83108         Use new sse2 version for core i3 - i7 as it's faster
83109         than sse42 version.
83110         (bit_Prefer_PMINUB_for_stringop): New.
83111         * sysdeps/x86_64/rawmemchr.S: Update.
83112         Replace with faster SSE2 version.
83113         * sysdeps/x86_64/memrchr.S: New file.
83114         * sysdeps/x86_64/memchr.S: Update.
83115         Replace with faster SSE2 version.
83117 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83119         * elf/dl-load.c (lose): Add cast to avoid warning.
83121 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83123         * po/ca.po: Update from translation team.
83125         * inet/getnetgrent_r.c: Hook up nscd.
83126         * nscd/Makefile (routines): Add nscd_netgroup.
83127         (nscd-modules): Add netgroupcache.
83128         (CFLAGS-netgroupcache.c): Define.
83129         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83130         (cache_search): Add const to second parameter.
83131         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83132         INNETGR.
83133         (dbs): Add netgrdb entry.
83134         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83135         (verify_persistent_db): Handle netgrdb.
83136         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83137         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83138         GETFDNETGR.
83139         (netgroup_response_header): Define.
83140         (innetgroup_response_header): Define.
83141         (datahead): Add netgroup_response_header and innetgroup_response_header
83142         elements.
83143         * nscd/nscd.conf: Add entries for netgroup cache.
83144         * nscd/nscd.h (dbtype): Add netgrdb.
83145         (_PATH_NSCD_NETGROUP_DB): Define.
83146         (netgroup_iov_disabled): Declare.
83147         (xmalloc, xcalloc, xrealloc): Move declarations here.
83148         (cache_search): Adjust prototype.
83149         Add netgroup-related prototypes.
83150         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83151         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83152         (__nscd_innetgr): Declare.
83153         * nscd/selinux.c (perms): Use access_vector_t as element type and
83154         add netgroup-related initializers.
83155         * nscd/netgroupcache.c: New file.
83156         * nscd/nscd_netgroup.c: New file.
83157         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83158         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83159         For four parameters use innetgr.
83160         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83161         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83162         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83163         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83165         * nscd/connections.c (register_traced_file): Don't register file
83166         for disabled databases.
83168 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83170         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83172         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83173         from tree and freeing node.
83175 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83177         * nss/nsswitch.c (__nss_database_lookup): Handle
83178         nss_parse_service_list out of memory case.
83180 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83182         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83183         out of memory case.
83185 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83187         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83188         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83189         pass it down.
83190         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83191         elf_machine_rela, elf_machine_lazy_rel.
83192         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83193         (ELF_DYNAMIC_DO_REL): Likewise.
83194         (ELF_DYNAMIC_DO_RELA): Likewise.
83195         (ELF_DYNAMIC_RELOCATE): Likewise.
83196         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83197         to ELF_DYNAMIC_DO_REL.
83198         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83199         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83200         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83201         elf_machine_rela.
83202         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83203         skip_ifunc, don't call ifunc function if non-zero.
83204         (elf_machine_rela): Likewise.
83205         (elf_machine_lazy_rel): Likewise.
83206         (elf_machine_lazy_rela): Likewise.
83207         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83208         (elf_machine_lazy_rel): Likewise.
83209         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83210         Likewise.
83211         (elf_machine_lazy_rel): Likewise.
83212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83213         Likewise.
83214         (elf_machine_lazy_rel): Likewise.
83215         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83216         (elf_machine_lazy_rel): Likewise.
83217         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83218         (elf_machine_lazy_rel): Likewise.
83219         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83220         (elf_machine_lazy_rel): Likewise.
83221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83222         (elf_machine_lazy_rel): Likewise.
83223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83224         (elf_machine_lazy_rel): Likewise.
83225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83226         (elf_machine_lazy_rel): Likewise.
83228 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83230         * nss/nss_files/files-init.c (_nss_files_init): Use static
83231         initialization for all the *_traced_file variables.
83233 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83235         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83237 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83239         [BZ #13226]
83240         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83242 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83244         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83245         Reread the line before reparsing it.
83247 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83249         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83251 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83252             Maxim Kuvyrkov  <maxim@codesourcery.com>
83253             Joseph Myers  <joseph@codesourcery.com>
83255         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83256         if needed for __stack_chk_guard.
83258 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83260         * sysdeps/posix/spawni.c (script_execute): Always define it.
83261         It will be optimized away if unused.
83262         (maybe_script_execute): New function.
83263         (__spawni): Call it.
83265         * Makerules: Don't include tls.make.
83266         (config-tls): Always set to thread.
83267         * tls.make.c: File removed.
83269 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83271         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83272         * config.make.in (CPPFLAGS-config): New substituted variable.
83274 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83276         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83278         [BZ #13192]
83279         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83280         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83282 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83284         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83285         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83287         (CALL_FAIL): Likewise.
83288         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83289         (CALL_FAIL): Macro removed.
83290         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83292 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83294         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83295         for __FINITE_MATH_ONLY__ == 1.
83297 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83299         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83300         __ieee754_sqrt instead of sqrt.
83301         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83302         __ieee754_sqrtf instead of sqrtf.
83303         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83304         __floorf instead of floorf.
83305         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83306         __floorf, __truncf instead of floorf, truncf.
83308 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83310         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83312         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83313         __extern_always_inline.
83314         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83315         32-bit.
83317 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83319         * elf/rtld.c (dl_main): Also relocate in dependency order when
83320         doing symbol dependency testing.
83322 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83325         Always define `refsym'.
83327 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83329         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83330         (__FD_ELT): Renamed from __FDELT.
83331         * misc/bits/select2.h (__FD_ELT): Likewise.
83332         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83333         __FD_MASK instead of __FDELT, __FDMASK.
83334         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83335         Likewise.
83336         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83337         Likewise.
83339         * elf/Makefile (gen-ldd): Fix pattern.
83341         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83342         (init_tls): Likewise.
83344 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
83346         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
83348 2011-09-12  Andreas Schwab  <schwab@redhat.com>
83350         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
83351         `struct cmsghdr *' instead of `void *'.
83352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
83353         Likewise.
83355 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
83357         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
83358         if non-absolute.
83359         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
83360         ldd_rewrite_script.
83362 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
83364         * configure.in: Remove --with-tls option.
83365         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
83366         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
83367         out in case it is missing.
83368         * sysdeps/ia64/elf/configure.in: Likewise.
83369         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
83370         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
83371         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
83372         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
83373         * sysdeps/sh/elf/configure.in: Likewise.
83374         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
83375         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83376         * sysdeps/x86_64/elf/configure.in: Likewise.
83377         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
83378         * sysdeps/mach/hurd/tls.h: Likewise.
83380         [BZ #13067]
83381         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
83383         [BZ #13090]
83384         * configure.in: Fix use of AC_INIT.
83386         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
83388 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
83390         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
83391         __set_errno.
83392         * malloc/hooks.c: Likewise.
83394         [BZ #11929]
83395         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
83396         variables statically.
83397         (narenas): Initialize.
83398         (list_lock): Initialize.
83399         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
83400         initializtion of main_arena and list_lock.  Small cleanups.
83401         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
83402         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
83403         Add initializers to main_arena and mp_.
83404         (malloc_state): Remove pagesize member.  Change all users to use
83405         GLRO(dl_pagesize).
83407         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
83408         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
83409         is always initialized.
83411         * malloc/malloc.c: Removed unused configurations and dead code.
83412         * malloc/arena.c: Likewise.
83413         * malloc/hooks.c: Likewise.
83414         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
83416         * include/tls.h: Removed.  USE___THREAD must always be defined.
83417         * bits/libc-tsd.h: Don't handle !USE___THREAD.
83418         * elf/dl-libc.c: Likewise.
83419         * elf/dl-tsd.c: Likewise.
83420         * include/errno.h: Likewise.
83421         * include/netdb.h: Likewise.
83422         * include/resolv.h: Likewise.
83423         * inet/herrno-loc.c: Likewise.
83424         * inet/herrno.c: Likewise.
83425         * malloc/arena.c: Likewise.
83426         * malloc/hooks.c: Likewise.
83427         * malloc/malloc.c: Likewise.
83428         * resolv/res-state.c: Likewise.
83429         * resolv/res_libc.c: Likewise.
83430         * sysdeps/i386/dl-machine.h: Likewise.
83431         * sysdeps/ia64/dl-machine.h: Likewise.
83432         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83433         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83434         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83435         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83436         * sysdeps/sh/dl-machine.h: Likewise.
83437         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83438         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83439         * sysdeps/unix/i386/sysdep.S: Likewise.
83440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83441         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83446         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83450         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83451         * sysdeps/x86_64/dl-machine.h: Likewise.
83452         * tls.make.c: Likewise.
83454         * configure.in: Remove --with-__thread option.  Make tests for
83455         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83456         tls_model attribute fail if no support is available.  Remove
83457         USE_IN_LIBIO.
83458         * Makeconfig: Adjust for dropped configure option.  All features are
83459         now mandatory.
83460         * Makerules: Likewise.
83461         * Versions.def: Likewise.
83462         * argp/argp-fmtstream.c: Likewise.
83463         * argp/argp-fmtstream.h: Likewise.
83464         * argp/argp-help.c: Likewise.
83465         * assert/assert.c: Likewise.
83466         * config.h.in: Likewise.
83467         * config.make.in: Likewise.
83468         * configure: Likewise.
83469         * configure.in: Likewise.
83470         * csu/Versions: Likewise.
83471         * csu/init.c: Likewise.
83472         * elf/tst-audit2.c: Likewise.
83473         * elf/tst-tls10.c: Likewise.
83474         * elf/tst-tls10.h: Likewise.
83475         * elf/tst-tls11.c: Likewise.
83476         * elf/tst-tls12.c: Likewise.
83477         * elf/tst-tls14.c: Likewise.
83478         * elf/tst-tlsmod11.c: Likewise.
83479         * elf/tst-tlsmod12.c: Likewise.
83480         * elf/tst-tlsmod13.c: Likewise.
83481         * elf/tst-tlsmod13a.c: Likewise.
83482         * elf/tst-tlsmod14a.c: Likewise.
83483         * elf/tst-tlsmod15b.c: Likewise.
83484         * elf/tst-tlsmod16a.c: Likewise.
83485         * elf/tst-tlsmod16b.c: Likewise.
83486         * elf/tst-tlsmod7.c: Likewise.
83487         * elf/tst-tlsmod8.c: Likewise.
83488         * elf/tst-tlsmod9.c: Likewise.
83489         * gmon/gmon.c: Likewise.
83490         * grp/fgetgrent_r.c: Likewise.
83491         * grp/putgrent.c: Likewise.
83492         * hurd/fopenport.c: Likewise.
83493         * include/libc-symbols.h: Likewise.
83494         * include/tls.h: Likewise.
83495         * intl/gettextP.h: Likewise.
83496         * intl/loadinfo.h: Likewise.
83497         * locale/global-locale.c: Likewise.
83498         * locale/localeinfo.h: Likewise.
83499         * mach/devstream.c: Likewise.
83500         * malloc/arena.c: Likewise.
83501         * malloc/set-freeres.c: Likewise.
83502         * misc/err.c: Likewise.
83503         * misc/getttyent.c: Likewise.
83504         * misc/mntent_r.c: Likewise.
83505         * posix/getopt.c: Likewise.
83506         * posix/wordexp.c: Likewise.
83507         * pwd/fgetpwent_r.c: Likewise.
83508         * resolv/Versions: Likewise.
83509         * resolv/res_hconf.c: Likewise.
83510         * shadow/fgetspent_r.c: Likewise.
83511         * shadow/putspent.c: Likewise.
83512         * stdio-common/printf_fphex.c: Likewise.
83513         * stdio-common/tmpfile.c: Likewise.
83514         * stdlib/abort.c: Likewise.
83515         * stdlib/fmtmsg.c: Likewise.
83516         * sunrpc/auth_unix.c: Likewise.
83517         * sunrpc/clnt_perr.c: Likewise.
83518         * sunrpc/clnt_tcp.c: Likewise.
83519         * sunrpc/clnt_udp.c: Likewise.
83520         * sunrpc/clnt_unix.c: Likewise.
83521         * sunrpc/openchild.c: Likewise.
83522         * sunrpc/svc_simple.c: Likewise.
83523         * sunrpc/svc_tcp.c: Likewise.
83524         * sunrpc/svc_udp.c: Likewise.
83525         * sunrpc/svc_unix.c: Likewise.
83526         * sunrpc/xdr.c: Likewise.
83527         * sunrpc/xdr_array.c: Likewise.
83528         * sunrpc/xdr_rec.c: Likewise.
83529         * sunrpc/xdr_ref.c: Likewise.
83530         * sunrpc/xdr_stdio.c: Likewise.
83532 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83534         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83536 2011-07-03  Andreas Jaeger  <aj@suse.de>
83538         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83539         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83540         regenerate with gen-libm-tests.pl.
83542 2010-05-12  Petr Baudis  <pasky@suse.cz>
83544         [BZ #11589]
83545         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83546         around j0() zero points by switching to j1().
83547         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83548         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83549         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83552 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83554         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83555         instead of 0.
83556         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83557         instead of 0.
83558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83559         Patch in part by Pavel Roskin <proski@gnu.org>.
83561         [BZ #13138]
83562         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83563         realloc.
83564         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83565         Free memory block if necessary.
83567         [BZ #12847]
83568         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83569         be NULL.  Don't lock in this case.
83571 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83573         * elf/elf.h (ELFOSABI_GNU): New macro.
83574         (ELFOSABI_LINUX): Define to that.
83576 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83578         * string/strncat.c (strncat): Undef the symbol in case it has been
83579         defined in bits/string.h.
83581 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83583         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83585         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83586         link map.
83588 2011-08-17  Andreas Jaeger  <aj@suse.de>
83590         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83592 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83593             Ian Lance Taylor  <iant@google.com>
83595         * math/libm-test.inc (lround_test): New testcase.
83596         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83598 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83600         * Makefile: Remove support for automatic cvs check-ins.
83601         * Makerules: Likewise.
83602         * config.make.in: Likewise.
83603         * configure.in: Likewise.
83604         * intl/Makefile: Likewise.
83605         * locale/Makefile: Likewise.
83606         * po/Makefile: Likewise.
83607         * posix/Makefile: Likewise.
83608         * sysdeps/gnu/Makefile: Likewise.
83609         * sysdeps/mach/hurd/Makefile: Likewise.
83610         * sysdeps/sparc/sparc32/Makefile: Likewise.
83612         [BZ #13118]
83613         * posix/Makefile (bug-regex32-ENV): Define.
83614         Patch by John Stanley <jpsinthemix@verizon.net>.
83616         * misc/Makefile (headers): Add bits/select2.h.
83617         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83618         * misc/bits/select2.h: New file.
83619         * include/bits/select2.h: New file.
83620         * debug/Makefile (routines): Add fdelt_chk.
83621         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83622         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83623         FD_ISSET.
83624         * debug/fdelt_chk.c: New file.
83626         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83627         * wcsmbs/test-wmemcmp.c: Likewise.
83628         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83629         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83631 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83633         * string/Makefile (strop-tests): Add memcmp.
83634         * string/test-wmemcmp.c: New file.
83635         * string/test-memcmp.c: Add wmemcmp support.
83637 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83639         [BZ #13153]
83640         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83641         2011-07-19 change.
83643         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83644         garbage value in a __mach_port_mod_refs call in the cases of the
83645         task-self and thread-self ports.
83647 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83649         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83651 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83653         * elf/dl-load.c (lose): Check for non-null L.
83655 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83657         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83659         * elf/dl-libc.c (dlerror_run): Pass back error code from
83660         dl_catch_error.
83662         [BZ #13123]
83663         * elf/dl-load.c (lose): Free l_origin if it is valid.
83665         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83666         names.
83667         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83668         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83669         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83670         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83671         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83672         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83674 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83676         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83677         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83678         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83679         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83680         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83681         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83682         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83683         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83684         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83685         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83687 2011-08-15  Alan Modra  <amodra@gmail.com>
83689         [BZ #13092]
83690         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83691         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83692         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83693         ppc_mcount to static-only-routines.
83694         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83695         __mcount_internal.
83696         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83697         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83699 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83701         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83702         for finite and infinity parameters.
83704 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83707         and add nop instructions for throughput optimization.
83708         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83710 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83712         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83713         aligned copy for power7 with vector-scalar instructions.
83714         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83716 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83718         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83719         AVX check.
83721 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83723         [BZ #13144]
83724         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83725         last change.
83727 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83729         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83730         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83731         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83732         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83733         clock_gettime.
83735 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83737         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83738         Forgot to demangle the pointer.
83740         * sysdeps/i386/sysdep.h: Define atom_text_section.
83741         * sysdeps/x86_64/sysdep.h: Likewise.
83742         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83743         section with atom_text_section.
83744         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83745         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83746         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83748         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83750         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83751         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83752         already be defined.  Change to take two parameters and don't assign
83753         result to variable.  Adjust all users.
83754         Define INTERNAL_GETTIME if not already defined.
83755         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83756         call.
83757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83758         HAVE_CLOCK_GETTIME_VSYSCALL.
83759         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83762         gettimeofday vsyscall, just use time.
83764 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83767         <errno.h>.
83769 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83771         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83772         syscall on x86-64.
83773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83774         syscall.
83775         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83776         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83777         syscall if possible.
83779 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83781         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83782         e_ident.  Don't pass to find_mapsXX.
83783         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83785 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83788         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83789         * sysdeps/x86_64/multiarch/strchr.S: Update.
83790         Check bit_slow_BSF bit.
83791         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83792         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83793         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83795 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83797         [BZ #13134]
83798         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83799         before glibc 2.15.
83800         (tryshell): Define.
83801         (__spawni): Change last parameter to be flag.  Test
83802         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83803         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83804         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83805         * posix/spawni.c: Likewise.
83806         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83807         * posix/spawnp.c: Likewise.  Change normal version to use
83808         SPAWN_XFLAGS_USE_PATH.
83809         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83810         SPAWN_XFLAGS_TRY_SHELL.
83812         [BZ #13150]
83813         * posix/glob.h: Remove gcc 1.x support.
83815         [BZ #13068]
83816         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83818 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83821         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83822         strrchr-sse2-bsf
83823         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83824         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83825         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83826         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83827         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83828         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83830 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83832         * sysdeps/x86_64/wcscmp.S: New file.
83834         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83835         wcscmp-c wcscmp-sse2
83836         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83837         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83838         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83839         * wcsmbs/wcscmp.c: Allow renaming.
83841 2011-09-05  David S. Miller  <davem@davemloft.net>
83843         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83844         stack slot, rather than the struct return pointer slot.
83845         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83846         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83848         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83850 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83852         * po/ja.po: Update from translation team.
83854         [BZ #13144]
83855         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83856         kernel in 64-bit binaries.
83858 2011-09-01  David S. Miller  <davem@davemloft.net>
83860         * elf/elf.h (HWCAP_SPARC_*): Move to..
83861         * sysdeps/sparc/sysdep.h: this new file and add new values.
83862         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83863         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83864         _DL_HWCAP_COUNT to 24.
83865         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83866         entries.
83867         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83868         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83869         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83870         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83871         instead of magic constants.
83872         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83874 2011-08-31  David S. Miller  <davem@davemloft.net>
83876         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83878         Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
83884         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83885         (PSEUDO): Reimplement to do errno handling inline.
83886         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83887         (SYSCALL_ERROR_HANDLER): New macro.
83888         (__SYSCALL_STRING): Do not do errno handling in asm.
83889         (__CLONE_SYSCALL_STRING): Delete.
83890         (__INTERNAL_SYSCALL_STRING): Delete.
83891         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83892         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83893         i386.
83894         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83895         (inline_syscall*): Add 'err' argument.
83896         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83897         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83898         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83899         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83901         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83902         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83904 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83906         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83908 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83910         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83911         directive.
83913 2011-08-24  David S. Miller  <davem@davemloft.net>
83915         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83917 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83919         * elf/Makefile: Add rules to build and run unload8 test.
83920         * elf/unload8.c: New file.
83921         * elf/unload8mod1.c: New file.
83922         * elf/unload8mod1x.c: New file.
83923         * elf/unload8mod2.c: New file.
83924         * elf/unload8mod3.c: New file.
83926         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83927         it wasn't used.
83929 2011-08-23  David S. Miller  <davem@davemloft.net>
83931         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83932         subtract stack bias.
83933         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83934         %sp not %fp in calculations.
83935         (_JMPBUF_UNWINDS_ADJ): Likewise.
83937         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83938         (aio_suspend): Call it to force an exception region around the
83939         AIO_MISC_WAIT() invocation.
83941 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83943         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83944         backslash.
83946 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83948         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83949         protection macro.
83950         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83951         and <dl-machine.h>.
83952         (Elf64_FuncDesc): Remove.
83954 2011-08-22  David S. Miller  <davem@davemloft.net>
83956         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83957         sigaltstack check, add missing cfi directives.
83958         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83959         missing cfi directives, and sigaltstack handling.
83961 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83963         [BZ #11724]
83964         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83965         object is seen twice.
83966         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83968         * elf/Makefile (distribute): Add tst-initorder2.c.
83969         (tests): Add tst-initorder2.
83970         (modules-names): Add tst-initorder2a tst-initorder2b
83971         tst-initorder2c tst-initorder2d.  Add rules to build them.
83972         ($(objpfx)tst-initorder2.out): New rule.
83973         * elf/tst-initorder2.c: New file.
83974         * elf/tst-initorder2.exp: New file.
83976 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83978         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83980         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83981         dependencies back to end of function.
83983         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83984         $(elfobjdir)/ld.so.
83986 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83988         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83989         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83990         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83991         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83992         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83993         of __vdso_gettimeofday.
83994         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83995         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83996         attribute_hidden.
83997         (_libc_vdso_platform_setup): Remove initialization of
83998         __vdso_gettimeofday and __vdso_time.
84000 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84002         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
84003         and fgetc_unlocked.
84004         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
84005         getc_unlocked.
84007         * elf/dl-open.c (add_to_global): Report additions to the global scope
84008         for LD_DEBUG=scopes.
84009         (dl_open_worker): Also print scope of newly loaded dependencies.
84010         (_dl_show_scope): Indicate if there is no scope.
84012         [BZ #13114]
84013         * stdio-common/Makefile (tests): Add bug24.
84014         * stdio-common/bug24.c: New file.
84016 2011-08-19  Andreas Jaeger  <aj@suse.de>
84018         [BZ #13114]
84019         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84020         non-existant file when using close-on-exec mode.
84022 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84024         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84025         the very first instruction.
84027         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84028         the CFI state in the end.
84029         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84030         inclusion of dl-trampoline.h.
84031         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84033 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84035         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84036         expectations for long double.
84038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84039         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84041 2011-08-14  David S. Miller  <davem@davemloft.net>
84043         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84044         artificual limit depends upon the system page size.
84046 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84048         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84049         * resolv/Makefile: Define CFLAGS-libresolv.
84051 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84053         * nss/makedb.c (compute_tables): Make variables used in nested
84054         function static.
84056 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84058         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84059         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84060         if buffer was too small.
84062         * elf/pldd.c (main): Attach to all threads in the process.
84063         Rewrite /proc handling to use *at functions.
84065 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84067         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84068         specifies first scope to show.
84069         (dl_open_worker): Update callers.  Move printing scope of new
84070         object to before the relocation.
84071         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84072         * sysdeps/generic/ldsodefs.h: Update declaration.
84074         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84075         string for the scope number.
84077 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84079         * nscd/servicescache.c (cache_addserv): Make sure written is always
84080         initialized.
84082 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84084         * sysdeps/i386/i486/bits/atomic.h
84085         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84086         statement expression, so as to suppress "set but not used" warning.
84087         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84089         * string/strncat.c (STRNCAT): Use prototype definition.
84091         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84092         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84093         -Iprograms here.
84094         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84095         (localedef-modules): Add localedef.
84096         (locale-modules): Add locale.
84098         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84099         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84100         to avoid a warning.
84102 2011-08-14  David S. Miller  <davem@davemloft.net>
84104         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84105         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84107 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84109         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84110         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84111         * elf/rtld.c (dl_main): Set l_name of vDSO.
84112         Call _dl_show_scope when DL_DEBUG_SCOPES.
84113         (process_dl_debug): Recognize scopes flag and also set it for all.
84114         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84115         Declare _dl_show_scope.
84117         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84118         (do_dlopen): Pass caller_dlopen to dl_open.
84119         (__libc_dlopen_mode): Initialize caller_dlopen.
84121         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84122         of libc.  Make tolower call locale-independent.  Optimize a bit by
84123         using isdigit instead of isalnum.
84124         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84126 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84128         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84129         was a dependency or dynamically loaded.
84131 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84133         * intl/l10nflist.c: Allow architecture-specific pop function.
84134         * sysdeps/x86_64/l10nflist.c: New file.
84136         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84137         classification.
84139 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84141         * include/dirent.h: Add libc_hidden_proto for scandirat and
84142         scandirat64.  Don't declare __scandirat64.
84143         * dirent/scandirat.c: Add libc_hidden_def.
84144         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84145         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84147 2011-08-10  David S. Miller  <davem@davemloft.net>
84149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84150         enum.
84151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84152         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84153         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84155 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84157         * Versions.def [libc]: Add GLIBC_2.15.
84158         * dirent/Makefile (routines): Add scandirat and scandirat64.
84159         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84160         GLIBC_2.15.
84161         * dirent/dirent.h: Declare scandirat and scandirat64.
84162         * dirent/scandirat.c: New file.
84163         * dirent/scandirat64.c: New file.
84164         * sysdeps/wordsize-64/scandirat.c: New file.
84165         * sysdeps/wordsize-64/scandirat64.c: New file.
84166         * dirent/opendir.c: Define opendirat.
84167         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84168         using scandirat.
84169         * dirent/scandir64.c: Adjust for scandir.c change.
84170         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84171         __scandirat64, and __scandir_cancel_handler.
84172         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84173         additional parameter and use openat instead of open (outside of ld.so).
84174         Add new __opendir as wrapper around __opendirat.
84175         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84176         here without requiring old scandirat implementation.
84178 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84180         * dirent/scandir.c (cancel_handler): Renamed to
84181         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84182         defined.  Adjust users.
84183         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84184         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84186 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84188         * string/test-string.h (IMPL): Use __STRING to expand name and then
84189         stringify it.
84191         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84192         of cleanups.
84194 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84196         * string/Makefile: Update.
84197         (strop-tests): Append strncat.
84198         * string/test-wcscmp.c: New file.
84199         New comprehensive test for wcscmp.
84200         * string/test-strcmp.c: Update.
84201         (WIDE): New define.
84203 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84205         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84206         line.
84208 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84211         encoding to ACE if AI_IDN.
84213 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84216         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84218 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84221         Fix overflow bug in strncat.
84222         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84224         * string/test-strncat.c: Update.
84225         Add new tests for checking overflow bugs.
84227 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84230         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84231         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84232         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84233         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84234         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84235         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84236         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84237         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84240         (USE_AS_STRCAT): Define.
84241         Add strcat and strncat support.
84242         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84244 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84246         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84247         __n bigger than INT_MAX+1.
84248         (__strncmp_g): Likewise.
84250 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84252         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84253         * libio/stido.h: Likewise.
84255         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84256         (AF_NFC): Define.
84257         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84258         (AF_NFC): Define.
84260         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84261         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84262         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84263         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84264         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84266         [BZ #13021]
84267         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84268         installed.
84270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84271         typo.
84272         (_dl_x86_64_save_sse): Likewise.
84274 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84276         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84277         OSXSAVE.
84278         (_dl_x86_64_save_sse): Likewise.
84280         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84282         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84284 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84286         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84287         change.
84288         (_dl_x86_64_save_sse): Use correct AVX check.
84290 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84292         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84293         bug in strncpy/strncat.
84294         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84296 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84298         * string/tester.c (test_strcat): Add tests for different alignments
84299         of source and destination.
84300         (test_strncat): Likewise.
84302 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84304         [BZ #12852]
84305         * posix/glob.c (glob): Check passed in values before using them in
84306         expressions to avoid some overflows.
84307         (glob_in_dir): Likewise.
84309         [BZ #13007]
84310         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84311         check for AVX enablement so that we don't crash with old kernels and
84312         new hardware.
84313         * elf/tst-audit4.c: Add same checks here.
84314         * elf/tst-audit6.c: Likewise.
84316         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84318 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84320         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84322 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84324         * po/cs.po: Update from translation team.
84325         * po/bg.po: Likewise.
84327 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84329         * misc/sys/cdefs.h: Add support for const attribute.
84330         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84331         to gnu_dev_{major,minor,makedev} functions.
84333 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84335         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84337 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84339         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84340         strlen results.
84342 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
84345         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
84346         register in order to avoid conflicts with the soft frame pointer
84347         being held in r11 when necessary.
84348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
84349         (INTERNAL_VSYSCALL_NCS): Likewise.
84351 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
84353         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
84354         * elf/dl-fini.c (_dl_fini): Adjust caller.
84355         * elf/dl-close.c (_dl_close_worker): Likewise.
84356         * sysdeps/generic/ldsodefs.h: Adjust declaration.
84358 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84360         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
84361         "aux_cache->nlibs < 0".
84363         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
84364         in the reload-count case.
84366 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84369         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
84370         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
84371         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
84372         * sysdeps/x86_64/multiarch/strcat.S: New file.
84373         * sysdeps/x86_64/multiarch/strncat.S: New file.
84374         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
84375         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
84376         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
84377         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
84378         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
84379         (USE_AS_STRCAT): Define.
84380         Add strcat and strncat support.
84381         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84382         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
84383         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
84384         * string/strncat.c: Update.
84385         (USE_AS_STRNCAT): Define.
84386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84387         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
84388         and i7.
84389         * sysdeps/x86_64/multiarch/init-arch.h
84390         (bit_Prefer_PMINUB_for_stringop): New.
84391         (index_Prefer_PMINUB_for_stringop): Likewise.
84392         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
84393         bit_Prefer_PMINUB_for_stringop.
84395 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84397         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
84398         buffer64.
84399         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
84400         of casting of buffer.
84401         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
84402         buffer32 and buffer64.
84403         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
84404         writes instead of casting of buffer.
84405         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
84406         buffer32.
84407         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
84408         casting of buffer.
84410 2011-07-19  Andreas Schwab  <schwab@redhat.com>
84412         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
84414 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84416         * nscd/nscd.c (termination_handler): Don't do anything for a database
84417         if it has not yet been initialized.
84419 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84421         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84423 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84425         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84427 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84429         * po/nl.po: Update from translation team.
84430         * po/sv.po: Likewise.
84432 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84434         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84435         now disallowed by GCC.
84437         * configure.in (use-default-link): Default to yes if a test -shared
84438         link meets our qualifications.
84439         * configure: Regenerated.
84441         * config.make.in (output-format): New variable.
84442         * configure.in: Check for ld --print-output-format support.
84443         * configure: Regenerated.
84444         * Makerules ($(common-objpfx)format.lds)
84445         [$(output-format) != unknown]: Just use $(output-format),
84446         instead of the linker-script munging.
84448 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84450         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84451         of $(common-objpfx)shlib.lds.
84452         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84454         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84455         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84457         * configure.in (-z relro check): Adjust test code to add a large
84458         writable data section after it.
84459         * configure: Regenerated.
84461 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84463         * configure.in (-z relro check): Fix test code to make the variable
84464         truly const.
84465         * configure: Regenerated.
84467 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84469         * nscd/nscd.h (struct traced_file): Define.
84470         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84471         elements.  Add traced_files.
84472         (inotify_fd): Declare.
84473         (register_traced_file): Declare.
84474         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84475         (inotify_fd): Export.
84476         (resolv_conf_descr): Remove.
84477         (nscd_init): Move inotify descriptor creation to main.
84478         Don't register files for notification here.
84479         (register_traced_file): New function.
84480         (invalidate_cache): Don't use reset_res to determine whether to call
84481         res_init, go through the list of registered files.
84482         (main_loop_poll): The inotify descriptors are now stored in the
84483         structures for the traced files.
84484         (main_loop_epoll): Likewise.
84485         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84486         to __nss_disable_nscd.
84487         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84488         for a database anymore.  Check the records for all the registered
84489         files instead.
84490         * nss/Makefile (libnss_files-routines): Add files-init.
84491         (libnss_db-routines): Add db-init.
84492         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84493         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84494         * nss/nss_db/db-init.c: New file.
84495         * nss/nss_files/files-init.c: New file.
84496         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84497         __nss_lookup_function.
84498         (__nss_lookup_function): Call nss_load_library.
84499         (nss_load_all_libraries): New function.
84500         (__nss_disable_nscd): Take parameter with callback function for files
84501         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84502         used for the cached services.
84503         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84504         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84505         options for features to all the files in nscd.
84507         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84509 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84511         * csu/elf-init.c (__libc_csu_init): Comment typo.
84513 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84515         * po/pl.po: Update from translation team.
84516         * po/ja.po: Likewise.
84517         * po/ru.po: Likewise.
84518         * po/ko.po: Likewise.
84519         * po/fr.po: Likewise.
84521 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84523         * configure.in (.ctors/.dtors header and trailer check):
84524         Use an empirical test on a built program.
84525         * configure: Regenerated.
84527         * configure.in (-z relro check): Use an empirical test on a built DSO.
84528         Detect, but do not require, on ia64.
84529         * configure: Regenerated.
84531         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84532         Update tests that use readelf to use $READELF instead.
84533         * configure: Regenerated.
84535 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84537         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84538         if the result is not used.
84540 2011-07-05  Andreas Jaeger  <aj@suse.de>
84542         [BZ#9696]
84543         * stdlib/tst-strtod.c: Add testcase.
84545 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84547         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84548         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84549         The latter has a higher limit.  Take additional parameter to pass to
84550         the new function.
84551         (__pathconf): Pass file to __statfs_link_max.
84552         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84553         __statfs_link_max.
84554         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84555         __statfs_link_max.
84557         [BZ #12868]
84558         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84559         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84560         Handle Lustre.
84561         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84562         (__statfs_filesize_max): Likewise.
84563         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84565 2011-07-05  Andreas Jaeger  <aj@suse.de>
84567         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84569 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84571         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84572         `status' variable.
84573         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84574         Likewise.
84576 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84578         * Makefile (strop-tests): Add strncat.
84579         * string/test-strncat.c: New file.
84581 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84583         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84585 2011-06-21  Andreas Jaeger  <aj@suse.de>
84587         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84588         Copy rule from iconvdata/Makefile.
84590 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84592         [BZ #12922]
84593         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84594         but no long options are defined, just return 'W'.
84596 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84598         [BZ #9696]
84599         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84601 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84603         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84604         netgroups to read.
84605         (innetgr): Likewise.
84607 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84609         * config.make.in (install_root): Default to $(DESTDIR).
84611 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84613         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84615 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84617         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84619         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84620         containing directory rather than embedding absolute directory names.
84622         * scripts/check-local-headers.sh: Rewritten using awk.
84623         Match by word, not by line.  Print error messages for matches.
84624         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84626         * Makerules [shlib-lds-flags empty]:
84627         ($(common-objpfx)libc_pic.opts): New target.
84628         ($(common-objpfx)libc_pic.os.clean): New target.
84629         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84631         * config.make.in (OBJCOPY): New variable.
84632         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84633         * configure: Regenerated.
84635         * config.make.in (use-default-link): New variable.
84636         * configure.in (use_default_link): Grok --with-default-link to set it.
84637         * configure: Regenerated.
84638         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84639         (shlib-lds, shlib-lds-flags): Define to empty.
84641         * Makerules (shlib-lds): New variable.
84642         (shlib-lds-flags): New variable.
84643         (build-shlib, build-moduile, build-module-asneeded): Use it.
84644         ($(common-objpfx)libc.so): Use $(shlib-lds).
84645         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84646         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84648         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84649         DT_FLAGS/DT_FLAGS_1 with zero flags.
84651         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84652         linker script munging.
84654 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84656         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84657         as 128-bit value.
84658         * crypt/sha512.c (sha512_process_block): Perform total addition using
84659         128-bit if possible.
84660         (__sha512_finish_ctx): Likewise.
84661         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84662         as 64-bit value.
84663         * crypt/sha256.c (SWAP64): Define.
84664         (sha256_process_block): Perform total addition using 64-bit if
84665         possible.
84666         (__sha256_finish_ctx): Likewise.
84668 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84670         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84671         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84672         * nscd/hstcache.c (cache_addhst): Likewise.
84673         * nscd/grpcache.c (cache_addgr): Likewise.
84674         * nscd/aicache.c (addhstaiX): Likewise.
84675         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84677 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84679         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84680         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84681         * nscd/hstcache.c (cache_addhst): Likewise.
84682         * nscd/grpcache.c (cache_addgr): Likewise.
84683         * nscd/aicache.c (addhstaiX): Likewise.
84685 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84687         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84688         domain only when needed.
84690 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84693         is always restored.
84695 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84697         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84698         are re-adding the entry.
84699         * nscd/servicescache.c (cache_addserv): Likewise.
84701 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84703         * sysdeps/generic/dl-irel.h: fix protection against multiple
84704         inclusions.
84705         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84707 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84709         [BZ #12935]
84710         * malloc/memusage.sh: Fix quoting in message.
84711         * debug/xtrace.sh: Likewise.
84713         * configure.in: Remove support for --experimental-malloc option, make
84714         it the default.
84715         * config.make.in: Likewise.
84716         * malloc/Makefile: Likewise.
84718 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84720         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84721         two-byte characters.
84723 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84725         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84726         AC_CACHE_CHECK invocation.
84727         * configure: Regenerated.
84729         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84731 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84733         [BZ #12350]
84734         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84735         bit from old_res_options.
84737         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84739         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84740         value type for setfct.
84742 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84745         __gettimeofday instead of gettimeofday.
84747 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84749         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84751 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84753         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84755         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84756         info.
84758 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84761         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84762         strcpy-sse2-unaligned strncpy-sse2-unaligned
84763         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84764         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84765         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84766         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84767         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84768         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84769         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84770         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84771         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84772         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84773         (STRCPY): Support SSE2 and SSSE3 versions.
84775 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84777         [BZ #12874]
84778         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84779         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84780         kernels which artificially limit size of requests.
84782 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84785         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84786         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84787         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84788         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84789         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84790         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84791         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84792         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84793         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84794         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84795         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84796         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84797         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84798         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84800         Enable unaligned load optimization for Intel Core i3, i5 and i7
84801         processors.
84802         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84803         Define.
84804         (index_Fast_Unaligned_Load): Define.
84805         (HAS_FAST_UNALIGNED_LOAD): Define.
84807 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84809         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84811 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84813         [BZ #12907]
84814         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84815         until it is clear that the information is realy needed.
84816         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84818 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84822 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84824         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84825         /sys/devices/system/cpu/online if it is usable.
84827         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84828         reading the information from the /proc filesystem to once a second.
84830 2011-06-21  Andreas Jaeger  <aj@suse.de>
84832         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84833         NULL after inclusion of kernel headers.
84835 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84837         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84838         calls to internal_setent.
84840         [BZ #12885]
84841         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84842         addresses using gethostbyname4_r ignore IPv4 addresses.
84844         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84845         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84847         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84849 2011-06-20  David S. Miller  <davem@davemloft.net>
84851         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84852         inclusions.
84853         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84855         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84856         (elf_irel): Use it.
84857         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84858         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84859         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84860         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84861         * sysdeps/x86_64/dl-irel.h: Likewise.
84863         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84864         * elf/dl-sym.c: Likewise.
84866 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84868         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84869         need to dereference resplen2.
84871 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84873         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84875 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84877         * Makeconfig: Define vardbdir and inst_vardbdir.
84878         * nss/Makefile: Add rules to install db-Makefile.
84880         * nss/nss_db/db-XXX.c: Cleanup.
84882         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84883         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84884         GLIBC_PRIVATE.
84885         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84886         * nss/makedb.c: Implement -g option to specify that value strings
84887         are generated and should not be added to table iterated over for
84888         get*ent calls.
84889         * nss/nss_db/db-initgroups.c: New file.
84891         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84892         interface.
84894         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84895         (internal_getgrouplist): Adjust to name change.
84896         Update use_initgroups_entry if this is not the first call.
84897         * nss/databases.def: Add initgroups entry.
84899         * nss/makedb.c (compute_tables): Check result of multiple hash table
84900         sizes to minimize maximum chain length.
84902 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84904         * Versions.def: Add entry for libnss_db.
84905         * shlib-versions: Likewise.
84906         * nss/Makefile: Add rules to build libnss_db.
84907         * nss/Versions: Add libnss_db information.  Organize libnss_files
84908         entries better.
84909         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84910         makedb progra.  Some minor improvements to generate smaller files.
84911         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84912         here from...
84913         * nss/makedb.c: ...here.
84914         Improve database format to be smaller and require less memory at
84915         runtime.
84916         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84917         db anymore.
84918         * nss/nss_db/db-netgrp.c: Likewise.
84919         * nss/nss_db/db-open.c: Likewise.
84920         * nss/nss_files/flies-XXX.x: Adjust comments.
84921         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84922         * nss/nss_files/files-grp.c: Likewise.
84923         * nss/nss_files/files-hosts.c: Likewise.
84924         * nss/nss_files/files-network.c: Likewise.
84925         * nss/nss_files/files-proto.c: Likewise.
84926         * nss/nss_files/files-pwd.c: Likewise.
84927         * nss/nss_files/files-rpc.c: Likewise.
84928         * nss/nss_files/files-service.c: Likewise.
84929         * nss/nss_files/files-sgrp.c: Likewise.
84930         * nss/nss_files/files-spwd.c: Likewise.
84931         * nss/nss_db/db-alias.c: Removed.
84932         * nss/nss_db/dummy-db.h: Removed.
84934 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84936         * nss/makedb.c: Rewritten to not use database library.
84937         * nss/Makefile: Update to build new makedb program.
84939 2011-06-14  Andreas Jaeger  <aj@suse.de>
84941         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84942         memset declaration.
84944 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84947         tmpbuf.
84949 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84951         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84952         * elf/Makefile ($(objpfx)ld.so): Likewise.
84954         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84955         Don't list ld.so twice in dependencies.
84957         * posix/bug-regex31.c: Include <stdlib.h>.
84959         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84961         * nis/nss_compat/compat-spwd.c
84962         (getspent_next_nss_netgr): Remove unused variable.
84963         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84965         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84966         nonmembers" output to use the right array.
84968         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84970         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84972         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84973         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84974         * catgets/gencat.c (read_input_file): Likewise.
84975         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84977         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84978         variable definition inside #if's controlling its use.
84980         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84982         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84984         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84986         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84987         unreachable code.
84989         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84991         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84992         * configure: Regenerated.
84994         * Makerules: Revert last change.
84995         * elf/Makefile: Likewise.
84997 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84999         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
85000         * elf/Makefile ($(objpfx)librtld.os): Likewise.
85001         (reloc-link): Likewise.
85003 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
85005         * elf/Makefile: Add rules to build pldd.
85006         * elf/pldd.c: New file.
85007         * elf/pldd-xx.c: New file.
85009 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85011         * version.h: Update for 2.15 development version.
85013 2011-06-07  David S. Miller  <davem@davemloft.net>
85015         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85016         ifuncs.
85017         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85018         elf_machine_lazy_rel): Likewise.
85019         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85020         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85021         elf_machine_lazy_rel): Likewise.
85022         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85023         dl_hwcap via passed in argument.
85024         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85025         Likewise.
85027 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85029         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85031 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85033         [BZ #12849]
85034         * manual/fdl-1.1.texi: New file, verbatim from:
85035         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85036         * manual/lgpl-2.1.texi: New file, verbatim from:
85037         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85038         * manual/Makefile (licenses): New variable, list those new file names.
85039         (texis): Use it.
85040         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85042         * manual/fdl.texi: File removed.
85043         * manual/lesser.texi: File removed.
85044         * manual/libc.texinfo (Copying, Documentation License):
85045         Use new @include file names, put @appendix directive before @include.
85047 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85049         [BZ #12841]
85050         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85051         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85052         (mq_open): Add __NTH.
85054 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85057         Assume Intel Core i3/i5/i7 processor if AVX is available.
85059 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85062         typo.
85064 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85066         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85067         memory.  Use alloca_account.  Fix memory leak when retrying.
85069 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85071         * version.h (RELEASE): Bump for 2.14 release.
85072         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85074         * config.make.in (RANLIB): Remove entry.
85076 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85078         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85079         (libc.pot): Work around missing support for .ksh extension in xgettext.
85081         [BZ #12684]
85082         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85083         if both request failed.
85084         (send_dg): In case of server errors clear resplen or *resplen2.
85086         [BZ #12454]
85087         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85088         when there are multiple maps.
85089         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85090         (_dl_fini): Remove test here.
85092         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85094 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85096         [BZ #12350]
85097         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85098         bit from old_res_options.
85099         (gaih_inet): Likewise.
85101         [BZ #11099]
85102         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85103         as signed.
85105         * resolv/res_init.c (res_setoptions): Make the code more compact.
85107         [BZ #11558]
85108         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85109         set RES_USEVC.
85111         [BZ #11634]
85112         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85114         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85116         [BZ #11781]
85117         * malloc/malloc.h: Declare malloc hook variables as volatile.
85119         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85120         in last patch.
85122         [BZ #11799]
85123         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85124         raise in the comment.
85125         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85127         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85129 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85131         [BZ #12811]
85132         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85133         grow the buffers more if it already has to be sufficient.
85134         (build_wcs_upper_buffer): Likewise.
85135         * posix/regexec.c (check_matching): Likewise.
85136         (clean_state_log_if_needed): Likewise.
85137         (extend_buffers): Don't enlarge buffers beyond size of the input
85138         buffer.
85139         Patches mostly by Emil Wojak <emil@wojak.eu>.
85140         * posix/bug-regex32.c: New file.
85141         * posix/Makefile (tests): Add bug-regex32.
85143         * locale/findlocale.c (_nl_find_locale): Return right away if
85144         _nl_explode_name failed.
85145         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85147         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85149         * debug/xtrace.sh: Unify messages.
85150         * malloc/memusage.sh: Likewise.
85152         [BZ #12813]
85153         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85154         time symbol from vDSO.  Substitute with vsyscall if not available.
85155         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85156         __vdso_time.
85158         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85159         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85160         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85161         Add sendmmsg and internal_sendmmsg.
85162         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85163         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85164         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85166         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85167         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85168         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85170 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85172         [BZ #12813]
85173         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85174         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85175         available.
85176         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85177         __vdso_getcpu.
85179         [BZ #12814]
85180         * iconvdata/Makefile (tests): Add bug-iconv9.
85181         * iconvdata/bug-iconv9.c: New file.
85183 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85185         [BZ #12814]
85186         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85188 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85191         (struct user_regs_struct): Change intcs field back to cs.
85193 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85195         * po/ja.po: Update from translation team.
85197 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85199         [BZ #12795]
85200         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85201         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85203 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85205         * stdlib/longlong.h: Update from GCC.
85207 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85209         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85210         parameter name.
85211         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85212         Add parameter name.
85213         (__sysconf): Pass it down.
85215 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85217         [BZ #12671]
85218         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85219         some situations.
85220         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85221         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85222         add in in __libc_use_alloca calls.  Adjust callers.
85223         (glob): Use malloc in some situations.
85225         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85226         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85227         pltexit.
85229 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85231         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85232         and CLOCK_BOOTTIME_ALARM.
85234         [BZ #12782]
85235         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85236         is returned.
85238         * string/_strerror.c (__strerror_r): Print negative errors as signed
85239         numbers.
85241         [BZ #12777]
85242         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85243         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85244         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85246         * configure.in: Fix typo in redirection and correct removal of test
85247         files in two cases.
85249         [BZ #12788]
85250         * locale/setlocale.c (new_composite_name): Fix test to check for
85251         identical name of all categories.
85253         [BZ #12792]
85254         * libio/filedoalloc.c (local_isatty): New function.
85255         (_IO_file_doallocate): Use local_isatty.
85256         * stdio-common/perror.c (perror): In case a new stream is used
85257         forward the stream error.
85258         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85259         error flag.
85261 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85263         [BZ #11884]
85264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85265         alloca.
85266         * include/alloca.h (extend_alloca_account): Define.
85268         [BZ #11857]
85269         * posix/regex.h: Fix comments with documentation of user-accessible
85270         fields after compilation and describe correct free'ing of pattern
85271         after re_compile_pattern.
85272         Patch by Reuben Thomas <rrt@sc3d.org>.
85274 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85276         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85277         and -mno-altivec to prevent the compiler from using Altivec and/or
85278         VSX instructions when the corresponding registers are not available.
85280 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85282         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85284 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85286         * libio/freopen.c (freopen): Use __dup2, not dup2.
85287         * libio/freopen64.c (freopen64): Likewise.
85289 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85291         [BZ #12775]
85292         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85293         * math/Makefile (tests): Add test-powl.
85294         (CFLAGS-test-powl.c): Define.
85295         * math/test-powl.c: New file.
85297 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85299         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85301 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85303         [BZ #11837]
85304         * iconvdata/gb18030.c: Update to GB18020-2005.
85306 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85308         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85309         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85310         Patch by Aharon Robbins <arnold@skeeve.com>.
85312         [BZ #11892]
85313         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85314         on the stack.
85316         [BZ #11895]
85317         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85318         through underflows.
85320         [BZ #12766]
85321         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85322         point to strings before performing equality test for error_one_per_line
85323         mode.
85325         [BZ #11697]
85326         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85328         [BZ #11820]
85329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85330         (struct user_fpregs_struct): Avoid __uint*_t types.
85332         [BZ #6420]
85333         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85334         symbol info.  Use it instead of calling _dl_addr locally.
85335         (lock_and_info): New function.
85336         (tr_freehook): Call lock_and_info and pass symbol info as additional
85337         parameter to tr_where.
85338         (tr_mallochook): Likewise.
85339         (tr_reallochook): Likewise.
85340         (tr_memalignhook): Likewise.
85342         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85343         used and couldn't be at all thread-safe.
85345 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
85347         * libio/freopen.c (freopen): Don't close old file descriptor
85348         before the new one is opened.  Instead dup the new file descriptor
85349         to the old one after the new stream is created.
85350         * libio/freopen64.c (freopen64): Likewise.
85351         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
85352         * libio/fileops.c (_IO_new_file_close_it): Handle new
85353         _IO_FLAGS2_NOCLOSE flag.
85354         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
85355         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
85356         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
85357         _IO_FLAGS2_NOCLOSE flag.
85358         * include/unistd.h: Add hidden_proto for dup3.
85359         Define __have_dup3.
85360         * io/dup3.c: Define hidden symbol.
85361         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
85363         [BZ #7101]
85364         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
85365         when an incomplete long option is used.
85366         * posix/tst-getopt_long1.c: New file.
85367         * posix/Makefile (tests): Add tst-getopt_long1.
85369         [BZ #10138]
85370         * scripts/config.guess: Update from autoconf-2.68.
85371         * scripts/config.sub: Likewise.
85373         [BZ #10157]
85374         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
85375         tests into ...
85376         (has_cpuclock): ...this.  New function.
85377         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
85378         macro here based on has_cpuclock code.
85380         [BZ #10149]
85381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85382         First byte (not low byte) is now always NUL.
85383         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
85385         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85386         Use non-cancelable interfaces.
85388         [BZ #9809]
85389         * locale/iso-639.def: Add entry for Sorani.
85391         [BZ #11901]
85392         * include/stdlib.h: Move include protection to the right place.
85393         Define abort_msg_s.  Declare __abort_msg with it.
85394         * stdlib/abort.c (__abort_msg): Adjust type.
85395         * assert/assert.c (__assert_fail_base): New function.  Majority
85396         of code from __assert_fail.  Allocate memory for __abort_msg with
85397         mmap.
85398         (__assert_fail): Now call __assert_fail_base.
85399         * assert/assert-perr.c: Remove bulk of implementation.  Use
85400         __assert_fail_base.
85401         * include/assert.hL Declare __assert_fail_base.
85402         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
85403         mmap.
85404         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
85406 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
85408         [BZ #11952]
85409         [BZ #12453]
85410         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
85411         until all modules are registered in the DTV.
85412         * elf/Makefile: Add rules to build and run tst-tls19.
85413         * elf/tst-tls19.c: New file.
85414         * elf/tst-tls19mod1.c: New file.
85415         * elf/tst-tls19mod2.c: New file.
85416         * elf/tst-tls19mod3.c: New file.
85417         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
85419         [BZ #12083]
85420         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
85421         correctly.
85423         [BZ #12601]
85424         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85425         two-byte sequence errors.
85426         * iconvdata/Makefile (tests): Add bug-iconv8.
85427         * iconvdata/bug-iconv8.c: New file.
85429         [BZ #12626]
85430         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85431         buf2 definition.
85433         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85435         [BZ #12432]
85436         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85437         (dummy_getcfa): New function.
85438         (init): Get _Unwind_GetCFA address, use dummy if not found.
85439         (backtrace_helper): In recursion check, also check whether CFA changes.
85440         (__backtrace): Completely initialize arg.
85442         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85443         storing incomplete byte sequence in state object.  Avoid testing for
85444         guaranteed too small input if we know there is enough data available.
85446 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85448         * Makeconfig (+link-pie): Indent.
85449         * Rules (binaries-pie): Define if $(have-fpie) and
85450         $(build-shared).
85451         (binaries-shared): Also filter out $(binaries-pie).
85452         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85453         * nscd/Makefile (others-pie): Add nscd.
85454         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85455         ($(objpfx)nscd): Remove command override.
85456         * login/Makefile (others-pie): Add pt_chown.
85457         ($(objpfx)pt_chown): Remove command override.
85458         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85459         remove command overrides.
85461 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85463         * libio/tst_putwc.c: Fix error messages.
85465         [BZ #12724]
85466         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85467         currently writing and seek to current position when not.
85468         * libio/Makefile (tests): Add bug-fclose1.
85469         * libio/bug-fclose1.c: New file.
85471 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85473         [BZ #12511]
85474         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85475         don't set DF_1_NODELETE here.
85476         (do_lookup_x): When entering new entry test for copy relocation
85477         and if necessary set DF_1_NODELETE flag.
85478         * elf/tst-unique4.cc: New file.
85479         * elf/tst-unique4.h: New file.
85480         * elf/tst-unique4lib.cc: New file.
85481         * elf/Makefile: Add rules to build and run tst-unique4.
85482         Patch by Piotr Bury <pbury@goahead.com>.
85484 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85486         [BZ #12052]
85487         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85489         [BZ #12625]
85490         * misc/mntent_r.c (addmntent): Flush the stream after the output
85492         [BZ #12393]
85493         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85494         (is_trusted_path_normalize): Skip initial colon.  Append slash
85495         to empty buffer.  Duplicate is_trusted_path code but allow
85496         constructed patch to be prefix.
85497         (is_dst): Allow $ORIGIN followed by /.
85498         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85499         Correct testing of result of is_trusted_path_normalize
85500         (decompose_rpath): Fix warning.
85502 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85504         [BZ #11257]
85505         * grp/initgroups.c (internal_getgrouplist): When we found the service
85506         list through the initgroups entry in nsswitch.conf do not always
85507         continue on a successful lookup.  Don't always use the
85508         __nss_group_database value if it is set.
85509         * nss/nsswitch.conf (initgroups): Change action for successful db
85510         lookup to continue for compatibility.
85512 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85514         [BZ #11532]
85515         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85516         and CP774 modules.
85517         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85518         and CP774 modules.
85519         * iconvdata/tst-tables.sh: Likewise.
85520         * iconvdata/cp770.c: New file.
85521         * iconvdata/cp771.c: New file.
85522         * iconvdata/cp772.c: New file.
85523         * iconvdata/cp773.c: New file.
85524         * iconvdata/cp774.c: New file.
85525         * iconvdata/testdata/CP770: New file.
85526         * iconvdata/testdata/CP770..UTF8: New file.
85527         * iconvdata/testdata/CP771: New file.
85528         * iconvdata/testdata/CP771..UTF8: New file.
85529         * iconvdata/testdata/CP772: New file.
85530         * iconvdata/testdata/CP772..UTF8: New file.
85531         * iconvdata/testdata/CP773: New file.
85532         * iconvdata/testdata/CP773..UTF8: New file.
85533         * iconvdata/testdata/CP774: New file.
85534         * iconvdata/testdata/CP774..UTF8: New file.
85536         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85537         END CHARMAP line.
85538         * iconvdata/gen-8bit-gap.sh: Likewise.
85539         * iconvdata/gen-8bit.sh: Likewise.
85541         * locale/iso-639.def: Add ary entry.
85543         [BZ #11258]
85544         * locale/C-translit.h.in: Add U20A1 transliteration.
85546         [BZ #12178]
85547         * locale/iso-639.def: Add wae entry.
85548         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85550         [BZ #12545]
85551         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85552         for n.
85554         [BZ #12711]
85555         * locale/C-translit.h.in: Add entry for U20B9.
85556         Patch by pravin.d.s@gmail.com.
85558 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85560         [BZ #12713]
85561         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85562         ENAMETOOLONG use generic getcwd.
85563         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85564         in rtld.  Use *stat64.
85565         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85566         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85567         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85568         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85569         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85570         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85571         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85572         __fstatat64 macros.
85573         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85574         * dirent/rewinddir.c: Add libc_hidden_def.
85575         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85576         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85578         * include/dirent.h (__alloc_dir): Add flags parameter.
85579         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85580         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85581         __alloc_dir.
85582         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85583         from fdopendir if O_CLOEXEC is already set.
85585 2011-03-15  Alan Modra  <amodra@gmail.com>
85587         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85588         l_tls_firstbyte_offset non-zero.  Save padding offset in
85589         l_tls_firstbyte_offset for later use.
85590         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85591         freeing static tls block.
85593 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85595         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85596         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85597         being defined by the kernel headers.
85599 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85601         [BZ #12734]
85602         * resolv/resolv.h: Define RES_NOTLDQUERY.
85603         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85604         no-tld-query and set RES_NOTLDQUERY.
85605         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85606         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85607         modern BIND to search name as TLD unless forbidden.
85609 2011-05-07  Petr Baudis  <pasky@suse.cz>
85610             Ulrich Drepper  <drepper@gmail.com>
85612         [BZ #12393]
85613         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85614         (is_trusted_path): ...to here.
85615         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85616         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85617         using is_trusted_path_normalize() in setuid scripts.
85619 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85621         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85622         __BEGIN/__END_DECLS.
85624 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85626         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85627         NSS_STATUS_NOTFOUND if no record was found.
85629 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85631         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85632         (headers-not-in-tirpc): Remove rpc/netdb.h
85633         * resolv/netdb.h: Revert last change.
85635 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85637         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85638         circular dependency between libgcc.a and libc.a.
85640 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85642         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85643         * nis/Makefile: Don't install rpcsvc/*.
85644         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85645         instead of <rpc/types.h>.
85646         (MAXHOSTNAMELEN): Define.
85648 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85650         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85652 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85654         [BZ #12714]
85655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85656         gethostbyname4_r when IPv6 results are possible.
85658 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85660         [BZ #12723]
85661         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85662         _PC_PIPE_BUF handling.
85664 2011-04-30  Bruno Haible  <bruno@clisp.org>
85666         [BZ #12717]
85667         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85668         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85669         to 'int'.
85670         * inet/getnameinfo.c (getnameinfo): Likewise.
85672 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85674         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85675         to groups setting in database lookup.
85676         * nss/nsswitch.conf: Add initgroups entry.
85678 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85680         [BZ #12685]
85681         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85682         mode string.
85683         Patch by Eric Blake <eblake@redhat.com>.
85685 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85687         * sunrpc/Makefile (need-export-routines): Add svc_run.
85688         (routines): Remove svc_run.
85689         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85690         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85691         * sunrpc/svc_run.c (svc_run): Likewise.
85692         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85694 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85696         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85697         problem in reallocation in last patch.
85699 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85701         * sunrpc/Makefile: Move inclusion of Rules.
85703 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85705         * nss/nss_files/files-initgroups.c: New file.
85706         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85707         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85708         _nss_files_initgroups_dyn.
85710 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85712         * elf/elf.h (R_ARM_IRELATIVE): Define.
85714 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85716         * po/ru.po: Update from translation team.
85718 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85720         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85721         dependencies.
85723 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85725         [BZ #12653]
85726         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85727         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85728         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85729         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85732 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85734         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85735         differing bytes.
85736         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85737         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85738         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85740 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85742         [BZ #12420]
85743         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85744         storing it.
85745         * stdlib/bug-getcontext.c: New file.
85746         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85748 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85750         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85751         instructions into .machine "z9-109".
85752         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85753         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85755 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85757         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85758         between environment variables and auxiliary vector.
85760 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85762         * Makefile: Add rules to build linkobj/libc.so.
85763         * include/libc-symbols.h: Define libc_hidden_nolink.
85764         * include/rpc/auth.h: Mark functions which are to be hidden.
85765         * include/rpc/auth_des.h: Likewise.
85766         * include/rpc/auth_unix.h: Likewise.
85767         * include/rpc/clnt.h: Likewise.
85768         * include/rpc/des_crypt.h: Likewise.
85769         * include/rpc/key_prot.h: Likewise.
85770         * include/rpc/pmap_clnt.h: Likewise.
85771         * include/rpc/pmap_prot.h: Likewise.
85772         * include/rpc/pmap_rmt.h: Likewise.
85773         * include/rpc/rpc_msg.h: Likewise.
85774         * include/rpc/svc.h: Likewise.
85775         * include/rpc/svc_auth.h: Likewise.
85776         * include/rpc/xdr.h: Likewise.
85777         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85778         * nss/Makefile: Likewise.
85779         * sunrpc/Makefile: Don't install headers.  Build library with normal
85780         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85781         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85782         for the compat linking library.  Remove use of INTDEF/INTUSE.
85783         * sunrpc/auth_none.c: Likewise.
85784         * sunrpc/auth_unix.c: Likewise.
85785         * sunrpc/authdes_prot.c: Likewise.
85786         * sunrpc/authuxprot.c: Likewise.
85787         * sunrpc/clnt_gen.c: Likewise.
85788         * sunrpc/clnt_perr.c: Likewise.
85789         * sunrpc/clnt_raw.c: Likewise.
85790         * sunrpc/clnt_simp.c: Likewise.
85791         * sunrpc/clnt_tcp.c: Likewise.
85792         * sunrpc/clnt_udp.c: Likewise.
85793         * sunrpc/clnt_unix.c: Likewise.
85794         * sunrpc/des_crypt.c: Likewise.
85795         * sunrpc/des_soft.c: Likewise.
85796         * sunrpc/get_myaddr.c: Likewise.
85797         * sunrpc/key_call.c: Likewise.
85798         * sunrpc/key_prot.c: Likewise.
85799         * sunrpc/netname.c: Likewise.
85800         * sunrpc/pm_getmaps.c: Likewise.
85801         * sunrpc/pm_getport.c: Likewise.
85802         * sunrpc/pmap_clnt.c: Likewise.
85803         * sunrpc/pmap_prot.c: Likewise.
85804         * sunrpc/pmap_prot2.c: Likewise.
85805         * sunrpc/pmap_rmt.c: Likewise.
85806         * sunrpc/publickey.c: Likewise.
85807         * sunrpc/rpc_cmsg.c: Likewise.
85808         * sunrpc/rpc_common.c: Likewise.
85809         * sunrpc/rpc_dtable.c: Likewise.
85810         * sunrpc/rpc_prot.c: Likewise.
85811         * sunrpc/rpc_thread.c: Likewise.
85812         * sunrpc/rtime.c: Likewise.
85813         * sunrpc/svc.c: Likewise.
85814         * sunrpc/svc_auth.c: Likewise.
85815         * sunrpc/svc_authux.c: Likewise.
85816         * sunrpc/svc_raw.c: Likewise.
85817         * sunrpc/svc_run.c: Likewise.
85818         * sunrpc/svc_simple.c: Likewise.
85819         * sunrpc/svc_tcp.c: Likewise.
85820         * sunrpc/svc_udp.c: Likewise.
85821         * sunrpc/svc_unix.c: Likewise.
85822         * sunrpc/svcauth_des.c: Likewise.
85823         * sunrpc/xcrypt.c: Likewise.
85824         * sunrpc/xdr.c: Likewise.
85825         * sunrpc/xdr_array.c: Likewise.
85826         * sunrpc/xdr_float.c: Likewise.
85827         * sunrpc/xdr_intXX_t.c: Likewise.
85828         * sunrpc/xdr_mem.c: Likewise.
85829         * sunrpc/xdr_rec.c: Likewise.
85830         * sunrpc/xdr_ref.c: Likewise.
85831         * sunrpc/xdr_sizeof.c: Likewise.
85832         * sunrpc/xdr_stdio.c: Likewise.
85834 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85836         [BZ #12650]
85837         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85838         * sysdeps/ia64/dl-tls.h: Likewise.
85839         * sysdeps/powerpc/dl-tls.h: Likewise.
85840         * sysdeps/s390/dl-tls.h: Likewise.
85841         * sysdeps/sh/dl-tls.h: Likewise.
85842         * sysdeps/sparc/dl-tls.h: Likewise.
85843         * sysdeps/x86_64/dl-tls.h: Likewise.
85844         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85846 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85848         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85849         rpath element also skip the following colon.
85850         (expand_dynamic_string_token): Add is_path parameter and pass
85851         down to DL_DST_REQUIRED and _dl_dst_substitute.
85852         (decompose_rpath): Call expand_dynamic_string_token with
85853         non-zero is_path.  Ignore empty rpaths.
85854         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85855         with zero is_path.
85857 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85860         Make cancelable.
85862 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85864         [BZ #12655]
85865         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85866         Patch by Filipe David Manana <fdmanana@apache.org>.
85868 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85871         Maintain aligned stack.
85872         (CHECK_RSP): Remove unused macro.
85874 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85876         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85877         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85879 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85881         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85883         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85885 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85887         [BZ #12518]
85888         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85889         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85890         * sysdeps/x86_64/memmove.c: New file.
85891         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85892         (memcpy): Renamed to ...
85893         (__new_memcpy): This.
85894         (memcpy): Provide GLIBC_2_14 memcpy.
85895         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85896         (memcpy): Provide GLIBC_2_2_5 memcpy.
85898 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85900         [BZ #12631]
85901         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85903 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85905         * misc/syncfs.c: New file.
85906         * misc/Makefile (routines): Add syncfs.
85907         * posix/unistd.h: Declare syncfs.
85908         * sysdeps/unix/syscalls.list: Add syncfs.
85910 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85912         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85913         open_by_handle_at.
85914         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85915         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85917         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85919         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85920         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85922 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85924         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85925         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85926         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85927         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85928         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85930         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85932         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85933         sync_file_range.c with -fexceptions.
85934         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85935         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85936         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85937         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85938         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85939         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85941         sync_file_range as cancellation point
85942         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85943         now a wrapper around __call_sync_file_range with cancellation handling.
85944         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85945         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85946         function name to __call_sync_file_range.
85947         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85948         Add call_sync_file_range.
85950 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85953         bits/timex.h.
85955 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85957         * iconv/iconv.h: Fix typo in comment.
85958         * io/fcntl.h: Likewise.
85959         * libio/stdio.h: Likewise.
85960         * posix/spawn.h: Likewise.
85961         * posix/unistd.h: Likewise.
85962         * stdlib/stdlib.h: Likewise.
85963         * time/time.h: Likewise.
85964         * wcsmbs/wchar.h: Likewise.
85966         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85967         open_by_handle): Add.
85968         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85969         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85970         Augment a few comments.
85971         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85972         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85973         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85975         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85976         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85977         open_by_handle.
85979         * io/fcntl.h (AT_EMPTY_PATH): Define.
85981 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85983         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85984         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85985         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85986         to...
85987         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85988         * Versions.def: Add GLIBC_2.14.
85989         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85990         Export.
85992 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85994         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85995         round counter.
85996         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85998 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86000         [BZ #12597]
86001         * string/test-strncmp.c (do_page_test): New function.
86002         (check2): Likewise.
86003         (test_main): Call check2.
86004         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
86006 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86008         [BZ #12587]
86009         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86010         Handle cache information in CPU leaf 4.
86011         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86013 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86015         [BZ #12583]
86016         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86017         character representation.
86018         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86020 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86022         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86023         END(__isnan) to END(__isnanf) to match function entry point/label
86024         EALIGN(__isnanf,...).
86026 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86028         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86030 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86032         [BZ #12510]
86033         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86034         copy from the symbol referenced in the relocation to initialize the
86035         used variable.
86036         Patch by Piotr Bury <pbury@goahead.com>.
86037         * elf/Makefile: Add rules to build and tst-unique3.
86038         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86039         * elf/tst-unique3.cc: New file.
86040         * elf/tst-unique3.h: New file.
86041         * elf/tst-unique3lib.cc: New file.
86042         * elf/tst-unique3lib2.cc: New file.
86044         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86046 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86048         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86049         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86050         to _start.
86052 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86054         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86055         to-be-loaded object along a path to loader is ld.so.
86057 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86058             Ulrich Drepper  <drepper@gmail.com>
86060         * sysdeps/x86_64/memset.S: After aligning destination, code
86061         branches to different locations depending on the value of
86062         misalignment, when multiarch is enabled. Fix this.
86064 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86066         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86067         Set _x86_64_preferred_memory_instruction for AMD processsors.
86068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86069         Set bit_Prefer_SSE_for_memop for AMD processors.
86071 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86073         * libio/fmemopen.c (fmemopen): Optimize a bit.
86075 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86077         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86079 2011-03-03  Roland McGrath  <roland@redhat.com>
86081         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86083 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86085         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86086         __bzero_ultra1 instead of __memset_ultra1.
86088 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86089             Ulrich Drepper  <drepper@gmail.com>
86091         [BZ #12509]
86092         * include/link.h (struct link_map): Add l_orig_initfini.
86093         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86094         returning unsuccessfully.
86095         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86096         close of a file loaded at startup, restore the original l_initfini
86097         list.
86098         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86099         list, store the pointer.
86100         * elf/Makefile ($(objpfx)noload-mem): New rule.
86101         (noload-ENV): Define.
86102         (tests): Add $(objpfx)noload-mem.
86103         * elf/noload.c: Include <memcheck.h>.
86104         (main): Call mtrace.  Close all opened handles.
86106 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86108         [BZ #12454]
86109         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86110         dependencies are missing.
86112 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86114         Fix __if_freereq crash: Unlike the generic version which uses free,
86115         Hurd needs munmap.
86116         * sysdeps/mach/hurd/ifreq.h: New file.
86118 2011-01-27  Petr Baudis  <pasky@suse.cz>
86119             Ulrich Drepper  <drepper@gmail.com>
86121         [BZ 12445]#
86122         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86123         to extend_alloca().
86124         * stdio-common/bug23.c: New file.
86125         * stdio-common/Makefile (tests): Add bug23.
86127 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86128             Ulrich Drepper  <drepper@gmail.com>
86130         [BZ #12489]
86131         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86132         before performing relro protection.  At old place add assertion
86133         to make sure nothing changed.
86135 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86136             Glauber de Oliveira Costa  <glommer@gmail.com>
86138         * elf/elf.h: Add new ARM TLS relocs.
86140 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86143         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86144         cast from r3.
86145         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86146         'tests' variable.
86147         * sysdeps/wordsize-64/tst-writev.c: New file.
86149 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86151         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86152         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86153         insns in _dl_start to prevent a TOC reference before relocs are
86154         resolved.
86156 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86158         [BZ #12469]
86159         * Makeconfig: Remove RANLIB definition.
86160         * Makerules: Don't use RANLIB.
86161         * aclocal.m4: Remove ranlib test.
86162         * configure.in: No need to check for ranlib.
86163         * elf/rtld-Rules: Don't use RANLIB.
86165 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86167         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86168         protection macro.
86169         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86170         inclusion protection macro.
86172         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86173         SIGRTMIN and SIGRTMAX and print information in that case only when
86174         SIGRTMIN is defined.
86176 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86178         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86179         arginfo fn returning -1.
86181         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86182         and thousands string is zero terminated.
86184 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86186         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86187         sysdeps/unix/sysv/linux/bits/socket.h.
86189 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86191         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86192         (__CPU_COUNT): Remove old macros.
86193         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86194         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86195         (__CPU_ALLOC, __CPU_FREE): Add macros.
86196         (__sched_cpualloc, __sched_cpufree): Add declarations.
86198 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86200         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86201         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86202         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86203         (readdhstai): Return value of addhstaiX call.
86204         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86205         (addgrbyX): Return value returned by cache_addgr.
86206         (readdgrbyname): Return value returned by addgrbyX.
86207         (readdgrbygid): Likewise.
86208         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86209         (addpwbyX): Return value returned by cache_addpw.
86210         (readdpwbyname): Return value returned by addhstbyX.
86211         (readdpwbyuid): Likewise.
86212         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86213         (addservbyX): Return value returned by cache_addserv.
86214         (readdservbyname): Return value returned by addservbyX:
86215         (readdservbyport): Likewise.
86216         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86217         (addhstbyX): Return value returned by cache_addhst.
86218         (readdhstbyname): Return value returned by addhstbyX.
86219         (readdhstbyaddr): Likewise.
86220         (readdhstbynamev6): Likewise.
86221         (readdhstbyaddrv6): Likewise.
86222         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86223         (readdinitgroups): Return value returned by addinitgroupsX.
86224         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86225         (prune_cache): Keep track of timeout value of re-added entries.
86226         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86227         * nscd/nscd.h: Adjust prototypes of readd* functions.
86229 2011-02-04  Roland McGrath  <roland@redhat.com>
86231         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86232         (nis_stats): Likewise.
86233         * nis/nis_modify.c (nis_modify): Likewise.
86234         * nis/nis_remove.c (nis_remove): Likewise.
86235         * nis/nis_add.c (nis_add): Likewise.
86237         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86239         * posix/fnmatch_loop.c: Add some consts.
86241         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86243 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86245         [BZ #12460]
86246         * config.make.in (config-cflags-novzeroupper): Define.
86247         * configure.in: Substitute libc_cv_cc_novzeroupper.
86248         * elf/Makefile (AVX-CFLAGS): Define.
86249         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86250         (CFLAGS-tst-auditmod4a.c): Likewise.
86251         (CFLAGS-tst-auditmod4b.c): Likewise.
86252         (CFLAGS-tst-auditmod6b.c): Likewise.
86253         (CFLAGS-tst-auditmod6c.c): Likewise.
86254         (CFLAGS-tst-auditmod7b.c): Likewise.
86255         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86257 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86259         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86260         function to the callback.
86261         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86263 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86265         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86266         of errno.
86268 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86270         [BZ #11724]
86271         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86272         of constructors.
86273         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86274         of destructors.
86275         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86277         [BZ #11724]
86278         * elf/Makefile: Add rules to build and run new test.
86279         * elf/tst-initorder.c: New file.
86280         * elf/tst-initorder.exp: New file.
86281         * elf/tst-initordera1.c: New file.
86282         * elf/tst-initordera2.c: New file.
86283         * elf/tst-initordera3.c: New file.
86284         * elf/tst-initordera4.c: New file.
86285         * elf/tst-initorderb1.c: New file.
86286         * elf/tst-initorderb2.c: New file.
86287         * elf/tst-order-a1.c: New file.
86288         * elf/tst-order-a2.c: New file.
86289         * elf/tst-order-a3.c: New file.
86290         * elf/tst-order-a4.c: New file.
86291         * elf/tst-order-b1.c: New file.
86292         * elf/tst-order-b2.c: New file.
86293         * elf/tst-order-main.c: New file.
86294         New test case by George Gensure <werkt0@gmail.com>.
86296 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86299         decoding ACE if AI_CANONIDN.
86301 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86303         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86305 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86307         * version.h (RELEASE): Bump for 2.13 release.
86308         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86310         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86312         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86313         MADV_NOHUGEPAGE.
86314         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86315         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86316         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86317         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86318         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86319         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86321         * posix/getconf.c: Update copyright year.
86322         * catgets/gencat.c: Likewise.
86323         * csu/version.c: Likewise.
86324         * debug/catchsegv.sh: Likewise.
86325         * debug/xtrace.sh: Likewise.
86326         * elf/ldconfig.c: Likewise.
86327         * elf/ldd.bash.in: Likewise.
86328         * elf/sprof.c (print_version): Likewise.
86329         * iconv/iconv_prog.c: Likewise.
86330         * iconv/iconvconfig.c: Likewise.
86331         * locale/programs/locale.c: Likewise.
86332         * locale/programs/localedef.c: Likewise.
86333         * malloc/memusage.sh: Likewise.
86334         * malloc/mtrace.pl: Likewise.
86335         * nscd/nscd.c (print_version): Likewise.
86336         * nss/getent.c: Likewise.
86338         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86339         PF_CAIF, and PF_ALG.
86340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86342 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86344         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
86345         (modules-names): Use them.
86346         (ifunc-test-modules, ifunc-pie-tests): Define.
86347         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
86348         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
86349         (test-extras): Likewise.
86350         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
86351         $(compile-command.c).
86352         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
86353         (all-built-dso): Define.
86354         (check-textrel.out, check-execstack.out): Depend on it.
86356         * configure.in: Don't override --enable-multi-arch.
86358 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
86360         [BZ #6812]
86361         * nscd/hstcache.c (tryagain): Define.
86362         (cache_addhst): Return tryagain not notfound for temporary errors.
86363         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
86364         failed.
86366 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
86368         [BZ #10563]
86369         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
86370         to make the syscall.
86371         * sysdeps/unix/sysv/linux/setgroups.c: New file.
86373         [BZ #12378]
86374         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
86375         and fall back to matching as normal character if the string ends before
86376         the matching ']' is found.  This is what POSIX requires.
86377         * posix/testfnm.c: Adjust test result.
86378         * posix/globtest.sh: Adjust test result.  Add new test.
86379         * posix/tst-fnmatch.input: Likewise.
86380         * posix/tst-fnmatch2.c: Add new test.
86382 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
86384         * elf/Makefile (check-execstack): Revert last change.  Depend on
86385         check-execstack.h.
86386         (check-execstack.h): New target.
86387         (generated): Add check-execstack.h.
86388         * elf/check-execstack.c: Include "check-execstack.h".
86389         (main): Revert last change.
86390         (handle_file): Return zero if GNU_STACK is absent and
86391         DEFAULT_STACK_PERMS doesn't include PF_X.
86393 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
86395         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
86396         in child fails because the descriptor is already closed.
86397         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
86398         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
86399         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
86401         [BZ #12397]
86402         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
86403         syscall.
86405         [BZ #10484]
86406         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
86407         temporary buffer used to handle multi lookups locally.
86408         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
86410 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86412         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
86413         loader is ld.so.
86415 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
86417         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
86418         alignment for SSE2.
86420 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86422         [BZ #12394]
86423         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86424         characters.  When rounding increased number of integer digits recompute
86425         number of groups.
86426         * stdio-common/tst-grouping.c: New file.
86427         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86429 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86431         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86432         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86434         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86435         void.
86436         * bits/select.h: Likewise.
86438 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86440         * po/ja.po: Update from translation team.
86442 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86444         [BZ #11155]
86445         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86446         implementation just like for lxstat, fxstatat, et al.
86448 2010-12-27  Jim Meyering  <meyering@redhat.com>
86450         [BZ #12348]
86451         * posix/regexec.c (build_trtable): Return failure indication upon
86452         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86454 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86456         [BZ #12201]
86457         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86458         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86459         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86460         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86462         [BZ #12207]
86463         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86465         [BZ #12204]
86466         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86467         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86469 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86471         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86472         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86473         script has SORT_BY_INIT_PRIORITY.
86474         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86475         NO_CTORS_DTORS_SECTIONS is defined.
86476         * elf/soinit.c: Likewise.
86477         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86478         NO_CTORS_DTORS_SECTIONS is defined.
86479         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86480         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86481         * sysdeps/sh/init-first.c: Likewise.
86482         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86484 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86486         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86487         always use the slow path.
86489 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86491         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86492         similar rule which adds the sysdep directories to the header search in
86493         order to pick up the correct platform stackinfo.h.
86494         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86495         perform test if it is, otherwise return successfully without testing.
86496         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86497         DEFAULT_STACK_PERMS define in stackinfo.h.
86498         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86499         defined in stackinfo.h.
86500         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86501         DEFAULT_STACK_PERMS defined in stackinfo.h.
86502         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86503         * sysdeps/ia64/stackinfo.h: Likewise.
86504         * sysdeps/s390/stackinfo.h: Likewise.
86505         * sysdeps/sh/stackinfo.h: Likewise.
86506         * sysdeps/sparc/stackinfo.h: Likewise.
86507         * sysdeps/x86_64/stackinfo.h: Likewise.
86508         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86509         PF_X for powerpc64.  Retain PF_X for powerpc32.
86511 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86513         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86514         accurately.
86515         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86516         GETDENTS_64BIT_ALIGNED.
86518 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86520         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86522 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86524         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86525         _GNU_SOURCE.
86527         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86528         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86529         Remove __restrict.
86530         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86531         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86533 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86535         [BZ #11655]
86536         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86537         are initialized.
86539 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86541         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86543 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86545         * po/it.po: Update from translation team.
86547 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86550         unused codes.
86552 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86554         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86556 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86558         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86559         specially.
86560         (gaih_getanswer_slice): Likewise.
86562 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86566 2010-05-31  Petr Baudis  <pasky@suse.cz>
86568         [BZ #11149]
86569         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86570         silently even in the chroot mode.
86572 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86574         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86575         last patch a bit.  Pretty printing
86577 2010-05-31  Petr Baudis <pasky@suse.cz>
86579         [BZ #10085]
86580         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86581         initialization of skip_initgroups_dyn.
86583 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86585         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86586         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86588 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86590         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86592 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86594         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86595         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86596         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86597         ($(objpfx)tst-fnmatch-mem): New rule.
86598         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86599         * posix/tst-fnmatch.c (main): Call mtrace.
86601 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86604         Support Intel processor model 6 and model 0x2c.
86606 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86608         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86609           signed comparison.
86611 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86613         [BZ #12205]
86614         * string/test-strncasecmp.c (check_result): New function.
86615         (do_one_test): Use it.
86616         (check1): New function.
86617         (test_main): Use it.
86618         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86619         Support strcasecmp and strncasecmp.
86621 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86623         [BZ #12194]
86624         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86625         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86627 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86629         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86630         IFUNC support.
86631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86632         memset-x86-64.
86633         * sysdeps/x86_64/multiarch/bzero.S: New file.
86634         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86635         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86636         * sysdeps/x86_64/multiarch/memset.S: New file.
86637         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86639         Set bit_Prefer_SSE_for_memop for Intel processors.
86640         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86641         Define.
86642         (index_Prefer_SSE_for_memop): Define.
86643         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86645 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86647         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86648         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86650 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86652         [BZ #12191]
86653         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86654         (__x86_64_raw_data_cache_size_half): Likewise.
86655         (__x86_64_raw_shared_cache_size): Likewise.
86656         (__x86_64_raw_shared_cache_size_half): Likewise.
86658         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86659         (__x86_64_raw_data_cache_size_half): Likewise.
86660         (__x86_64_raw_shared_cache_size): Likewise.
86661         (__x86_64_raw_shared_cache_size_half): Likewise.
86662         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86663         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86664         and __x86_64_raw_shared_cache_size_half.  Round
86665         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86666         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86667         to multiple of 256 bytes.
86669 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86671         [BZ #12167]
86672         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86673         of inacessible symlinks.  Verify result of symlink before returning it.
86674         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86675         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86677 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86679         * math/math.h (isinf): Fix typo in comment.
86681 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86683         * po/da.po: Update from translation team.
86685 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86687         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86688         is added to the list.
86690 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86691             Ulrich Drepper  <drepper@gmail.com>
86693         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86694         the global list here.  Move code to...
86695         (_dl_add_to_namespace_list): ...here.  New function.
86696         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86697         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86698         * elf/dl-load.c (lose): Don't remove the element from the list.
86699         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86700         (_dl_map_object): Likewise.
86702 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86704         [BZ #12159]
86705         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86706         into all bytes of SSE register.
86707         Patch by Richard Li <richardpku@gmail.com>.
86709 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86711         [BZ #12140]
86712         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86713         perturbing.
86715 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86717         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86718         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86719         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86720         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86722         submachine.
86723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86725 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86727         * include/dlfcn.h (__RTLD_SECURE): Define.
86728         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86729         mode & __RTLD_SECURE instead.
86730         (open_path): Rename preloaded parameter to secure.
86731         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86732         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86733         * elf/dl-deps.c (openaux): Likewise.
86734         * elf/rtld.c (struct map_args): Remove is_preloaded.
86735         (map_doit): Don't use it.
86736         (dl_main): Likewise.
86737         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86738         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86740 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86742         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86743         (sysd-rules-targets): Remove duplicates.
86744         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86745         rtld-%.$o dependency.
86747 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86749         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86750         _dl_map_object do it.
86752 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86754         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86755         fast fma builtins, define the macros in the C99 standard.
86756         (FP_FAST_FMAF): Likewise.
86757         (FP_FAST_FMAL): Likewise.
86758         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86760         * bits/mathdef.h: Update copyright year.
86761         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86763 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86765         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86766         builtins, define the macros in the C99 standard.
86767         (FP_FAST_FMAF): Likewise.
86768         (FP_FAST_FMAL): Likewise.
86769         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86770         multiply/add.
86771         (FP_FAST_FMAF): Likewise.
86773 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86775         [BZ #3268]
86776         * math/libm-test.inc (fma_test): Some new testcases.
86777         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86778         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86779         y and infinite z.  Do multiplication by C already in long double.
86780         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86782         y and infinite z.  Do bitwise or of inexact bit into u.d.
86783         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86784         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86785         * sysdeps/i386/fpu/s_fma.S: Removed.
86786         * sysdeps/i386/fpu/s_fmal.S: Removed.
86788 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86790         [BZ #3268]
86791         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86793         computation is not scheduled after fetestexcept.  Fix value
86794         of minimum denormal long double.
86796 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86798         [BZ #3268]
86799         * math/libm-test.inc (fma_test): Add some more tests.
86800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86801         correctly.
86803 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86805         * scripts/data/localplt-s390-linux-gnu.data: New file.
86806         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86808 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86810         [BZ #3268]
86811         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86812         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86813         instead of dbl-64.
86814         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86815         inlines.
86816         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86818         if one of x and y is very large and the other is subnormal.
86819         * sysdeps/s390/fpu/s_fmaf.c: New file.
86820         * sysdeps/s390/fpu/s_fma.c: New file.
86821         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86822         * sysdeps/powerpc/fpu/s_fma.S: New file.
86823         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86824         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86825         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86827 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86829         [BZ #3268]
86830         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86831         fma tests.
86832         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86833         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86834         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86835         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86836         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86837         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86838         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86840 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86842         [BZ #12078]
86843         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86844         * posix/bug-regex31.input: Add test case.
86846 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86848         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86849         * posix/bug-regex31.input: New file.
86851         [BZ #12078]
86852         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86853         (parse_sub_exp): Fix last change, use postorder.
86855         * posix/bug-regex31.c: New file.
86856         * posix/Makefile: Add rules to build and run bug-regex31.
86858         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86860         [BZ #12078]
86861         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86863         [BZ #12108]
86864         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86865         to have entries in sys_siglist.
86867         [BZ #12093]
86868         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86869         be NULL.
86871 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86873         [BZ #3268]
86874         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86875         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86876         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86877         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86878         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86879         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86880         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86881         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86882         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86883         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86884         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86885         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86886         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86887         * math/ftestexcept.c (fetestexcept): Likewise.
86888         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86889         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86890         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86891         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86892         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86893         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86894         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86896 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86898         [BZ #12107]
86899         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86900         newline.
86902 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86904         * string/bug-strstr1.c: New file.
86905         * string/Makefile: Add rules to build and run bug-strstr1.
86907 2010-10-05  Eric Blake  <eblake@redhat.com>
86909         [BZ #12092]
86910         * string/str-two-way.h (two_way_long_needle): Always clear memory
86911         when skipping input due to the shift table.
86913 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86915         [BZ #12005]
86916         * malloc/mcheck.c: Handle large requests.
86918         [BZ #12077]
86919         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86920         for strncmp and strncasecmp.
86921         * string/stratcliff.c: Add tests for strcmp and strncmp.
86922         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86924 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86926         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86927         __set_fpscr.
86929 2010-09-30  Andreas Jaeger  <aj@suse.de>
86931         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86932         (CGROUP_SUPER_MAGIC): Define.
86933         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86934         Handle btrfs and cgroup file systems.
86935         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86936         Likewise.
86938 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86940         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86941         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86943 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86945         [BZ #12067]
86946         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86947         trying to locate the ELF header.
86949 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86951         [BZ #11611]
86952         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86953         Mask out sign-bit copies when constructing f_fsid.
86955 2010-09-24  Petr Baudis <pasky@suse.cz>
86957         * debug/stack_chk_fail_local.c: Add missing licence exception.
86958         * debug/warning-nop.c: Likewise.
86960 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86962         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86963         implementing getdents64 using getdents syscall, set d_type if
86964         __ASSUME_GETDENTS32_D_TYPE.
86966 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86968         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86969         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86971 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86973         [BZ #12037]
86974         * posix/unistd.h: Undo change of feature selection for ftruncate from
86975         2010-01-11.
86977 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86979         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86980         detection.
86982 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86984         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86985         fanotify_mark.
86986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86988 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86990         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86991         variables after CHECK_SP call.
86992         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86994 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86995             Ulrich Drepper  <drepper@redhat.com>
86997         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86998         re-relocationg ld.so.
86999         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
87000         _dl_init_paths call.
87001         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
87002         here anymore.
87004 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
87006         * resolv/res_init.c (__res_vinit): Count the default server we added.
87008 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87009             Ulrich Drepper  <drepper@redhat.com>
87011         [BZ #11968]
87012         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87013         (____longjmp_chk): Use %ebx for saving value across system call.
87014         Add unwind info.
87016 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87018         * manual/Makefile: Don't mix pattern rules with normal rules.
87020 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87022         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87023         operation.
87024         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87025         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87026         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87027         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87028         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87029         Likewise.
87031 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87033         [BZ #11979]
87034         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87035         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87037 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87039         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87040         * sysdeps/x86_64/addmul_1.S: Likewise.
87041         * sysdeps/x86_64/lshift.S: Likewise.
87042         * sysdeps/x86_64/mul_1.S: Likewise.
87043         * sysdeps/x86_64/rshift.S: Likewise.
87044         * sysdeps/x86_64/sub_n.S: Likewise.
87045         * sysdeps/x86_64/submul_1.S: Likewise.
87047 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87049         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87050         Define __sched_param instead of SCHED_* and sched_param when
87051         <bits/sched.h> is included with __need_schedparam defined.
87052         * bits/sched.h [__need_schedparam]
87053         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87054         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87055         (__defined_schedparam): Define to 1.
87056         (__sched_param): New structure, identical to sched_param.
87057         (__need_schedparam): Undefine.
87059 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87061         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87062         (epoll_create1): Declare.
87064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87066 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87068         [BZ #7066]
87069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87070         shifting retval into place.
87072 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87074         * nis/rpcsvc/nis.h: Update copyright notice.
87075         * nis/rpcsvc/nis.x: Likewise.
87076         * nis/rpcsvc/nis_callback.h: Likewise.
87077         * nis/rpcsvc/nis_callback.x: Likewise.
87078         * nis/rpcsvc/nis_object.x: Likewise.
87079         * nis/rpcsvc/nis_tags.h: Likewise.
87080         * nis/rpcsvc/yp.h: Likewise.
87081         * nis/rpcsvc/yp.x: Likewise.
87082         * nis/rpcsvc/ypupd.h: Likewise.
87083         * nis/yp_xdr.c: Likewise.
87084         * nis/ypupdate_xdr.c: Likewise.
87086         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87087         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87088         (pmap_getport): Use __libc_rpc_getport.
87089         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87090         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87091         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87093 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87096         fanotify_mark.
87098 2010-08-27  Roland McGrath  <roland@redhat.com>
87100         * sysdeps/i386/i686/multiarch/Makefile
87101         (CFLAGS-varshift.c): New variable.
87103 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87105         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87106         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87108         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87110         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87112 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87114         * sysdeps/x86_64/strlen.S: Unroll the loop.
87115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87116         strlen-sse2 strlen-sse2-bsf.
87117         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87118         __strlen_no_bsf if bit_Slow_BSF is set.
87119         (__strlen_sse42): Removed.
87120         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87121         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87123 2010-08-25  Roland McGrath  <roland@redhat.com>
87125         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87126         * sysdeps/x86_64/multiarch/varshift.c: New file.
87127         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87128         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87129         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87130         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87132 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87134         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87135         strlen-sse2 strlen-sse2-bsf.
87136         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87137         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87138         (__strlen_sse2): Removed.
87139         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87142         bit_Slow_BSF for Atom.
87143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87144         (index_Slow_BSF): Define.
87145         (HAS_SLOW_BSF): Define.
87147 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87149         [BZ #10851]
87150         * resolv/res_init.c (__res_vinit): When no server address at all
87151         is given default to loopback.
87153 2010-08-24  Roland McGrath  <roland@redhat.com>
87155         * configure.in: Remove config-name.h generation.
87156         * configure: Regenerated.
87157         * config-name.in: File removed.
87158         * scripts/config-uname.sh: New file.
87159         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87160         ($(objdir)config-name.h): New target.
87162         * sunrpc/rpc_parse.h: Avoid nested comment.
87164 2010-08-24  Richard Henderson  <rth@redhat.com>
87165             Ulrich Drepper  <drepper@redhat.com>
87166             H.J. Lu  <hongjiu.lu@intel.com>
87168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87170         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87171         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87172         _mm_alignr_epi8 with _mm_loadu_si128.
87173         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87174         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87175         (__m128i_shift_right): Removed.
87176         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87177         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87178         * sysdeps/x86_64/multiarch/varshift.h: New file.
87179         * sysdeps/x86_64/multiarch/varshift.S: New file.
87181 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87183         * configure.in: Move assembler checks to before sysdep dir checking.
87185 2010-08-20  Petr Baudis  <pasky@suse.cz>
87187         * LICENSES: Sync the sunrpc license.
87189 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87191         * sunrpc/auth_des.c: Update copyright notice once again.
87192         * sunrpc/auth_none.c: Likewise.
87193         * sunrpc/auth_unix.c: Likewise.
87194         * sunrpc/authdes_prot.c: Likewise.
87195         * sunrpc/authuxprot.c: Likewise.
87196         * sunrpc/bindrsvprt.c: Likewise.
87197         * sunrpc/clnt_gen.c: Likewise.
87198         * sunrpc/clnt_perr.c: Likewise.
87199         * sunrpc/clnt_raw.c: Likewise.
87200         * sunrpc/clnt_simp.c: Likewise.
87201         * sunrpc/clnt_tcp.c: Likewise.
87202         * sunrpc/clnt_udp.c: Likewise.
87203         * sunrpc/clnt_unix.c: Likewise.
87204         * sunrpc/des_crypt.c: Likewise.
87205         * sunrpc/des_soft.c: Likewise.
87206         * sunrpc/get_myaddr.c: Likewise.
87207         * sunrpc/getrpcport.c: Likewise.
87208         * sunrpc/key_call.c: Likewise.
87209         * sunrpc/key_prot.c: Likewise.
87210         * sunrpc/openchild.c: Likewise.
87211         * sunrpc/pm_getmaps.c: Likewise.
87212         * sunrpc/pm_getport.c: Likewise.
87213         * sunrpc/pmap_clnt.c: Likewise.
87214         * sunrpc/pmap_prot.c: Likewise.
87215         * sunrpc/pmap_prot2.c: Likewise.
87216         * sunrpc/pmap_rmt.c: Likewise.
87217         * sunrpc/rpc/auth.h: Likewise.
87218         * sunrpc/rpc/auth_unix.h: Likewise.
87219         * sunrpc/rpc/clnt.h: Likewise.
87220         * sunrpc/rpc/des_crypt.h: Likewise.
87221         * sunrpc/rpc/key_prot.h: Likewise.
87222         * sunrpc/rpc/netdb.h: Likewise.
87223         * sunrpc/rpc/pmap_clnt.h: Likewise.
87224         * sunrpc/rpc/pmap_prot.h: Likewise.
87225         * sunrpc/rpc/pmap_rmt.h: Likewise.
87226         * sunrpc/rpc/rpc.h: Likewise.
87227         * sunrpc/rpc/rpc_des.h: Likewise.
87228         * sunrpc/rpc/rpc_msg.h: Likewise.
87229         * sunrpc/rpc/svc.h: Likewise.
87230         * sunrpc/rpc/svc_auth.h: Likewise.
87231         * sunrpc/rpc/types.h: Likewise.
87232         * sunrpc/rpc/xdr.h: Likewise.
87233         * sunrpc/rpc_clntout.c: Likewise.
87234         * sunrpc/rpc_cmsg.c: Likewise.
87235         * sunrpc/rpc_common.c: Likewise.
87236         * sunrpc/rpc_cout.c: Likewise.
87237         * sunrpc/rpc_dtable.c: Likewise.
87238         * sunrpc/rpc_hout.c: Likewise.
87239         * sunrpc/rpc_main.c: Likewise.
87240         * sunrpc/rpc_parse.c: Likewise.
87241         * sunrpc/rpc_parse.h: Likewise.
87242         * sunrpc/rpc_prot.c: Likewise.
87243         * sunrpc/rpc_sample.c: Likewise.
87244         * sunrpc/rpc_scan.c: Likewise.
87245         * sunrpc/rpc_scan.h: Likewise.
87246         * sunrpc/rpc_svcout.c: Likewise.
87247         * sunrpc/rpc_tblout.c: Likewise.
87248         * sunrpc/rpc_util.c: Likewise.
87249         * sunrpc/rpc_util.h: Likewise.
87250         * sunrpc/rpcinfo.c: Likewise.
87251         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87252         * sunrpc/rpcsvc/key_prot.x: Likewise.
87253         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87254         * sunrpc/rpcsvc/mount.x: Likewise.
87255         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87256         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87257         * sunrpc/rpcsvc/rex.x: Likewise.
87258         * sunrpc/rpcsvc/rstat.x: Likewise.
87259         * sunrpc/rpcsvc/rusers.x: Likewise.
87260         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87261         * sunrpc/rpcsvc/spray.x: Likewise.
87262         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87263         * sunrpc/rtime.c: Likewise.
87264         * sunrpc/svc.c: Likewise.
87265         * sunrpc/svc_auth.c: Likewise.
87266         * sunrpc/svc_authux.c: Likewise.
87267         * sunrpc/svc_raw.c: Likewise.
87268         * sunrpc/svc_run.c: Likewise.
87269         * sunrpc/svc_simple.c: Likewise.
87270         * sunrpc/svc_tcp.c: Likewise.
87271         * sunrpc/svc_udp.c: Likewise.
87272         * sunrpc/svc_unix.c: Likewise.
87273         * sunrpc/svcauth_des.c: Likewise.
87274         * sunrpc/xcrypt.c: Likewise.
87275         * sunrpc/xdr.c: Likewise.
87276         * sunrpc/xdr_array.c: Likewise.
87277         * sunrpc/xdr_float.c: Likewise.
87278         * sunrpc/xdr_mem.c: Likewise.
87279         * sunrpc/xdr_rec.c: Likewise.
87280         * sunrpc/xdr_ref.c: Likewise.
87281         * sunrpc/xdr_sizeof.c: Likewise.
87282         * sunrpc/xdr_stdio.c: Likewise.
87284         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87285         handling.
87287 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87289         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87291 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87293         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87294         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87295         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87296         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87297         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87298         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87300         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87301         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87302         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87303         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87304         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87305         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87306         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87308 2010-07-26  Anton Blanchard  <anton@samba.org>
87310         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87311         * malloc/arena.c (heap_trim): Likewise.
87313 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87315         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87316         here.  Not...
87317         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87318         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87320 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87322         * sysdeps/i386/elf/Makefile: New file.
87324 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87326         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87327         from fanotify_init.
87328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87331 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87333         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87334         of strncasecmp_l.
87335         * sysdeps/multiarch/strcmp.S: Likewise.
87337 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87339         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87340         strncase_l-nonascii.
87341         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87342         Add strncase_l-ssse3.
87343         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87344         * sysdeps/x86_64/strcmp.S: Likewise.
87345         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
87346         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
87347         * sysdeps/x86_64/strncase.S: New file.
87348         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
87349         * sysdeps/x86_64/strncase_l.S: New file.
87350         * string/Makefile (strop-tests): Add strncasecmp.
87351         * string/test-strncasecmp.c: New file.
87353         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
87354         warning.
87356         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
87357         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
87359 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87361         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
87363 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
87365         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
87366         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
87367         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
87369 2010-05-01  Alan Modra  <amodra@gmail.com>
87371         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
87372         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
87373         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
87374         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
87375         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
87376         tidying.  Don't tail-call __sigjmp_save for static lib.
87377         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
87378         save location.
87379         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
87380         (CALL_MCOUNT): Add eh info, and nop after bl.
87381         (TAIL_CALL_SYSCALL_ERROR): New macro.
87382         (PSEUDO_RET): Use it.
87383         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
87384         Correct save location of integer regs and cr.
87385         (_dl_profile_resolve): Correct cr save location.  Delete nops
87386         after bl when SHARED.  Reduce cfi size a little by better
87387         placement of cfi directives.
87388         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
87389         make a stack frame.  Instead use parm save area as a temp.
87390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
87391         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
87392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
87393         Don't make a stack frame for parent, use parm save area.
87394         Increase child stack frame to 112 bytes.  Don't save unused reg,
87395         and adjust reg usage.  Set up cfi on error recovery and
87396         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
87397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
87398         (__makecontext): Add dummy nop after jump to exit.
87399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
87400         Use correct parm save area and cr save, reduce stack frame.
87401         Correct cfi for possible PSEUDO_RET frame setup.
87402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
87403         Branch to local label emitted by PSEUDO_RET rather than
87404         __syscall_error.
87406 2010-08-12  Andreas Schwab  <schwab@redhat.com>
87408         [BZ #11904]
87409         * locale/programs/locale.c (print_assignment): New function.
87410         (show_locale_vars): Use it.
87412 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
87414         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
87415         field.
87416         (struct statfs64): Likewise.
87417         (_STATFS_F_FLAGS): Define.
87418         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
87419         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87420         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
87421         (ST_VALID): Define locally.
87422         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87423         __statvfs_getflags, use the provided value.
87424         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87425         __ASSUME_STATFS_F_FLAGS.
87427         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87429         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87430         Add sys/fanotify.h.
87431         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87432         fanotify_mask for GLIBC_2.13.
87433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87434         fanotify_init and fanotify_mark.
87435         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87436         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87438         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87439         Add prlimit.
87440         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87441         prlimit64 for GLIBC_2.13.
87442         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87443         prlimit64.
87444         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87445         syscall.
87446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87447         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87448         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87449         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87451         add prlimit alias.
87452         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87454         [BZ #11903]
87455         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87456         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87458         * nss/Makefile: Add rules to build and run tst-nss-test1.
87459         * shlib-versions: Add entry for libnss_test1.
87460         * nss/nss_test1.c: New file.
87461         * nss/tst-nss-test1.c: New file.
87463         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87464         (__nss_configure_lookup): Set appropriate entry in
87465         __nss_configure_lookup to true.
87466         * nss/nsswitch.h: Define enum with indeces of databases in
87467         databases and __nss_database_custom arrays.  Declare
87468         __nss_database_custom.
87469         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87470         to avoid using nscd when custom rules are installed.
87471         * nss/getXXbyYY_r.c: Likewise.
87472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87474         * nss/nss_files/files-parse.c: Whitespace fixes.
87476 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87478         [BZ #11883]
87479         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87480         * posix/fnmatch_loop.c: Likewise.
87482 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87484         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87485         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87486         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87487         * Versions.def [GLIBC_2.13]: Add.
87489 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87491         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87492         Also fail if tpwd after pwuid call is NULL.
87494 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87496         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87497         when converting to ms.
87499 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87501         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87502         EOPNOTSUPP errors with ENOTTY.
87503         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87504         EOPNOTSUPP errors with ENOTTY.
87506 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87508         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87509         Add strcasecmp_l-ssse3.
87510         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87511         strcasecmp.
87512         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87513         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87514         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87516 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87518         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87520         * string/Makefile (strop-tests): Add strcasecmp.
87521         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87522         strcasecmp_l-nonascii.
87523         (gen-as-const-headers): Add locale-defines.sym.
87524         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87525         * sysdeps/x86_64/strcasecmp.S: New file.
87526         * sysdeps/x86_64/strcasecmp_l.S: New file.
87527         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87528         * sysdeps/x86_64/locale-defines.sym: New file.
87529         * string/test-strcasecmp.c: New file.
87531         * string/test-strcasestr.c: Test both ends of the range of characters.
87532         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87534 2010-07-29  Roland McGrath  <roland@redhat.com>
87536         [BZ #11856]
87537         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87539 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87541         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87542         for ld.so.
87544 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87546         * manual/memory.texi (Malloc Tunable Parameters): Document
87547         M_PERTURB.
87549 2010-07-26  Roland McGrath  <roland@redhat.com>
87551         [BZ #11840]
87552         * configure.in (-fgnu89-inline check): Set and substitute
87553         gnu89_inline, not libc_cv_gnu89_inline.
87554         * configure: Regenerated.
87555         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87557 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87559         * string/test-strnlen.c: New file.
87560         * string/Makefile (strop-tests): Add strnlen.
87561         * string/tester.c (test_strnlen): Add a few more test cases.
87562         * string/tst-strlen.c: Better error reporting.
87564         * sysdeps/x86_64/strnlen.S: New file.
87566 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87568         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87569         lower-latency instructions.
87571 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87573         * string/test-strcasestr.c: New file.
87574         * string/test-strstr.c: New file.
87575         * string/Makefile (strop-tests): Add strstr and strcasestr.
87576         * string/str-two-way.h: Don't undefine MAX.
87577         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87579 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87582         strcasestr-nonascii.
87583         (CFLAGS-strcasestr-nonascii.c): Define.
87584         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87585         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87586         Remove unused attribute.
87588 2010-07-20  Roland McGrath  <roland@redhat.com>
87590         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87591         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87592         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87593         like LD_HWCAP_MASK can disable hwcaps.
87595 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87597         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87599 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87601         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87602         call in strcasestr.
87603         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87604         __strcasestr_sse42_nonascii.
87605         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87606         strcasestr-nonascii.c.
87607         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87609 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87611         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87612         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87613         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87614         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87616 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87618         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87619         fcntl.
87621 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87623         [BZ #11577]
87624         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87625         dl_signal_cerror.
87627 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87629         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87630         _PC_PIPE_BUF using F_GETPIPE_SZ.
87632 2010-07-05  Roland McGrath  <roland@redhat.com>
87634         * manual/arith.texi (Rounding Functions): Fix rint description
87635         implicit in round description.
87637 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87639         * elf/Makefile: Fix linking for a few tests to make recent linker
87640         happy.
87642 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87644         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87645         $(common-objpfx)libc_nonshared.a.
87647 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87649         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87650         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87651         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87652         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87653         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87654         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87655         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87656         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87671         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87672         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87673         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87674         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87675         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87676         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87677         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87678         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87679         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87680         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87681         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87682         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87698 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87700         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87701         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87702         * string/memmove.c (memmove): Renamed to ...
87703         (MEMMOVE): ...this.  Default to memmove.
87704         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87705         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87706         (END_CHK): Define.
87707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87708         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87709         mempcpy-ssse3-back memmove-ssse3-back.
87710         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87712         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87713         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87714         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87715         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87716         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87717         * sysdeps/x86_64/multiarch/memmove.c: New file.
87718         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87719         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87720         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87721         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87722         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87723         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87724         Define.
87725         (index_Fast_Copy_Backward): Define.
87726         (HAS_ARCH_FEATURE): Define.
87727         (HAS_FAST_REP_STRING): Define.
87728         (HAS_FAST_COPY_BACKWARD): Define.
87730 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87732         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87733         Restore proper fallback handling.
87735 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87737         [BZ #11701]
87738         * posix/group_member.c (__group_member): Correct checking loop.
87740         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87741         OOM in getpwuid_r correctly.  Return error number when the caller
87742         should return, otherwise -1.
87743         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87744         call returning > 0 value.
87745         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87747 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87749         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87750         libc_nonshared.a from targets in modules-names.
87752 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87754         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87755         requires it.
87757 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87759         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87760         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87761         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87764 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87766         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87768 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87770         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87771         and F_GETPIPE_SZ.
87772         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87773         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87775         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87776         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87779 2010-06-14  Roland McGrath  <roland@redhat.com>
87781         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87783 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87785         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87786         __REDIRECT followed by __THROW.
87787         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87788         * posix/getopt.h (getopt): Likewise.
87790 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87792         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87793         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87794         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87795         in AT_FLAGS.
87796         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87797         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87799 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87803 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87805         [BZ #11640]
87806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87807         Properly check family and model.
87809 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87811         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87813 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87815         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87817 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87819         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87820         symbol reference.
87822 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87824         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87825         symbol reference.
87827 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87829         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87830         and internal_recvmmsg.
87831         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87832         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87833         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87834         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87836         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87837         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87838         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87840 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87842         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87844 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87846         POWER7 optimizations.
87847         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87848         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87850 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87852         * version.h: Update for 2.13 development version.
87854 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87856         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87857         exceptions.  Return 0.
87859 2010-05-07  Roland McGrath  <roland@redhat.com>
87861         * elf/ldconfig.c (main): Add a const.
87863 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87865         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87866         (args_options): Add no-idn option.
87867         (ahosts_keys_int): Add idn_flags to ai_flags.
87868         (parse_option): Handle 'i' option to clear idn_flags.
87870         * malloc/malloc.c (_int_free): Possible race in the most recently
87871         added check.  Only act on the data if no current modification
87872         happened.
87874 See ChangeLog.17 for earlier changes.