Add new templates for IEEE wrappers
[glibc.git] / ChangeLog
blobf1bf7ca6a47b97e805f88b94b0590350ba55766f
1 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4         * math/Makefile: Add wrappers to gen-libm-calls.
5         * math/w_acos_template.c: New file.
6         * math/w_acosh_template.c: Likewise.
7         * math/w_asin_template.c: Likewise.
8         * math/w_atan2_template.c: Likewise.
9         * math/w_atanh_template.c: Likewise.
10         * math/w_cosh_template.c: Likewise.
11         * math/w_exp10_template.c: Likewise.
12         * math/w_exp2_template.c: Likewise.
13         * math/w_exp_template.c: Likewise.
14         * math/w_fmod_template.c: Likewise.
15         * math/w_hypot_template.c: Likewise.
16         * math/w_j0_template.c: Likewise.
17         * math/w_j1_template.c: Likewise.
18         * math/w_jn_template.c: Likewise.
19         * math/w_lgamma_r_template.c: Likewise.
20         * math/w_lgamma_template.c: Likewise.
21         * math/w_log10_template.c: Likewise.
22         * math/w_log2_template.c: Likewise.
23         * math/w_log_template.c: Likewise.
24         * math/w_pow_template.c: Likewise.
25         * math/w_remainder_template.c: Likewise.
26         * math/w_sinh_template.c: Likewise.
27         * math/w_sqrt_template.c: Likewise.
28         * math/w_tgamma_template.c: Likewise.: Likewise.
29         * sysdeps/generic/math-type-macros-double.h
30         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
31         the new wrappers.
32         * sysdeps/generic/math-type-macros-float.h: Likewise.
33         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
35 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
37         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
38         New enum constant and macro.
40         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
41         kernel version to 4.10.
43 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
45         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
47 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
53         * sysdeps/powerpc/tst-set_ppr.c: New file.
54         Implement test cases for __ppc_set_ppr_* functions.
55         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
56         in the list of tests.
58 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
60         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
61         instead of test-skeleton.c.
62         (do_test): Replaced pthread_create and pthread_join with
63         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
64         Removed unneeded status variable.
65         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
66         instead of test-skeleton.c.
67         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
69 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
71         [BZ #20313]
72         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
73         201605L, for Unicode 9.
75 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
77         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
78         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
82         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
84 2017-02-19  Zack Weinberg  <zackw@panix.com>
86         * rt/tst-mqueue4.c: Include stdint.h.
88 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/arm/libm-test-ulps: Update.
91         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
92         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
93         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
95 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
97         [BZ #21029]
98         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
99         * sysdeps/unix/sysv/linux/i386/Makefile
100         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
101         (uses-6-syscall-arguments): Remove.
102         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
103         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
104         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
105         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
106         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
107         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
108         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
109         [$(subdir) = misc] (cflags-pselect.o): Likewise.
110         [$(subdir) = misc] (cflags-pselect.os): Likewise.
111         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
112         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
113         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
114         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
115         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
116         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
117         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
118         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
119         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
120         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
121         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
122         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
123         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
124         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
125         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
126         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
127         Likewise.
128         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
129         Likewise.
130         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
131         Likewise.
132         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
133         Likewise.
134         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
135         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
136         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
137         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
138         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
139         ebp on inline assembly.
140         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
141         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
142         Set if CAN_USE_REGISTER_ASM_EBP is set.
144 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
146         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
147         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
149 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
151         * math/auto-libm-test-in: Add tests of catan and catanh.
152         * math/auto-libm-test-out-catan: New generated file.
153         * math/auto-libm-test-out-catanh: Likewise.
154         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
155         Move tests with finite inputs, except divide-by-zero cases, to
156         auto-libm-test-in.
157         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
158         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
159         (libm-test-funcs-noauto): Remove catan and catanh.
160         * sysdeps/i386/fpu/libm-test-ulps: Update.
161         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
164         * math/auto-libm-test-in: Add tests of casin and casinh.
165         * math/auto-libm-test-out-casin: New generated file.
166         * math/auto-libm-test-out-casinh: Likewise.
167         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
168         Move tests with finite inputs to auto-libm-test-in.
169         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
170         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
171         (libm-test-funcs-noauto): Remove casin and casinh.
172         * sysdeps/i386/fpu/libm-test-ulps: Update.
173         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
176         * math/auto-libm-test-in: Add tests of cacos and cacosh.
177         * math/auto-libm-test-out-cacos: New generated file.
178         * math/auto-libm-test-out-cacosh: Likewise.
179         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
180         Move tests with finite inputs to auto-libm-test-in.
181         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
182         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
183         (libm-test-funcs-noauto): Remove cacos and cacosh.
184         * sysdeps/i386/fpu/libm-test-ulps: Update.
185         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
188         Revert:
189         2017-02-16  Zack Weinberg  <zackw@panix.com>
191         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
192         Don't include init-arch.h.
193         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
194         Don't include init-arch.h.
196 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
198         [BZ #21171]
199         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
200         +Inf and raise divide-by-zero when x is negative.
201         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
202         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
203         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
204         -Inf and raise divide-by-zero when x = +-0.
205         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
206         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
207         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
208         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
209         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
210         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
211         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
213 2017-02-16  Zack Weinberg  <zackw@panix.com>
215         * scripts/build-many-glibcs.py (bot_build_mail): If the
216         bot_config does not contain all of the necessary email-
217         related settings, just print a warning and continue.
219 2017-02-16  Zack Weinberg  <zackw@panix.com>
221         * crypt/md5.h: Test _LIBC with #if defined, not #if.
222         * dirent/opendir-tst1.c: Include sys/stat.h.
223         * dirent/tst-fdopendir.c: Include sys/stat.h.
224         * dirent/tst-fdopendir2.c: Include stdlib.h.
225         * dirent/tst-scandir.c: Include stdbool.h.
226         * elf/tst-auditmod1.c: Include link.h and stddef.h.
227         * elf/tst-tls15.c: Include stdlib.h.
228         * elf/tst-tls16.c: Include stdlib.h.
229         * elf/tst-tls17.c: Include stdlib.h.
230         * elf/tst-tls18.c: Include stdlib.h.
231         * iconv/tst-iconv6.c: Include endian.h.
232         * iconvdata/bug-iconv11.c: Include limits.h.
233         * io/test-utime.c: Include stdint.h.
234         * io/tst-faccessat.c: Include sys/stat.h.
235         * io/tst-fchmodat.c: Include sys/stat.h.
236         * io/tst-fchownat.c: Include sys/stat.h.
237         * io/tst-fstatat.c: Include sys/stat.h.
238         * io/tst-futimesat.c: Include sys/stat.h.
239         * io/tst-linkat.c: Include sys/stat.h.
240         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
241         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
242         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
243         * io/tst-openat.c: Include stdbool.h.
244         * io/tst-readlinkat.c: Include sys/stat.h.
245         * io/tst-renameat.c: Include sys/stat.h.
246         * io/tst-symlinkat.c: Include sys/stat.h.
247         * io/tst-unlinkat.c: Include stdbool.h.
248         * libio/bug-memstream1.c: Include stdlib.h.
249         * libio/bug-wmemstream1.c: Include stdlib.h.
250         * libio/tst-fwrite-error.c: Include stdlib.h.
251         * libio/tst-memstream1.c: Include stdlib.h.
252         * libio/tst-memstream2.c: Include stdlib.h.
253         * libio/tst-memstream3.c: Include stdlib.h.
254         * malloc/tst-interpose-aux.c: Include stdint.h.
255         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
256         * nptl/tst-basic7.c: Include limits.h.
257         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
258         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
259         * nptl/tst-cancel4_1.c: Include stddef.h.
260         * nptl/tst-cancel4_2.c: Include stddef.h.
261         * nptl/tst-cond16.c: Include limits.h.
262         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
263         * nptl/tst-cond18.c: Include limits.h.
264         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
265         * nptl/tst-cond4.c: Include stdint.h.
266         * nptl/tst-cond6.c: Include stdint.h.
267         * nptl/tst-stack2.c: Include limits.h.
268         * nptl/tst-stackguard1.c: Include stddef.h.
269         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
270         * nptl/tst-tls4moda.c: Include stddef.h.
271         Don't include stdio.h, unistd.h, or tls.h.
272         * nptl/tst-tls4modb.c: Include stddef.h.
273         Don't include stdio.h, unistd.h, or tls.h.
274         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
275         * posix/tst-getaddrinfo2.c: Include stdio.h.
276         * posix/tst-getaddrinfo5.c: Include stdio.h.
277         * posix/tst-pathconf.c: Include sys/stat.h.
278         * posix/tst-posix_fadvise-common.c: Include stdint.h.
279         * posix/tst-preadwrite-common.c: Include sys/stat.h.
280         * posix/tst-regex.c: Include stdint.h.
281         Don't include spawn.h or spawn_int.h.
282         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
283         * posix/tst-vfork3.c: Include sys/stat.h.
284         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
285         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
286         * resolv/tst-resolv-search.c: Include stdlib.h.
287         * stdio-common/tst-fmemopen2.c: Include stdint.h.
288         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
289         * stdlib/test-canon.c: Include sys/stat.h.
290         * stdlib/tst-tls-atexit.c: Include stdbool.h.
291         * string/test-memchr.c: Include stdint.h.
292         * string/tst-cmp.c: Include stdint.h.
293         * sysdeps/pthread/tst-timer.c: Include stdint.h.
294         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
295         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
296         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
297         Don't include init-arch.h.
298         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
299         Don't include init-arch.h.
300         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
301         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
302         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
303         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
304         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
305         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
306         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
307         * time/clocktest.c: Include stdint.h.
308         * time/tst-posixtz.c: Include stdint.h.
309         * timezone/tst-timezone.c: Include stdint.h.
311 2017-02-16  Zack Weinberg  <zackw@panix.com>
313         * string/string.h [__USE_MISC]: Include strings.h.
314         (__bzero, bcmp, bcopy, bzero, index, rindex)
315         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
316         (ffs, ffsl, ffsll): Don't declare.
317         * string/strings.h: Do not suppress the file if string.h has
318         already been included.
319         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
320         annotations.
321         (index, rindex): Define inline forwarders even if
322         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
323         (ffs): Use __attribute_const__.
324         (ffsl, ffsll): Declare here.
325         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
326         have now been standardized.
327         * include/string.h (__bzero): Declare here.
329         * bits/types.h: Move to posix/bits.
330         * include/bits/types.h: New wrapper.
332 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
334         * string/bits/string2.h (strcmp): Remove define.
335         (__strcmp_cg): Likewise.
336         (strncmp): Likewise.
338 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
340         * include/string.h: Add __cplusplus check.
342 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
344         [BZ #21134]
345         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
346         "divide by zero" exception when the input is zero.
347         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
348         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
349         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
350         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
351         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
353 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
355         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
356         and include ...
357         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
358         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
359         to, and include ...
360         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
361         file.
362         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
363         and include ...
364         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
365         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
366         and include ...
367         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
368         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
369         and include ...
370         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
371         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
372         and include ...
373         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
374         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
375         to, and include ...
376         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
377         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
378         and include ...
379         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
381 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
383         * math/libm-test-support.h: Do not include <math-tests-arch.h>
384         here.
385         * math/libm-test-support.c (libm_test_init): Do not call
386         INIT_ARCH_EXT here.
387         * math/libm-test-driver.c: Include <math-tests-arch.h>.
388         (main): Call INIT_ARCH_EXT.
390 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
392         [BZ #21130]
393         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
394         with the "invalid" exception raised when x is -Inf.
395         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
397 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
399         * string/bits/string2.h (strchr): Remove define.
401 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
403         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
404         tst-avx512.
405         (test-extras): Add tst-avx-aux and tst-avx512-aux.
406         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
407         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
408         ($(objpfx)tst-sse): New rule.
409         ($(objpfx)tst-avx): Likewise.
410         ($(objpfx)tst-avx512): Likewise.
411         (CFLAGS-tst-avx-aux.c): New.
412         (CFLAGS-tst-avxmod.c): Likewise.
413         (CFLAGS-tst-avx512-aux.c): Likewise.
414         (CFLAGS-tst-avx512mod.c): Likewise.
415         * sysdeps/x86_64/tst-avx-aux.c: New file.
416         * sysdeps/x86_64/tst-avx.c: Likewise.
417         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
418         * sysdeps/x86_64/tst-avx512.c: Likewise.
419         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
420         * sysdeps/x86_64/tst-avxmod.c: Likewise.
421         * sysdeps/x86_64/tst-sse.c: Likewise.
422         * sysdeps/x86_64/tst-ssemod.c: Likewise.
424 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
426         * math/auto-libm-test-in: Add more tests of csin and csinh.
427         * math/auto-libm-test-out-csin: Regenerated.
428         * math/auto-libm-test-out-csinh: Likewise.
429         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
430         auto-libm-test-in.
431         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
433 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
435         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
436         libm-compat-calls-auto.
437         (libm-compat-calls): Likewise.
438         (libm-compat-calls-auto): Rename to libm-compat-calls and add
439         w_lgamma_compatF and k_standardF (merged from the items above).
440         (libm-routines): Use libm-compat-calls, instead of
441         libm-compat-calls-auto, with type-foreach.
443 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
445         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
446         macro.
447         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
448         (CFLAGS-test-ifloat.c): ... this.  Remove
449         -U__LIBC_INTERNAL_MATH_INLINES.
450         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
451         (CFLAGS-test-idouble.c): ... this.  Remove
452         -U__LIBC_INTERNAL_MATH_INLINES.
453         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
454         (CFLAGS-test-ildouble.c): ... this.  Remove
455         -U__LIBC_INTERNAL_MATH_INLINES.
457 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
459         * math/libm-test-support.c: New file.  Content from
460         math/libm-test-driver.c.
461         * math/libm-test-support.h: Likewise.
462         * math/libm-test-support-double.c: New file.
463         * math/libm-test-support-float.c: Likewise.
464         * math/libm-test-support-ldouble.c: Likewise.
465         * math/libm-test-driver.c: Remove main comment and header
466         includes.  Include libm-test-support.h.
467         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
468         (flag_test_errno): Remove static.
469         (flag_test_exceptions): Likewise.
470         (flag_test_finite): Likewise.
471         (flag_test_inline): Likewise.
472         (flag_test_mathvec): Likewise.
473         (test_msg): Likewise.
474         (NO_EXCEPTION): Remove.
475         (INVALID_EXCEPTION): Likewise.
476         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
477         (OVERFLOW_EXCEPTION): Likewise.
478         (UNDERFLOW_EXCEPTION): Likewise.
479         (INEXACT_EXCEPTION): Likewise.
480         (INVALID_EXCEPTION_OK): Likewise.
481         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
482         (OVERFLOW_EXCEPTION_OK): Likewise.
483         (UNDERFLOW_EXCEPTION_OK): Likewise.
484         (NO_INEXACT_EXCEPTION): Likewise.
485         (EXCEPTIONS_OK): Likewise.
486         (IGNORE_ZERO_INF_SIGN): Likewise.
487         (TEST_NAN_SIGN): Likewise.
488         (TEST_NAN_PAYLOAD): Likewise.
489         (NO_TEST_INLINE): Likewise.
490         (XFAIL_TEST): Likewise.
491         (ERRNO_UNCHANGED): Likewise.
492         (ERRNO_EDOM): Likewise.
493         (ERRNO_ERANGE): Likewise.
494         (IGNORE_RESULT): Likewise.
495         (NON_FINITE): Likewise.
496         (TEST_SNAN): Likewise.
497         (NO_TEST_MATHVEC): Likewise.
498         (__CONCATX): Likewise.
499         (TYPE_MIN): Likewise.
500         (TYPE_TRUE_MIN): Likewise.
501         (TYPE_MAX): Likewise.
502         (MIN_EXP): Likewise.
503         (MAX_EXP): Likewise.
504         (MANT_DIG): Likewise.
505         (FSTR_MAX): Likewise.
506         (ulp_idx): Likewise.
507         (qtype_str): Remove static.
508         (TEST_COND_binary32): Remove.
509         (TEST_COND_binary64): Likewise.
510         (TEST_COND_binary128): Likewise.
511         (TEST_COND_ibm128): Likewise.
512         (TEST_COND_intel96): Likewise.
513         (TEST_COND_m68k96): Likewise.
514         (TEST_COND_ibm128_libgcc): Likewise.
515         (XFAIL_IBM128_LIBGCC): Likewise.
516         (PAYLOAD_DIG): Likewise.
517         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
518         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
519         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
520         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
521         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
522         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
523         (TEST_COND_long32): Likewise.
524         (TEST_COND_long64): Likewise.
525         (TEST_COND_before_rounding): Likewise.
526         (TEST_COND_after_rounding): Likewise.
527         (ulps_file_name): Likewise.
528         (ulps_file): Likewise.
529         (output_ulps): Likewise.
530         (output_dir): Likewise.
531         (noErrors): Likewise.
532         (noTests): Likewise.
533         (noExcTests): Likewise.
534         (noErrnoTests): Likewise.
535         (verbose): Likewise.
536         (output_max_error): Likewise.
537         (output_points): Likewise.
538         (ignore_max_ulp): Likewise.
539         (max_error): Likewise.
540         (real_max_error): Likewise.
541         (imag_max_error): Likewise.
542         (prev_max_error): Likewise.
543         (prev_real_max_error): Likewise.
544         (prev_imag_max_error): Likewise.
545         (max_valid_error): Likewise.
546         (TYPE_DECIMAL_DIG): Likewise.
547         (TYPE_HEX_DIG): Likewise.
548         (fmt_ftostr): Likewise.
549         (compare_ulp_data): Likewise.
550         (find_ulps): Likewise.
551         (init_max_error): Likewise.
552         (set_max_error): Likewise.
553         (print_float): Likewise.
554         (print_screen): Likewise.
555         (print_screen_max_error): Likewise.
556         (update_stats): Likewise.
557         (print_function_ulps): Likewise.
558         (print_complex_function_ulps): Likewise.
559         (fpstack_test): Likewise.
560         (print_max_error): Likewise.
561         (print_complex_max_error): Likewise.
562         (test_single_exception): Likewise.
563         (test_exceptions): Likewise.
564         (test_single_errno): Likewise.
565         (test_errno): Likewise.
566         (ULPDIFF): Likewise.
567         (ulp): Likewise.
568         (check_float_internal): Likewise.
569         (check_float): Likewise.
570         (check_complex): Likewise.
571         (check_int): Likewise.
572         (check_long): Likewise.
573         (check_bool): Likewise.
574         (check_longlong): Likewise.
575         (check_intmax_t): Likewise.
576         (check_uintmax_t): Likewise.
577         (enable_test): Likewise.
578         (matherr): Likewise.
579         (initialize): Likewise.
580         (options): Likewise.
581         (doc): Remove static.
582         (argp): Likewise.
583         (parse_opt): Remove.
584         (check_ulp): Likewise.
585         (libm_test_init): Likewise.
586         (libm_test_finish): Likewise.
587         * math/Makefile (libm-test-support): New variable.
588         (test-extras): Add libm-test-support files.
589         (extra-test-objs): Likewise.
590         (CFLAGS-libm-test-support-float.c): New variable.
591         (CFLAGS-libm-test-support-double.c): Likewise.
592         (CFLAGS-libm-test-support-ldouble.c): Likewise.
593         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
594         libm-test-support objects.
596 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
598         * math/Makefile (libm-calls): Move w_exp...
599         (libm-compat-calls-auto): Here.
601         * math/w_expl.c: Add suffix "_compat" to filename.
602         * sysdeps/ia64/fpu/w_expl.c: Likewise.
603         * sysdeps/ia64/fpu/w_expf.c: Likewise.
604         * sysdeps/ia64/fpu/w_exp.c: Likewise.
605         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
606         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
607         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
608         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
609         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
611         * math/w_expl_compat.c: New file, copied from above.
612         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
613         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
614         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
615         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
616         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
617         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
618         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
619         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
621         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
622         to filename.
623         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
625         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
626         copied from above and adjusted for the new filenames.
627         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
629 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
631         * math/Makefile (libm-calls): Move w_lgammaF...
632         (libm-compat-calls-auto): Here.
634         * math/w_lgamma.c: Add suffix "_compat2" to filename.
635         * math/w_lgammaf.c: Likewise.
636         * math/w_lgammal.c: Likewise.
638         * math/w_lgamma_compat2.c: New file, copied from above.
639         * math/w_lgammaf_compat2.c: Likewise.
640         * math/w_lgammal_compat2.c: Likewise.
642 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
644         * math/Makefile (libm-calls): Move w_lgammaF_r...
645         (libm-compat-calls-auto): Here.
647         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
648         * math/w_lgammaf_r.c: Likewise.
649         * math/w_lgammal_r.c: Likewise.
650         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
651         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
652         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
654         * math/w_lgamma_r_compat.c: New file, copied from above.
655         * math/w_lgammaf_r_compat.c: Likewise.
656         * math/w_lgammal_r_compat.c: Likewise.
657         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
658         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
659         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
661         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
662         to filename.
663         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
665         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
666         copied from above and adjusted for the new filenames.
667         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
669 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
672         calculation in SYSCALL_ERROR_HANDLER().
674 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
676         * manual/contrib.texi: Fix typo.
678 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
680         [BZ #21109]
681         * elf/dl-tunable-types.h (tunable_callback_t): Accept
682         tunable_val_t as argument.
683         * elf/dl-tunables.c (__tunable_set_val): Add comment.
684         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
685         argument.
686         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
688 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
690         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
691         Add PTRACE_EVENT_STOP.
692         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
693         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
695         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
696         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
697         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
699 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
701         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
702         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
703         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
704         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
705         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
706         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
707         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
708         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
709         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
710         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
712         [BZ #21112]
713         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
714         12 bits zero.
715         (cp_l): Update for new value of cp_h.
716         * math/auto-libm-test-in: Add another test of pow.
717         * math/auto-libm-test-out-pow: Regenerated.
719 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
721         * manual/contrib.texi: Fix typo.
723 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
725         [BZ #15998]
726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
727         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
730 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
732         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
733         STRCHR as __strchr_power8.
734         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
735         strlen as __strlen_power8.
737 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
739         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
740         unaligned load for shorter strings.
741         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
743 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
745         * math/libm-test-driver.c (flag_test_errno): New variable.
746         (flag_test_exceptions): Likewise.
747         (flag_test_finite): Likewise.
748         (flag_test_inline): Likewise.
749         (flag_test_mathvec): Likewise.
750         (test_msg): Likewise.
751         (ulp_idx): Likewise.
752         (qtype_str): Likewise.
753         (ULP_IDX): Remove macro.
754         (QTYPE_STR): Likewise.
755         (find_ulps): Use ulp_idx not ULP_IDX.
756         (print_function_ulps): Use qtype_str, printed with %s, not
757         QTYPE_STR, printed with concatentation to format string.
758         (print_complex_function_ulps): Likewise.
759         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
760         (test_errno): Use flag_test_errno not TEST_ERRNO.
761         (enable_test): Use flag_test_inline, flag_test_finite and
762         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
763         TEST_MATHVEC.
764         (libm_test_init): New function.  Factored out of main.
765         (libm_test_finish): Likewise.
766         (main): Call libm_test_init and libm_test_finish and move most
767         code to those functions.
769         * math/libm-test-driver.c (STRX): New macro.
770         (STR): Likewise.
771         (STR_FLOAT): Likewise.
772         (STR_VEC_LEN): Likewise.
773         (TEST_MSG): Likewise.  Define here instead of expecting to be
774         defined by including file.
775         * math/test-double-finite.c (TEST_MSG): Remove macro.
776         * math/test-double-vlen2.h (TEST_MSG): Likewise.
777         * math/test-double-vlen4.h (TEST_MSG): Likewise.
778         * math/test-double-vlen8.h (TEST_MSG): Likewise.
779         * math/test-double.c (TEST_MSG): Likewise.
780         * math/test-float-finite.c (TEST_MSG): Likewise.
781         * math/test-float-vlen16.h (TEST_MSG): Likewise.
782         * math/test-float-vlen4.h (TEST_MSG): Likewise.
783         * math/test-float-vlen8.h (TEST_MSG): Likewise.
784         * math/test-float.c (TEST_MSG): Likewise.
785         * math/test-idouble.c (TEST_MSG): Likewise.
786         * math/test-ifloat.c (TEST_MSG): Likewise.
787         * math/test-ildouble.c (TEST_MSG): Likewise.
788         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
789         * math/test-ldouble.c (TEST_MSG): Likewise.
791         * math/libm-test.inc: Move all tests of individual functions to
792         libm-test-*.inc and #include libm-test-*.c files.
793         (acos_test_data): Remove.
794         (acos_test): Likewise.
795         (acosh_test_data): Likewise.
796         (acosh_test): Likewise.
797         (asin_test_data): Likewise.
798         (asin_test): Likewise.
799         (asinh_test_data): Likewise.
800         (asinh_test): Likewise.
801         (atan_test_data): Likewise.
802         (atan_test): Likewise.
803         (atanh_test_data): Likewise.
804         (atanh_test): Likewise.
805         (atan2_test_data): Likewise.
806         (atan2_test): Likewise.
807         (cabs_test_data): Likewise.
808         (cabs_test): Likewise.
809         (cacos_test_data): Likewise.
810         (cacos_test): Likewise.
811         (cacosh_test_data): Likewise.
812         (cacosh_test): Likewise.
813         (canonicalize_test_data): Likewise.
814         (canonicalize_test): Likewise.
815         (carg_test_data): Likewise.
816         (carg_test): Likewise.
817         (casin_test_data): Likewise.
818         (casin_test): Likewise.
819         (casinh_test_data): Likewise.
820         (casinh_test): Likewise.
821         (catan_test_data): Likewise.
822         (catan_test): Likewise.
823         (catanh_test_data): Likewise.
824         (catanh_test): Likewise.
825         (cbrt_test_data): Likewise.
826         (cbrt_test): Likewise.
827         (ccos_test_data): Likewise.
828         (ccos_test): Likewise.
829         (ccosh_test_data): Likewise.
830         (ccosh_test): Likewise.
831         (ceil_test_data): Likewise.
832         (ceil_test): Likewise.
833         (cexp_test_data): Likewise.
834         (cexp_test): Likewise.
835         (cimag_test_data): Likewise.
836         (cimag_test): Likewise.
837         (clog_test_data): Likewise.
838         (clog_test): Likewise.
839         (clog10_test_data): Likewise.
840         (clog10_test): Likewise.
841         (conj_test_data): Likewise.
842         (conj_test): Likewise.
843         (copysign_test_data): Likewise.
844         (copysign_test): Likewise.
845         (cos_test_data): Likewise.
846         (cos_test): Likewise.
847         (cosh_test_data): Likewise.
848         (cosh_test): Likewise.
849         (cpow_test_data): Likewise.
850         (cpow_test): Likewise.
851         (cproj_test_data): Likewise.
852         (cproj_test): Likewise.
853         (creal_test_data): Likewise.
854         (creal_test): Likewise.
855         (csin_test_data): Likewise.
856         (csin_test): Likewise.
857         (csinh_test_data): Likewise.
858         (csinh_test): Likewise.
859         (csqrt_test_data): Likewise.
860         (csqrt_test): Likewise.
861         (ctan_test_data): Likewise.
862         (ctan_test): Likewise.
863         (ctanh_test_data): Likewise.
864         (ctanh_test): Likewise.
865         (erf_test_data): Likewise.
866         (erf_test): Likewise.
867         (erfc_test_data): Likewise.
868         (erfc_test): Likewise.
869         (exp_test_data): Likewise.
870         (exp_test): Likewise.
871         (exp10_test_data): Likewise.
872         (exp10_test): Likewise.
873         (pow10_test): Likewise.
874         (exp2_test_data): Likewise.
875         (exp2_test): Likewise.
876         (expm1_test_data): Likewise.
877         (expm1_test): Likewise.
878         (fabs_test_data): Likewise.
879         (fabs_test): Likewise.
880         (fdim_test_data): Likewise.
881         (fdim_test): Likewise.
882         (floor_test_data): Likewise.
883         (floor_test): Likewise.
884         (fma_test_data): Likewise.
885         (fma_test): Likewise.
886         (fmax_test_data): Likewise.
887         (fmax_test): Likewise.
888         (fmaxmag_test_data): Likewise.
889         (fmaxmag_test): Likewise.
890         (fmin_test_data): Likewise.
891         (fmin_test): Likewise.
892         (fminmag_test_data): Likewise.
893         (fminmag_test): Likewise.
894         (fmod_test_data): Likewise.
895         (fmod_test): Likewise.
896         (fpclassify_test_data): Likewise.
897         (fpclassify_test): Likewise.
898         (frexp_test_data): Likewise.
899         (frexp_test): Likewise.
900         (fromfp_test_data): Likewise.
901         (fromfp_test): Likewise.
902         (fromfpx_test_data): Likewise.
903         (fromfpx_test): Likewise.
904         (getpayload_test_data): Likewise.
905         (getpayload_test): Likewise.
906         (hypot_test_data): Likewise.
907         (hypot_test): Likewise.
908         (ilogb_test_data): Likewise.
909         (ilogb_test): Likewise.
910         (iscanonical_test_data): Likewise.
911         (iscanonical_test): Likewise.
912         (iseqsig_test_data): Likewise.
913         (iseqsig_test): Likewise.
914         (isfinite_test_data): Likewise.
915         (isfinite_test): Likewise.
916         (finite_test): Likewise.
917         (isgreater_test_data): Likewise.
918         (isgreater_test): Likewise.
919         (isgreaterequal_test_data): Likewise.
920         (isgreaterequal_test): Likewise.
921         (isinf_test_data): Likewise.
922         (isinf_test): Likewise.
923         (isless_test_data): Likewise.
924         (isless_test): Likewise.
925         (islessequal_test_data): Likewise.
926         (islessequal_test): Likewise.
927         (islessgreater_test_data): Likewise.
928         (islessgreater_test): Likewise.
929         (isnan_test_data): Likewise.
930         (isnan_test): Likewise.
931         (isnormal_test_data): Likewise.
932         (isnormal_test): Likewise.
933         (issignaling_test_data): Likewise.
934         (issignaling_test): Likewise.
935         (issubnormal_test_data): Likewise.
936         (issubnormal_test): Likewise.
937         (isunordered_test_data): Likewise.
938         (isunordered_test): Likewise.
939         (iszero_test_data): Likewise.
940         (iszero_test): Likewise.
941         (j0_test_data): Likewise.
942         (j0_test): Likewise.
943         (j1_test_data): Likewise.
944         (j1_test): Likewise.
945         (jn_test_data): Likewise.
946         (jn_test): Likewise.
947         (lgamma_test_data): Likewise.
948         (lgamma_test): Likewise.
949         (gamma_test): Likewise.
950         (llogb_test_data): Likewise.
951         (llogb_test): Likewise.
952         (lrint_test_data): Likewise.
953         (lrint_test): Likewise.
954         (llrint_test_data): Likewise.
955         (llrint_test): Likewise.
956         (log_test_data): Likewise.
957         (log_test): Likewise.
958         (log10_test_data): Likewise.
959         (log10_test): Likewise.
960         (log1p_test_data): Likewise.
961         (log1p_test): Likewise.
962         (log2_test_data): Likewise.
963         (log2_test): Likewise.
964         (logb_test_data): Likewise.
965         (logb_test): Likewise.
966         (lround_test_data): Likewise.
967         (lround_test): Likewise.
968         (llround_test_data): Likewise.
969         (llround_test): Likewise.
970         (modf_test_data): Likewise.
971         (modf_test): Likewise.
972         (nearbyint_test_data): Likewise.
973         (nearbyint_test): Likewise.
974         (nextafter_test_data): Likewise.
975         (nextafter_test): Likewise.
976         (nextup_test_data): Likewise.
977         (nextup_test): Likewise.
978         (nextdown_test_data): Likewise.
979         (nextdown_test): Likewise.
980         (nexttoward_test_data): Likewise.
981         (nexttoward_test): Likewise.
982         (pow_test_data): Likewise.
983         (pow_test): Likewise.
984         (remainder_test_data): Likewise.
985         (remainder_test): Likewise.
986         (drem_test): Likewise.
987         (remquo_test_data): Likewise.
988         (remquo_test): Likewise.
989         (rint_test_data): Likewise.
990         (rint_test): Likewise.
991         (round_test_data): Likewise.
992         (round_test): Likewise.
993         (roundeven_test_data): Likewise.
994         (roundeven_test): Likewise.
995         (scalb_test_data): Likewise.
996         (scalb_test): Likewise.
997         (scalbn_test_data): Likewise.
998         (scalbn_test): Likewise.
999         (ldexp_test): Likewise.
1000         (scalbln_test_data): Likewise.
1001         (scalbln_test): Likewise.
1002         (setpayload_test_data): Likewise.
1003         (setpayload_test): Likewise.
1004         (setpayloadsig_test_data): Likewise.
1005         (setpayloadsig_test): Likewise.
1006         (signbit_test_data): Likewise.
1007         (signbit_test): Likewise.
1008         (sin_test_data): Likewise.
1009         (sin_test): Likewise.
1010         (sincos_test_data): Likewise.
1011         (sincos_test): Likewise.
1012         (sinh_test_data): Likewise.
1013         (sinh_test): Likewise.
1014         (sqrt_test_data): Likewise.
1015         (sqrt_test): Likewise.
1016         (tan_test_data): Likewise.
1017         (tan_test): Likewise.
1018         (tanh_test_data): Likewise.
1019         (tanh_test): Likewise.
1020         (tgamma_test_data): Likewise.
1021         (tgamma_test): Likewise.
1022         (totalorder_test_data): Likewise.
1023         (totalorder_test): Likewise.
1024         (totalordermag_test_data): Likewise.
1025         (totalordermag_test): Likewise.
1026         (trunc_test_data): Likewise.
1027         (trunc_test): Likewise.
1028         (ufromfp_test_data): Likewise.
1029         (ufromfp_test): Likewise.
1030         (ufromfpx_test_data): Likewise.
1031         (ufromfpx_test): Likewise.
1032         (y0_test_data): Likewise.
1033         (y0_test): Likewise.
1034         (y1_test_data): Likewise.
1035         (y1_test): Likewise.
1036         (yn_test_data): Likewise.
1037         (yn_test): Likewise.
1038         (significand_test_data): Likewise.
1039         (significand_test): Likewise.
1040         * math/Makefile (auto-libm-test-out-files): Remove variable.
1041         (libm-test-funcs-noauto): New variable.
1042         (libm-test-funcs-all): Likewise.
1043         (libm-test-c-auto): Likewise.
1044         (libm-test-c-noauto): Likewise.
1045         (libm-tests-generated): Add $(libm-test-c-auto) and
1046         $(libm-test-c-noauto).
1047         (generated): Do not add auto-libm-test-out.
1048         (libm-test-c-auto-obj): New variable.
1049         (libm-test-c-noauto-obj): Likewise.
1050         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1051         ($(libm-test-c-noauto-obj)): New static pattern rule.
1052         ($(libm-test-c-auto-obj)): Likewise.
1053         (libm-test-incs): New variable.
1054         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1055         and pass it to gen-libm-have-vector-test.sh.
1056         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1057         be passed on command line.
1058         * math/libm-test-acos.inc: New file.  Content from
1059         math/libm-test.inc.
1060         * math/libm-test-acosh.inc: Likewise.
1061         * math/libm-test-asin.inc: Likewise.
1062         * math/libm-test-asinh.inc: Likewise.
1063         * math/libm-test-atan.inc: Likewise.
1064         * math/libm-test-atan2.inc: Likewise.
1065         * math/libm-test-atanh.inc: Likewise.
1066         * math/libm-test-cabs.inc: Likewise.
1067         * math/libm-test-cacos.inc: Likewise.
1068         * math/libm-test-cacosh.inc: Likewise.
1069         * math/libm-test-canonicalize.inc: Likewise.
1070         * math/libm-test-carg.inc: Likewise.
1071         * math/libm-test-casin.inc: Likewise.
1072         * math/libm-test-casinh.inc: Likewise.
1073         * math/libm-test-catan.inc: Likewise.
1074         * math/libm-test-catanh.inc: Likewise.
1075         * math/libm-test-cbrt.inc: Likewise.
1076         * math/libm-test-ccos.inc: Likewise.
1077         * math/libm-test-ccosh.inc: Likewise.
1078         * math/libm-test-ceil.inc: Likewise.
1079         * math/libm-test-cexp.inc: Likewise.
1080         * math/libm-test-cimag.inc: Likewise.
1081         * math/libm-test-clog.inc: Likewise.
1082         * math/libm-test-clog10.inc: Likewise.
1083         * math/libm-test-conj.inc: Likewise.
1084         * math/libm-test-copysign.inc: Likewise.
1085         * math/libm-test-cos.inc: Likewise.
1086         * math/libm-test-cosh.inc: Likewise.
1087         * math/libm-test-cpow.inc: Likewise.
1088         * math/libm-test-cproj.inc: Likewise.
1089         * math/libm-test-creal.inc: Likewise.
1090         * math/libm-test-csin.inc: Likewise.
1091         * math/libm-test-csinh.inc: Likewise.
1092         * math/libm-test-csqrt.inc: Likewise.
1093         * math/libm-test-ctan.inc: Likewise.
1094         * math/libm-test-ctanh.inc: Likewise.
1095         * math/libm-test-erf.inc: Likewise.
1096         * math/libm-test-erfc.inc: Likewise.
1097         * math/libm-test-exp.inc: Likewise.
1098         * math/libm-test-exp10.inc: Likewise.
1099         * math/libm-test-exp2.inc: Likewise.
1100         * math/libm-test-expm1.inc: Likewise.
1101         * math/libm-test-fabs.inc: Likewise.
1102         * math/libm-test-fdim.inc: Likewise.
1103         * math/libm-test-floor.inc: Likewise.
1104         * math/libm-test-fma.inc: Likewise.
1105         * math/libm-test-fmax.inc: Likewise.
1106         * math/libm-test-fmaxmag.inc: Likewise.
1107         * math/libm-test-fmin.inc: Likewise.
1108         * math/libm-test-fminmag.inc: Likewise.
1109         * math/libm-test-fmod.inc: Likewise.
1110         * math/libm-test-fpclassify.inc: Likewise.
1111         * math/libm-test-frexp.inc: Likewise.
1112         * math/libm-test-fromfp.inc: Likewise.
1113         * math/libm-test-fromfpx.inc: Likewise.
1114         * math/libm-test-getpayload.inc: Likewise.
1115         * math/libm-test-hypot.inc: Likewise.
1116         * math/libm-test-ilogb.inc: Likewise.
1117         * math/libm-test-iscanonical.inc: Likewise.
1118         * math/libm-test-iseqsig.inc: Likewise.
1119         * math/libm-test-isfinite.inc: Likewise.
1120         * math/libm-test-isgreater.inc: Likewise.
1121         * math/libm-test-isgreaterequal.inc: Likewise.
1122         * math/libm-test-isinf.inc: Likewise.
1123         * math/libm-test-isless.inc: Likewise.
1124         * math/libm-test-islessequal.inc: Likewise.
1125         * math/libm-test-islessgreater.inc: Likewise.
1126         * math/libm-test-isnan.inc: Likewise.
1127         * math/libm-test-isnormal.inc: Likewise.
1128         * math/libm-test-issignaling.inc: Likewise.
1129         * math/libm-test-issubnormal.inc: Likewise.
1130         * math/libm-test-isunordered.inc: Likewise.
1131         * math/libm-test-iszero.inc: Likewise.
1132         * math/libm-test-j0.inc: Likewise.
1133         * math/libm-test-j1.inc: Likewise.
1134         * math/libm-test-jn.inc: Likewise.
1135         * math/libm-test-lgamma.inc: Likewise.
1136         * math/libm-test-llogb.inc: Likewise.
1137         * math/libm-test-llrint.inc: Likewise.
1138         * math/libm-test-llround.inc: Likewise.
1139         * math/libm-test-log.inc: Likewise.
1140         * math/libm-test-log10.inc: Likewise.
1141         * math/libm-test-log1p.inc: Likewise.
1142         * math/libm-test-log2.inc: Likewise.
1143         * math/libm-test-logb.inc: Likewise.
1144         * math/libm-test-lrint.inc: Likewise.
1145         * math/libm-test-lround.inc: Likewise.
1146         * math/libm-test-modf.inc: Likewise.
1147         * math/libm-test-nearbyint.inc: Likewise.
1148         * math/libm-test-nextafter.inc: Likewise.
1149         * math/libm-test-nextdown.inc: Likewise.
1150         * math/libm-test-nexttoward.inc: Likewise.
1151         * math/libm-test-nextup.inc: Likewise.
1152         * math/libm-test-pow.inc: Likewise.
1153         * math/libm-test-remainder.inc: Likewise.
1154         * math/libm-test-remquo.inc: Likewise.
1155         * math/libm-test-rint.inc: Likewise.
1156         * math/libm-test-round.inc: Likewise.
1157         * math/libm-test-roundeven.inc: Likewise.
1158         * math/libm-test-scalb.inc: Likewise.
1159         * math/libm-test-scalbln.inc: Likewise.
1160         * math/libm-test-scalbn.inc: Likewise.
1161         * math/libm-test-setpayload.inc: Likewise.
1162         * math/libm-test-setpayloadsig.inc: Likewise.
1163         * math/libm-test-signbit.inc: Likewise.
1164         * math/libm-test-significand.inc: Likewise.
1165         * math/libm-test-sin.inc: Likewise.
1166         * math/libm-test-sincos.inc: Likewise.
1167         * math/libm-test-sinh.inc: Likewise.
1168         * math/libm-test-sqrt.inc: Likewise.
1169         * math/libm-test-tan.inc: Likewise.
1170         * math/libm-test-tanh.inc: Likewise.
1171         * math/libm-test-tgamma.inc: Likewise.
1172         * math/libm-test-totalorder.inc: Likewise.
1173         * math/libm-test-totalordermag.inc: Likewise.
1174         * math/libm-test-trunc.inc: Likewise.
1175         * math/libm-test-ufromfp.inc: Likewise.
1176         * math/libm-test-ufromfpx.inc: Likewise.
1177         * math/libm-test-y0.inc: Likewise.
1178         * math/libm-test-y1.inc: Likewise.
1179         * math/libm-test-yn.inc: Likewise.
1180         * math/README.libm-test: Update.
1182         * math/gen-auto-libm-tests.c: Update comment about use of program.
1183         (generate_output): Add argument FUNCTION.
1184         (main): Require extra argument.  Pass function name to
1185         generate_output.
1186         * math/Makefile (generated): Add auto-libm-test-out.
1187         (libm-test-funcs-auto): New variable.
1188         (auto-libm-test-out-files): New variable.
1189         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1190         Concatenate those files to form $(objpfx)auto-libm-test-out and
1191         use it as input to gen-libm-test.pl.
1192         * math/README.libm-test: Update.
1193         * math/auto-libm-test-out: Remove.
1194         * math/auto-libm-test-out-acos: New generated file.
1195         * math/auto-libm-test-out-acosh: Likewise.
1196         * math/auto-libm-test-out-asin: Likewise.
1197         * math/auto-libm-test-out-asinh: Likewise.
1198         * math/auto-libm-test-out-atan: Likewise.
1199         * math/auto-libm-test-out-atan2: Likewise.
1200         * math/auto-libm-test-out-atanh: Likewise.
1201         * math/auto-libm-test-out-cabs: Likewise.
1202         * math/auto-libm-test-out-carg: Likewise.
1203         * math/auto-libm-test-out-cbrt: Likewise.
1204         * math/auto-libm-test-out-ccos: Likewise.
1205         * math/auto-libm-test-out-ccosh: Likewise.
1206         * math/auto-libm-test-out-cexp: Likewise.
1207         * math/auto-libm-test-out-clog: Likewise.
1208         * math/auto-libm-test-out-clog10: Likewise.
1209         * math/auto-libm-test-out-cos: Likewise.
1210         * math/auto-libm-test-out-cosh: Likewise.
1211         * math/auto-libm-test-out-cpow: Likewise.
1212         * math/auto-libm-test-out-csin: Likewise.
1213         * math/auto-libm-test-out-csinh: Likewise.
1214         * math/auto-libm-test-out-csqrt: Likewise.
1215         * math/auto-libm-test-out-ctan: Likewise.
1216         * math/auto-libm-test-out-ctanh: Likewise.
1217         * math/auto-libm-test-out-erf: Likewise.
1218         * math/auto-libm-test-out-erfc: Likewise.
1219         * math/auto-libm-test-out-exp: Likewise.
1220         * math/auto-libm-test-out-exp10: Likewise.
1221         * math/auto-libm-test-out-exp2: Likewise.
1222         * math/auto-libm-test-out-expm1: Likewise.
1223         * math/auto-libm-test-out-fma: Likewise.
1224         * math/auto-libm-test-out-hypot: Likewise.
1225         * math/auto-libm-test-out-j0: Likewise.
1226         * math/auto-libm-test-out-j1: Likewise.
1227         * math/auto-libm-test-out-jn: Likewise.
1228         * math/auto-libm-test-out-lgamma: Likewise.
1229         * math/auto-libm-test-out-log: Likewise.
1230         * math/auto-libm-test-out-log10: Likewise.
1231         * math/auto-libm-test-out-log1p: Likewise.
1232         * math/auto-libm-test-out-log2: Likewise.
1233         * math/auto-libm-test-out-pow: Likewise.
1234         * math/auto-libm-test-out-sin: Likewise.
1235         * math/auto-libm-test-out-sincos: Likewise.
1236         * math/auto-libm-test-out-sinh: Likewise.
1237         * math/auto-libm-test-out-sqrt: Likewise.
1238         * math/auto-libm-test-out-tan: Likewise.
1239         * math/auto-libm-test-out-tanh: Likewise.
1240         * math/auto-libm-test-out-tgamma: Likewise.
1241         * math/auto-libm-test-out-y0: Likewise.
1242         * math/auto-libm-test-out-y1: Likewise.
1243         * math/auto-libm-test-out-yn: Likewise.
1245         * math/Makefile (generated): Do not include libm-test.stmp.
1246         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1247         on $(objpfx)libm-test.stmp.
1248         ($(objpfx)libm-test.stmp): Remove rule.
1249         ($(objpfx)libm-test-ulps.h): New rule.
1250         ($(objpfx)libm-test.c): Likewise.
1251         ($(objpfx)libm-have-vector-test.h): Likewise.
1252         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1253         individual generated files, not libm-test.stmp.
1255         * math/gen-libm-test.pl ($output_dir): Remove variable.
1256         ($srcdir): Likewise.
1257         ($opt_a): New variable.
1258         ($opt_c): Likewise.
1259         ($opt_C): Likewise.
1260         ($opt_H): Likewise.
1261         (-n): Make option take argument and use it as NewUlps output.
1262         (-a): New option.  Use its argument for auto-libm-test-out input.
1263         (-c): New option.  Use its argument for libm-test.inc input.
1264         (-C): New option.  Use its argument for libm-test.c output.
1265         (-H): New option.  Use its argument for libm-test-ulps.h output.
1266         (top level): Only process inputs needed to generate outputs
1267         specified by command-line options.  Only generate outputs
1268         specified by command-line options.
1269         * math/README.libm-test: Update example gen-libm-test.pl command.
1270         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1271         commands.
1272         (regen-ulps): Likewise.
1274 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1276         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1277         * include/string.h (index): Remove define.
1278         (rindex): Likewise.
1279         * misc/getttyent.c (__getttyent): Rename index to strchr.
1280         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1281         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1283 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1285         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1286         * math/libm-test.inc: Move all contents, other than tests of
1287         individual functions, to libm-test-driver.c.
1288         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1289         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1290         [!FE_UPWARD] (FE_UPWARD): Likewise.
1291         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1292         (NO_EXCEPTION): Likewise.
1293         (INVALID_EXCEPTION): Likewise.
1294         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1295         (OVERFLOW_EXCEPTION): Likewise.
1296         (UNDERFLOW_EXCEPTION): Likewise.
1297         (INEXACT_EXCEPTION): Likewise.
1298         (INVALID_EXCEPTION_OK): Likewise.
1299         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1300         (OVERFLOW_EXCEPTION_OK): Likewise.
1301         (UNDERFLOW_EXCEPTION_OK): Likewise.
1302         (NO_INEXACT_EXCEPTION): Likewise.
1303         (EXCEPTIONS_OK): Likewise.
1304         (IGNORE_ZERO_INF_SIGN): Likewise.
1305         (TEST_NAN_SIGN): Likewise.
1306         (TEST_NAN_PAYLOAD): Likewise.
1307         (NO_TEST_INLINE): Likewise.
1308         (XFAIL_TEST): Likewise.
1309         (ERRNO_UNCHANGED): Likewise.
1310         (ERRNO_EDOM): Likewise.
1311         (ERRNO_ERANGE): Likewise.
1312         (IGNORE_RESULT): Likewise.
1313         (NON_FINITE): Likewise.
1314         (TEST_SNAN): Likewise.
1315         (NO_TEST_MATHVEC): Likewise.
1316         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1317         (__CONCATX): Likewise.
1318         (TYPE_MIN): Likewise.
1319         (TYPE_TRUE_MIN): Likewise.
1320         (TYPE_MAX): Likewise.
1321         (MIN_EXP): Likewise.
1322         (MAX_EXP): Likewise.
1323         (MANT_DIG): Likewise.
1324         (FSTR_MAX): Likewise.
1325         (ULP_IDX): Likewise.
1326         (QTYPE_STR): Likewise.
1327         (TEST_COND_binary32): Likewise.
1328         (TEST_COND_binary64): Likewise.
1329         (TEST_COND_binary128): Likewise.
1330         (TEST_COND_ibm128): Likewise.
1331         (TEST_COND_intel96): Likewise.
1332         (TEST_COND_m68k96): Likewise.
1333         (TEST_COND_ibm128_libgcc): Likewise.
1334         (XFAIL_IBM128_LIBGCC): Likewise.
1335         (PAYLOAD_DIG): Likewise.
1336         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1337         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1338         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1339         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1340         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1341         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1342         (TEST_COND_long32): Likewise.
1343         (TEST_COND_long64): Likewise.
1344         (TEST_COND_before_rounding): Likewise.
1345         (TEST_COND_after_rounding): Likewise.
1346         (lit_pi_3_m_4_d): Likewise.
1347         (lit_pi_3_m_4_ln10_m_d): Likewise.
1348         (lit_pi_2_ln10_m_d): Likewise.
1349         (lit_pi_4_ln10_m_d): Likewise.
1350         (lit_pi_ln10_d): Likewise.
1351         (lit_pi_2_d): Likewise.
1352         (lit_pi_4_d): Likewise.
1353         (lit_pi): Likewise.
1354         (lit_e): Likewise.
1355         (ulps_file_name): Likewise.
1356         (ulps_file): Likewise.
1357         (output_ulps): Likewise.
1358         (output_dir): Likewise.
1359         (noErrors): Likewise.
1360         (noTests): Likewise.
1361         (noExcTests): Likewise.
1362         (noErrnoTests): Likewise.
1363         (verbose): Likewise.
1364         (output_max_error): Likewise.
1365         (output_points): Likewise.
1366         (ignore_max_ulp): Likewise.
1367         (plus_zero): Likewise.
1368         (minus_zero): Likewise.
1369         (plus_infty): Likewise.
1370         (minus_infty): Likewise.
1371         (qnan_value_pl): Likewise.
1372         (qnan_value): Likewise.
1373         (snan_value_pl): Likewise.
1374         (snan_value): Likewise.
1375         (max_value): Likewise.
1376         (min_value): Likewise.
1377         (min_subnorm_value): Likewise.
1378         (snan_value_ld): Likewise.
1379         (max_error): Likewise.
1380         (real_max_error): Likewise.
1381         (imag_max_error): Likewise.
1382         (prev_max_error): Likewise.
1383         (prev_real_max_error): Likewise.
1384         (prev_imag_max_error): Likewise.
1385         (max_valid_error): Likewise.
1386         (TYPE_DECIMAL_DIG): Likewise.
1387         (TYPE_HEX_DIG): Likewise.
1388         (fmt_ftostr): Likewise.
1389         (compare_ulp_data): Likewise.
1390         (find_ulps): Likewise.
1391         (init_max_error): Likewise.
1392         (set_max_error): Likewise.
1393         (print_float): Likewise.
1394         (print_screen): Likewise.
1395         (print_screen_max_error): Likewise.
1396         (update_stats): Likewise.
1397         (print_function_ulps): Likewise.
1398         (print_complex_function_ulps): Likewise.
1399         (fpstack_test): Likewise.
1400         (print_max_error): Likewise.
1401         (print_complex_max_error): Likewise.
1402         (test_single_exception): Likewise.
1403         (test_exceptions): Likewise.
1404         (test_single_errno): Likewise.
1405         (test_errno): Likewise.
1406         (ULPDIFF): Likewise.
1407         (ulp): Likewise.
1408         (check_float_internal): Likewise.
1409         (check_float): Likewise.
1410         (check_complex): Likewise.
1411         (check_int): Likewise.
1412         (check_long): Likewise.
1413         (check_bool): Likewise.
1414         (check_longlong): Likewise.
1415         (check_intmax_t): Likewise.
1416         (check_uintmax_t): Likewise.
1417         (enable_test): Likewise.
1418         (struct test_f_f_data): Likewise.
1419         (struct test_ff_f_data): Likewise.
1420         (struct test_fj_f_data): Likewise.
1421         (struct test_fi_f_data): Likewise.
1422         (struct test_fl_f_data): Likewise.
1423         (struct test_if_f_data): Likewise.
1424         (struct test_fff_f_data): Likewise.
1425         (struct test_fiu_M_data): Likewise.
1426         (struct test_fiu_U_data): Likewise.
1427         (struct test_c_f_data): Likewise.
1428         (struct test_f_f1_data): Likewise.
1429         (struct test_fF_f1_data): Likewise.
1430         (struct test_ffI_f1_data): Likewise.
1431         (struct test_c_c_data): Likewise.
1432         (struct test_cc_c_data): Likewise.
1433         (struct test_f_i_data): Likewise.
1434         (struct test_ff_i_data): Likewise.
1435         (struct test_f_l_data): Likewise.
1436         (struct test_f_L_data): Likewise.
1437         (struct test_fFF_11_data): Likewise.
1438         (struct test_Ff_b1_data): Likewise.
1439         (IF_ROUND_INIT_): Likewise.
1440         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1441         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1442         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1443         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1444         (ROUND_RESTORE_): Likewise.
1445         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1446         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1447         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1448         (ROUND_RESTORE_FE_UPWARD): Likewise.
1449         (RM_): Likewise.
1450         (RM_FE_DOWNWARD): Likewise.
1451         (RM_FE_TONEAREST): Likewise.
1452         (RM_FE_TOWARDZERO): Likewise.
1453         (RM_FE_UPWARD): Likewise.
1454         (COMMON_TEST_SETUP): Likewise.
1455         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1456         (COMMON_TEST_CLEANUP): Likewise.
1457         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1458         (RUN_TEST_f_f): Likewise.
1459         (RUN_TEST_LOOP_f_f): Likewise.
1460         (RUN_TEST_fp_f): Likewise.
1461         (RUN_TEST_LOOP_fp_f): Likewise.
1462         (RUN_TEST_2_f): Likewise.
1463         (RUN_TEST_LOOP_2_f): Likewise.
1464         (RUN_TEST_ff_f): Likewise.
1465         (RUN_TEST_LOOP_ff_f): Likewise.
1466         (RUN_TEST_LOOP_fj_f): Likewise.
1467         (RUN_TEST_fi_f): Likewise.
1468         (RUN_TEST_LOOP_fi_f): Likewise.
1469         (RUN_TEST_fl_f): Likewise.
1470         (RUN_TEST_LOOP_fl_f): Likewise.
1471         (RUN_TEST_if_f): Likewise.
1472         (RUN_TEST_LOOP_if_f): Likewise.
1473         (RUN_TEST_fff_f): Likewise.
1474         (RUN_TEST_LOOP_fff_f): Likewise.
1475         (RUN_TEST_fiu_M): Likewise.
1476         (RUN_TEST_LOOP_fiu_M): Likewise.
1477         (RUN_TEST_fiu_U): Likewise.
1478         (RUN_TEST_LOOP_fiu_U): Likewise.
1479         (RUN_TEST_c_f): Likewise.
1480         (RUN_TEST_LOOP_c_f): Likewise.
1481         (RUN_TEST_f_f1): Likewise.
1482         (RUN_TEST_LOOP_f_f1): Likewise.
1483         (RUN_TEST_fF_f1): Likewise.
1484         (RUN_TEST_LOOP_fF_f1): Likewise.
1485         (RUN_TEST_fI_f1): Likewise.
1486         (RUN_TEST_LOOP_fI_f1): Likewise.
1487         (RUN_TEST_ffI_f1_mod8): Likewise.
1488         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1489         (RUN_TEST_Ff_b1): Likewise.
1490         (RUN_TEST_LOOP_Ff_b1): Likewise.
1491         (RUN_TEST_Ffp_b1): Likewise.
1492         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1493         (RUN_TEST_c_c): Likewise.
1494         (RUN_TEST_LOOP_c_c): Likewise.
1495         (RUN_TEST_cc_c): Likewise.
1496         (RUN_TEST_LOOP_cc_c): Likewise.
1497         (RUN_TEST_f_i): Likewise.
1498         (RUN_TEST_LOOP_f_i): Likewise.
1499         (RUN_TEST_f_i_tg): Likewise.
1500         (RUN_TEST_LOOP_f_i_tg): Likewise.
1501         (RUN_TEST_ff_b): Likewise.
1502         (RUN_TEST_LOOP_ff_b): Likewise.
1503         (RUN_TEST_ff_i_tg): Likewise.
1504         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1505         (RUN_TEST_f_b): Likewise.
1506         (RUN_TEST_LOOP_f_b): Likewise.
1507         (RUN_TEST_f_b_tg): Likewise.
1508         (RUN_TEST_LOOP_f_b_tg): Likewise.
1509         (RUN_TEST_f_l): Likewise.
1510         (RUN_TEST_LOOP_f_l): Likewise.
1511         (RUN_TEST_f_L): Likewise.
1512         (RUN_TEST_LOOP_f_L): Likewise.
1513         (RUN_TEST_fFF_11): Likewise.
1514         (RUN_TEST_LOOP_fFF_11): Likewise.
1515         (VEC_SUFF): Likewise.
1516         (STR_CONCAT): Likewise.
1517         (STR_CON3): Likewise.
1518         (HAVE_VECTOR): Likewise.
1519         (START): Likewise.
1520         (END): Likewise.
1521         (END_COMPLEX): Likewise.
1522         (ALL_RM_TEST): Likewise.
1523         (matherr): Likewise.
1524         (initialize): Likewise.
1525         (options): Likewise.
1526         (doc): Likewise.
1527         (parse_opt): Likewise.
1528         (argp): Likewise.
1529         (check_ulp): Likewise.
1530         (main): Likewise.
1531         (do_test): New function.  Call tests of individual functions
1532         previously called from main.
1534         * math/libm-test.inc: Remove comment listing functions tested and
1535         not tested.
1537 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1539         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1540         (allocate_stack): Remove COLORING_INCREMENT usage.
1541         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1542         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1544 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1546         * manual/libm-err-tab.pl (@all_functions): Change to
1547         %all_functions.  Initialize as empty.
1548         (parse_ulps): Add to %all_functions based on functions found in
1549         ulps files.  Ignore results for non-default rounding modes and
1550         vector functions.
1551         (print_platforms): Use %all_platforms.
1552         * manual/math.texi (Errors in Math Functions): Document omissions
1553         from the table.
1555         * math/Makefile (before-compile): Remove.
1557 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1559         [BZ #21075]
1560         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1561         unused assignment.
1562         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1564 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1566         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1567         Add __glibc_unlikely hint.
1569 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1571         [BZ #16640]
1572         * sysdeps/i386/i686/strtok.S: Remove file.
1573         * sysdeps/i386/i686/strtok_r.S: Likewise.
1574         * sysdeps/i386/strtok.S: Likewise.
1575         * sysdeps/i386/strtok_r.S: Likewise.
1576         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1577         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1578         * sysdeps/x86_64/strtok.S: Likewise.
1579         * sysdeps/x86_64/strtok_r.S: Likewise.
1581         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1582         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1583         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1584         (__ASSUME_FADVISE64_AS_64_64): Define.
1585         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1586         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1587         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1588         __ALIGNMENT_ARG usage.
1589         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1590         __NR_fadvise64_64 if it is not defined.
1592 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1594         * version.h (RELEASE): Set to "development"
1595         (VERSION): Set to 2.25.90.
1596         * NEWS: Add 2.26 section.
1598         * version.h (RELEASE): Set to "stable"
1599         (VERSION): Set to 2.25.
1600         * include/features.h (__GLIBC_MINOR__): Set to 25.
1602         * manual/contrib.texi: Add more contributors from this release
1603         and past releases.
1605         * NEWS (2.25): Add list of bugs fixed.
1607         * NEWS: Add missing news items.
1609 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1611         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1612         parent if child exited in that manner.  Print WEXITSTATUS
1613         instead of the raw status.
1614         (do_test_prep): Rename to do_test.
1615         (do_test): Return the result of run_executable_sgid.
1616         (TEST_FUNCTION_ARGV): Adjust.
1618 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1619             Florian Weimer  <fweimer@redhat.com>
1620             Carlos O'Donell  <carlos@redhat.com>
1622         [BZ #20915]
1623         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1624         Do not initialize DTV.
1625         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1627 2017-02-03  David S. Miller  <davem@davemloft.net>
1629         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1630         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1638         (libm-sysdep_routines): Update.
1639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1644         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1645         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1646         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1647         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1649         Likewise.
1650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1652         Likewise.
1653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1655         Likewise.
1656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1658         Likewise.
1659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1661         (libm-sysdep_routines): Update.
1663 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1666         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1667         against unrelocated shared library.
1668         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1670 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1672         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1673         * elf/tst-env-setuid-tunables.c
1674         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1675         GLIBC_TUNABLES is removed in a setgid process.
1677         [BZ #21073]
1678         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1679         * elf/dl-tunables.c (tunables_strdup): Remove.
1680         (get_next_env): Also return the previous envp.
1681         (parse_tunables): Erase tunables of category
1682         TUNABLES_SECLEVEL_SXID_ERASE.
1683         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1684         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1685         (__tunables_init)[TUNABLES_FRONTEND ==
1686         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1687         after parsing.
1688         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1689         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1690         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1691         to security_level.
1692         * elf/dl-tunables.list: Add security_level annotations for all
1693         tunables.
1694         * scripts/gen-tunables.awk: Recognize and generate enum values
1695         for security_level.
1696         * elf/tst-env-setuid.c: New test case.
1697         * elf/tst-env-setuid-tunables: new test case.
1698         * elf/Makefile (tests-static): Add them.
1700 2017-02-01  Richard Henderson  <rth@twiddle.net>
1702         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1703         adjusting the byte count.
1705 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1707         * conform/Makefile (linknamespace-libs): Define.
1709         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1710         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1711         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1712         operands.
1714 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1716         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1718 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1720         [BZ #21081]
1721         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1722         (L(stosb)): Add VZEROUPPER before ret.
1724 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1725             Alexey Makhalov <amakhalov@vmware.com>
1726             Florian Weimer <fweimer@redhat.com>
1728         [BZ #20116]
1729         * nptl/pthread_create.c: Document concurrency notes.
1730         Enhance thread creation notes.
1731         (create_thread): Use bool *stopped_start.
1732         (START_THREAD_DEFN): Comment ownership of PD.
1733         (__pthread_create_2_1): Add local bool stopped_start and use
1734         that instead of pd->stopped_start where appropriate.
1735         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1736         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1737         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1738         * nptl/tst-create-detached.c: New file.
1739         * nptl/Makefile (tests): Add tst-create-detached.
1740         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1741         Reference the enhanced thread creation notes.
1742         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1743         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1744         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1745         (__pthread_current_priority): Likewise.
1746         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1747         xpthread_attr_init, xpthread_attr_setdetachstate, and
1748         xpthread_attr_setstacksize.
1749         * support/xpthread_attr_destroy.c: New file.
1750         * support/xpthread_attr_init.c: New file.
1751         * support/xpthread_attr_setdetachstate.c: New file.
1752         * support/xpthread_attr_setstacksize.c: New file.
1753         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1754         xpthread_attr_init, xpthread_attr_setdetachstate, and
1755         xpthread_attr_setstacksize.
1757 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1759         * nptl/Makefile (tests): Add tst-robust-fork.
1760         * nptl/tst-robust-fork.c: New file.
1761         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1762         xpthread_mutex_consistent, xpthread_mutex_destroy,
1763         xpthread_mutex_init, xpthread_mutexattr_destroy,
1764         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1765         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1766         xpthread_mutexattr_settype.
1767         * support/xmmap.c: New file.
1768         * support/xmunmap.c: Likewise.
1769         * support/xpthread_mutex_consistent.c: Likewise.
1770         * support/xpthread_mutex_destroy.c: Likewise.
1771         * support/xpthread_mutex_init.c: Likewise.
1772         * support/xpthread_mutexattr_destroy.c: Likewise.
1773         * support/xpthread_mutexattr_init.c: Likewise.
1774         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1775         * support/xpthread_mutexattr_setpshared.c: Likewise.
1776         * support/xpthread_mutexattr_setrobust.c: Likewise.
1777         * support/xpthread_mutexattr_settype.c: Likewise.
1778         * support/xthread.h (xpthread_mutexattr_destroy)
1779         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1780         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1781         (xpthread_mutexattr_settype, xpthread_mutex_init)
1782         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1783         * support/xunistd.h (xmmap, xmunmap): Likewise.
1785 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1787         * string/Makefile (xtests): Add comment.
1788         (LOCALES): Add en_GB.UTF-8.
1789         (tst-strcoll-overflow.out): Depend on generated locales.
1790         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1791         (SIZE, TIMEOUT): Update comments.
1792         (do_test): Define as static.  Fail test if setlocale fails.
1793         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1794         messages.
1795         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1796         TIMEOUT at 300 seconds should be enough to run this test
1797         successfully.
1799 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1801         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1802         /* FALLTHRU */ comments.
1804 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1806         [BZ #21053]
1807         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1808         constants instead of the old R* ones.
1809         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1810         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1811         (NGREG): ... to this, to fit in with other architectures.
1812         (gpregset_t): Use new NGREG macro.
1813         [__USE_GNU]: Remove condition; all architectures other than tile
1814         are unconditional.
1815         (R*): Rename to REG_R*.
1817 2017-01-20  DJ Delorie  <dj@redhat.com>
1819         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1820         (tunable_set_val_if_valid_range_signed) ... this, and ...
1821         (tunable_set_val_if_valid_range_unsigned) ... this.
1822         (tunable_initialize): Call the correct one of the above based on type.
1824 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1826         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1827         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1828         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1829         * sysdeps/microblaze/libm-test-ulps: Likewise.
1830         * sysdeps/sh/libm-test-ulps: Likewise.
1832         * math/README.libm-test: Update list of characters for input and
1833         output types.
1835 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1837         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1838         (__lll_unlock_elision): Fix adapt_count decrement.
1840 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1842         * README.pretty-printers (Known issues): Warn about printers not
1843         always covering everything.
1844         * nptl/nptl-printers.py (MutexPrinter): Change output.
1845         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1847 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1849         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1850         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1851         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1852         (__lll_lock_elision): Do not test futex before starting a
1853         transaction.  Use __glibc_likely instead of __builtin_expect.
1854         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1855         (__lll_trylock_elision): Do not test futex before starting a
1856         transaction.  Use __glibc_likely instead of __builtin_expect.
1858 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1860         * po/Makefile (update-translations): New target.
1862 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1864         [BZ #21061]
1865         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1867 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1869         * elf/dl-tunables (get_next_env): Always advance envp.
1870         * stdlib/tst-empty-env.c: New test case.
1871         * stdlib/Makefile (tests): Use it.
1873 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1875         [BZ #21047]
1876         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1877         name for instruction.
1878         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1880 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1882         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1883         for make install.
1885 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1887         * po/bg.po: Merge from Translation Project.
1888         * po/fr.po: Likewise.
1889         * po/ko.po: Likewise.
1890         * po/nl.po: Likewise.
1891         * po/sv.po: Likewise.
1893 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1895         * manual/install.texi (Tools for Compilation): Update GCC version
1896         known to work to build glibc.
1897         * INSTALL: Regenerated.
1899 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1901         [BZ #21006]
1902         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1904 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1906         [BZ #21045]
1907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1908         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1909         to __sigprocmask.
1911 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1913         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1914         wrap-around.
1915         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1917         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1919 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1921         * NEWS: Fix typo.
1923 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1925         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1926         barriers and comments.
1927         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1928         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1929         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1931 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1933         [BZ #19402]
1934         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1935         mutexes.
1937 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1939         [BZ #20985]
1940         * nptl/Makefile: Adapt.
1941         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1942         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1943         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1944         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1945         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1946         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1947         lll_robust* functions and adapt.
1948         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1949         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1950         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1951         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1952         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1953         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1954         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1955         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1956         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1957         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1958         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1959         * nptl/lowlevelrobustlock.c: Remove file.
1960         * nptl/lowlevelrobustlock.sym: Likewise.
1961         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1962         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1964 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1966         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1968 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1970         * po/cs.po: Merge translations from the Translation Project.
1971         * po/de.po: Likewise.
1972         * po/pl.po: Likewise.
1973         * po/ru.po: Likewise.
1974         * po/tr.po: Likewise.
1975         * po/uk.po: Likewise.
1976         * po/vi.po: Likewise.
1977         * po/zh_CN.po: Likewise.
1979 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1981         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1983         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1984         object.
1986 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1988         [BZ #16458]
1989         * bits/uintn-identity.h: New file.
1990         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1991         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1992         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1993         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1994         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1995         * string/endian.h: Include <bits/uintn-identity.h>.
1996         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1997         __uint16_identity.
1998         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1999         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
2000         __uint32_identity.
2001         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
2002         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
2003         __uint64_identity.
2004         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
2005         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
2006         __uint16_identity.
2007         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
2008         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
2009         __uint32_identity.
2010         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
2011         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
2012         __uint64_identity.
2013         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
2014         * string/Makefile (headers): Add bits/uintn-identity.h.
2015         (tests): Add test-endian-types.
2016         * string/test-endian-types.c: New file.
2017         * inet/Makefile (tests): Add test-hnto-types.
2018         * inet/test-hnto-types.c: New file.
2020 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2022         * po/be.po: Update from Translation Project.
2023         * po/bg.po: Likewise.
2024         * po/ca.po: Likewise.
2025         * po/cs.po: Likewise.
2026         * po/da.po: Likewise.
2027         * po/de.po: Likewise.
2028         * po/el.po: Likewise.
2029         * po/eo.po: Likewise.
2030         * po/es.po: Likewise.
2031         * po/fi.po: Likewise.
2032         * po/fr.po: Likewise.
2033         * po/gl.po: Likewise.
2034         * po/hr.po: Likewise.
2035         * po/hu.po: Likewise.
2036         * po/ia.po: Likewise.
2037         * po/id.po: Likewise.
2038         * po/it.po: Likewise.
2039         * po/ja.po: Likewise.
2040         * po/ko.po: Likewise.
2041         * po/lt.po: Likewise.
2042         * po/nb.po: Likewise.
2043         * po/nl.po: Likewise.
2044         * po/pl.po: Likewise.
2045         * po/pt_BR.po: Likewise.
2046         * po/ru.po: Likewise.
2047         * po/rw.po: Likewise.
2048         * po/sk.po: Likewise.
2049         * po/sl.po: Likewise.
2050         * po/sv.po: Likewise.
2051         * po/tr.po: Likewise.
2052         * po/uk.po: Likewise.
2053         * po/vi.po: Likewise.
2054         * po/zh_CN.po: Likewise.
2055         * po/zh_TW.po: Likewise.
2057 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2059         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2060         -Wformat-truncation instead of -Wformat-length.
2061         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2062         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2063         GCC 7.
2064         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2065         (do_test): Ignore -Wformat-truncation for GCC 7.
2067         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2068         buffer used to print long int value.
2070         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2071         one byte.  Print it with %ld, cast to long int.
2073 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2075         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2076         (re.fullmatch, subprocess.run): Likewise.
2078 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2080         * po/libc.pot: Regenerate.
2082 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2084         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2085         (min_strlen): Likewise.
2086         (disable_tunable): Likewise.
2087         (maybe_disable_malloc_check): Rename to
2088         maybe_enable_malloc_check.
2089         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2090         if /etc/suid-debug file exists.
2091         (__tunables_init): Update caller.
2092         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2093         secure.
2095 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2097         * nptl/DESIGN-rwlock.txt: Remove.
2098         * nptl/lowlevelrwlock.sym: Remove.
2099         * nptl/Makefile: Add new tests.
2100         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2101         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2102         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2103         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2104         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2105         PTHREAD_RWLOCK_FUTEX_USED): New.
2106         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2107         implementation.
2108         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2109         (__pthread_rwlock_rdlock): Adapt.
2110         * nptl/pthread_rwlock_timedrdlock.c
2111         (pthread_rwlock_timedrdlock): Adapt.
2112         * nptl/pthread_rwlock_timedwrlock.c
2113         (pthread_rwlock_timedwrlock): Adapt.
2114         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2115         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2116         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2117         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2118         (__pthread_rwlock_wrlock): Adapt.
2119         * nptl/tst-rwlock10.c: Adapt.
2120         * nptl/tst-rwlock11.c: Adapt.
2121         * nptl/tst-rwlock17.c: New file.
2122         * nptl/tst-rwlock18.c: New file.
2123         * nptl/tst-rwlock19.c: New file.
2124         * nptl/tst-rwlock2b.c: New file.
2125         * nptl/tst-rwlock8.c: Adapt.
2126         * nptl/tst-rwlock9.c: Adapt.
2127         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2128         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2129         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2130         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2131         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2132         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2133         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2134         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2135         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2136         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2137         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2138         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2139         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2140         (pthread_rwlock_t): Adapt.
2141         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2142         (pthread_rwlock_t): Adapt.
2143         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2144         * nptl/nptl-printers.py (): Adapt.
2145         * nptl/nptl_lock_constants.pysym: Adapt.
2146         * nptl/test-rwlock-printers.py: Adapt.
2147         * nptl/test-rwlockattr-printers.c: Adapt.
2148         * nptl/test-rwlockattr-printers.py: Adapt.
2150 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2152         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2153         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2154         (fma_test_data): Likewise.
2155         (hypot_test_data): Likewise.
2156         (log1p_test_data): Likewise.
2157         (modf_test_data): Likewise.
2158         (pow_test_data): Likewise.
2159         (remainder_test_data): Likewise.
2160         (remquo_test_data): Likewise.
2161         (scalb_test_data): Likewise.
2162         (scalbn_test_data): Likewise.
2163         (scalbln_test_data): Likewise.
2164         * math/gen-libm-test.pl (parse_args): Transform
2165         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2166         on the rounding mode.
2168 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2170         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2171         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2172         and those that can underflow to zero.
2173         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2174         add others.
2175         * math/auto-libm-test-out: Regenerated.
2177         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2178         supported.
2179         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2180         modes support if not supported.
2182         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2183         Add libc.so PLT entry.
2184         (__tls_get_addr): Make ld.so PLT entry optional.
2186 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2188         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2189         * string/bits/string3.h: ... here.
2191 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2193         [BZ #21028]
2194         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2195         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2196         if EXCEPTION_TESTS returns false.
2198 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2200         [BZ #20558]
2201         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2202         strings_fortified.h.
2203         [__USE_MISC] (bzero): Likewise.
2204         [__USE_MISC] (explicit_bzero): Likewise.
2205         * string/strings.h: Include strings_fortified.h.
2206         * string/Makefile (headers): Add strings_fortified.h.
2207         * string/bits/strings_fortified.h: New file.
2208         * include/bits/strings_fortified.h: Likewise.
2210 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2212         * elf/tst-tls13.c (TIMEOUT): Remove.
2213         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2214         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2215         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2216         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2217         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2219         [BZ #21026]
2220         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2221         (readahead): New syscall entry.
2223 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2225         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2226         around tests of strncat with large sizes.
2228         * malloc/tst-malloc.c: Include <libc-internal.h>.
2229         (do_test): Disable -Walloc-size-larger-than= around tests of
2230         malloc with negative sizes.
2231         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2232         (do_test): Disable -Walloc-size-larger-than= around tests of
2233         malloc and realloc with negative sizes.
2234         * malloc/tst-realloc.c: Include <libc-internal.h>.
2235         (do_test): Disable -Walloc-size-larger-than= around tests of
2236         realloc with negative sizes.
2238         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2239         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2240         allowed to 16 ulps.
2241         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2242         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2243         * math/auto-libm-test-out: Regenerated.
2245 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2247         * math/Makefile (libm-calls): Move wrappers...
2248         (libm-compat-call-auto): Here.
2249         (libm-routines): Add items in libm-compat-calls-auto.
2250         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2251         the filenames of the wrappers that have been renamed.
2252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2255         * math/w_acos.c: Add _compat suffix to filename.
2256         * math/w_acosf.c: Likewise.
2257         * math/w_acosh.c: Likewise.
2258         * math/w_acoshf.c: Likewise.
2259         * math/w_acoshl.c: Likewise.
2260         * math/w_acosl.c: Likewise.
2261         * math/w_asin.c: Likewise.
2262         * math/w_asinf.c: Likewise.
2263         * math/w_asinl.c: Likewise.
2264         * math/w_atan2.c: Likewise.
2265         * math/w_atan2f.c: Likewise.
2266         * math/w_atan2l.c: Likewise.
2267         * math/w_atanh.c: Likewise.
2268         * math/w_atanhf.c: Likewise.
2269         * math/w_atanhl.c: Likewise.
2270         * math/w_cosh.c: Likewise.
2271         * math/w_coshf.c: Likewise.
2272         * math/w_coshl.c: Likewise.
2273         * math/w_exp10.c: Likewise.
2274         * math/w_exp10f.c: Likewise.
2275         * math/w_exp10l.c: Likewise.
2276         * math/w_exp2.c: Likewise.
2277         * math/w_exp2f.c: Likewise.
2278         * math/w_exp2l.c: Likewise.
2279         * math/w_fmod.c: Likewise.
2280         * math/w_fmodf.c: Likewise.
2281         * math/w_fmodl.c: Likewise.
2282         * math/w_hypot.c: Likewise.
2283         * math/w_hypotf.c: Likewise.
2284         * math/w_hypotl.c: Likewise.
2285         * math/w_j0.c: Likewise.
2286         * math/w_j0f.c: Likewise.
2287         * math/w_j0l.c: Likewise.
2288         * math/w_j1.c: Likewise.
2289         * math/w_j1f.c: Likewise.
2290         * math/w_j1l.c: Likewise.
2291         * math/w_jn.c: Likewise.
2292         * math/w_jnf.c: Likewise.
2293         * math/w_jnl.c: Likewise.
2294         * math/w_log10.c: Likewise.
2295         * math/w_log10f.c: Likewise.
2296         * math/w_log10l.c: Likewise.
2297         * math/w_log2.c: Likewise.
2298         * math/w_log2f.c: Likewise.
2299         * math/w_log2l.c: Likewise.
2300         * math/w_log.c: Likewise.
2301         * math/w_logf.c: Likewise.
2302         * math/w_logl.c: Likewise.
2303         * math/w_pow.c: Likewise.
2304         * math/w_powf.c: Likewise.
2305         * math/w_powl.c: Likewise.
2306         * math/w_remainder.c: Likewise.
2307         * math/w_remainderf.c: Likewise.
2308         * math/w_remainderl.c: Likewise.
2309         * math/w_scalb.c: Likewise.
2310         * math/w_scalbf.c: Likewise.
2311         * math/w_scalbl.c: Likewise.
2312         * math/w_sinh.c: Likewise.
2313         * math/w_sinhf.c: Likewise.
2314         * math/w_sinhl.c: Likewise.
2315         * math/w_sqrt.c: Likewise.
2316         * math/w_sqrtf.c: Likewise.
2317         * math/w_sqrtl.c: Likewise.
2318         * math/w_tgamma.c: Likewise.
2319         * math/w_tgammaf.c: Likewise.
2320         * math/w_tgammal.c: Likewise.
2322         * math/w_acos_compat.c: New file copied from above and
2323         adjusted for new #includes path
2324         * math/w_acosf_compat.c: Likewise.
2325         * math/w_acosh_compat.c: Likewise.
2326         * math/w_acoshf_compat.c: Likewise.
2327         * math/w_acoshl_compat.c: Likewise.
2328         * math/w_acosl_compat.c: Likewise.
2329         * math/w_asin_compat.c: Likewise.
2330         * math/w_asinf_compat.c: Likewise.
2331         * math/w_asinl_compat.c: Likewise.
2332         * math/w_atan2_compat.c: Likewise.
2333         * math/w_atan2f_compat.c: Likewise.
2334         * math/w_atan2l_compat.c: Likewise.
2335         * math/w_atanh_compat.c: Likewise.
2336         * math/w_atanhf_compat.c: Likewise.
2337         * math/w_atanhl_compat.c: Likewise.
2338         * math/w_cosh_compat.c: Likewise.
2339         * math/w_coshf_compat.c: Likewise.
2340         * math/w_coshl_compat.c: Likewise.
2341         * math/w_exp10_compat.c: Likewise.
2342         * math/w_exp10f_compat.c: Likewise.
2343         * math/w_exp10l_compat.c: Likewise.
2344         * math/w_exp2_compat.c: Likewise.
2345         * math/w_exp2f_compat.c: Likewise.
2346         * math/w_exp2l_compat.c: Likewise.
2347         * math/w_fmod_compat.c: Likewise.
2348         * math/w_fmodf_compat.c: Likewise.
2349         * math/w_fmodl_compat.c: Likewise.
2350         * math/w_hypot_compat.c: Likewise.
2351         * math/w_hypotf_compat.c: Likewise.
2352         * math/w_hypotl_compat.c: Likewise.
2353         * math/w_j0_compat.c: Likewise.
2354         * math/w_j0f_compat.c: Likewise.
2355         * math/w_j0l_compat.c: Likewise.
2356         * math/w_j1_compat.c: Likewise.
2357         * math/w_j1f_compat.c: Likewise.
2358         * math/w_j1l_compat.c: Likewise.
2359         * math/w_jn_compat.c: Likewise.
2360         * math/w_jnf_compat.c: Likewise.
2361         * math/w_jnl_compat.c: Likewise.
2362         * math/w_log10_compat.c: Likewise.
2363         * math/w_log10f_compat.c: Likewise.
2364         * math/w_log10l_compat.c: Likewise.
2365         * math/w_log2_compat.c: Likewise.
2366         * math/w_log2f_compat.c: Likewise.
2367         * math/w_log2l_compat.c: Likewise.
2368         * math/w_log_compat.c: Likewise.
2369         * math/w_logf_compat.c: Likewise.
2370         * math/w_logl_compat.c: Likewise.
2371         * math/w_pow_compat.c: Likewise.
2372         * math/w_powf_compat.c: Likewise.
2373         * math/w_powl_compat.c: Likewise.
2374         * math/w_remainder_compat.c: Likewise.
2375         * math/w_remainderf_compat.c: Likewise.
2376         * math/w_remainderl_compat.c: Likewise.
2377         * math/w_scalb_compat.c: Likewise.
2378         * math/w_scalbf_compat.c: Likewise.
2379         * math/w_scalbl_compat.c: Likewise.
2380         * math/w_sinh_compat.c: Likewise.
2381         * math/w_sinhf_compat.c: Likewise.
2382         * math/w_sinhl_compat.c: Likewise.
2383         * math/w_sqrt_compat.c: Likewise.
2384         * math/w_sqrtf_compat.c: Likewise.
2385         * math/w_sqrtl_compat.c: Likewise.
2386         * math/w_tgamma_compat.c: Likewise.
2387         * math/w_tgammaf_compat.c: Likewise.
2388         * math/w_tgammal_compat.c: Likewise.
2390         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
2391         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2392         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2393         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2394         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2395         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2396         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2397         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2398         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2399         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
2400         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
2401         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
2402         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2403         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2404         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2405         * sysdeps/ia64/fpu/w_powl.c: Likewise.
2406         * sysdeps/ia64/fpu/w_powf.c: Likewise.
2407         * sysdeps/ia64/fpu/w_pow.c: Likewise.
2408         * sysdeps/ia64/fpu/w_logl.c: Likewise.
2409         * sysdeps/ia64/fpu/w_logf.c: Likewise.
2410         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2411         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2412         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2413         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2414         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2415         * sysdeps/ia64/fpu/w_log10.c: Likewise.
2416         * sysdeps/ia64/fpu/w_log.c: Likewise.
2417         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2418         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2419         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2420         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2421         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2422         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2423         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2424         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2425         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2426         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2427         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2428         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2429         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2430         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2431         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2432         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2433         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2434         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2435         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2436         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2437         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2438         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2439         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2440         * sysdeps/ia64/fpu/w_asin.c: Likewise.
2441         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2442         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2443         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2444         * sysdeps/ia64/fpu/w_acos.c: Likewise.
2445         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2446         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2447         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2448         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
2449         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
2450         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
2453         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
2455         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2456         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2457         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2459         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2460         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2461         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2462         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2463         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2464         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2465         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2467         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2468         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2469         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2470         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2471         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2473         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2474         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2475         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2476         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2477         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2479         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2480         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2481         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2482         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2483         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2484         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2485         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2486         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2487         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2488         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2489         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2491         Likewise.
2492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2493         Likewise.
2494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2496         Likewise.
2497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2498         Likewise.
2499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2500         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2501         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2502         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2503         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2504         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2505         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2510         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2511         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2512         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2513         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2515         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2516         and adjusted for new #includes path
2517         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2518         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2519         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2520         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2521         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2522         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2523         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2524         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2525         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2526         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2527         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2528         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2529         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2530         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2531         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2532         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2533         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2534         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2535         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2536         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2537         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2538         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2539         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2540         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2541         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2542         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2543         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2544         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2545         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2546         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2547         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2548         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2549         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2550         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2551         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2552         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2553         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2554         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2555         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2556         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2557         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2558         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2559         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2560         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2561         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2562         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2563         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2564         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2565         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2566         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2567         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2568         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2569         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2570         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2571         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2572         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2573         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2574         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2575         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2576         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2577         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2578         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2579         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2580         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2581         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2582         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2583         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2584         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2585         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2586         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2587         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2588         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2589         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2590         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2591         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2592         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2593         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2594         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2595         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2596         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2597         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2598         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2599         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2600         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2601         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2602         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2603         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2604         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2605         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2606         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2607         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2608         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2609         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2610         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2611         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2612         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2613         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2614         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2615         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2617         Likewise.
2618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2619         Likewise.
2620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2621         Likewise.
2622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2623         Likewise.
2624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2625         Likewise.
2626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2627         Likewise.
2628         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2629         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2630         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2631         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2632         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2633         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2635         Likewise.
2636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2637         Likewise.
2638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2639         Likewise.
2640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2641         Likewise.
2642         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2643         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2644         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2645         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2647 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2649         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2650         __jmp_buf_internal_tag.
2652         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2653         preserve NaN payload if [__mips_nan2008].
2654         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2656         [BZ #21022]
2657         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2659 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2661         * sysdeps/i386/fpu/libm-test-ulps: Update.
2663 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2665         * sysdeps/ia64/strcat.c: Remove file.
2666         * sysdeps/powerpc/strcat.c: Likewise.
2667         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2668         C implementation.
2669         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2670         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2672 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2673             Steven Munroe  <sjmunroe@us.ibm.com>
2674             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2676         [BZ #20822]
2677         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2678         (__lll_lock_elision): Access adapt_count via C11 atomics.
2679         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2680         (__lll_trylock_elision): Likewise.
2681         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2682         (__lll_unlock_elision):  Update adapt_count variable inside the
2683         critical section using C11 atomics.
2685 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2687         * math/test-fenvinline.c (do_test): Disable tests of raised
2688         exceptions if !EXCEPTION_TESTS (FLOAT).
2690 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2692         [BZ #19390]
2693         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2694         maximum string size.
2695         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2696         in pointer addition.
2697         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2698         Likewise.
2700 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2702         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2703         passed to tst-ldconfig-X.sh.
2705 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2707         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2709 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2711         [BZ #21019]
2712         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2713         New syscall entry.
2714         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2715         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2716         lseek.
2718         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2719         power4 glibc for powerpc-linux-gnu.
2721 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2723         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2724         semctl.
2726 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2728         * math/test-nearbyint-except.c: Include <stdbool.h>.
2729         (any_supported): New variable.
2730         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2731         set any_supported.
2732         (do_test): Return 77 if no floating-point type supported
2733         exceptions.
2735         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2736         condition on [__mips_hard_float].
2738 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2740         [BZ #21014]
2741         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2742         in pointer addition.
2743         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2745 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2747         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2748         new condvar.
2750 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2752         * scripts/build-many-glibcs.py (Context.checkout): Default
2753         binutils version to 2.28 branch.
2755 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2757         * support/support_format_netent.c (support_format_netent): Work
2758         around alpha struct netent definition difference.
2760 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2762         * support/xwrite.c (xwrite): Use %td for pointer difference.
2764 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2766         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2767         have-tunables only.
2768         (tests-static): Add tst-malloc-usable-static-tunables for
2769         have-tunables only.
2771 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2773         * scripts/config.guess: Update to version 2017-01-01.
2774         * scripts/config.sub: Update to version 2017-01-01.
2776         * NEWS: Update copyright dates.
2777         * catgets/gencat.c (print_version): Likewise.
2778         * csu/version.c (banner): Likewise.
2779         * debug/catchsegv.sh: Likewise.
2780         * debug/pcprofiledump.c (print_version): Likewise.
2781         * debug/xtrace.sh (do_version): Likewise.
2782         * elf/ldconfig.c (print_version): Likewise.
2783         * elf/ldd.bash.in: Likewise.
2784         * elf/pldd.c (print_version): Likewise.
2785         * elf/sotruss.sh: Likewise.
2786         * elf/sprof.c (print_version): Likewise.
2787         * iconv/iconv_prog.c (print_version): Likewise.
2788         * iconv/iconvconfig.c (print_version): Likewise.
2789         * locale/programs/locale.c (print_version): Likewise.
2790         * locale/programs/localedef.c (print_version): Likewise.
2791         * login/programs/pt_chown.c (print_version): Likewise.
2792         * malloc/memusage.sh (do_version): Likewise.
2793         * malloc/memusagestat.c (print_version): Likewise.
2794         * malloc/mtrace.pl: Likewise.
2795         * manual/libc.texinfo: Likewise.
2796         * nptl/version.c (banner): Likewise.
2797         * nscd/nscd.c (print_version): Likewise.
2798         * nss/getent.c (print_version): Likewise.
2799         * nss/makedb.c (print_version): Likewise.
2800         * posix/getconf.c (main): Likewise.
2801         * scripts/test-installation.pl: Likewise.
2802         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2804         * All files with FSF copyright notices: Update copyright dates
2805         using scripts/update-copyrights.
2806         * intl/plural.c: Regenerated.
2807         * locale/programs/charmap-kw.h: Likewise.
2808         * locale/programs/locfile-kw.h: Likewise.
2810 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2812         [BZ #20593]
2813         Update DNS RR type definitions.
2814         * scripts/gen-rrtypes.py: New file.
2815         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2816         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2817         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2818         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2819         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2820         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2821         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2822         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2823         ns_t_ta, ns_t_dlv.
2824         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2825         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2826         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2827         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2828         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2829         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2830         Define.
2831         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2832         entry for ns_t_zxfr.
2834 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2836         [BZ #18784]
2837         CVE-2015-5180
2838         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2839         T_UNSPEC.  Adjust value.
2840         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2841         * resolv/res_query.c (__libc_res_nquery): Likewise.
2842         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2843         QTYPEs.
2844         * resolv/tst-resolv-qtypes.c: New file.
2845         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2846         (tst-resolv-qtypes): Link against libresolv and libpthread.
2848 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2850         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2852 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2854         * manual/tunables.texi: New chapter.
2855         * manual/Makefile (chapters): Add it.
2856         * manual/probes.texi (@node): Point to the Tunables chapter.
2858         * Makeconfig (have-tunables): Check for non-negative instead
2859         of positive.
2860         * configure.ac: Add 'valstring' as a valid value for
2861         --enable-tunables.
2862         * configure: Regenerate.
2863         * elf/Makefile (have-tunables): Check for non-negative instead
2864         of positive.
2865         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2866         dl-tunables.c.
2867         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2868         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2869         (tunables_strdup): Likewise.
2870         (disable_tunables): Likewise.
2871         (parse_tunables): Likewise.
2872         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2873         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2874         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2875         (TUNABLES_FRONTEND_yes): New macro, define as
2876         TUNABLES_FRONTEND_valstring by default.
2877         * manual/install.texi: Document new acceptable values for
2878         --enable-tunables.
2879         * INSTALL: Regenerate.
2881         * config.make.in (have-loop-to-function): Define.
2882         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2883         -fno-tree-loop-distribute-patterns.
2884         * elf/dl-tunables.c: Include libc-internals.h.
2885         (GLIBC_TUNABLES): New macro.
2886         (tunables_strdup): New function.
2887         (parse_tunables): New function.
2888         (min_strlen): New function.
2889         (__tunables_init): Use the new functions and macro.
2890         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2891         * malloc/tst-malloc-usable-tunables.c: New test case.
2892         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2893         * malloc/Makefile (tests, tests-static): Add tests.
2895         * manual/install.texi: Add --enable-tunables option.
2896         * INSTALL: Regenerate.
2897         * README.tunables: New file.
2898         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2899         (before-compile): Generate dl-tunable-list.h early.
2900         * config.h.in: Add HAVE_TUNABLES.
2901         * config.make.in: Add have-tunables.
2902         * configure.ac: Add --enable-tunables option.
2903         * configure: Regenerate.
2904         * csu/init-first.c (__libc_init_first): Move
2905         __libc_init_secure earlier...
2906         * csu/init-first.c (LIBC_START_MAIN):... to here.
2907         Include dl-tunables.h, libc-internal.h.
2908         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2909         binaries.
2910         * elf/Makefile (dl-routines): Add dl-tunables.
2911         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2912         namespace.
2913         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2914         only when !HAVE_TUNABLES.
2915         * elf/rtld.c (process_envvars): Likewise.
2916         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2917         (_dl_sysdep_start): Call __tunables_init.
2918         * elf/dl-tunable-types.h: New file.
2919         * elf/dl-tunables.c: New file.
2920         * elf/dl-tunables.h: New file.
2921         * elf/dl-tunables.list: New file.
2922         * malloc/tst-malloc-usable-static.c: New test case.
2923         * malloc/Makefile (tests-static): Add it.
2924         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2925         Define TUNABLE_NAMESPACE.
2926         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2927         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2928         callback functions.
2929         (ptmalloc_init): Set tunable values.
2930         * scripts/gen-tunables.awk: New file.
2931         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2932         (_dl_sysdep_start): Call __tunables_init.
2934 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2936         * resolv/resolv.h (RES_BLAST): Deprecate.
2937         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2938         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2939         to RES_BLAST.
2941 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2943         [BZ #19582]
2944         Deprecate RES_USE_INET6.
2945         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2946         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2947         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2948         RES_USE_INET6.
2949         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2950         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2951         (_nss_nisplus_gethostbyaddr_r): Likewise.
2952         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2953         of res_use_inet6.
2954         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2955         instead of RES_USE_INET6.
2956         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2957         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2958         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2959         Likewise.
2960         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2961         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2962         Likewise.
2963         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2964         (_nss_dns_gethostbyname_r): Likewise.
2965         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2966         alternate RES_USE_INET6 handling.
2967         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2968         instead of RES_USE_INET6.
2969         * resolv/res_init.c (res_setoptions): Likewise.
2970         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2971         * resolv/resolv-internal.h: New file.
2972         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2973         make the deprecation warning non-fatal.
2974         * resolv/README (Using the resolver in multi-threaded code): Drop
2975         reference to RES_USE_INET6.
2976         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2977         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2979 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2981         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2982         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2983         tst-resolv-search.
2984         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2985         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2986         with libresolv and libpthread.
2987         * resolv/tst-bug18665.c: New file.
2988         * resolv/tst-bug18665-tcp: Likewise.
2989         * resolv/tst-res_use_inet6: Likewise.
2990         * resolv/tst-resolv-basic: Likewise.
2991         * resolv/tst-resolv-network: Likewise.
2992         * resolv/tst-resolv-search: Likewise.
2993         * support/Makefile (libsupport-routines): Add check_addrinfo,
2994         check_dns_packet, check_hostent, check_netent, resolv_test,
2995         support_format_address_family, support_format_addrinfo,
2996         support_format_dns_packet, support_format_herrno,
2997         support_format_hostent, support_format_netent, support_run_diff,
2998         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2999         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
3000         xstrdup, xwrite.
3001         * support/check_addrinfo.c: New file.
3002         * support/check_dns_packet.c: Likewise.
3003         * support/check_hostent.c: Likewise.
3004         * support/check_netent.c: Likewise.
3005         * support/check_nss.h: Likewise.
3006         * support/format_nss.h: Likewise.
3007         * support/resolv_test.c: Likewise.
3008         * support/resolv_test.h: Likewise.
3009         * support/run_diff.h: Likewise.
3010         * support/support_format_address_family.c: Likewise.
3011         * support/support_format_addrinfo.c: Likewise.
3012         * support/support_format_dns_packet.c: Likewise.
3013         * support/support_format_herrno.c: Likewise.
3014         * support/support_format_hostent.c: Likewise.
3015         * support/support_format_netent.c: Likewise.
3016         * support/support_run_diff.c: Likewise.
3017         * support/xaccept.c: Likewise.
3018         * support/xbind.c: Likewise.
3019         * support/xconnect.c: Likewise.
3020         * support/xfclose.c: Likewise.
3021         * support/xfopen.c: Likewise.
3022         * support/xgetsockname.c: Likewise.
3023         * support/xlisten.c: Likewise.
3024         * support/xmemstream.c: Likewise.
3025         * support/xmemstream.h: Likewise.
3026         * support/xpoll.c: Likewise.
3027         * support/xpthread_once.c: Likewise.
3028         * support/xrecvfrom.c: Likewise.
3029         * support/xsendto.c: Likewise.
3030         * support/xsetsockopt.c: Likewise.
3031         * support/xstdio.h: Likewise.
3032         * support/xstrdup.c: Likewise.
3033         * support/support.h (xstrdup): Declare.
3034         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
3035         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
3036         * support/xthread.h (xpthread_once): Likwise.
3037         * support/xunistd.h (xwrite): Declare.
3039 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3041         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3042         (test_verbose): Declare.
3043         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3044         * support/support_test_main.c (default_options): Likewise.
3045         (usage, support_test_main): Handle 'v'.
3046         (test_verbose): Define.
3047         * support/tst-support_record_failure.c (do_test): Use
3048         test_verbose.
3049         * support/tst-support_record_failure-2.sh (different_status): Add
3050         --verbose test.
3052 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3054         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3055         test failures are recorded.
3056         * support/check.c (support_print_failure_impl): Call
3057         support_record_failure.
3058         (support_exit_failure_impl): Call support_record_failure if status
3059         indicates failure.
3060         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3061         * support/xasprintf.c (xasprintf): Likewise.
3062         * support/xfork.c (xfork): Likewise.
3063         * support/xpthread_check_return.c (xpthread_check_return):
3064         Likewise.
3065         * support/xsocket.c (xsocket): Likeweise.
3066         * support/xwaitpid.c (xwaitpid): Likewise.
3067         * support/support_record_failure.c (struct test_failures): Adjust
3068         to coding style.
3069         * support/support_test_verify_impl.c (support_test_verify_impl):
3070         Adjust error messages.
3071         * support/tst-support_record_failure-2.sh (different_status):
3072         Adjust error messages.
3074 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3076         * support/namespace.h: New file.
3077         * support/support_become_root.c: Likewise.
3078         * support/support_enter_network_namespace.c: Likewise.
3079         * support/tst-support-namespace.c: Likewise.
3080         * support/xsocket.c: Likewise.
3081         * support/xsocket.h: Likewise.
3082         * support/Makefile (libsupport-routines): Add support_become_root,
3083         support_enter_network_namespace, xsocket.
3084         (tests): Add tst-support-namespace.
3086 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3088         [BZ #17252]
3089         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3090         __USE_GNU.
3092 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3094         [BZ #13165]
3095         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3096         use new algorithm.
3097         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3098         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3099         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3100         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3101         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3102         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3103         __condvar_cleanup_waiting, __condvar_dec_grefs,
3104         __pthread_cond_wait_common): New.
3105         (__condvar_cleanup): Remove.
3106         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3107         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3108         Likewise.
3109         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3110         Likewise.
3111         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3112         * nptl/tst-cond1.c: Add comment.
3113         * nptl/tst-cond20.c (do_test): Adapt.
3114         * nptl/tst-cond22.c (do_test): Likewise.
3115         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3116         structure.
3117         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3118         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3119         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3120         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3121         Likewise.
3122         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3123         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3124         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3125         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3126         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3127         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3128         Likewise.
3129         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3130         Likewise.
3131         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3132         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3133         (COND_CLOCK_BITS): Adapt.
3134         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3135         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3136         __PTHREAD_COND_SHARED_MASK): New.
3137         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3138         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3139         * nptl/nptl_lock_constants.pysym: Adapt.
3140         * nptl/test-cond-printers.py: Adapt.
3141         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3142         cond_compat_check_and_clear): Adapt.
3143         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3144         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3145         (__pthread_cond_timedwait): ... and move here.
3146         * nptl/DESIGN-condvar.txt: Remove file.
3147         * nptl/lowlevelcond.sym: Likewise.
3148         * nptl/pthread_cond_timedwait.c: Likewise.
3149         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3150         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3151         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3152         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3153         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3154         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3155         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3156         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3157         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3158         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3160         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3161         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3162         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3163         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3164         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3166 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3168         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3169         (fromfp): New declaration.
3170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3173         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3178         * math/math.h: Include <bits/types.h>.
3179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3180         constant and macro.
3181         (FP_INT_DOWNWARD): Likewise.
3182         (FP_INT_TOWARDZERO): Likewise.
3183         (FP_INT_TONEARESTFROMZERO): Likewise.
3184         (FP_INT_TONEAREST): Likewise.
3185         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3186         (fromfpf): Likewise.
3187         (fromfpl): Likewise.
3188         (ufromfp): Likewise.
3189         (ufromfpf): Likewise.
3190         (ufromfpl): Likewise.
3191         (fromfpx): Likewise.
3192         (fromfpxf): Likewise.
3193         (fromfpxl): Likewise.
3194         (ufromfpx): Likewise.
3195         (ufromfpxf): Likewise.
3196         (ufromfpxl): Likewise.
3197         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3198         s_fromfpxF and s_ufromfpxF.
3199         * math/gen-fromfp-tests.py: New file.
3200         * math/gen-fromfp-tests-inputs: Likewise.
3201         * math/libm-test.inc: Include <stdint.h>
3202         (check_intmax_t): New function.
3203         (check_uintmax_t): Likewise.
3204         (struct test_fiu_M_data): New type.
3205         (struct test_fiu_U_data): Likewise.
3206         (RUN_TEST_fiu_M): New macro.
3207         (RUN_TEST_LOOP_fiu_M): Likewise.
3208         (RUN_TEST_fiu_U): Likewise.
3209         (RUN_TEST_LOOP_fiu_U): Likewise.
3210         (fromfp_test_data): New array.
3211         (fromfp_test): New function.
3212         (fromfpx_test_data): New array.
3213         (fromfpx_test): New function.
3214         (ufromfp_test_data): New array.
3215         (ufromfp_test): New function.
3216         (ufromfpx_test_data): New array.
3217         (ufromfpx_test): New function.
3218         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3219         ufromfpx_test.
3220         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3221         characters.
3222         * math/test-tgmath-ret.c: Include <stdint.h>.
3223         (rm): New variable.
3224         (width): Likewise.
3225         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3226         called function.
3227         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3228         CHECK_RET_CONST_TYPE.
3229         (CHECK_RET_CONST_DOUBLE): Likewise.
3230         (CHECK_RET_CONST_LDOUBLE): Likewise.
3231         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3232         macros.
3233         (fromfp): New CHECK_RET_CONST call.
3234         (ufromfp): Likewise.
3235         (fromfpx): Likewise.
3236         (ufromfpx): Likewise.
3237         (do_test): Call check_return_fromfp, check_return_ufromfp,
3238         check_return_fromfpx and check_return_ufromfpx.
3239         * math/test-tgmath.c: Include <stdint.h>
3240         (NCALLS): Increase to 138.
3241         (F(compile_test)): Initialize i.  Call fromfp functions.
3242         (F(fromfp)): New function.
3243         (F(fromfpx)): Likewise.
3244         (F(ufromfp)): Likewise.
3245         (F(ufromfpx)): Likewise.
3246         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3247         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3248         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3249         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3250         ufromfpxl.
3251         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3252         ufromfp and ufromfpx.
3253         * math/fromfp.h: New file.
3254         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3255         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3256         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3257         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3258         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3259         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3260         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3261         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3262         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3263         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3264         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3265         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3266         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3267         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3268         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3269         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3270         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3271         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3272         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3273         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3274         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3275         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3276         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3277         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3278         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3279         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3280         ufromfp, fromfpx and ufromfpx.
3281         (CFLAGS-nldbl-fromfp.c): New variable.
3282         (CFLAGS-nldbl-fromfpx.c): Likewise.
3283         (CFLAGS-nldbl-ufromfp.c): Likewise.
3284         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3285         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3286         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3287         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3288         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3289         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3290         * sysdeps/nacl/libm.abilist: Update.
3291         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3292         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3293         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3294         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3295         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3296         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3297         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3298         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3299         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3300         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3301         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3302         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3304         Likewise.
3305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3306         Likewise.
3307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3308         Likewise.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3310         Likewise.
3311         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3312         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3313         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3314         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3315         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3317         Likewise.
3318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3319         Likewise.
3320         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3321         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3322         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3324 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3326         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3327         compat-gethnamaddr.
3328         (CPPFLAGS): Remove.
3329         * resolv/gethnamaddr.c: Rename ...
3330         * resolv/compat-gethnamaddr.c: ... to this file.
3331         (_endhtent): Make static.
3332         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3333         symbol.
3334         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3335         compat symbol.
3336         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3337         symbol.
3338         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3339         Turn into compat symbol.
3340         * include/resolv.h (_endhtent): Remove declaration.
3342 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3344         * bits/types.h (__intmax_t): New typedef.
3345         (__uintmax_t): Likewise.
3346         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3347         (intmax_t): Define using __intmax_t.
3348         (uintmax_t): Define using __uintmax_t.
3350         * support/Makefile (tests-special): Make definition conditional on
3351         [$(run-built-tests) = yes].
3352         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3353         on [$(run-built-tests) = yes].
3355 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3357         * Rules (tests): Add tests-printers-programs to tests to be
3358         built.
3360 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3362         * sysvipc/Makefile (tests): Add test-sysvshm.
3363         * sysvipc/test-sysvshm.c: New file.
3365         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3366         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3367         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3368         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3369         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3370         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3371         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3372         Likewise.
3373         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3374         Likewise.
3375         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3376         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3377         is defined.
3379         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
3380         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
3381         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
3382         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
3383         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
3384         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
3385         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
3386         Likewise.
3387         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
3388         Likewise.
3389         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
3390         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
3391         defined.
3393         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3394         oldshmctl.
3395         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
3396         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
3397         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
3398         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
3399         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
3400         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
3401         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
3402         Likewise.
3403         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
3404         Likewise.
3405         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
3406         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
3407         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
3408         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
3409         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
3410         implementation.
3411         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
3412         if it is defined.
3414         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
3415         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
3416         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
3417         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
3418         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
3419         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
3420         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
3421         Likewise.
3422         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
3423         Likewise.
3424         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
3425         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3426         Define to __NR_osf_shmat.
3427         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
3428         defined.
3430         * sysvipc/Makefile (tests): Add test-sysvsem.
3431         * sysvipc/test-sysvsem.c: New file.
3433         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
3434         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
3435         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
3436         Likewise.
3437         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
3438         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
3439         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
3440         Likewise.
3441         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
3442         Likewise.
3443         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
3444         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
3445         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
3446         add a comment about s390 syscall difference from default one.
3447         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
3448         syscall if it is defined.
3450         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
3451         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
3452         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
3453         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
3454         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
3455         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3456         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3457         Likewise.
3458         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3459         Likewise.
3460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3461         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3462         defined.
3464         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3465         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3466         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3467         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3468         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3469         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3470         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3471         Likewise.
3472         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3473         Likewise.
3474         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3475         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3476         if it is defined.
3478         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3479         oldsemctl.
3480         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3481         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3482         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3483         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3484         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3485         implementation.
3486         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3487         syscall if it is defined.
3488         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3489         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3490         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3491         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3492         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3493         Likewise.
3494         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3496         * sysvipc/Makefile (tests): Add test-sysvmsg.
3497         * sysvipc/test-sysvmsg.c: New file.
3498         * support/check.h (FAIL_UNSUPPORTED): New define.
3500         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3501         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3502         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3503         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3504         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3505         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3506         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3507         Likewise.
3508         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3509         Likewise.
3510         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3511         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3512         define.
3514         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3515         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3516         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3517         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3518         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3519         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3520         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3521         Likewise.
3522         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3523         Likewise.
3524         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3525         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3526         if defined.
3528         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3529         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3530         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3531         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3532         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3533         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3534         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3535         Likewise.
3536         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3537         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3538         Likewise.
3539         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3540         if defined.
3541         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3543         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3544         oldmsgctl.
3545         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3546         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3547         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3548         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3549         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3550         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3551         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3552         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3553         Likewise.
3554         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3555         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3556         implementation.
3557         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3558         if defined.
3560         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3561         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3562         definition and define its own.
3563         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3564         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3565         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3566         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3567         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3568         definitions to common header.
3569         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3570         operation from ipc_ops.h.
3572         * sysdeps/unix/sysv/linux/kernel-features.h
3573         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3574         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3575         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3576         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3577         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3578         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3579         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3580         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3581         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3582         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3583         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3584         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3585         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3586         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3587         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3589 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3591         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3592         overflow in pointer addition.
3594 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3596         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3597         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3599         (strchr): Add __strchr_power8 to list of strchr functions.
3600         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3601         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3602         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3603         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3604         (strchr): Add __strchr_power8 to ifunc list.
3605         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3606         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3607         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3608         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3610 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3612         * support/Makefile (libsupport-routines): Add
3613         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3614         (tests): Add tst-support_record_failure.
3615         (tests-special): tst-support_record_failure-2.
3616         (tst-support_record_failure-2.out): Depend on
3617         tst-support_record_failure-2.sh and tst-support_record_failure.
3618         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3619         (support_test_verify_impl, support_record_failure)
3620         (support_report_failure, support_report_failure_reset): Declare.
3621         * support/support_test_main.c (adjust_exit_status): New function.
3622         (support_test_main): Call it to incorporate record test failures.
3623         * support/support_test_verify_impl.c: New file.
3624         * support/support_record_failure.c: Likewise.
3625         * support/tst-support_record_failure.c: Likewise.
3626         * support/tst-support_record_failure-2.sh: Likewise.
3627         * support/xunistd.h: Likewise.
3628         * support/xfork.c: Likewise.
3629         * support/xwaitpid.c: Likewise.
3631 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3633         * scripts/check-c++-types.sh: Add comments.
3635 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3637         [BZ #19514]
3638         * resolv/res_send.c: Fix typo in comment.
3639         * sysdeps/i386/i386-mcount.S: Likewise.
3640         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3641         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3642         * sysdeps/sparc/sparc-mcount.S: Likewise.
3644 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3646         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3647         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3648         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3649         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3650         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3651         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3652         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3653         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3655 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3657         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3659 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3661         [BZ #17252]
3662         * posix/unistd.h (getentropy): Declare.
3664 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3666         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3667         Remove.
3668         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3669         (cmd): Remove spoof, nospoof, spoofalert.
3670         (parse_line): Ignore spoof-related lines.
3671         (do_init): Do not process RESOLV_SPOOF_CHECK.
3673 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3675         [BZ #20964]
3676         sunrpc: Always obtain AF_INET addresses from NSS.
3677         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3678         * sunrpc/rpc_gethostbyname.c: New file.
3679         * sunrpc/Makefile (routines): Add it.
3680         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3681         * sunrpc/clnt_simp.c (callrpc): Likewise.
3682         * sunrpc/getrpcport.c (getrpcport): Likewise.
3684 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3686         * sunrpc/rpcinfo.c: Remove.
3687         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3689 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3691         [BZ# 19387]
3692         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3693         addition.
3694         * string/test-memchr.c (do_test): Remove alignment limitation.
3695         (test_main): Add test that trigger BZ# 19387.
3697 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3699         [BZ #7065]
3700         Enable stack protectore if requested by ./configure.
3701         * Makeconfig (+stack-protector): New variable.
3702         (+cflags): Use it.
3704 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3706         [BZ #7065]
3707         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3709         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3710         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3711         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3713 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3715         [BZ #7065]
3716         * login/Makefile (pt_chown-cflags): Remove.
3717         * nscd/Makefile (CFLAGS-nscd): Likewise.
3718         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3720 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3722         [BZ #7065]
3723         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3724         non-libc-linking testcase.
3726 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3727             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3728             Florian Weimer  <fweimer@redhat.com>
3730         [BZ #7065]
3731         PLT avoidance for __stack_chk_fail*.
3732         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3733         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3734         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3735         __stack_chk_fail_local alias.
3736         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3737         (__stack_chk_fail): Turn into hidden reference to
3738         __stack_chk_fail_local.
3740 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3742         [BZ #7065]
3743         * configure.ac: Add check for unsupported stack-protection level.
3744         (libc_cv_predef_stack_protector): Remove.
3745         (no_ssp): New variable.
3746         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3747         (stack_protector): Set to -fno-stack-protector similarly.
3748         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3749         (libc_cv_asm_set_directive): Likewise.
3750         (libc_cv_protected_data): Likewise.
3751         (libc_cv_z_combreloc): Likewise.
3752         (libc_cv_hashstyle): Likewise.
3753         (libc_cv_has_glob_dat): Likewise.
3754         (libc_cv_output_format): Likewise.
3755         (libc_cv_output_format): Likewise.
3756         (libc_cv_ehdr_start): Likewise.
3757         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3758         (LIBC_LINKER_FEATURE): Likewise.
3759         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3761 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3763         [BZ #7065]
3764         * elf/Makefile (dummy-stack-chk-fail): New.
3765         (librtld.map): Use it.
3767 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3769         [BZ #7065]
3770         Compile the dynamic linker without stack protection.
3771         * elf/Makefile (elide-stack-protector): New.
3772         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3773         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3774         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3775         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3777 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3779         [BZ #7065]
3780         * config.make.in (have-ssp, no-stack-protector): New.
3781         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3782         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3783         (CFLAGS-sbrk.op): Likewise.
3784         (CFLAGS-brk.o): Likewise.
3785         (CFLAGS-brk.op): Likewise.
3786         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3787         (CFLAGS-wordcopy.c): Likewise.
3789 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3791         [BZ #7065]
3792         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3793         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3794         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3795         (__ifunc_resolver): Use it.
3796         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3797         inhibit_stack_protector.
3798         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3799         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3800         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3801         (foo_protected_ifunc): Likewise.
3802         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3803         (foo_protected_ifunc): Likewise.
3804         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3805         * sysdeps/nacl/nacl_interface_query.c
3806         (nacl_interface_query_ifunc): Likewise.
3807         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3808         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3809         Likewise.
3810         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3811         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3812         the generated vDSO syscall resolver.
3814 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3815             Florian Weimer  <fweimer@redhat.com>
3817         [BZ #7065]
3818         Initialize the stack guard earlier when linking statically.
3819         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3820         (__pthread_initialize_minimal): Declare.
3821         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3822         declaration.
3823         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3824         stack canary and apply_irel initialization up.  Call
3825         __pthread_initialize_minimal only if linked in.
3826         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3827         constant values.
3828         (__pthread_initialize_minimal): Remove.
3829         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3830         (__pthread_initialize_minimal_internal): Do not call
3831         __libc_setup_tls.
3833 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3835         [BZ #7065]
3836         * configure.ac (libc_cv_ssp): Move up.
3837         (libc_cv_ssp_strong): Likewise.
3838         (libc_cv_ssp_all): New.
3839         (stack_protector): Augment, adding -fstack-protector-all.
3840         (no_stack_protector): New.
3841         (STACK_PROTECTOR_LEVEL): New.
3842         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3843         * manual/install.texi (--enable-stack-protector): Document it.
3844         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3846 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3848         * README.pretty-printers: Must specify CPPFLAGS-* also.
3849         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3850         (CPPFLAGS-test-mutex-printers.c): Define.
3851         (CPPFLAGS-test-condattr-printers.c): Define.
3852         (CPPFLAGS-test-cond-printers.c): Define.
3853         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3854         (CPPFLAGS-test-rwlock-printers.c): Define.
3856         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3857         (tests): Add tst-cancel-getpwuid_r.
3858         * nss/tst-cancel-getpwuid_r.c: New file.
3860         [BZ #11941]
3861         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3862         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3863         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3864         tst-nodelete-dlclose.
3865         (modules-names): Add tst-nodelete-dlclose-dso and
3866         tst-nodelete-dlclose-plugin.
3867         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3868         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3869         ($(objpfx)tst-nodelete-dlclose): Define.
3870         ($(objpfx)tst-nodelete-dlclose.out): Define.
3872 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3874         * scripts/test_printers_common.py: Log GDB output in case of
3875         Python detection failure.
3877 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3879         * configure.ac: Check for python3 or python.
3880         * configure: Regenerated.
3881         * config.make.in (PYTHON): New variable.
3882         * benchtests/Makefile: Don't define PYTHON.
3883         (bench): Define target only if PYTHON was defined.
3884         * Rules: Don't define PYTHON.
3885         Define pretty printer targets only if PYTHON was defined.
3886         (tests-printers): Add to tests-unsupported if PYTHON is not
3887         found.
3888         (python-flags, python-invoke): Remove.
3889         (tests-printers-out): Use PYTHON instead of python-invoke.
3891 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3893         [BZ #20978]
3894         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3895         Compare name == NULL, not name != NULL.
3897         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3898         trailing whitespace removed.
3899         * scripts/config.guess: Update to version 2016-10-02.
3900         * scripts/config.sub: Update to version 2016-11-19.
3901         * scripts/install-sh: Update to version 2016-01-11.22.
3902         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3903         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3905 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3907         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3908         (do_one_test) Restore original string so iteration works.
3909         * string/string-inlines.c (do_test): Create better input strings.
3910         (test_main) Reduce number of testruns.
3911         * string/string-inlines.c (__old_strsep_1c): New function.
3912         (__old_strsep_2c): Likewise.
3913         (__old_strsep_3c): Likewise.
3914         * string/strsep.c (__strsep): Remove case of small delim string.
3915         Call strcspn directly rather than strpbrk.
3916         * string/bits/string2.h (__strsep): Remove define.
3917         (__strsep_1c): Remove.
3918         (__strsep_2c): Remove.
3919         (__strsep_3c): Remove.
3920         (strsep): Remove.
3921         * sysdeps/unix/sysv/linux/internal_statvfs.c
3922         (__statvfs_getflags): Rename to __strsep.
3924 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3926         * csu/libc-tls.c (_dl_tls_setup): Remove.
3927         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3928         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3929         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3931 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3933         [BZ #7065]
3934         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3935         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3937 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3938             Florian Weimer  <fweimer@redhat.com>
3940         [BZ #7065]
3941         * csu/Makefile (tests): Empty assignment and document it.
3942         (tests-static): Remove.
3943         * csu/tst-empty.c: Move to...
3944         * misc/tst-empty.c: ... here.  Switch to new test driver.
3945         * csu/tst-atomic.c: Move to...
3946         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3947         * csu/tst-atomic-long.c: Move to...
3948         * misc/tst-atomic-long.c: ... here.
3949         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3950         tst-atomic-long.
3951         (tests-static): Add tst-empty.
3953 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3955         * manual/nss.texi: Change incorrect @vtable to @table.
3956         * manual/arith.texi: Convert @tables of variables to @vtables
3957         and remove unnecessary indexing.
3958         * manual/filesys.texi: Likewise.
3959         * manual/llio.texi: Likewise.
3960         * manual/memory.texi: Likewise.
3961         * manual/process.texi: Likewise.
3962         * manual/resource.texi: Likewise.
3963         * manual/search.texi: Likewise.
3964         * manual/signal.texi: Likewise.
3965         * manual/socket.texi: Likewise.
3966         * manual/stdio.texi: Likewise.
3967         * manual/sysinfo.texi: Likewise.
3968         * manual/syslog.texi: Likewise.
3969         * manual/terminal.texi: Likewise.
3970         * manual/time.texi: Likewise.
3971         * manual/users.texi: Likewise.
3973 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3975         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3976         (roundeven): New declaration.
3977         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3978         macro.
3979         * math/Versions (roundeven): New libm symbol at version
3980         GLIBC_2.25.
3981         (roundevenf): Likewise.
3982         (roundevenl): Likewise.
3983         * math/Makefile (libm-calls): Add s_roundevenF.
3984         * math/libm-test.inc (roundeven_test_data): New array.
3985         (roundeven_test): New function.
3986         (main): Call roundeven_test.
3987         * math/test-tgmath.c (NCALLS): Increase to 134.
3988         (F(compile_test)): Call roundeven.
3989         (F(roundeven)): New function.
3990         * manual/arith.texi (Rounding Functions): Document roundeven,
3991         roundevenf and roundevenl.
3992         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3993         * include/math.h (roundeven): Use libm_hidden_proto.
3994         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3995         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3996         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3997         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3998         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3999         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
4000         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4001         roundeven.
4002         (CFLAGS-nldbl-roundeven.c): New variable.
4003         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
4004         * sysdeps/nacl/libm.abilist: Update.
4005         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4006         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4007         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4008         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4009         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4010         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4011         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4012         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4013         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4014         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4015         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4016         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4018         Likewise.
4019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4020         Likewise.
4021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4022         Likewise.
4023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4024         Likewise.
4025         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4026         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4027         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4028         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4029         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4031         Likewise.
4032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4033         Likewise.
4034         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4036         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4038 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4040         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
4041         preprocessor indentation inside #if.
4043 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4045         * math/libm-test.inc (fmt_ftostr): New function.
4046         (print_float, check_float_internal): Replace some uses of
4047         FTOSTR with uses of fmt_ftostr.
4048         (print_max_error, print_complex_max_error, print_function_ulps)
4049         (print_complex_function_ulps): Remove uses of the macros
4050         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4051         * math/test-double.h (FTOSTR): Define to strfromd.
4052         (PRINTF_EXPR): Delete.
4053         (PRINTF_XEXPR): Likewise.
4054         (PRINTF_NEXPR): Likewise.
4055         * math/test-float.h (FTOSTR): Define to strfromf.
4056         (PRINTF_EXPR): Delete.
4057         (PRINTF_XEXPR): Likewise.
4058         (PRINTF_NEXPR): Likewise.
4059         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4060         (PRINTF_EXPR): Delete.
4061         (PRINTF_XEXPR): Likewise.
4062         (PRINTF_NEXPR): Likewise.
4064 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4066         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4067         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4068         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4069         (__lll_lock_elision): Decrement adapt_count while unlocking
4070         instead of before locking.
4071         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4072         (__lll_trylock_elision): Likewise.
4073         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4074         (__lll_unlock_elision): Likewise.
4076 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4078         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4079         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4080         Use __libc_tbegin_retry macro.
4082 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4084         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4085         Add -msoft-float.
4086         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4087         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4088         Use __libc_t* transaction macros instead of __builtin_t*.
4089         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4090         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4092 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4094         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4095         (__lll_lock_elision): Use atomics to load / store adapt_count.
4096         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4097         (__lll_trylock_elision): Likewise.
4099 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4101         Do not require memset elimination in explicit_bzero test.
4102         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4103         (enum test_expectation): Add NO_EXPECTATIONS.
4104         (subtests): NO_EXPECTATIONS for ordinary clear.
4105         (check_test_buffer): Handle NO_EXPECTATIONS.
4106         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4108 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4110         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4111         (fmaxmag): New declaration.
4112         (fminmag): Likewise.
4113         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4114         macro.
4115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4116         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4117         (fmaxmagf): Likewise.
4118         (fmaxmagl): Likewise.
4119         (fminmag): Likewise.
4120         (fminmagf): Likewise.
4121         (fminmagl): Likewise.
4122         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4123         * math/s_fmaxmag_template.c: New file.
4124         * math/s_fminmag_template.c: Likewise.
4125         * math/libm-test.inc (fmaxmag_test_data): New array.
4126         (fmaxmag_test): New function.
4127         (fminmag_test_data): New array.
4128         (fminmag_test): New function.
4129         (main): Call fmaxmag_test and fminmag_test.
4130         * math/test-tgmath.c (NCALLS): Increase to 132.
4131         (F(compile_test)): Call fmaxmag and fminmag.
4132         (F(fminmag)): New function.
4133         (F(fmaxmag)): Likewise.
4134         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4135         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4136         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4137         fminmag.
4138         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4139         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4140         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4142         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4143         and fminmag.
4144         (CFLAGS-nldbl-fmaxmag.c): New variable.
4145         (CFLAGS-nldbl-fminmag.c): Likewise.
4146         * sysdeps/nacl/libm.abilist: Update.
4147         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4148         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4149         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4150         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4151         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4152         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4153         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4154         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4155         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4156         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4157         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4158         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4160         Likewise.
4161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4162         Likewise.
4163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4164         Likewise.
4165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4166         Likewise.
4167         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4168         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4169         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4170         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4171         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4173         Likewise.
4174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4175         Likewise.
4176         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4177         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4178         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4180 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4182         [BZ #20973]
4183         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4184         wake-up in robust mutexes.
4185         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4187 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4189         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4190         (CFLAGS-bench-fmaxf.c): New rule.
4191         (CFLAGS-bench-fminf.c): Likewise.
4192         * benchtests/fmaxf-inputs: New file.
4193         * benchtests/fminf-inputs: Likewise.
4195         * benchtests/Makefile (bench-math): Add fmin and fmax.
4196         (CFLAGS-bench-fmax.c): New rule.
4197         (CFLAGS-bench-fmin.c): Likewise.
4198         * benchtests/fmax-inputs: New file.
4199         * benchtests/fmin-inputs: Likewise.
4201         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4202         parenthesis.
4203         (CMDLINE_PROCESS): Define using function instead of macro.
4204         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4205         of test-skeleton.
4206         * benchtests/bench-memchr.c: Likewise.
4207         * benchtests/bench-memcmp.c: Likewise.
4208         * benchtests/bench-memcpy-large.c: Likewise.
4209         * benchtests/bench-memcpy.c: Likewise.
4210         * benchtests/bench-memmem.c: Likewise.
4211         * benchtests/bench-memmove-large.c: Likewise.
4212         * benchtests/bench-memmove.c: Likewise.
4213         * benchtests/bench-memset-large.c: Likewise.
4214         * benchtests/bench-memset.c: Likewise.
4215         * benchtests/bench-rawmemchr.c: Likewise.
4216         * benchtests/bench-strcasecmp.c: Likewise.
4217         * benchtests/bench-strcasestr.c: Likewise.
4218         * benchtests/bench-strcat.c: Likewise.
4219         * benchtests/bench-strchr.c: Likewise.
4220         * benchtests/bench-strcmp.c: Likewise.
4221         * benchtests/bench-strcpy.c: Likewise.
4222         * benchtests/bench-strcpy_chk.c: Likewise.
4223         * benchtests/bench-strlen.c: Likewise.
4224         * benchtests/bench-strncasecmp.c: Likewise.
4225         * benchtests/bench-strncmp.c: Likewise.
4226         * benchtests/bench-strncpy.c: Likewise.
4227         * benchtests/bench-strnlen.c: Likewise.
4228         * benchtests/bench-strpbrk.c: Likewise.
4229         * benchtests/bench-strrchr.c: Likewise.
4230         * benchtests/bench-strsep.c: Likewise.
4231         * benchtests/bench-strspn.c: Likewise.
4232         * benchtests/bench-strstr.c: Likewise.
4233         * benchtests/bench-strtok.c: Likewise.
4235 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4237         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4238         stepping identification.
4239         (init_cpu_features): Add handle of Haswell.
4241 2016-11-25  Jim Meyering  <meyering@fb.com>
4243         [BZ #20386]
4244         Let gcc detect assert(a = 1) errors.
4245         * assert/assert.h (assert): Rewrite, retaining the old definintion
4246         when required, but otherwise putting the expression as-is in an "if"
4247         expression (hence, with no added parentheses) within a statement
4248         expression.
4250 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4252         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4253         DSO.
4255 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4257         * Rules (python-flags, python-invoke): New.
4258         ($(test-printers-out)): Use $(python-flags).
4260 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4262         * manual/arith.texi (Math Error Reporting): Document that sNaN
4263         arguments are not considered domain errors.
4265 2016-12-16  Zack Weinberg <zackw@panix.com>
4266             Florian Weimer <fweimer@redhat.com>
4267             Nick Mathewson <nickm@torproject.org>
4269         * string/explicit_bzero.c: New routine.
4270         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4271         * string/Makefile (routines, strop-tests, tests): Add them.
4272         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4273         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4275         * debug/explicit_bzero_chk.c: New routine.
4276         * debug/Makefile (routines): Add it.
4277         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4278         * string/bits/string3.h: Fortify explicit_bzero.
4280         * manual/string.texi: Document explicit_bzero.
4281         * NEWS: Mention addition of explicit_bzero.
4283         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4284         data before returning, using explicit_bzero.
4285         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4286         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4287         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4289         * include/string.h: Redirect internal uses of explicit_bzero
4290         to __explicit_bzero_chk[_internal].
4291         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4292         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4293         * sysdeps/arm/nacl/libc.abilist
4294         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4295         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4296         * sysdeps/unix/sysv/linux/arm/libc.abilist
4297         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4298         * sysdeps/unix/sysv/linux/i386/libc.abilist
4299         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4300         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4301         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4302         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4303         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4304         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4305         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4306         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4307         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4312         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4313         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4314         * sysdeps/unix/sysv/linux/sh/libc.abilist
4315         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4316         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4319         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4320         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4321         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4322         Add entries for explicit_bzero and __explicit_bzero_chk.
4324 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4326         * math/fenv.h
4327         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4328         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4329         * math/test-fe-snans-always-signal.c: New file.
4330         * math/Makefile (tests): Add test-fe-snans-always-signal.
4331         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4332         * manual/arith.texi (Infinity and NaN): Document
4333         FE_SNANS_ALWAYS_SIGNAL.
4335 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4337         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4338         bracket.
4340 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4342         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4343         before calling execv.
4345 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4347         [BZ# 20971]
4348         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4349         overflow in pointer addition.
4350         * string/test-memchr.c (do_test): Add an argument to pass as
4351         the size on memchr.
4352         (test_main): Add check for SIZE_MAX.
4354 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4356         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4357         (libm-calls): Add w_scalblnF.
4358         * math/w_scalbln.c: Remove.
4359         * math/w_scalblnf.c: Likewise.
4360         * math/w_scalblnl.c: Likewise.
4361         * math/w_scalbln_template.c: New file with type-generic
4362         implementation based on math/w_scalbln.c.
4363         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4364         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4366 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4368         [BZ #20947]
4369         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4370         either is a signaling NaN.
4371         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4372         follow fmaxl more closely.
4373         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4374         when either is a signaling NaN.
4375         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4376         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4377         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4378         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
4379         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
4380         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
4381         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
4382         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
4383         (fmin_test_data): Likewise.
4385 2016-12-15  Andreas Schwab  <schwab@suse.de>
4387         * support/support_test_main.c (support_test_main): Don't shadow
4388         file-local variable test_pid.
4390 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4392         [BZ #20947]
4393         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
4394         either is a signaling NaN.
4395         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
4397 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4399         [BZ #20947]
4400         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
4401         when either is a signaling NaN.
4402         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
4404         * bits/long-double.h: New file.
4405         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
4406         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
4407         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
4408         * sysdeps/mips/bits/long-double.h: Likewise.
4409         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
4410         * math/Makefile (headers): Add bits/long-double.h.
4411         * misc/sys/cdefs.h: Include <bits/long-double.h>.
4412         * stdlib/strtold.c: Include <bits/long-double.h> instead of
4413         <bits/wordsize.h>.
4414         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
4415         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
4416         * math/math.h: Do not include <bits/mathdef.h>.
4417         * sysdeps/aarch64/bits/mathdef.h: Remove file.
4418         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
4419         inclusion.
4420         * sysdeps/ia64/bits/mathdef.h: Remove file.
4421         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
4422         * sysdeps/mips/bits/mathdef.h: Likewise.
4423         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4424         * sysdeps/s390/bits/mathdef.h: Likewise.
4425         * sysdeps/sparc/bits/mathdef.h: Likewise.
4426         * sysdeps/x86/bits/mathdef.h: Likewise.
4427         * sysdeps/s390/s390-32/bits/wordsize.h
4428         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
4429         conditional code.
4430         * sysdeps/s390/s390-64/bits/wordsize.h
4431         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4432         Likewise.
4433         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
4434         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4435         Likewise.
4436         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
4437         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4438         Likewise.
4439         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4440         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4441         Likewise.
4443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
4444         <linux/falloc.h>.
4445         (FALLOC_FL_KEEP_SIZE): Remove.
4446         (FALLOC_FL_PUNCH_HOLE): Likewise.
4447         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
4448         (FALLOC_FL_ZERO_RANGE): Likewise.
4450 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4452         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
4454 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4456         * sysdeps/unix/sysv/linux/renameat.c: New file.
4457         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4459         * sysdeps/unix/sysv/linux/rename.c: New file.
4460         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4462 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4464         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4465         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4466         * string/strtok_r.c (__strtok_r): Optimize for performance.
4467         * string/string-inlines.c (__old_strtok_r_1c): New function.
4468         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4470 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4472         * math/Makefile (gen-libm-calls): Add w_log1pF.
4473         (libm-calls): Remove w_log1pF.
4474         * math/w_log1p.c: Remove.
4475         * math/w_log1pf.c: Likewise.
4476         * math/w_log1pl.c: Likewise.
4477         * math/w_log1p_template.c: New file with type-generic
4478         implementation based on math/w_log1p.c.
4479         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4480         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4482 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4484         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4486 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4488         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4489         kernel version to 4.9.
4491 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4493         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4494         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4496 2016-12-13  Andreas Schwab  <schwab@suse.de>
4498         * sysdeps/powerpc/dl-procinfo.c: Don't define
4499         _dl_powerpc_platforms.
4500         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4501         constants instead of referencing _dl_powerpc_platforms.
4502         (_dl_platform_string): Remove.
4504 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4506         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4508 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4510         * Rules (binaries-shared-tests, binaries-pie-tests)
4511         (binaries-static-tests): Link with $(link-extra-libs-tests).
4512         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4513         Remove $(link-extra-libs-tests).
4515 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4517         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4518         (sysdep_routines): Add strncmp_power9.
4519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4520         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4521         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4522         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4523         (strncmp): Add __strncmp_power9 to ifunc list.
4524         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4526 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4528         [BZ #17252]
4529         Add getentropy, getrandom.
4530         * stdlib/sys/random.h: New file.
4531         (headers): Add it.
4532         * stdlib/Makefile (routines): Add getentropy, getrandom.
4533         (tests): Add tst-getrandom.
4534         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4535         * stdlib/getentropy.c: New file.
4536         * stdlib/getrandom.c: Likewise.
4537         * stdlib/tst-getrandom.c: Likewise.
4538         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4539         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4540         * manual/crypt.texi (Unpredictable Bytes): New section.
4541         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4542         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4543         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4544         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4545         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4546         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4547         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4548         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4549         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4550         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4551         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4552         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4556         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4558         Likewise.
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4560         Likewise.
4561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4563         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4564         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4565         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4566         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4567         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4570         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4571         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4572         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4574 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4576         [BZ #20956]
4577         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4578         as additional compiler barriers.
4579         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4580         (fn2, do_test): Declare with external linkage.
4581         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4582         (do_test): Declare with external linkage.
4583         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4584         (do_test): Declare with external linkage.
4585         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4586         (do_test): Declare with external linkage.
4588 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4590         * support/support_test_main.c (support_test_main): Use correct
4591         timeout.
4593 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4594             Florian Weimer  <fweimer@redhat.com>
4596         [BZ #16421]
4597         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4598         and __u6_addr32 members.
4599         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4600         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4601         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4602         Use __u6_addr32.
4603         * inet/tst-checks.c: Use <support/test-driver.c>
4604         * inet/tst-checks-posix.c: New file.
4605         * inet/Makefile (tests): Add it.
4606         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4608 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4610         New subdirectory support for build and test infrastructure.
4611         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4612         setting install-lib.
4613         * Makeconfig (link-extra-libs-tests): Define.
4614         (+link-pie-tests, +link-static-tests, +link-tests): Use
4615         link-extra-libs-tests.
4616         (rpath-dirs, all-subdirs): Add support.
4617         (built-modules): Add libsupport.
4618         (libsupport): Define.
4619         * support: New directory.
4620         * support/Makefile: New file.
4621         * support/check.c: Likewise.
4622         * support/check.h: Likewise.
4623         * support/delayed_exit.c: Likewise.
4624         * support/ignore_stderr.c: Likewise.
4625         * support/oom_error.c: Likewise.
4626         * support/set_fortify_handler.c: Likewise.
4627         * support/support.h: Likewise.
4628         * support/temp_file-internal.h: Likewise.
4629         * support/temp_file.c: Likewise.
4630         * support/test-driver.c: Likewise.
4631         * support/test-driver.h: Likewise.
4632         * support/test_main.c: Likewise.
4633         * support/write_message.c: Likewise.
4634         * support/xasprintf.c: Likewise.
4635         * support/xcalloc.c: Likewise.
4636         * support/xmalloc.c: Likewise.
4637         * support/xpthread_barrier_destroy.c: Likewise.
4638         * support/xpthread_barrier_init.c: Likewise.
4639         * support/xpthread_barrier_wait.c: Likewise.
4640         * support/xpthread_cancel.c: Likewise.
4641         * support/xpthread_check_return.c: Likewise.
4642         * support/xpthread_cond_wait.c: Likewise.
4643         * support/xpthread_create.c: Likewise.
4644         * support/xpthread_detach.c: Likewise.
4645         * support/xpthread_join.c: Likewise.
4646         * support/xpthread_mutex_lock.c: Likewise.
4647         * support/xpthread_mutex_unlock.c: Likewise.
4648         * support/xpthread_sigmask.c: Likewise.
4649         * support/xpthread_spin_lock.c: Likewise.
4650         * support/xpthread_spin_unlock.c: Likewise.
4651         * support/xrealloc.c: Likewise.
4652         * support/xsignal.h: Likewise.
4653         * support/xthread.h: Likewise.
4654         * support_tempfile.h: Likewise.
4655         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4656         (TEST_DATA_LIMIT): Remove unused macro.
4657         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4658         <support/check.h>.
4659         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4660         (ignore_stderr, set_fortify_handler): Remove.  Now in
4661         <support/support.h>.
4662         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4663         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4664         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4665         (xpthread_join): Remove.  Now in <support/xthread.h>.
4666         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4667         Introduce legacy wrappers.
4668         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4669         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4670         (write_message): Remove.
4671         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4672         test-skeleton.c.
4673         * io/test-open-tmpfile: Likewise.
4674         * io/tst-posix_fallocate-common.c: Likewise.
4675         * libio/tst-fseek.c: Likewise.
4676         * malloc/tst-malloc-backtrace.c: Likewise.
4677         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4678         * malloc/tst-malloc-thread-exit.c: Likewise.
4679         * nptl/tst-cancel7.c: Likewise.
4680         * nptl/tst-cleanup0.c: Likewise.
4681         * posix/tst-posix_fadvise-common.c: Likewise.
4682         * rt/tst-shm.c: Likewise.
4683         * time/bug-getdate1.c: Likewise.
4684         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4685         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4686         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4688 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4690         * Rules [$(run-built-tests) != no] (tests-expected): Add
4691         $(tests-printers).
4692         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4694 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4696         [BZ #20539]
4697         * math/Makefile (install-lib-ldscripts): Add libm.a.
4698         (install_subdir): Remove.
4699         (install-others): Add.
4700         ($(inst_libdir)/libm.a): Add rule for installation as
4701         linker script.
4702         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4704 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4706         * INSTALL: Regenerated.
4707         * Makeconfig: Add comments and whitespace to make the control flow
4708         clearer.
4709         (+link-printers-tests, +link-pie-printers-tests,
4710         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4711         built-rtld-LDFLAGS, link-libc-rpath,
4712         link-libc-tests-after-rpath-link,
4713         link-libc-printers-tests): New.
4714         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4715         link-libc-tests): Use the new variables as required.
4716         * Makerules ($(py-const)): New rule.
4717         generated: Add $(py-const).
4718         * README.pretty-printers: New file.
4719         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4720         (others): Depend on $(py-const).
4721         (tests): Depend on $(tests-printers-programs) or
4722         $(tests-printers-out),
4723         as required.  Pass $(tests-printers) to merge-test-results.sh.
4724         * manual/install.texi: Add requirements for testing the pretty
4725         printers.
4726         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4727         tests-printers, CFLAGS-test-mutexattr-printers.c
4728         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4729         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4730         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4731         * nptl/nptl-printers.py: New file.
4732         * nptl/nptl_lock_constants.pysym: Likewise.
4733         * nptl/test-cond-printers.c: Likewise.
4734         * nptl/test-cond-printers.py: Likewise.
4735         * nptl/test-condattr-printers.c: Likewise.
4736         * nptl/test-condattr-printers.py: Likewise.
4737         * nptl/test-mutex-printers.c: Likewise.
4738         * nptl/test-mutex-printers.py: Likewise.
4739         * nptl/test-mutexattr-printers.c: Likewise.
4740         * nptl/test-mutexattr-printers.py: Likewise.
4741         * nptl/test-rwlock-printers.c: Likewise.
4742         * nptl/test-rwlock-printers.py: Likewise.
4743         * nptl/test-rwlockattr-printers.c: Likewise.
4744         * nptl/test-rwlockattr-printers.py: Likewise.
4745         * scripts/gen-py-const.awk: Likewise.
4746         * scripts/test_printers_common.py: Likewise.
4747         * scripts/test_printers_exceptions.py: Likewise.
4749 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4751         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4752         argument.
4753         (Glibc.build_glibc): Strip installed shared libraries if
4754         requested.
4755         (get_parser): Add --strip option.
4756         (main): Update Context call.
4758 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4759             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4761         [BZ #20847]
4762         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4763         array bounds for else branch.
4764         (__execvpe): Style fixes.
4765         * posix/tst-vfork3.c (run_script): New function.
4766         (create_script): Likewise.
4767         (do_test): Use run_script internal function.
4768         (do_prepare): Use create_script internal function.
4770 2016-12-07  Andreas Schwab  <schwab@suse.de>
4772         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4773         (__elision_available): Don't declare.
4774         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4775         (__elision_available): Don't define.
4776         (elision_init): Don't set __elision_available.
4778 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4780         [BZ #20940]
4781         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4782         return Inf for arguments Inf and sNaN.
4783         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4784         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4785         Likewise.
4786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4787         Likewise.
4788         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4789         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4790         for arguments Inf and sNaN.  When returning a NaN, compute it by
4791         arithmetic on the arguments.
4792         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4793         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4794         arguments.
4796 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4798         [BZ #20916]
4799         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4800         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4801         to compute result.
4802         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4803         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4805 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4807         * include/atomic.h (__atomic_check_size_ls): New.
4808         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4809         atomic_store_release): Use it.
4810         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4811         (elision_adapt, ELIDE_LOCK): Use atomics.
4812         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4813         atomics and improve code comments.
4814         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4815         (__lll_trylock_elision): Likewise.
4817 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4819         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4820         programs.
4822 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4824         [BZ #20916]
4825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4826         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4827         arguments to compute result.
4828         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4829         1 for arguments (sNaN, 0) or (1, sNaN).
4830         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4833         [BZ #20919]
4834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4835         NaN first argument when raised to power 0.
4836         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4837         raising to power zero.
4838         * math/w_powf.c (__powf): Likewise.
4839         * math/w_powl.c (__powl): Likewise.
4840         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4841         pow (0, 0) or pow (NaN, 0).
4843 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4845         [BZ #20918]
4846         * configure.ac: Test for static NSS cryptographic libraries and set
4847         libc_cv_static_nss_crypt.
4848         * configure: Regenerate.
4849         * config.make.in (static-nss-crypt): Define.
4850         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4851         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4852         (CFLAGS-tst-linkall-static.c): Define.
4853         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4854         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4855         ($(objpfx)tst-linkall-static): Define.
4856         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4857         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4859 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4861         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4862         (one-hundred, tst-tls-many-dynamic-modules): Define.
4863         (modules-names): Add $(tst-tls-many-dynamic-modules).
4864         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4865         macros.
4866         (tst-tls-manydynamic): Link against libdl, libpthread.
4867         (tst-tls-manydynamic.out): The test needs the test modules at run
4868         time.
4869         * elf/tst-tls-manydynamic.c: New file.
4870         * elf/tst-tls-manydynamic.h: Likewise.
4871         * elf/tst-tls-manydynamicmod.c: Likewise.
4873 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4875         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4876         (TLS_DTV_UNALLOCATED): Add.
4877         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4878         offsets.
4880 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4882         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4884 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4886         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4887         Add -fno-optimize-sibling-calls.
4889 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4891         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4892         New declaration.
4893         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4894         macro.
4895         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4896         New macro.
4897         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4898         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4899         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4900         (llogbf): Likewise.
4901         (llogbl): Likewise.
4902         * math/Makefile (gen-libm-calls): Add w_llogbF.
4903         (tests): Add test-fp-llogb-constants.
4904         * math/w_llogb_template.c: New file.  Based on
4905         math/w_ilogb_template.c.
4906         * math/libm-test.inc (llogb_test_data): New array.
4907         (llogb_test): New function.
4908         (main): Call llogb_test.
4909         * math/test-fp-llogb-constants.c: New file.  Based on
4910         math/test-fp-ilogb-constants.c.
4911         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4912         (do_test): Call check_return_llogb.
4913         * math/test-tgmath.c (NCALLS): Increase to 126.
4914         (F(compile_test)): Call llogb.
4915         (F(llogb)): New function.
4916         * manual/math.texi (Exponents and Logarithms): Document llogb,
4917         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4918         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4919         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4920         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4921         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4922         (CFLAGS-nldbl-llogb.c): New variable.
4923         * sysdeps/nacl/libm.abilist: Update.
4924         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4925         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4926         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4927         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4928         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4929         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4930         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4932         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4937         Likewise.
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4939         Likewise.
4940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4941         Likewise.
4942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4943         Likewise.
4944         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4945         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4946         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4947         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4948         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4950         Likewise.
4951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4952         Likewise.
4953         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4954         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4955         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4957 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4959         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4960         _Float128 instead of long double.
4961         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4963         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4964         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4965         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4966         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4967         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4968         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4969         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4970         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4971         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4972         Likewise.
4974 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4976         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4977         Remove redirection to __strrchr_ppc.
4979 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4981         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4982         (sysdep_routines): Add strcmp_power9.
4983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4984         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4985         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4986         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4987         (strcmp): Add __strcmp_power9 to ifunc list.
4988         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4990 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4992         * bits/fp-logb.h: New file.
4993         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4994         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4995         * sysdeps/x86/bits/fp-logb.h: Likewise.
4996         * math/Makefile (headers): Add bits/fp-logb.h.
4997         * math/math.h: Include <bits/fp-logb.h>.
4998         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4999         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
5000         * bits/mathdef.h (FP_ILOGB0): Remove.
5001         (FP_ILOGBNAN): Likewise.
5002         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
5003         (FP_ILOGBNAN): Likewise.
5004         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
5005         (FP_ILOGBNAN): Likewise.
5006         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
5007         (FP_ILOGBNAN): Likewise.
5008         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
5009         (FP_ILOGBNAN): Likewise.
5010         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
5011         (FP_ILOGBNAN): Likewise.
5012         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
5013         (FP_ILOGBNAN): Likewise.
5014         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
5015         (FP_ILOGBNAN): Likewise.
5016         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
5017         (FP_ILOGBNAN): Likewise.
5018         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
5019         (FP_ILOGBNAN): Likewise.
5021         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
5022         time module.
5023         (Context.__init__): Initialize self.logsdir_old.
5024         (Context.run_builds): Handle bot action.
5025         (Context.bot_cycle): Copy logs directory before running builds.
5026         (Context.bot_run_self): Take argument for whether to check
5027         subprocess result.  Flush stdout before running subprocess.
5028         (Context.bot): New function.
5029         (get_parser): Allow bot action.
5031 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
5033         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
5034         Import email.mime.text, email.utils and smtplib modules.
5035         (Context.__init__): Initialize self.bot_config_json.
5036         (Context.run_builds): Handle bot-cycle action.
5037         (Context.load_bot_config_json): New function.
5038         (Context.part_build_old): Likewise.
5039         (Context.bot_cycle): Likewise.
5040         (Context.bot_build_mail): Likewise.
5041         (Context.bot_run_self): Likewise.
5042         (get_parser): Allow bot-cycle action.
5044 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5047         Remove redirection to __stpcpy_ppc.
5049 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5051         Remove __libc_memalign from ld.so because it is unused.
5052         * elf/dl-minimal.c: Update comment on the malloc implementation.
5053         (malloc): Renamed from __libc_memalign, replacing the original
5054         malloc implementation.  Replace the align parameter with
5055         MALLOC_ALIGNMENT.
5056         * elf/Versions (ld): Update comment and remove __libc_memalign.
5057         * sysdeps/nacl/ld.abilist: Likewise.
5058         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5059         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5060         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5061         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5062         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5063         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5064         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5065         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5066         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5067         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5068         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5069         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5070         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5074         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5075         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5076         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5077         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5078         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5081         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5082         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5083         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5084         * sysdeps/generic/localplt.data (ld.so): Likewise.
5085         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5086         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5087         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5088         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5089         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5090         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5091         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5092         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5093         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5095         (ld.so): Likewise.
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5097         (ld.so): Likewise.
5098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5099         Likewise.
5100         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5101         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5102         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5103         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5104         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5106 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5108         [BZ #16628]
5109         Implement _dl_catch_error, _dl_signal_error in libc.so.
5110         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5111         (catch_hook): Define as thread-local or regular variable,
5112         depending on DL_ERROR_BOOTSTRAP.
5113         (CATCH_HOOK): Remove.
5114         (dl_signal_error, _dl_catch_error): Use
5115         catch_hook.  Add hidden definition for libc.
5116         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5117         for DL_ERROR_BOOTSTRAP only.
5118         * elf/dl-error.c: New file.
5119         * elf/dl-error-minimal.c: Likewise.
5120         * elf/tst-latepthread.c: Likewise.
5121         * elf/tst-latepthreadmod.c: Likewise.
5122         * elf/Makefile (routines): Add dl-error.
5123         (dl-routines): Remove dl-error.
5124         (rtld-routines): Add dl-error-minimal.
5125         [build-shared] (tests): Add tst-latepthread.
5126         (module-names): Add tst-latepthreadmod.
5127         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5128         symbol.
5129         (tst-latepthreadmod.so): Link against libpthread.
5130         (tst-latepthread): Link against libdbl.
5131         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5132         _dl_catch_error.
5133         [ld] (GLIBC_PRIVATE): Likewise.
5134         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5135         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5136         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5137         directly.
5138         * elf/dl-tsd.c: Remove file.
5139         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5140         _dl_catch_error, _dl_signal_error.
5141         (_dl_initial_error_catch_tsd): Remove definition.
5142         (do_preload): Remove initialization of dl_error_catch_tsd.
5143         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5144         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5145         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5146         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5147         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5148         set dl_error_catch_tsd.
5149         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5150         _dl_error_catch_tsd member.
5151         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5152         members.
5153         (_dl_initial_error_catch_tsd): Remove declaration.
5154         (_dl_dprintf): Provide definition for use outside of ld.so.
5155         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5156         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5157         prototype for libc.
5158         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5159         _dl_catch_error.
5160         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5161         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5162         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5163         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5164         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5165         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5166         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5167         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5171         (ld.so): Likewise.
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5173         (ld.so): Likewise.
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5175         Likewise.
5176         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5177         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5178         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5179         Likewise.
5180         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5181         Likewise.
5182         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5184 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5186         [BZ #4099]
5187         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5188         _IO_BUFSIZ (8192).
5190 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5192         * PROJECTS: Remove file.
5194 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5196         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5198 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5199             Steve Ellcey  <sellcey@caviumnetworks.com>
5201         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5202         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5203         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5204         fxstatat.
5205         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5206         lxstat.
5207         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5208         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5209         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5210         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5211         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5212         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5213         __xstat.
5215 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5217         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5218         Define.
5219         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5220         definition.
5222 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5224         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5225         version and turn into strong alias.  Remove compat symbol.
5227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5228         (__longjmp): Remove.
5230 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5232         * bits/fp-fast.h: New file.
5233         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5234         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5235         * math/Makefile (headers): Add bits/fp-fast.h.
5236         * math/math.h: Include <bits/fp-fast.h>.
5237         * bits/mathdef.h (FP_FAST_FMA): Remove.
5238         (FP_FAST_FMAF): Likewise.
5239         (FP_FAST_FMAL): Likewise.
5240         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5241         (FP_FAST_FMAF): Likewise.
5242         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5243         (FP_FAST_FMAF): Likewise.
5244         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5245         (FP_FAST_FMAF): Likewise.
5246         (FP_FAST_FMAL): Likewise.
5247         * sysdeps/arm/bits/mathdef.h: Remove file.
5248         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5249         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5250         * sysdeps/tile/bits/mathdef.h: Likewise.
5252 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5254         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5255         * math/w_ilogb.c: Remove.
5256         * math/w_ilogbf.c: Likewise.
5257         * math/w_ilogbl.c: Likewise.
5258         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5259         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5260         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5261         (libm-calls): Remove w_ilogbF.
5262         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5263         (LDOUBLE_ilogbl_libm_version): New macro.
5265         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5267         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5268         [!__STRICT_ANSI__ && !__cplusplus].
5270 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5272         [BZ #20750]
5273         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5274         of PIC.
5276 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5277             Yury Norov  <ynorov@caviumnetworks.com>
5278             Steve Ellcey  <sellcey@caviumnetworks.com>
5280         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5281         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5282         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5283         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5284         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5285         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5286         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5287         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5288         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5289         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5290         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5291         to get correct reg name for ILP32.
5292         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5293         (RELA_SIZE): New Macro.
5294         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5295         to support ILP32.
5296         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5297         cast for ILP32 mode.
5298         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5299         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5300         * sysdeps/aarch64/memset.S (__memset): Ditto.
5301         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5302         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5303         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5304         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5305         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5306         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5307         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5308         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5309         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5310         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5311         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5312         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5313         change PTR_MANGLE call to use register numbers instead of names.
5314         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5315         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5316         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5317         * sysdeps/aarch64/start.S (_start): Ditto.
5318         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5319         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5320         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5321         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5322         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5323         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5324         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5325         Make defined values dependent on __ILP32__.
5326         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5327         (sem_t): Change __align type.
5328         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5329         PTR_SIZE): New Macros.
5330         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5331         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5332         Set when in ILP32 mode.
5333         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5334         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5335         Set elf flags for ILP32.
5336         (add_system_dir): Set ILP32 library directories.
5337         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5338         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5339         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5340         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5341         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5342         New Macros.
5343         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5345 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5347         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5348         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5349         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5351 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5353         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5354         <asm/cachectl.h>.
5356 2016-11-27  Zack Weinberg  <zackw@panix.com>
5358         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5359         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5361 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5363         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5364         error_t to fix usage in C++ programs.
5366 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5368         * scripts/build-many-glibcs.py: Import datetime module.
5369         (Context.__init__): Load JSON build state.  Initialize list of
5370         status logs.
5371         (Context.run_builds): Update saved build state.
5372         (Context.add_makefile_cmdlist): Update list of status logs.
5373         (Context.load_build_state_json): New function.
5374         (Context.store_build_state_json): Likewise.
5375         (Context.clear_last_build_state): Likewise.
5376         (Context.update_build_state): Likewise.
5377         (CommandList.status_logs): Likewise.
5379 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
5381         * scripts/build-many-glibcs.py (Context.__init__): Save text of
5382         script being executed.
5383         (Context.get_script_text): New function.
5384         (Context.exec_self): Likewise.
5385         (Context.checkout): Re-exec script if changed by checkout process.
5387 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5389         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5390         (setpayloadsig): New declaration.
5391         * math/Versions (setpayloadsig): New libm symbol at version
5392         GLIBC_2.25.
5393         (setpayloadsigf): Likewise.
5394         (setpayloadsigl): Likewise.
5395         * math/Makefile (libm-calls): Add s_setpayloadsigF.
5396         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
5397         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
5398         (setpayloadsig_test_data): New array.
5399         (setpayloadsig_test): New function.
5400         (main): Call setpayloadsig_test.
5401         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
5402         setpayloadsigf and setpayloadsigl.
5403         * manual/libm-err-tab.pl: Update comment on interfaces without
5404         ulps tabulated.
5405         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
5406         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
5407         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
5408         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
5409         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
5410         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
5411         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5412         setpayloadsig.
5413         (CFLAGS-nldbl-setpayloadsig.c): New variable.
5414         * sysdeps/nacl/libm.abilist: Update.
5415         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5416         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5417         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5418         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5419         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5420         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5421         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5422         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5423         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5424         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5425         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5426         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5428         Likewise.
5429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5430         Likewise.
5431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5432         Likewise.
5433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5434         Likewise.
5435         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5436         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5437         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5438         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5439         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5443         Likewise.
5444         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5445         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5446         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5448         * scripts/build-many-glibcs.py: Import json module.
5449         (Context.__init__): Take replace_sources argument.  Load
5450         versions.json.
5451         (Context.load_versions_json): New function.
5452         (Context.store_json): Likewise.
5453         (Context.store_versions_json): Likewise.
5454         (Context.set_component_version): Likewise.
5455         (Context.checkout): Update versions.json.  Check for and handle
5456         changes of version.  Prefer previously explicitly specified
5457         version to default version.
5458         (Context.checkout_vcs): Return a revision identifier.
5459         (Context.git_checkout): Likewise.
5460         (Context.gcc_checkout): Likewise.
5461         (get_parser): Add --replace-sources option.
5462         (main): Pass replace_sources argument to Context call.
5464 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5466         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5467         * nptl/allocatestack.c (allocate_stack): Likewise.
5468         (__reclaim_stacks): Likewise.
5469         (setxid_signal_thread): Obtain pid through syscall.
5470         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5471         (sighandle_setxid): Likewise.
5472         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5473         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5474         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5475         Likewise.
5476         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5477         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5478         comment.
5479         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5480         * nptl/descr.h (struct pthread): Change comment about pid value.
5481         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5482         pid assert.
5483         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5484         Do not set pid value.
5485         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5486         pid cache check.
5487         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5488         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5489         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5490         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5491         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5492         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5493         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5494         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5495         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5496         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5497         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5498         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5499         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5500         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5501         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5502         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5503         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5504         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5505         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5506         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5507         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5508         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5509         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5510         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5511         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5514         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5515         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5516         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5517         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5518         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5519         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5520         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5521         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5522         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5523         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5524         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5525         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5526         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5527         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5528         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5529         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5532         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5533         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5534         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5535         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5536         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5537         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5538         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5539         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5540         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5541         struct access.
5542         (clone_test): Remove function.
5543         (do_test): Rewrite to take in consideration pid is not cached anymore.
5545 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5547         * bits/flt-eval-method.h: New file.
5548         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5549         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5550         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5551         * math/Makefile (headers): Add bits/flt-eval-method.h.
5552         * math/math.h: Include <bits/flt-eval-method.h>.
5553         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5554         [__USE_ISOC99] (double_t): Likewise.
5555         * bits/mathdef.h (float_t): Remove.
5556         (double_t): Likewise.
5557         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5558         (double_t): Likewise.
5559         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5560         (double_t): Likewise.
5561         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5562         (double_t): Likewise.
5563         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5564         (double_t): Likewise.
5565         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5566         (double_t): Likewise.
5567         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5568         (double_t): Likewise.
5569         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5570         (double_t): Likewise.
5571         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5572         (double_t): Likewise.
5573         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5574         (double_t): Likewise.
5575         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5576         (double_t): Likewise.
5577         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5578         (double_t): Likewise.
5579         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5580         (double_t): Likewise.
5581         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5582         (double_t): Likewise.
5584 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5586         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5587         instead of PIC.
5589 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #20859]
5592         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5593         (-0x7fffffff) instead of 0x80000001.
5594         * math/test-fp-ilogb-constants.c: New file.
5595         * math/Makefile (tests): Add test-fp-ilogb-constants.
5597 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5599         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5600         (_init): Use it in place of hardcoded R_MIPS_JALR.
5601         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5602         (_init): Use it in place of hardcoded R_MIPS_JALR.
5603         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5604         (_init): Use it in place of hardcoded R_MIPS_JALR.
5606 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5608         [BZ #20787]
5609         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5610         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5611         (double_t): Do not define to double if [__x86_64__] when
5612         __FLT_EVAL_METHOD__ is nonzero.
5613         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5614         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5615         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5616         test-flt-eval-method-387 and test-flt-eval-method-sse.
5617         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5618         variable.
5619         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5621 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5623         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5624         use of -fno-isolate-erroneous-paths options for tilepro.
5626 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5628         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5629         structure initialization is no longer needed.
5631 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5633         [BZ #20855]
5634         * bits/mathdef.h (float_t): Define to float.
5635         * math/test-flt-eval-method.c: New file.
5636         * math/Makefile (tests): Add test-flt-eval-method.
5637         (CFLAGS-test-flt-eval-method.c): New variable.
5639 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5641         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5642         and __fstatfs.  Make them aliases of __fstatfs64 if
5643         STATFS_IS_STATFS64 is set to non-zero.
5644         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5645         and __statfs64.
5646         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5647         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5648         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5649         for __statfs and statfs.
5650         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5651         to 0.
5652         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5653         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5654         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
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/powerpc/powerpc64/kernel_stat.h: Ditto.
5660         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5661         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5662         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5663         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5665 2016-11-22  Andreas Schwab  <schwab@suse.de>
5667         * misc/mkstemp.c: Include <fcntl.h>.
5668         * misc/mkstemps.c: Likewise.
5669         * misc/mkostemp.c: Likewise.
5670         * misc/mkostemps.c: Likewise.
5672 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5674         [BZ #20847]
5675         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5676         array bounds.
5677         (__execvpe): Likewise.
5679 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5681         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5682         -fno-isolate-erroneous-paths options for tilepro.
5684 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5686         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5687         to 0 when in 32 bit mode.
5688         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5689         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5690         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5691         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5693         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5694         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5695         XSTAT_IS_XSTAT64 test.
5696         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5697         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5698         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5699         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5700         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5701         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5702         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5703         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5704         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5705         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5706         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5708 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5710         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5711         (setpayload): New declaration.
5712         * math/Versions (setpayload): New libm symbol at version
5713         GLIBC_2.25.
5714         (setpayloadf): Likewise.
5715         (setpayloadl): Likewise.
5716         * math/Makefile (libm-calls): Add s_setpayloadF.
5717         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5718         test_Ff_b1_data.
5719         (RUN_TEST_Ff_b1): New macro.
5720         (RUN_TEST_LOOP_Ff_b1): Likewise.
5721         (canonicalize_test_data): Update type.
5722         (setpayload_test_data): New array.
5723         (setpayload_test): New function.
5724         (main): Call setpayload_test.
5725         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5726         setpayloadf and setpayloadl.
5727         * manual/libm-err-tab.pl: Update comment on interfaces without
5728         ulps tabulated.
5729         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5730         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5731         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5732         Likewise.
5733         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5734         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5735         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5736         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5737         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5738         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5739         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5740         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5741         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5742         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5743         setpayload.
5744         (CFLAGS-nldbl-setpayload.c): New variable.
5745         * sysdeps/nacl/libm.abilist: Update.
5746         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5747         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5748         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5749         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5750         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5751         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5752         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5753         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5754         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5755         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5756         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5757         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5759         Likewise.
5760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5761         Likewise.
5762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5763         Likewise.
5764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5765         Likewise.
5766         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5767         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5768         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5769         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5770         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5772         Likewise.
5773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5774         Likewise.
5775         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5776         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5777         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5779 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5781         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5782         * include/unistd.h: Extend comment about __access_noerrno return
5783         semantics.
5784         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5785         (access_common): Correct typo for EACCES.
5787 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5789         * sysdeps/tile/math-tests.h: New file.
5791         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5792         (__old_set_dataplane): Rename from set_dataplane and make a
5793         compatibility symbol.
5794         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5795         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5796         sys/dataplane.h.
5798 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5800         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5801         script quote words in command output to log suitably for input to
5802         the shell.
5804 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5805             Maciej W. Rozycki  <macro@imgtec.com>
5807         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5808         `.Lno_weak_fn' label.
5809         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5810         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5812 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5813             Yury Norov  <ynorov@caviumnetworks.com>
5815         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5816         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5817         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5818         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5819         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5821         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5823         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5824         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5825         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5826         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5827         (sysdep_routines): Remove oldgetrlimit64.
5828         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5829         (sysdep_routines): Likewise.
5830         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5831         (sysdep_routines): Likewise.
5832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5833         [$(subdir) = resource] (sysdep_routines): Likewise.
5834         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5835         [$(subdir) = resource] (sysdep_routines): Likewise.
5836         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5837         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5838         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5839         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5840         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5841         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5842         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5843         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5844         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5845         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5846         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5847         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5848         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5849         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5850         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5851         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5852         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5853         setrlimit and getrlimit.
5854         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5855         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5856         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5859         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5860         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5861         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5862         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5863         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5864         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5865         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5866         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5867         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5868         (__old_getrlimit64): Add compatibility symbol.
5869         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5871 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5873         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5874         newly built gmp, mpfr and mpc.
5876         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5878 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5880         * conform/Makefile (linknamespace-libs): Rename to
5881         linknamespace-libs-thr.
5882         (linknamespace-libs-posix): New variable.
5883         (linknamespace-libs-xsi): Likewise.
5884         (linknamespace-libs-XPG3): Include libcrypt.a.
5885         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5886         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5887         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5888         (linknamespace-libs-XOPEN2K): Likewise.
5889         (linknamespace-libs-XOPEN2K8): Likewise.
5890         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5892         [BZ #20829]
5893         * stdio-common/Versions (__snprintf): Add to version
5894         GLIBC_PRIVATE.
5895         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5896         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5897         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5898         of snprintf.
5899         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5901 2016-11-16  Zack Weinberg  <zackw@panix.com>
5903         * string/string.h: Remove obsolete comment stating that
5904         strcoll_l and strxfrm_l have not yet been standardized.
5906 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5908         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5909         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5910         __access_noerrno.
5911         * io/access.c (__access_noerrno): New function.
5912         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5913         (hurd_fail_seterrno): Likewise.
5914         (access_common): Likewise.
5915         (__access_noerrno): Likewise.
5916         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5917         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5918         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5919         macro.
5921 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5923         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5924         Only declare fpregs if [__SH_FPU_ANY__].
5926 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5928         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5929         Make code unconditional.
5930         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5932 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5934         * manual/sysinfo.texi (S_APPEND): Delete.
5935         (S_IMMUTABLE): Likewise.
5937 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5938             Magnus Granberg  <zorry@gentoo.org>
5939             Mike Frysinger  <vapier@gentoo.org>
5941         [BZ #20662]
5942         * configure.ac (libc_cv_predef_stack_protector): Also check for
5943         __stack_chk_fail_local symbols.
5944         * configure: Regenerated.
5946 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5948         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5949         (libc_hidden_def): Remove redefinition.
5950         (__sigsetjmp): Add hidden definition.
5951         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5952         (libc_hidden_def): Remove redefinition.
5953         (__sigsetjmp): Add hidden definition.
5955 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5957         * scripts/build-many-glibcs.py (os.path): Do not import.
5958         (Context): Inherit explicitly from object.  Remove blank line
5959         between class and docstring.
5960         (Config): Likewise.
5961         (Glibc): Likewise.
5962         (Command): Likewise.
5963         (CommandList): Likewise.
5964         (Context.write_files): Store chmod mode in a variable.
5966         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5967         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5968         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5970 2016-11-14  Zack Weinberg  <zackw@panix.com>
5972         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5973         creating or re-creating it.
5975         * string/bits/string2.h: Fix typo in comment.
5977 2016-11-14  Zack Weinberg  <zackw@panix.com>
5979         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5980         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5981         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5982         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5983         of redirected function names.
5985         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5986         as well.  Document that MESSAGE must be a single string literal.
5988 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5990         * scripts/build-many-glibcs.py: New file.
5992         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5993         (do_test): Disable -Wmaybe-uninitialized around uses of
5994         except_mask.
5996         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5998 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
6000         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
6001         (atomic_store_release): Provide tilepro-specific implementations.
6003 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
6005         * math/math.h (__MATH_TG): New macro.
6006         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
6007         [__USE_ISOC99] (signbit): Likewise.
6008         [__USE_ISOC99] (isfinite): Likewise.
6009         [__USE_ISOC99] (isnan): Likewise.
6010         [__USE_ISOC99] (isinf): Likewise.
6011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
6012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
6013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
6014         __MATH_TG and __MATH_EVAL_FMT2.
6015         * sysdeps/generic/math_private.h (fabs_tg): Define using
6016         __MATH_TG.
6017         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6018         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
6019         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
6020         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
6021         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
6022         macro.
6023         (__iscanonical): Likewise.
6024         (iscanonical): Define using __MATH_TG.
6026 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6028         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
6029         guards.
6031         * sysdeps/unix/sysv/linux/access.c: New file.
6032         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6034 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
6036         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
6037         and __WORDSIZE32_PTRDIFF_LONG.
6039 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6041         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6043 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6045         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6046         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6047         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6048         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6049         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6051         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6052         * sysdeps/unix/sysv/linux/truncate.c: New file.
6053         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6054         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6055         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6056         Remove.
6057         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6058         Likewise.
6060         * posix/tst-truncate-common.c: New file.
6061         * posix/tst-truncate.c: Use tst-truncate-common.c.
6062         * posix/tst-truncate64.c: Likewise and add LFS tests.
6063         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6064         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6065         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6066         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6067         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6069         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6070         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6071         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6072         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6073         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6074         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6075         Remove.
6076         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6077         Likewise.
6079 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6081         [BZ #20790]
6082         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6083         to MAXLINESIZE.
6084         * sunrpc/bug20790.x: New file.
6085         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6086         variable.
6087         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6088         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6090         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6092         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6094         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6095         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6096         calloc, realloc, free, memalign and __libc_memalign rather than
6097         making them optional.
6099         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6100         for libc.so.
6102 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6104         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6105         ptw-lseek64.
6106         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6107         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6108         Likewise.
6109         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6110         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6111         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6112         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6113         * sysdeps/unix/sysv/linux/lseek.c: New file.
6114         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6115         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6116         __libc_lseek64 from auto-generation.
6117         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6118         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6120 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6122         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6123         * nptl/tst-cleanup1.c (do_test): Likewise.
6124         * nptl/tst-cleanup3.c (do_test): Likewise.
6125         * nptl/tst-key1.c (do_test): Likewise.
6126         * nptl/tst-key2.c (tf, do_test): Likewise.
6127         * nptl/tst-key3.c (tf, do_test): Likewise.
6128         * nptl/tst-stdio1.c (do_test): Likewise.
6129         * nptl/tst-stdio2.c (do_test): Likewise.
6131         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6132         * nptl/tst-kill6.c (handler): Likewise.
6133         * nptl/tst-tls2.c (CB): Likewise.
6134         * nptl/tst-tls3.c (CB): Likewise.
6136 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6138         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6140 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6141             Steve Ellcey  <sellcey@caviumnetworks.com>
6143         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6144           __ASSUME_ST_INO_64_BIT as 0
6145         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6146         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6147           over the code where __ASSUME_ST_INO_64_BIT is used.
6148         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6149         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6150         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6152 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6154         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6155         Document ABI exposure of the __kind offset.
6156         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6157         Mention reason for the __kind offset exposure in the ABI.
6158         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6159         Likewise.
6160         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6161         Likewise.
6162         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6163         Likewise.
6164         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6165         (struct __pthread_mutex_s): Likewise.
6166         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6167         Likewise.
6168         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6169         Likewise.
6170         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6171         Likewise.
6172         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6173         Likewise.
6174         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6175         Likewise.
6176         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6177         Likewise.
6178         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6179         (struct __pthread_mutex_s): Likewise.
6180         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6181         (struct __pthread_mutex_s): Likewise.
6182         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6183         Likewise.
6185 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6187         * test-skeleton.c: Document do_test usage.
6189 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6191         * iconv/gconv.h (__gconv_info): Define __data element using a
6192         zero-length array.
6194 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6196         * math/test-tgmath2.c: Split up test function.
6198 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6200         * Rules (tests-expected): New variable, depending on
6201         $(run-built-tests).
6202         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6203         $(tests).
6205         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6206         $(tests-unsupported).
6208 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6210         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6211         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6213 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6215         [BZ #20768]
6216         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6217         __fegetenv instead of fegetenv.
6219         [BZ #14139]
6220         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6221         (find_files): Obtain platform name from libm-test-ulps-name and
6222         store in %pplatforms.
6223         (canonicalize_platform): Remove.
6224         (print_platforms): Use $pplatforms directly.
6225         (by_platforms): Do not allow for platforms missing from
6226         %pplatforms.
6227         * sysdeps/aarch64/libm-test-ulps-name: New file.
6228         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6229         * sysdeps/arm/libm-test-ulps-name: Likewise.
6230         * sysdeps/generic/libm-test-ulps-name: Likewise.
6231         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6232         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6233         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6234         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6235         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6236         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6237         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6238         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6239         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6240         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6241         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6242         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6243         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6244         * sysdeps/sh/libm-test-ulps-name: Likewise.
6245         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6246         * sysdeps/tile/libm-test-ulps-name: Likewise.
6247         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6249         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6251         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6252         (test-xfail-check-execstack): New variable.
6254         * sysdeps/mips/localplt.data: New file.
6256 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6257             Steve Ellcey  <sellcey@caviumnetworks.com>
6259         * bits/wordsize.h: Add documentation.
6260         * sysdeps/aarch64/bits/wordsize.h : New file
6261         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6262         definitions.
6263         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6264         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6265         with #if instead of #ifdef.
6266         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6267         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6268         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6269         Add or change defines.
6270         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6271         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6272         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6273         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6274         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6275         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6276         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6277         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6278         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6279         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6280         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6281         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6282         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6283         * sysdeps/x86/bits/wordsize.h: Likewise.
6285 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6286             Kevin Petit  <kevin.petit@arm.com>
6288         * sysdeps/aarch64/memchr.S (__memchr): New file.
6290 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6292         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6294 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #19398]
6297         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6298         $(linknamespace-symlists-tests).
6300 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6302         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6304 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6305             Carlos O'Donell  <carlos@redhat.com>
6307         [Bug #20729]
6308         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6309         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6310         for -Os related change.
6312 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6314         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6316 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6318         [BZ #19673]
6319         * manual/math.texi (Exponents and Logarithms): Correct description
6320         of clog10.
6322 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6324         [Bz #20729]
6325         * locale/weight.h: Include libc-internal.h.
6326         * locale/weightwc.h: Likewise.
6327         * nptl/nptl_dbP.h: Likewise.
6329 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6331         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6332         when it is MACH_PORT_NULL.
6334 2016-10-31  Andreas Schwab  <schwab@suse.de>
6336         [BZ #20707]
6337         * posix/glob.c (glob): Initialize pglob before checking for
6338         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6339         valid brace expression despite GLOB_BRACE.
6340         * posix/globtest.sh: Test it.
6342 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6344         [BZ #20729]
6345         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6346         Define.
6347         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6348         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6349         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6350         for seq2.back_us and seq1.back_us only for -Os compiles.
6351         * locale/weightwc.h (findix): Likewise.
6352         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6353         DB_GET_FIELD_ADDRESS only for -Os compiles.
6354         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6355         for slen only for -Os compiles.
6356         * string/strcoll_l.c (get_next_seq): Ignore
6357         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6358         for -Os compiles.
6360         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6361         * include/crypt.h: New file.
6363 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6365         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6366         from test-skeleton.c.
6367         (statclass): Replace calls to write with calls to write_message.
6369 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6371         * math/math.h
6372         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6373         New macro.
6374         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6375         Likewise.
6376         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6377         Likewise.
6378         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
6379         SNANL.
6380         * math/test-double.h (snan_value_MACRO): New macro.
6381         * math/test-float.h (snan_value_MACRO): Likewise.
6382         * math/test-ldouble.h (snan_value_MACRO): Likewise.
6383         * math/libm-test.inc (issignaling_test_data): Add tests of
6384         snan_value_MACRO.
6386 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6388         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
6389         behavior when eliding a lock not held by the current thread.
6390         * sysdeps/powerpc/nptl/elide.h: Likewise.
6392 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6394         [BZ #20728]
6395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
6396         branch to _exit() by a function call.
6398 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6400         * malloc/malloc.c: Update chunk layout comments.
6401         (chunk_main_arena): Update comment.
6403 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6405         * crypt/sha256.c, crypt/sha256-block.c,
6406         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
6407         sha256_process_block to __sha256_process_block.
6408         * crypt/sha512.c, crypt/sha512-block.c,
6409         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
6410         sha512_process_block to __sha512_process_block.
6412 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6414         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
6416         * math/test-nan-overflow.c: Include stdlib.h for malloc.
6418 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
6420         [BZ #20019]
6421         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
6422         definition in unrelocated shared library.
6423         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6425 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6427         [BZ #20729]
6428         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
6429         * sysdeps/unix/sysv/linux/i386/Makefile
6430         (uses-6-syscall-arguments): Define.
6431         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
6432         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
6433         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
6434         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
6435         Likewise.
6436         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
6437         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
6438         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
6439         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
6440         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
6441         (CFLAGS-fallocate64.os): Likewise.
6442         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
6443         (CFLAGS-pthread_rwlock_timedrdlock.os)
6444         (CFLAGS-pthread_rwlock_timedwrlock.o)
6445         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
6446         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
6447         (CFLAGS-sem_timedwait.os): Likewise.
6449 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6451         * elf/tst-linkall-static.c: New file.
6452         * elf/Makefile (tests-static): Add tst-linkall-static.
6453         (tst-linkall-static): Link against static libraries.
6455 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6457         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6458         mmaped chunks.
6460 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6462         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6463         members to mchunk_prev_size, mchunk_size.
6464         (chunk_main_arena): Reverse sense and rename from
6465         chunk_non_main_arena.
6466         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6467         mchunk_size instead of size.
6468         (set_non_main_arena): Define.
6469         (chunksize): Use chunksize_nomask instead of direct member access.
6470         (chunksize_nomask): Define.
6471         (next_chunk): Use chunksize instead of direct member access.
6472         (prev_size, set_prev_size): Define.
6473         (prev_chunk): Use prev_size instead of direct member access.
6474         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6475         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6476         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6477         (mchunk_prev_size, mchunk_size): Poison tokens.
6478         (unlink): Use chunksize_nomask, prev_size accessors.
6479         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6480         (do_check_free_chunk): Use prev_size accessor.
6481         (sysmalloc): Use set_prev_size, set_head accessors.
6482         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6483         (__libc_free): Use chunksize_nomask accessor.
6484         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6485         chunk_main_arena accessors.
6486         (_int_free): Use chunksize_nomask, prev_size accessors.
6487         (malloc_consolidate): Use chunksize, prev_size accessors.
6488         (_int_realloc): Use chunksize_nomask accessor.
6489         (_int_memalign): Use set_prev_size accessor.
6490         (__malloc_info): Use chunksize_nomask accessor.
6491         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6492         accessors.
6493         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6494         (heap_trim): Use chunksize_nomask, prev_size accessors.
6496 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6498         [BZ #19380]
6499         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6500         for inexact results.
6501         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6502         of inexact result where mpfr_subnormalize is the only inexact
6503         step.
6504         * stdlib/tst-strtod-round-data.h: Regenerated.
6505         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6506         Define to 0.
6507         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6509 2016-10-27  David S. Miller  <davem@davemloft.net>
6511         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6513 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6515         * malloc/malloc.c (do_set_mallopt_check): New function.
6516         (do_set_mmap_threshold): Likewise.
6517         (do_set_mmaps_max): Likewise.
6518         (do_set_top_pad): Likewise.
6519         (do_set_perturb_byte): Likewise.
6520         (do_set_trim_threshold): Likewise.
6521         (do_set_arena_max): Likewise.
6522         (do_set_arena_test): Likewise.
6523         (__libc_mallopt): Use them.
6525 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6527         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6528         (canonicalize): New declaration.
6529         * math/Versions (canonicalize): New libm symbol at version
6530         GLIBC_2.25.
6531         (canonicalizef): Likewise.
6532         (canonicalizel): Likewise.
6533         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6534         * math/s_canonicalize_template.c: New file.
6535         * math/libm-test.inc: Update comment on functions tested and
6536         testing of NaN payloads.
6537         (TEST_NAN_PAYLOAD): New macro.
6538         (NO_TEST_INLINE): Update value.
6539         (XFAIL_TEST): Likewise.
6540         (ERRNO_UNCHANGED): Likewise.
6541         (ERRNO_EDOM): Likewise.
6542         (ERRNO_ERANGE): Likewise.
6543         (IGNORE_RESULT): Likewise.
6544         (NON_FINITE): Likewise.
6545         (TEST_SNAN): Likewise.
6546         (NO_TEST_MATHVEC): Likewise.
6547         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6548         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6549         (struct test_Ffp_b1_data): New type.
6550         (RUN_TEST_Ffp_b1): New macro.
6551         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6552         (canonicalize_test_data): New array.
6553         (canonicalize_test): New function.
6554         (main): Call canonicalize_test.
6555         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6556         canonicalizef and canonicalizel.
6557         * manual/libm-err-tab.pl: Update comment on interfaces without
6558         ulps tabulated.
6559         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6560         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6561         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6562         canonicalize.
6563         (CFLAGS-nldbl-canonicalize.c): New variable.
6564         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6565         to ...
6566         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6567         ... here.
6568         (do_test): Also test canonicalizel.
6569         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6570         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6571         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6572         file.
6573         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6574         Use libm_hidden_def.
6575         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6576         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6577         (do_test): Also test canonicalizel.
6578         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6579         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6580         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6581         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6582         libm_hidden_def.
6583         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6584         macro.
6585         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6586         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6587         * sysdeps/nacl/libm.abilist: Update.
6588         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6589         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6590         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6591         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6592         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6593         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6594         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6595         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6596         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6597         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6598         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6599         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6601         Likewise.
6602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6603         Likewise.
6604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6605         Likewise.
6606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6607         Likewise.
6608         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6609         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6610         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6611         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6612         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6614         Likewise.
6615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6616         Likewise.
6617         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6618         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6619         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6621         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6622         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6623         getpayload.
6624         (CFLAGS-nldbl-getpayload.c): New variable.
6626 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6628         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6629         integer from the format string.
6631 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6633         [BZ #19473]
6634         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6635         declarations.
6636         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6637         weak aliases.
6638         * malloc/hooks.c (__malloc_get_state): Remove definition.
6639         (malloc_get_state): New stub implementation as
6640         compatibility symbol.
6641         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6642         compat symbol.
6643         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6644         malloc_set_state.
6645         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6647 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6649         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6650         (names): Turn into concatenation of strings.
6651         (gconv_init): Adapt iteration over names.
6653 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6655         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6656         make const.
6657         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6658         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6659         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6660         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6661         character in sbconv.
6662         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6663         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6664         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6666 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6668         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6670         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6671         (M_TRIM_THRESHOLD): Likewise.
6673         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6674         (M_ARENA_MAX): Likewise.
6675         * malloc/malloc.c: Remove obsolete comment.
6677         * manual/memory.texi: Add environment variable alternatives to
6678         setting mallopt parameters.
6680 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6682         * include/atomic.h
6683         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6684         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6686 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6688         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6689         * stdlib/tst-strfrom.h: New file.
6690         * stdlib/tst-strfrom.c: New file.
6691         * stdlib/tst-strfrom-locale.c: New file.
6693         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6694         * stdlib/bug-strtod2.c: Likewise.
6695         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6696         * stdlib/tst-strtod6.c: Likewise.
6697         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6699 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6701         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6702         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6703         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6704         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6705         * stdlib/stdlib.h (strfromd): New declaration.
6706         (strfromf): Likewise.
6707         (strfroml): Likewise.
6708         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6709         strfrom.
6710         * stdlib/strfromd.c: New file.
6711         * stdlib/strfromf.c: Likewise.
6712         * stdlib/strfroml.c: Likewise.
6713         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6714         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6715         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6716         * sysdeps/arm/nacl/libc.abilist: Update.
6717         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6718         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6719         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6720         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6721         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6722         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6723         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6724         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6725         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6726         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6727         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6728         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6729         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6730         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6735         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6736         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6737         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6738         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6739         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6742         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6743         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6744         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6746 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6748         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6749         instead of cmpli.
6750         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6751         instead of cmpli.
6753 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6755         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6756         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6757         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6758         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6759         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6760         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6762 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6764         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6765         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6766         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6767         SYSCALL_LL64_PRW.
6768         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6769         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6770         __ASSUME_PRW_DUMMY_ARG.
6771         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6772         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6773         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6774         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6775         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6776         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6778 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6780         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6782 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6784         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6785         "C++", to override a potential extern "C" directive around the
6786         header file inclusion.
6788 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6790         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6792 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6794         * sysdeps/powerpc/fpu/fenv_private.h:
6795         (_FPU_MASK_ALL): Rename to...
6796         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6797         XE FPSCR bits.
6799         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6801         (_FPU_MASK_ROUNDING): Rename to...
6802         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6803         NI bits.
6805         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6806         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6807         bits and rounding bits.
6809         (__libc_feholdbits_ppc): New inline function to mask, set,
6810         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6811         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6812         (libc_feholdexcept_setround_ppc): Likewise.
6814         (__libc_femergeenv_ppc): New function to dynamically mask both
6815         old and new FP environments and merge.
6816         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6817         (libc_feresetround_ppc): Likewise.
6818         (libc_feupdateenv_test_ppc): Likewise.
6819         (libc_feupdateenv_ppc): Likewise.
6821         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6822         of ISA RN bits, and update macro names.
6823         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6824         effectively the same as the previously mentioned function.
6826         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6827         usage with fe_resetround_ppc.
6829         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6830         to be used.
6831         (libc_feholdexcept_setround_ctxf): Likewise.
6832         (libc_feholdexcept_setround_ctxl): Likewise.
6834 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6836         [BZ #20715]
6837         * math/math.h [__cplusplus] (iszero): Define as function template.
6838         * math/Makefile [CXX] (tests): Add test-math-iszero.
6839         (CFLAGS-test-math-iszero.cc): Set.
6840         * math/test-math-iszero.cc: New file.
6842 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6844         [BZ #20660]
6845         * sysdeps/arm/e_sqrt.c: New file.
6846         * sysdeps/arm/e_sqrtf.c: Likewise.
6848 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6850         [BZ #20718]
6851         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6852         not use floating-point comparisons to test sign.
6853         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6854         Likewise.
6856         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6857         (getpayload): New declaration.
6858         * math/Versions (getpayload): New libm symbol at version
6859         GLIBC_2.25.
6860         (getpayloadf): Likewise.
6861         (getpayloadl): Likewise.
6862         * math/Makefile (libm-calls): Add s_getpayloadF.
6863         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6864         (struct test_f_f_data): Add comment.
6865         (RUN_TEST_fp_f): New macro.
6866         (RUN_TEST_LOOP_fp_f): Likewise.
6867         (getpayload_test_data): New array.
6868         (getpayload_test): New function.
6869         (main): Call getpayload_test.
6870         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6871         descriptor.
6872         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6873         getpayloadf and getpayloadl.
6874         * manual/libm-err-tab.pl: Update comment on interfaces without
6875         ulps tabulated.
6876         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6877         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6878         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6879         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6880         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6881         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6882         * sysdeps/nacl/libm.abilist: Update.
6883         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6884         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6885         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6886         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6887         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6888         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6889         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6890         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6891         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6892         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6893         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6894         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6896         Likewise.
6897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6898         Likewise.
6899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6900         Likewise.
6901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6902         Likewise.
6903         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6913         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6916 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6918         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6919         tst-fallocate{64}.
6920         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6921         on syscall return.
6923 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6925         [BZ #20689]
6926         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6927         usable.
6929 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6931         * sysdeps/generic/nan-high-order-bit.h: New file.
6932         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6933         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6934         * sysdeps/hppa/math_private.h: Remove file.
6935         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6936         not define here.
6937         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6938         <nan-high-order-bit.h>.
6939         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6940         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6941         <nan-high-order-bit.h>.
6942         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6943         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6944         <nan-high-order-bit.h>.
6945         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6946         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6947         <nan-high-order-bit.h>.
6948         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6949         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6950         <nan-high-order-bit.h>.
6951         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6952         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6953         <nan-high-order-bit.h>.
6954         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6955         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6956         <nan-high-order-bit.h>.
6957         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6958         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6959         <nan-high-order-bit.h>.
6960         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6961         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6962         <nan-high-order-bit.h>.
6963         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6964         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6965         <nan-high-order-bit.h>.
6966         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6967         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6968         <nan-high-order-bit.h>.
6969         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6970         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6971         <nan-high-order-bit.h>.
6972         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6973         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6974         <nan-high-order-bit.h>.
6975         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6976         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6977         <nan-high-order-bit.h>.
6978         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6979         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6980         <nan-high-order-bit.h>.
6981         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6982         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6983         <nan-high-order-bit.h>.
6984         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6985         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6986         <nan-high-order-bit.h>.
6987         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6988         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6989         <nan-high-order-bit.h>.
6990         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6992 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6994         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6996 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6998         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6999         abort-instr.h.
7000         (EFAULT): Remove conditional define.
7001         (ENOSYS): Likewise.
7002         (atomic_compare_and_exchange_val_acq): Use instruction nullification
7003         instead of conditional branch instructions.
7005 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
7007         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7008         (totalordermag): New declaration.
7009         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
7010         New macro.
7011         * math/Versions (totalordermag): New libm symbol at version
7012         GLIBC_2.25.
7013         (totalordermagf): Likewise.
7014         (totalordermagl): Likewise.
7015         * math/Makefile (libm-calls): Add s_totalordermagF.
7016         * math/libm-test.inc (totalordermag_test_data): New array.
7017         (totalordermag_test): New function.
7018         (main): Call totalordermag_test.
7019         * math/test-tgmath.c (NCALLS): Increase to 125.
7020         (F(compile_test)): Call totalordermag.
7021         (F(totalordermag)): New function.
7022         * manual/arith.texi (FP Comparison Functions): Document
7023         totalordermag, totalordermagf and totalordermagl.
7024         * manual/libm-err-tab.pl: Update comment on interfaces without
7025         ulps tabulated.
7026         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
7027         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
7028         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
7029         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
7030         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
7031         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
7032         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
7033         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7034         totalordermag.
7035         (CFLAGS-nldbl-totalordermag.c): New variable.
7036         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
7037         (do_test): Also test totalordermagl.
7038         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
7039         Likewise.
7040         * sysdeps/nacl/libm.abilist: Update.
7041         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7042         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7043         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7044         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7046         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7047         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7054         Likewise.
7055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7056         Likewise.
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7058         Likewise.
7059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7060         Likewise.
7061         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7067         Likewise.
7068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7069         Likewise.
7070         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7074 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7076         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7077         boolean.
7079 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7081         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7082         raising FE_INVALID with feraisexcept in case where part of
7083         argument is infinite, subtract that part of argument from itself.
7084         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7085         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7086         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7088 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7090         * math/libm-test.inc (totalorder_test_data): Add more tests.
7092 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7094         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7095         Undefine weak_alias and add a comment why mips64 require
7096         versioning.
7098 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7100         [BZ #20647]
7101         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7102         maximum CPUID level is less than 2.
7104 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7106         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7107         (totalorder): New declaration.
7108         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7109         New macro.
7110         * math/Versions (totalorder): New libm symbol at version
7111         GLIBC_2.25.
7112         (totalorderf): Likewise.
7113         (totalorderl): Likewise.
7114         * math/Makefile (libm-calls): Add s_totalorderF.
7115         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7116         string.
7117         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7118         (qnan_value_pl): Likewise.
7119         (snan_value_pl): Likewise.
7120         (qnan_value): Define using qnan_value_pl.
7121         (snan_value): Define using snan_value_pl.
7122         (struct test_ff_i_data): Add comment about which tests use this
7123         structure.
7124         (RUN_TEST_ff_b): New macro.
7125         (RUN_TEST_LOOP_ff_b): Likewise.
7126         (totalorder_test_data): New array.
7127         (totalorder_test): New function.
7128         (main): Call totalorder_test.
7129         * math/test-tgmath.c (NCALLS): Increase to 122.
7130         (F(compile_test)): Call totalorder.
7131         (F(totalorder)): New function.
7132         * manual/arith.texi (FP Comparison Functions): Document
7133         totalorder, totalorderf and totalorderl.
7134         * manual/libm-err-tab.pl: Update comment on interfaces without
7135         ulps tabulated.
7136         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7137         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7138         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7139         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7140         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7141         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7142         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7143         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7144         totalorder.
7145         (CFLAGS-nldbl-totalorder.c): New variable.
7146         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7147         file.
7148         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7149         Add test-totalorderl-ldbl-128ibm.
7150         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7151         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7152         test-totalorderl-ldbl-96.
7153         * sysdeps/nacl/libm.abilist: Update.
7154         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7155         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7156         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7157         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7158         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7159         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7160         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7161         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7162         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7163         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7164         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7165         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7167         Likewise.
7168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7169         Likewise.
7170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7171         Likewise.
7172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7173         Likewise.
7174         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7175         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7176         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7177         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7178         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7184         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7185         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7187 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7189         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7190         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7191         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7192         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7193         remove ENOSYS implementation.
7194         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7195         Consolidate all Linux implementations.
7197 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7199         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7200         * resolv/herror.c (herror): Cast away const-ness.
7201         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7202         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7204 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7206         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7207         instead of M_NAN + M_NAN.
7208         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7210 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7212         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7213         unused variable 'p'.
7215 2016-10-09  Alan Modra  <amodra@gmail.com>
7216             Andreas Schwab  <schwab@linux-m68k.org>
7218         [BZ #20554]
7219         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7220         [PIC && !SHARED]: Set up PIC register for PLT call.
7222 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7224         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7225         conditional on value of [__FLT_EVAL_METHOD__].
7226         * math/test-iseqsig-excess-precision.c: New file.
7227         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7229 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7231         * math/s_iseqsig_template.c: Include math-private.h.
7233         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7234         * posix/tst-posix_fadvise.c: New file.
7235         * posix/tst-posix_fadvise64.c: Likewise.
7236         * posix/tst-posix_fadvise-common.c: Likewise.
7237         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7238         (__ASSUME_FADVISE64_64_6ARG): Define.
7239         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7240         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7241         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7242         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7243         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7244         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7245         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7246         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7247         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7248         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7249         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7250         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7253         Likewise.
7254         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7255         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7256         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7257         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7258         Alias to __posix_fadvise64_l32.
7259         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7260         Add compat definition to posix_fadvise64.
7261         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7262         Add versioned definition to posix_fadvise64.
7263         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7264         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7265         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7266         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7267         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7269         * io/Makefile (tests): Add tst-posix_fallocate and
7270         tst-posix_fallocate64.
7271         * io/tst-posix_fallocate-common.c: New file.
7272         * io/tst-posix_fallocate.c: Likewise.
7273         * io/tst-posix_fallocate64.c: Likewise.
7274         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7275         file.
7276         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7277         Likewise.
7278         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7279         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7280         Likewise.
7281         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7282         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7283         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7284         SYSCALL_LL to pass both offset and len arguments.
7285         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7286         Likewise.
7287         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7288         __libc_pwrite64 alias used by posix_fallocate64.
7290         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7291         tst-fallocate64.
7292         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7293         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7294         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7295         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7296         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7297         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7298         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7299         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7300         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7301         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7302         macro on offset argument.
7303         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7304         SYSCALL_LL64 on offset argument.
7306         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7307         tst-fallocate64.
7308         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7309         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7310         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7311         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7312         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7313         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7314         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7315         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7316         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7317         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7318         macro on offset argument.
7319         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7320         SYSCALL_LL64 on offset argument.
7321         * test-skeleton.c (FAIL_RET): Add macro.
7322         (FAIL_EXIT): Likewise.
7323         (FAIL_EXIT1): Likewise.
7324         (_FAIL): Likewise.
7326 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7328         [BZ #20629]
7329         resolv: Remove RES_USEBSTRING and its implementation.
7330         * resolv/resolv.h (RES_USEBSTRING): Remove.
7331         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7332         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7333         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7334         (labellen): Remove extended label types support.
7335         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7336         * resolv/res_init.c (res_setoptions): Likewise.
7337         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7339 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7341         resolv: Remove RES_NOIP6DOTINT and its implementation.
7342         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7343         (RES_NOIP6DOTINT): Remove.
7344         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7345         handling.
7346         * resolv/res_debug.c (p_option): Likewise.
7347         * resolv/res_init.c (res_setoptions): Likewise.
7348         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7350 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7352         resolv: Deprecate unimplemented flags.
7353         * misc/sys/cdefs.h (__glibc_macro_warning1)
7354         (__glibc_macro_warning): Define.
7355         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7356         (RES_KEEPTSIG): Mark as deprecated.
7357         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7358         RES_NOCHECKNAME, RES_KEEPTSIG.
7359         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7361 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7363         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7364         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7365         Use strong_alias to create symbols for glibc verison 2.19.
7367 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7369         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7371 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7373         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7375 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7377         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
7379 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7381         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7382         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
7383         in header for using it as type for ifunc function because __GI_* symbols
7384         for ppc32 do not target the ifunc symbols.
7385         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7387 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7389         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
7390         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
7391         libc_ifunc_hidden_def.
7392         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7393         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
7394         Redirect ifunced function in header for using it as type of ifunc'ed
7395         function. Redefine libc_hidden_def to use fallback non ifunc'ed
7396         function for __GI_* symbol.
7397         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
7398         * include/libc-symbols.h
7399         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
7401 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7403         [BZ #20478]
7404         * sysdeps/s390/multiarch/ifunc-resolve.h
7405         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
7406         to create ifunc symbols.
7407         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
7408         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
7409         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
7410         for using it as type for ifunc function.
7411         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7412         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7413         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7414         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7415         * sysdeps/s390/multiarch/strcat.c: Likewise.
7416         * sysdeps/s390/multiarch/strchr.c: Likewise.
7417         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7418         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7419         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7420         * sysdeps/s390/multiarch/strlen.c: Likewise.
7421         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7422         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7423         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7424         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7425         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7426         * sysdeps/s390/multiarch/strspn.c: Likewise.
7427         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7428         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7429         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7430         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7431         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7432         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7433         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7434         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
7435         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
7436         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7437         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
7438         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
7440 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7442         * include/libc-symbols.h (__ifunc_resolver):
7443         New macro is used by __ifunc* macros.
7444         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
7445         depending on HAVE_GCC_IFUNC.
7446         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
7447         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
7448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7449         Redirect ifunced function in header for using as type for ifunc function.
7450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
7451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
7452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
7453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
7454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7456         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7457         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7458         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7459         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7460         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7461         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7462         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7469         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7470         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7471         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7472         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7473         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7474         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7475         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7476         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7477         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7478         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7479         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7480         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7481         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7482         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7484         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7485         instead of libc_ifunc() macro.
7486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7489 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7491         * config.h.in (HAVE_GCC_IFUNC): New undef.
7492         * configure.ac: Add check if gcc supports attribute ifunc feature.
7493         * configure: Regenerated.
7494         * manual/install.texi: Add recommendation for gcc with
7495         indirect-function support.
7496         * INSTALL: Regenerated.
7498 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7500         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7501         macro.
7502         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7503         (__iseqsig): New declaration.
7504         * math/s_iseqsig_template.c: New file.
7505         * math/Versions (__iseqsigf): New libm symbol at version
7506         GLIBC_2.25.
7507         (__iseqsig): Likewise.
7508         (__iseqsigl): Likewise.
7509         * math/libm-test.inc (iseqsig_test_data): New array.
7510         (iseqsig_test): New function.
7511         (main): Call iseqsig_test.
7512         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7513         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7514         * manual/libm-err-tab.pl: Update comment on interfaces without
7515         ulps tabulated.
7516         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7517         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7518         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7519         * sysdeps/nacl/libm.abilist: Update.
7520         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7521         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7522         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7523         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7524         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7525         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7526         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7527         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7528         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7529         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7530         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7531         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7533         Likewise.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7535         Likewise.
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7537         Likewise.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7539         Likewise.
7540         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7541         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7542         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7543         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7544         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7546         Likewise.
7547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7548         Likewise.
7549         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7550         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7551         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7553 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7555         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7556         do_sincos_2, sloww, sloww1): Update comments.
7558         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7559         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7561         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7562         K boolean and rename it.
7563         (__sin): Adjust.
7564         (__cos): Adjust.
7566 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7567             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7569         * manual/nss.texi: Fix typos in the manual.
7571 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7573         * manual/contrib.texi: Fix typos in the manual.
7575         * manual/maint.texi: Fix typos in the manual.
7577         * manual/install.texi: Fix typos in the manual.
7578         * INSTALL: Regenerated.
7580         * manual/lang.texi: Fix typos in the manual.
7582         * manual/probes.texi: Fix typos in the manual.
7584         * manual/threads.texi: Fix typos in the manual.
7586         * manual/debug.texi: Fix typos in the manual.
7588         * manual/crypt.texi: Fix typos in the manual.
7590         * manual/conf.texi: Fix typos in the manual.
7592         * manual/sysinfo.texi: Fix typos in the manual.
7594         * manual/users.texi: Fix typos in the manual.
7596         * manual/job.texi: Fix typos in the manual.
7598         * manual/process.texi: Fix typos in the manual.
7600         * manual/argp.texi: Fix typos in the manual.
7601         * manual/getopt.texi: Likewise.
7602         * manual/startup.texi: Likewise.
7604         * manual/signal.texi: Fix typos in the manual.
7606         * manual/setjmp.texi: Fix typos in the manual.
7608         * manual/resource.texi: Fix typos in the manual.
7610         * manual/time.texi: Fix typos in the manual.
7612         * manual/arith.texi: Fix typos in the manual.
7614         * manual/math.texi: Fix typos in the manual.
7616         * manual/syslog.texi: Fix typos in the manual.
7618         * manual/terminal.texi: Fix typos in the manual.
7620         * manual/socket.texi: Fix typos in the manual.
7622         * manual/filesys.texi: Fix typos in the manual.
7624         * manual/llio.texi: Fix typos in the manual.
7626         * manual/stdio.text: Fix typos in the manual.
7628 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7630         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7631         instead of K1.
7633         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7634         SHIFT_QUADRANT and make it bool.
7635         (do_sincos_2): Likewise.
7636         (sloww): Likewise.
7637         (sloww1): Likewise.
7638         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7639         (__cos): Likewise.
7641 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7643         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7645 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7647         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7648         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7649         0x7fffffffL].
7650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7652 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7654         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7655         inline by __inline__.
7656         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7657         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7658         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7659         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7660         sigset_t from signal.h.
7661         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7662         which is already required.
7664 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7666         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7668 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7670         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7671         (struct tcp_repair_window): New type.
7673 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7675         * libio/tst-memstream3.c: Include string.h.
7677 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7679         [BZ #18241]
7680         [BZ #20181]
7681         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7682         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7683         write position is at the end the buffer.
7684         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7685         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7686         (_IO_str_seekoff): Set correct offset from negative displacement and
7687         set EINVAL for invalid ones.
7688         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7689         buffer length.
7690         (_IO_wstr_switch_to_get_mode): New function.
7691         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7692         set EINVAL for invalid ones.
7693         * libio/tst-memstream3.c: New file.
7694         * libio/tst-wmemstream3.c: Likewise.
7695         * manual/examples/memstrm.c: Remove warning when priting size_t.
7697 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7699         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7700         macro to use __builtin_fma.
7701         * sysdeps/x86_64/fpu/dla.h: Remove file.
7703         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7704         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7705         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7707 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7709         [BZ #20292]
7710         * elf/Makefile (routines): Add dl-addr-obj.
7711         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7712         tst-_dl_addr_inside_object.
7713         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7714         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7715         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7716         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7717         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7718         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7719         * elf/dl-open.c: Likewise.
7720         * elf/dl-addr-obj.c: New file.
7721         * elf/tst-_dl_addr_inside_object.c: New file.
7723 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7725         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7726         <bits/iscanonical.h>.
7727         * bits/iscanonical.h: New file.
7728         * math/s_iscanonicall.c: Likewise.
7729         * math/Versions (__iscanonicall): New libm symbol at version
7730         GLIBC_2.25.
7731         * math/libm-test.inc (iscanonical_test_data): New array.
7732         (iscanonical_test): New function.
7733         (main): Call iscanonical_test.
7734         * math/Makefile (headers): Add bits/iscanonical.h.
7735         (type-ldouble-routines): Add s_iscanonicall.
7736         * manual/arith.texi (Floating Point Classes): Document
7737         iscanonical.
7738         * manual/libm-err-tab.pl: Update comment on interfaces without
7739         ulps tabulated.
7740         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7741         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7742         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7743         Likewise.
7744         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7745         test-iscanonical-ldbl-128ibm.
7746         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7747         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7748         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7749         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7750         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7751         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7752         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7754         Likewise.
7755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7756         Likewise.
7757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7758         Likewise.
7759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7760         Likewise.
7761         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7762         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7764 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7766         * string/bits/string3.h: Remove C++ style comments.
7768 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7770         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7771         instead of ternary condition.
7772         (do_sincos_2): Likewise.
7773         (__sin): Likewise.
7774         (__cos): Likewise.
7775         (slow): Likewise.
7776         (sloww): Likewise.
7777         (sloww1): Likewise.
7778         (bsloww): Likewise.
7779         (bsloww1): Likewise.
7781         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7782         instead of ternary condition.
7783         (do_sin_slow): Likewise.
7784         (do_sincos_1): Likewise.
7785         (do_sincos_2): Likewise.
7786         (__cos): Likewise.
7787         (sloww): Likewise.
7788         (sloww1): Likewise.
7789         (sloww2): Likewise.
7790         (bsloww): Likewise.
7791         (bsloww1): Likewise.
7792         (bsloww2): Likewise.
7794         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7795         check from here...
7796         (slow2): ... and here...
7797         (__sin): ... to here.
7799 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7801         * math/math.h
7802         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7803         Cast argument to its own type.
7804         * math/test-iszero-excess-precision.c: New file.
7805         * math/Makefile (tests): Add test-iszero-excess-precision.
7806         (CFLAGS-test-iszero-excess-precision.c): New variable.
7808 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7810         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7811         field, add err field.
7812         (__spawni_child): Report error through err member instead of pipe.
7813         (__spawnix): Likewise.
7815 2016-09-28  Zack Weinberg  <zackw@panix.com>
7817         * scripts/check-installed-headers.sh: Generalize treatment of
7818         sys/elf.h to all target architectures.
7820         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7821         deleted typedef ucontext_t.
7823 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7825         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7826         (__INTERNAL_SYSCALL1): Likewise.
7827         (__INTERNAL_SYSCALL2): Likewise.
7828         (__INTERNAL_SYSCALL3): Likewise.
7829         (__INTERNAL_SYSCALL4): Likewise.
7830         (__INTERNAL_SYSCALL5): Likewise.
7831         (__INTERNAL_SYSCALL6): Likewise.
7832         (__INTERNAL_SYSCALL7): Likewise.
7833         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7834         (__INTERNAL_SYSCALL_NARGS): Likewise.
7835         (__INTERNAL_SYSCALL_DISP): Likewise.
7836         (INTERNAL_SYSCALL_CALL): Likewise.
7837         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7838         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7839         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7840         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7841         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7842         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7843         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7844         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7845         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7846         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7847         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7848         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7849         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7851 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7853         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7854         macro.
7855         * math/libm-test.inc (iszero_test_data): New array.
7856         (iszero_test): New function.
7857         (main): Call iszero_test.
7858         * manual/arith.texi (Floating Point Classes): Document iszero.
7859         * manual/libm-err-tab.pl: Update comment on interfaces without
7860         ulps tabulated.
7862 2016-09-23  Zack Weinberg  <zackw@panix.com>
7864         * scripts/check-installed-headers.sh: New script.
7865         * Rules: In each directory that defines header files to be installed,
7866         run check-installed-headers.sh on them as a special test.
7867         * Makefile: Likewise for the headers installed at top level.
7869         * include/aliases.h, include/alloca.h, include/argz.h
7870         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7871         * include/elf.h, include/envz.h, include/err.h
7872         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7873         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7874         * include/link.h, include/malloc.h, include/mcheck.h
7875         * include/mntent.h, include/netinet/ether.h
7876         * include/nss.h, include/obstack.h, include/printf.h
7877         * include/pty.h, include/resolv.h, include/rpc/auth.h
7878         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7879         * include/rpc/clnt.h, include/rpc/des_crypt.h
7880         * include/rpc/key_prot.h, include/rpc/netdb.h
7881         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7882         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7883         * include/rpc/rpc_msg.h, include/rpc/svc.h
7884         * include/rpc/svc_auth.h, include/rpc/xdr.h
7885         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7886         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7887         * include/rpcsvc/ypupd.h, include/shadow.h
7888         * include/stdio_ext.h, include/sys/epoll.h
7889         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7890         * include/sys/prctl.h, include/sys/profil.h
7891         * include/sys/statfs.h, include/sys/sysctl.h
7892         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7893         * sysdeps/arm/nacl/include/bits/setjmp.h
7894         * sysdeps/mips/include/sys/asm.h
7895         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7896         * sysdeps/unix/sysv/linux/include/sys/timex.h
7897         * sysdeps/x86/fpu/include/bits/fenv.h:
7898         Add #ifndef _ISOMAC guard around internal declarations.
7899         Add multiple-inclusion guard if not already present.
7901 2016-09-23  Zack Weinberg  <zackw@panix.com>
7903         * sysdeps/generic/sys/ucontext.h
7904         * sysdeps/arm/sys/ucontext.h
7905         * sysdeps/i386/sys/ucontext.h
7906         * sysdeps/m68k/sys/ucontext.h
7907         * sysdeps/mips/sys/ucontext.h
7908         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7909         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7910         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7911         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7912         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7913         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7914         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7915         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7916         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7917         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7918         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7919         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7920         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7921         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7922         Include both bits/sigcontext.h and bits/sigstack.h.
7923         Fix grammar error in comment, if present.
7925         * bits/sigstack.h
7926         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7927         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7928         * sysdeps/unix/sysv/linux/bits/sigstack.h
7929         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7930         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7931         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7932         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7933         * bits/sigcontext.h
7934         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7935         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7936         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7937         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7938         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7939         as well as signal.h, if this was not already allowed.  Request
7940         definition of size_t if necessary.  Minimize semantically-null
7941         differences across files.
7943 2016-09-23  Zack Weinberg  <zackw@panix.com>
7945         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7946         Remove all logic conditional on __need macros.  Move all the
7947         conditionally defined types to their own headers...
7948         * time/bits/types/clock_t.h: Define clock_t here.
7949         * time/bits/types/clockid_t.h: Define clockid_t here.
7950         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7951         * time/bits/types/struct_timespec.h: Define struct timespec here.
7952         * time/bits/types/struct_timeval.h: Define struct timeval here.
7953         * time/bits/types/struct_tm.h: Define struct tm here.
7954         * time/bits/types/time_t.h: Define time_t here.
7955         * time/bits/types/timer_t.h: Define timer_t here.
7956         * time/Makefile: Install the new headers.
7958         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7959         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7960         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7961         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7962         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7963         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7964         * sysdeps/unix/sysv/linux/bits/resource.h
7965         * sysdeps/unix/sysv/linux/bits/timex.h
7966         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7967         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7968         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7969         * sysdeps/unix/sysv/linux/sys/acct.h
7970         * sysdeps/unix/sysv/linux/sys/timerfd.h
7971         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7972         * time/sys/time.h, time/sys/timeb.h
7973         Use the new bits/types headers.
7975         * include/time.h: Remove __need logic.
7976         * include/bits/time.h
7977         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7978         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7979         * include/bits/types/struct_itimerspec.h
7980         * include/bits/types/struct_timespec.h
7981         * include/bits/types/struct_timeval.h
7982         * include/bits/types/struct_tm.h:
7983         New wrapper headers.
7985 2016-09-23  Zack Weinberg  <zackw@panix.com>
7987         * sysdeps/mach/hurd/net/if_ppp.h
7988         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7989         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7990         if __USE_MISC is defined, to ensure struct ifreq is declared.
7992         * inet/netinet/ether.h: Condition all function prototypes
7993         on __USE_MISC, to ensure struct ether_addr is declared.
7995         * socket/bits/types/struct_osockaddr.h: New header.
7996         * include/bits/types/struct_osockaddr.h: New wrapper.
7997         * socket/Makefile: Install the new header.
7998         * socket/sys/socket.h, inet/protocols/talkd.h:
7999         Refer to bits/types/struct_osockaddr.h for the definition of
8000         struct osockaddr.
8002 2016-09-23  Zack Weinberg  <zackw@panix.com>
8004         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
8005         * inet/protocols/routed.h, inet/protocols/talkd.h
8006         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
8007         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
8008         * sysdeps/generic/netinet/if_ether.h
8009         * sysdeps/generic/netinet/in_systm.h
8010         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
8011         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8012         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
8013         * sysdeps/mach/hurd/net/if_arp.h
8014         * sysdeps/mach/hurd/net/if_ppp.h
8015         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
8016         * sysdeps/unix/sysv/linux/bits/in.h
8017         * sysdeps/unix/sysv/linux/net/ethernet.h
8018         * sysdeps/unix/sysv/linux/net/if_arp.h
8019         * sysdeps/unix/sysv/linux/net/if_ppp.h
8020         * sysdeps/unix/sysv/linux/net/if_shaper.h
8021         * sysdeps/unix/sysv/linux/net/route.h
8022         * sysdeps/unix/sysv/linux/netinet/if_ether.h
8023         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8024         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8025         * sysdeps/unix/sysv/linux/netipx/ipx.h
8026         * sysdeps/unix/sysv/linux/sys/acct.h
8027         * include/arpa/nameser.h, include/resolv.h:
8028         Change all uses of u_char to unsigned char,
8029         u_short and ushort to unsigned short, u_int and uint to unsigned int,
8030         u_long and ulong to unsigned long, u_int8_t to uint8_t,
8031         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
8032         and u_int64_t and u_quad_t to uint64_t.
8034         * mach/sys/reboot.h: Remove two casts of integer literals
8035         to the types they already have.
8037         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
8038         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8039         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
8040         from referring to 'unsigned char' to 'uint8_t' for consistency with
8041         the macro definition below.
8043         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8044         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8045         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8046         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8047         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8048         * sysdeps/unix/sysv/linux/sys/acct.h
8049         * include/arpa/nameser.h, include/resolv.h:
8050         Fix indentation disrupted by mechanical edits.
8052         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8053         * sysdeps/generic/netinet/in_systm.h
8054         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8055         * sysdeps/gnu/netinet/udp.h
8056         * sysdeps/unix/sysv/linux/net/ethernet.h
8057         * sysdeps/unix/sysv/linux/net/if_arp.h
8058         * sysdeps/unix/sysv/linux/net/if_ppp.h
8059         * sysdeps/unix/sysv/linux/net/if_shaper.h
8060         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8061         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8062         * sysdeps/unix/sysv/linux/netipx/ipx.h
8063         * sysdeps/unix/sysv/linux/sys/acct.h
8064         Include stdint.h for uintNN_t definitions.
8065         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8067 2016-09-23  Zack Weinberg  <zackw@panix.com>
8069         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8070         * sysdeps/unix/sysv/linux/netrose/rose.h:
8071         Include sys/socket.h and netax25/ax25.h.
8073         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8074         * resolv/arpa/nameser_compat.h:
8075         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8077         * sysdeps/unix/sysv/linux/sys/quota.h:
8078         Use __caddr_t instead of caddr_t.
8079         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8080         Use __clockid_t instead of clockid_t.
8082         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8084         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8085         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8086         expanding it.
8088         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8089         Define __glibc_c99_flexarr_available to 1 when the compiler
8090         supports C99-compatible flexible array members, 0 otherwise.
8091         * sysdeps/unix/sysv/linux/bits/socket.h
8092         * sysdeps/mach/hurd/bits/socket.h
8093         * bits/socket.h: Use __glibc_c99_flexarr_available in
8094         definitions of struct cmsghdr and CMSG_DATA.
8096 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8098         * manual/nss.texi (NSS Modules Interface): Adjust function return
8099         type to enum nss_status.  Document errnop argument.  Clarify
8100         h_errnop semantics.  Fix cross-reference formatting.
8101         (NSS Module Function Internals): Mention that *errnop needs to be
8102         set on failure, but not to zero.
8104 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8106         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8107         (get_random_name): New functions.
8108         (check_wrapper_flags_mode): Use linkat to give the new file a name
8109         determined by get_random_name.
8110         (do_test): Add calls to test open64 and openat64.
8112 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8114         * test-skeleton.c: Remove #include <stdarg.h>.
8116 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8118         [BZ #19826]
8119         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8120         initialization of static TLS entries.
8121         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8122         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8124 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8126         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8127         _hurd_malloc_fork_prepare.
8128         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8129         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8130         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8131         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8132         (_hurd_fork_child_hook): Drop malloc_fork_child.
8133         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8134         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8135         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8136         after locking locks (notably hurd_dtable_lock). Call
8137         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8138         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8139         __malloc_fork_unlock_child.
8140         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8142 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8144         * soft-fp/extendhftf2.c: New.
8145         * soft-fp/fixhfti.c: Likewise.
8146         * soft-fp/fixunshfti.c: Likewise.
8147         * soft-fp/floattihf.c: Likewise.
8148         * soft-fp/floatuntihf.c: Likewise.
8149         * soft-fp/half.h: Likewise.
8150         * soft-fp/trunctfhf2.c: Likewise.
8152 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8154         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8155         macro.
8156         * math/libm-test.inc (issubnormal_test_data): New array.
8157         (issubnormal_test): New function.
8158         * manual/arith.texi (Floating Point Classes): Document
8159         issubnormal.
8160         * manual/libm-err-tab.pl: Update comment on interfaces without
8161         ulps tabulated.
8163         * sysdeps/generic/stdint.h: Define
8164         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8165         <bits/libc-header-start.h> instead of including <features.h>.
8166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8199         * manual/arith.texi (Integers): Document these macros for types
8200         specified by width properties.
8201         * manual/lang.texi (Width of Type): Document these macros for
8202         other standard typedefs.
8203         * stdlib/tst-width-stdint.c: New file.
8204         * stdlib/Makefile (tests): Add tst-width-stdint.
8206 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8208         [BZ #20016]
8209         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8210         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8211         Move ...
8212         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8213         ... here, as compatibility symbols in a new file.
8214         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8215         * resolv/res_init.c (__res_vinit): Adjust member names.
8216         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8217         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8218         (res_send_rhook): Remove.
8219         (struct __res_state): Rename qhook, rhook members.
8221 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8223         malloc: Use __libc_lock wrappers.
8224         * malloc/arena.c (list_lock, free_list_lock): Define using
8225         __libc_lock_define_initialized.
8226         (arena_lock): Adjust formatting.
8227         * malloc/malloc.c (struct malloc_state): Define mutex using
8228         __libc_lock_define.
8229         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8230         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8231         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8232         (mutex_unlock, mutex_trylock): Remove.
8233         (__pthread_initialize): Remove unused macro.
8234         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8235         (mutex_unlock, mutex_trylock): Remove.
8237 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8239         [BZ #20592]
8240         Remove RR type classification macros.
8241         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8242         (ns_t_udp_p, ns_t_xfr_p): Remove.
8244 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8246         Remove misleading version information.
8247         * resolv/arpa/nameser.h (__NAMESER): Remove.
8248         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8250 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8252         Remove the always-defined BIND_4_COMPAT macro.
8253         * resolv/arpa/nameser.h: Unconditionally include
8254         <arpa/nameser_compat.h>.
8255         (BIND_4_COMPAT): Remove.
8256         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8258 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8260         [BZ #20591]
8261         Remove obsolete DNSSEC support.
8262         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8263         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8264         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8265         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8266         (ns_cert_types): Add comment.
8267         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8268         separately.
8269         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8270         (dst_s_dns_key_id): Remove.
8271         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8272         variables.
8274 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8276         [BZ #20524]
8277         * manual/string.texi (String/Array Comparison): Clarify the
8278         strverscmp behavior.
8280 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8282         * test-skeleton.c (xasprintf): Add function.
8283         * io/tst-open-tmpfile.c: New test.
8284         * io/Makefile (tests): Add it.
8286 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8288         Avoid running $(CXX) during build to obtain header file paths.
8289         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8290         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8291         * Makerules (cstdlib, cmath): Remove variables.  Use
8292         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8293         * configure: Regenerate.
8295 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8297         * Makeconfig (all-object-suffixes): Include .op only if
8298         $(build-profile).
8300 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8302         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8303         conditionals.  Do not define PATH_MAX.
8305 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8307         * posix/Makefile (tests): Add tst-spawn3.
8308         * posix/tst-spawn3.c: New file.
8309         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8310         if it is already opened for open action.
8312         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8313         all signals when executing the clone vfork child.
8314         (SIGALL_SET): Remove macro.
8316         * nptl/Makefile (tests): Add tst-exec5.
8317         * nptl/tst-exec5.c: New file.
8318         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8319         asynchronous cancellation.
8321 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8323         * hurd/exc2signal.c: #include <hurd/signal.h>
8324         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8325         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8326         accordingly.
8327         * mach/mach_error.c (mach_error): Fix old-style function definition.
8328         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8330 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8332         * math/Makefile (libm-calls): Remove s_nanF.
8333         (gen-libm-calls): Add s_nanF.
8335         * math/s_nan.c: Refactor into ...
8336         * math/s_nan_template.c: New file.
8338         * math/s_nanf.c: Removed.
8339         * math/s_nanl.c: Removed.
8340         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8341         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8343         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8344         (LDOUBLE_nanl_libm_version): New macro.
8346         * sysdeps/generic/math-type-macros-double.h:
8347         (M_STRTO_NAN): New macro.
8348         * sysdeps/generic/math-type-macros-float.h: Likewise.
8349         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8351         * sysdeps/generic/math-type-macros.h: Document
8352         M_STRTO_NAN.
8354 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8356         * math/s_nanf.c: Remove __nanf undef.
8357         * math/s_nan.c: Remove __nan undef.
8358         * math/s_nanl.c: Remove __nanl undef.
8360         * sysdeps/generic/math_private.h (__nan): Remove macro
8361         override.
8362         (__nanf): Likewise.
8363         (__nanl): Likewise.
8365 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8367         * math/Makefile (gen-all-calls): New variable.
8368         (generated): Replace gen-libm-calls with gen-all-calls.
8369         (gen-libm-templates.stmp): Likewise.  Also, ensure
8370         the output directory exists or is created and add
8371         dependency on the Makefile.
8372         (calls): Move s_ldexpF into gen-calls.
8373         (gen-calls): New variable.
8375         * math/s_ldexpf.c: Removed.
8376         * math/s_ldexpl.c: Removed.
8377         * math/s_ldexp.c: Refactored into ...
8378         * math/s_ldexp_template.c: New file.
8380         * sysdeps/generic/math-type-macros-double.h: Remove
8381         redundant fall-through definition of declare_mgen_alias.
8382         (declare_mgen_alias_2): New macro.
8384         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
8385         New macro for function aliased to two exported symbols.
8387         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
8388         new template file.
8389         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8391 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8393         * Makeconfig (all-object-suffixes): Remove .og.
8394         * Makerules (elide-routines.og): Remove.
8395         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
8396         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
8397         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
8399 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8401         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
8402         .os objects.
8404 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8406         [BZ #20615]
8407         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
8408         fpu directory by non-fpu.
8409         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
8410         on non-fpu directory from a fpu directory.
8412 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
8414         * include/limits.h: Define
8415         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8416         <bits/libc-header-start.h> instead of including <features.h>.
8417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
8418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
8419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
8420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
8421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
8422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
8423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
8424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
8425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
8427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
8428         * manual/lang.texi (Width of Type): Document these macros.
8429         * stdlib/tst-width.c: New file.
8430         * stdlib/Makefile (tests): Add tst-width.
8432 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8434         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
8435         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
8437 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8439         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8440         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8441         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8443 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8445         [BZ #18243]
8446         * rt/Makefile (test): Add tst-shm-cancel.
8447         * rt/tst-shm-cancel.c: New file.
8448         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
8450         [BZ #18243]
8451         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
8452         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
8453         definition.
8454         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
8455         uncontended case.
8456         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8457         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8458         (tf): Fix check for uncontended case.
8459         (do_test): Likewise.
8460         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8461         (tf): Fix check for uncontended case.
8462         (do_test): Likewise.
8463         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8464         (tf): Fix check for uncontended case.
8465         (do_test): Likewise.
8466         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8467         (tf): Fix check for uncontended case.
8468         (do_test): Likewise.
8470         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8471         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8473         [BZ #15765]
8474         * nptl/Makefile (tests): Add tst-sem16.
8475         * nptl/tst-sem16.c: New file.
8476         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8478         * nptl/sem_open.c (sem_open): Init pad value to 0.
8479         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8480         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8482 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8484         [BZ #20611]
8485         * inet/Makefile (routines): Add inet6_scopeid_pton.
8486         (tests): Add tst-inet6_scopeid_pton.
8487         * inet/inet6_scopeid_pton.c: New file.
8488         * inet/net-internal.h: Likewise.
8489         * inet/tst-inet6_scopeid_pton.c: New test.
8490         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8491         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8494 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8496         Remove support for compiling wrappers with PTW.
8497         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8498         * nptl/Makefile (pthread-compat-wrappers): Define.
8499         (libpthread-routines): Use pthread-compat-wrappers.
8500         * sysdeps/unix/sysv/linux/alpha/Makefile
8501         (libpthread-routines, libpthread-shared-only-routines): Remove
8502         ptw- prefix.
8503         * sysdeps/s390/nptl/Makefile
8504         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8505         * sysdeps/ia64/nptl/Makefile
8506         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8507         * sysdeps/nacl/Makefile (libpthread-routines): Use
8508         pthread-compat-wrappers to filter the routines list instead of the
8509         ptw- prefix.
8511 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8513         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8514         with L() and remove explicit suffix, convert real literals
8515         which can be equivalentally substituted with integers, and
8516         transform -L(x) to L(-x).
8518         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8519         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8520         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8521         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8522         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8524         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8525         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8526         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8527         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8528         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8529         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8530         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8531         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8532         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8533         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8534         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8535         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8536         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8537         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8538         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8539         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8540         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8541         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8542         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8543         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8544         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8545         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8546         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8547         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8548         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8549         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8550         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8551         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8552         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8553         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8554         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8555         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8556         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8557         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8558         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8559         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8560         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8561         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8562         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8563         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8564         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8565         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8566         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8567         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8569 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8571         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8573 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8575         * malloc/Makefile (tests): Remove individual static test names
8576         and just add all of tests-static.
8578         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8580 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8582         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8583         file.
8585         * sysdeps/sparc/fpu/fegetmode.c: New file.
8586         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8588         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8589         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8591         * sysdeps/s390/fpu/fegetmode.c: New file.
8592         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8594         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8595         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8596         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8597         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8598         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8599         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8601         * sysdeps/mips/fpu/fegetmode.c: New file.
8602         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8604         * sysdeps/m68k/fpu/fegetmode.c: New file.
8605         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8607         * sysdeps/ia64/fpu/fegetmode.c: New file.
8608         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8610         * sysdeps/hppa/fpu/fegetmode.c: New file.
8611         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8613         * sysdeps/arm/fegetmode.c: New file.
8614         * sysdeps/arm/fesetmode.c: Likewise.
8616         * sysdeps/alpha/fpu/fegetmode.c: New file.
8617         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8619         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8620         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8622         * math/fegetmode.c: New file.
8623         * math/fesetmode.c: Likewise.
8624         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8625         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8626         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8627         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8628         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8630         declaration.
8631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8632         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8633         typedef.
8634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8635         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8636         (femode_t): New typedef.
8637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8638         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8639         (femode_t): New typedef.
8640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8641         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8642         (femode_t): New typedef.
8643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8644         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8645         (femode_t): New typedef.
8646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8647         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8648         (femode_t): New typedef.
8649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8650         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8651         (femode_t): New typedef.
8652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8653         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8654         (femode_t): New typedef.
8655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8656         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8657         (femode_t): New typedef.
8658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8659         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8660         (femode_t): New typedef.
8661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8662         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8663         (femode_t): New typedef.
8664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
8665         declaration.
8666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8667         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8668         (femode_t): New typedef.
8669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8670         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8671         (femode_t): New typedef.
8672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8673         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8674         (femode_t): New typedef.
8675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8676         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8677         (femode_t): New typedef.
8678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8679         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8680         (femode_t): New typedef.
8681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8682         * manual/arith.texi (FE_DFL_MODE): Document macro.
8683         (fegetmode): Document function.
8684         (fesetmode): Likewise.
8685         * math/Versions (fegetmode): New libm symbol at version
8686         GLIBC_2.25.
8687         (fesetmode): Likewise.
8688         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8689         (tests): Add test-femode and test-femode-traps.
8690         * math/test-femode-traps.c: New file.
8691         * math/test-femode.c: Likewise.
8692         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8693         alias for __fe_dfl_env.
8694         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8695         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8696         (__fe_dfl_mode): Likewise.
8697         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8698         version GLIBC_2.25.
8699         * sysdeps/nacl/libm.abilist: Update.
8700         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8703         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8704         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8705         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8706         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8707         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8708         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8709         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8710         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8711         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8713         Likewise.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8715         Likewise.
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8717         Likewise.
8718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8719         Likewise.
8720         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8721         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8722         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8723         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8724         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8726         Likewise.
8727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8728         Likewise.
8729         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8730         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8731         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8733 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8735         [BZ #20495]
8736         [BZ #20508]
8737         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8738         processors, set Use_dl_runtime_resolve_slow and set
8739         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8740         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8741         New.
8742         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8743         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8744         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8745         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8746         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8747         if Use_dl_runtime_resolve_opt is set.  Use
8748         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8749         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8750         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8751         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8752         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8753         New.
8754         (_dl_runtime_resolve_opt): Likewise.
8755         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8756         defined.
8758 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8760         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8761         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8763 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8765         Convert malloc to __libc_lock.  Automated part, using this Perl
8766         s/// command:
8767           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8768             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8769         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8770         conversion.
8772 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8774         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8775         (linknamespace-symlists-tests): Likewise.
8776         (linknamespace-header-tests): Likewise.
8778 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8780         [BZ #19810]
8781         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8782         * elf/tst-noload.c: New test case.
8783         * elf/Makefile (tests): Add tst-noload.
8785 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8787         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8789         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8790         not any more.
8792         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8794 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8796         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8797         (do_cos_slow): Likewise.
8798         (do_sin): Likewise.
8799         (do_sin_slow): Likewise.
8800         (slow): Likewise.
8801         (slow1): Likewise.
8802         (slow2): Likewise.
8803         (sloww): Likewise.
8804         (sloww1): Likewise.
8805         (sloww2): Likewise.
8806         (bsloww): Likewise.
8807         (bsloww1): Likewise.
8808         (bsloww2): Likewise.
8809         (cslow2): Likewise.
8811         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8813         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8814         arguments.  Consolidate input partitioning from callers here.
8815         (do_cos_slow): Likewise.
8816         (do_sin): Likewise.
8817         (do_sin_slow): Likewise.
8818         (do_sincos_1): Remove the no longer necessary input partitioning.
8819         (do_sincos_2): Likewise.
8820         (__sin): Likewise.
8821         (__cos): Likewise.
8822         (slow1): Likewise.
8823         (slow2): Likewise.
8824         (sloww1): Likewise.
8825         (sloww2): Likewise.
8826         (bsloww1): Likewise.
8827         (bsloww2): Likewise.
8828         (cslow2): Likewise.
8830 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8832         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8833         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8834         outside of allocated array.
8836 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8838         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8839         instead of MB_CUR_MAX to avoid variable-length array.
8841 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8843         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8844         (type-double-routines): Add k_rem_pio2.
8845         (type-float-routines): Add k_rem_pio2f.
8847         * sysdeps/generic/math_private.h:
8848         (__kernel_rem_pio2l): Removed.
8850         * math/k_rem_pio2l.c: Removed.
8851         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8852         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8853         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8854         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8856 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8858         * math/Makefile (gen-libm-calls): Add s_fmin
8859         (libm-calls): Remove above.
8861         * math/s_fmin.c: Refactor into ...
8862         * math/s_fmin_template.c: New file.
8864         * math/s_fminf.c: Removed.
8865         * math/s_fminl.c: Removed.
8866         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8867         (LDOUBLE_fmin_libm_version): New macro.
8869         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8870         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8872 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8874         * math/Makefile: (gen-libm-calls): Add s_fmax.
8875         (libm-calls): Remove above.
8877         * math/s_fmax.c: Refactor into ...
8878         * math/s_fmax_template.c: New file.
8879         * math/s_fmaxf.c: Removed.
8880         * math/s_fmaxl.c: Removed.
8882         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8883         (LDOUBLE_fmaxl_libm_version): New macro.
8885         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8886         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8888         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8889         s_fmin.c to pick the aarch64 version of the file.
8890         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8891         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8893 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8895         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8896         (libm-calls): Remove above.
8898         * math/s_nextdown.c: Refactor into ...
8899         * math/s_nextdown_template.c: New file.
8900         * math/s_nextdownf.c: Removed.
8901         * math/s_nextdownl.c: Removed.
8903         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8905 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8907         * math/Makefile (gen-libm-calls): Add s_fdim.
8908         (libm-calls): Move to above.
8910         * math/s_fdim.c: Renamed and refactored into to ...
8911         * math/s_fdim_template.c: New file.
8912         * math/s_fdiml.c: Removed.
8913         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8914         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8916         * sysdeps/generic/math-type-macros-double.h:
8917         (declare_mgen_alias): Don't declare if already declared.
8918         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8919         Likewise.
8921         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8922         (declare_mgen_alias): Don't declare if already declared.
8923         (M_LIBM_NEED_COMPAT): Likewise.
8924         (declare_mgen_libm_compat): Likewise.
8925         (LDOUBLE_fdiml_libm_version): New macro.
8927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8928         Include math/s_fdim.c now that ldbl-opt version is not needed.
8929         (declare_mgen_alias): New macro to disable aliasing.
8931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8932         (declare_mgen_alias): Likewise.
8933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8934         (declare_mgen_alias): Likewise.
8935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8936         (declare_mgen_alias): Likewise.
8937         (M_LIBM_NEED_COMPAT): Likewise.
8939 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8941         [BZ #20525]
8942         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8943         Include <linux/quota.h>.
8944         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8945         and btodb.
8946         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8947         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8948         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8949         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8950         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8951         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8952         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8953         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8954         types.
8955         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8956         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8958 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8960         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8961         (gammal_positive): Fix spacing.
8962         (__ieee754_gammal_r): Likewise.
8964 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8966         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8967         (_Float128): Define as long double, always.
8968         (L): Apply long double type suffix, always.
8970         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8971         _Float128, excepting comments.
8973         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8974         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8975         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8976         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8977         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8978         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8979         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8980         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8981         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8982         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8983         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8984         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8985         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8986         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8987         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8988         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8989         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8990         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8991         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8992         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8993         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8994         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8995         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8996         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8997         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8998         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8999         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9000         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9001         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9002         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9003         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9004         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9005         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9006         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9007         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9008         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9009         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9010         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9011         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9012         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9013         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9014         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9015         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9016         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9017         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9018         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9019         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9020         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9021         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9022         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9023         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9024         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9026         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9027         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9028         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9029         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9030         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9031         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9032         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9033         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9034         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9035         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9036         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9037         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9038         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9039         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9040         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9042         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9043         _Float128, and include math_private.h.
9044         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9046         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9047         long double semantics.
9048         (_Float128): Likewise.
9049         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9050         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9051         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9052         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9054 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9056         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9057         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9058         * sysdeps/s390/configure: Regenerated.
9059         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9060         instruction for raising over-/underflow if z196 zarch is supported
9061         by default.
9062         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9064 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9066         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9067         it point to a dumb buffer for RPC to fill it.
9069 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9071         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9072         instead of if/else.
9073         (do_sin_slow): Likewise.
9074         (do_sincos_1): Use fabs instead of if/else.
9075         (do_sincos_2): Likewise.
9076         (__sin): Likewise.
9077         (__cos): Likewise.
9078         (slow2): Likewise.
9079         (sloww): Likewise.
9080         (sloww1): Likewise.  Drop argument M.
9081         (sloww2): Use fabs instead of if/else.
9082         (bsloww): Likewise.
9083         (bsloww1): Likewise.
9084         (bsloww2): Likewise.
9086         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9087         fall through comment.
9088         (do_sincos_1): Likewise.
9090         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9091         Consolidate switch cases 0 and 2.
9093 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9095         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9096         (libm-calls): Remove the above.
9098         * math/s_cexp_template.c: Update using type-generic macros.
9099         * math/s_clog10_template.c: Likewise.
9100         * math/s_cpow_template.c: Likewise.
9101         * math/s_clog_template.c: Likewise.
9102         * math/s_cproj_template.c: Likewise.
9103         * math/s_csqrt_template.c: Likewise.
9105         * math/s_cexp.c: Removed.
9106         * math/s_cexpf.c: Removed.
9107         * math/s_cexpl.c: Removed.
9108         * math/s_clog10.c: Removed.
9109         * math/s_clog10f.c: Removed.
9110         * math/s_clog10l.c: Removed.
9111         * math/s_cpow.c: Removed.
9112         * math/s_cpowf.c: Removed.
9113         * math/s_cpowl.c: Removed.
9114         * math/s_clog.c: Removed.
9115         * math/s_clogf.c: Removed.
9116         * math/s_clogl.c: Removed.
9117         * math/s_cproj.c: Removed.
9118         * math/s_cprojf.c: Removed.
9119         * math/s_cprojl.c: Removed.
9120         * math/s_csqrt.c: Removed.
9121         * math/s_csqrtf.c: Removed.
9122         * math/s_csqrtl.c: Removed.
9124         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9125         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9126         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9127         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9128         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9129         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9131         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9132         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9133         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9134         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9135         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9136         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9137         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9138         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9139         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9140         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9141         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9143         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9144         version.
9146         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9147         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9148         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9149         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9151 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9153         * s_cexp_template.c: Copy of s_cexp.c.
9154         * s_clog_template.c: Copy of s_clog.c.
9155         * s_clog10_template.c: Copy of s_clog10.c.
9156         * s_cpow_template.c: Copy of s_cpow.c.
9157         * s_cproj_template.c: Copy of s_cproj.c.
9158         * s_csqrt_template.c: Copy of s_csqrt.c.
9160 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9162         [BZ #20517]
9163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9164         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9165         exported.
9167 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9169         * math/fetestexceptflag.c: New file.
9170         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9171         Stefan Liebler.
9172         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9173         (fetestexceptflag): New function declaration.
9174         * manual/arith.texi (fetestexceptflag): Document function.
9175         * math/Versions (fetestexceptflag): New libm symbol at version
9176         GLIBC_2.25.
9177         * math/Makefile (libm-support): Add fetestexceptflag.
9178         (tests): Add test-fetestexceptflag.
9179         * math/test-fetestexceptflag.c: New file.
9180         * sysdeps/nacl/libm.abilist: Update.
9181         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9182         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9183         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9184         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9185         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9186         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9187         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9188         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9189         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9190         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9191         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9192         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9194         Likewise.
9195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9196         Likewise.
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9198         Likewise.
9199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9200         Likewise.
9201         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9202         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9203         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9204         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9205         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9207         Likewise.
9208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9209         Likewise.
9210         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9211         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9212         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9214 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9216         [BZ #20432]
9217         Avoid strong references to malloc-internal symbols when linking
9218         statically, to support statically interposed mallocs.
9219         * include/libc-symbols.h (call_function_static_weak): New macro.
9220         * malloc/Makefile (tests): Add tst-interpose-nothread,
9221         tst-interpose-thread, tst-interpose-static-nothread,
9222         tst-interpose-static-thread.
9223         (tests-static): Add tst-interpose-static-nothread,
9224         tst-interpose-static-thread.
9225         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9226         tst-interpose-aux-thread.o.
9227         (test-extras): Add tst-interpose-aux-nothread,
9228         tst-interpose-aux-thread.
9229         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9230         tst-interpose-aux-nothread.o.
9231         (tst-interpose-thread, tst-interpose-static-thread): Link with
9232         tst-interpose-aux-thread.o and libthread.
9233         * malloc/tst-interpose-aux-nothread.c: New file.
9234         * malloc/tst-interpose-aux-thread.c: Likewise.
9235         * malloc/tst-interpose-aux.c: Likewise.
9236         * malloc/tst-interpose-aux.h: Likewise.
9237         * malloc/tst-interpose-nothread.c: Likewise.
9238         * malloc/tst-interpose-skeleton.c: Likewise.
9239         * malloc/tst-interpose-static-nothread.c: Likewise.
9240         * malloc/tst-interpose-static-thread.c: Likewise.
9241         * malloc/tst-interpose-thread.c: Likewise.
9242         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9243         * sysdeps/mach/hurd/fork.c (__fork): Only call
9244         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9245         __malloc_fork_unlock_child if defined.
9246         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9248 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9250         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9251         timespec C99 designated initialization.
9253 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9255         [BZ #19946]
9256         Avoid expected SIGALRM signals.
9257         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9258         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9259         (xpthread_create, xpthread_detach, xpthread_join)
9260         (delayed_exit_thread, delayed_exit): New functions.
9261         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9262         (tf): Use xpthread_cond_wait.
9263         (do_test): Likewise.  Replace alarm with delayed_exit.
9264         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9265         (do_test): Call delayed_exit.  Report failure.
9266         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9267         (do_test): Call delayed_exit.
9268         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9269         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9270         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9271         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9272         error.
9273         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9274         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9275         error.
9276         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9277         (do_test): Call delayed_exit.
9278         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9279         (do_test): Call delayed_exit.
9280         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9281         (do_test): Call delayed_exit instead of alarm.  Use
9282         xpthread_mutex_lock.
9283         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9284         (do_test): Call delayed_exit instead of alarm.  Use
9285         xpthread_mutex_lock.
9286         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9287         (do_test): Call delayed_exit instead of alarm.
9288         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9289         (do_test): Call delayed_exit instead of alarm.  Use
9290         xpthread_spin_lock.
9291         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9292         (do_test): Call delayed_exit instead of alarm.  Use
9293         xpthread_join.
9295 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9297         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9298         adjust CFA when allocating register save area on re-aligned
9299         stack.
9301 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9303         * string/tst-cmp.c: New test.
9304         * string/Makefile (tests): Add it.
9306 2016-08-25  Mark Wielaard  <mark@klomp.org>
9308         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9309         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9310         (check_tree_recurse): Use newly defined accessors.
9311         (check_tree): Likewise.
9312         (maybe_split_for_insert): Likewise.
9313         (__tfind): Likewise.
9314         (__tdelete): Likewise.
9315         (trecurse): Likewise.
9316         (tdestroy_recurse): Likewise.
9317         (__tsearch): Likewise. And add asserts for malloc alignment.
9318         (__twalk): Cast root to node in case CHECK_TREE is defined.
9320 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9322         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9324 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9326         * math/Makefile (libm-gen-calls): Add
9327         catan, catanh, ctan, ctanh.
9328         (libm-calls): Remove the above.
9330         * math/s_catan_template.c: Update using type-generic macros.
9331         * math/s_catanh_template.c: Likewise.
9332         * math/s_ctan_template.c: Likewise.
9333         * math/s_ctanh_template.c: Likewise.
9335         * math/s_catanf.c: Removed.
9336         * math/s_catan.c: Removed.
9337         * math/s_catanl.c: Removed.
9338         * math/s_catanhf.c: Removed.
9339         * math/s_catanh.c: Removed.
9340         * math/s_catanhl.c: Removed.
9341         * math/s_ctanf.c: Removed.
9342         * math/s_ctan.c: Removed.
9343         * math/s_ctanl.c: Removed.
9344         * math/s_ctanhf.c: Removed.
9345         * math/s_ctanh.c: Removed.
9346         * math/s_ctanhl.c: Removed.
9348         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9349         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9350         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9351         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9352         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9353         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9355         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9356         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9357         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9358         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9360 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9362         * s_catan_template.c: Copy of s_catan.c.
9363         * s_catanh_template.c: Copy of s_catanh.c.
9364         * s_ctan_template.c: Copy of s_ctan.c.
9365         * s_ctanh_template.c: Copy of s_ctanh.c.
9367 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9369         * math/Makefile (gen-libm-calls): Move
9370         casin, casinh, csin, csinh here.
9371         (libm-calls): Remove the above.
9373         * math/s_casin_template.c: Update using type-generic macros.
9374         * math/s_casinh_template.c: Likewise.
9375         * math/s_csin_template.c: Likewise.
9376         * math/s_csinh_template.c: Likewise.
9377         * math/k_casinh_template.c: Likewise.
9379         * math/s_casinf.c: Removed.
9380         * math/s_casin.c: Removed.
9381         * math/s_casinl.c: Removed.
9382         * math/s_casinh.c: Removed.
9383         * math/s_casinhf.c: Removed.
9384         * math/s_casinhl.c: Removed.
9385         * math/s_csin.c: Removed.
9386         * math/s_csinf.c: Removed.
9387         * math/s_csinl.c: Removed.
9388         * math/s_csinh.c: Removed.
9389         * math/s_csinhf.c: Removed.
9390         * math/s_csinhl.c: Removed.
9391         * math/k_casinh.c: Removed.
9392         * math/k_casinhf.c: Removed.
9393         * math/k_casinhl.c: Removed.
9395         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
9396         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9397         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9398         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9400         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
9401         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
9402         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
9403         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
9404         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
9405         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
9406         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
9407         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
9409         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
9410         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
9411         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
9412         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
9414         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
9415         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
9416         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
9417         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
9419 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9421         * s_casin_template.c: Copy of s_casin.c.
9422         * s_casinh_template.c: Copy of s_casinh.c.
9423         * s_csin_template.c: Copy of s_csin.c.
9424         * s_csinh_template.c: Copy of s_csinh.c.
9425         * k_casinh_template.c: Copy of k_casinh.c.
9427 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9429         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
9431 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9433         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
9434         (mul_split) Remove, rename as mul_splitl, remove
9435         redundant float.h include, and include via mul_splitl.h
9437         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9438         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9439         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9440         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9441         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9443         * math/mul_splitl.h: New file.
9445         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
9446         Move into mul_split.h, and remove redundant float.h include.
9448         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9449         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9450         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9451         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
9453         * math/mul_split.h: New file.
9455 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9457         * math/Makefile (libm-gen-calls): Move
9458         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9459         (libm-calls): Remove above.
9461         * math/s_cacos_template.c: Update using type-generic macros.
9462         * math/s_cacosh_template.c: Likewise.
9463         * math/s_ccos_template.c: Likewise.
9464         * math/s_ccosh_template.c: Likewise.
9466         * math/s_cacosf.c: Removed.
9467         * math/s_cacos.c: Removed.
9468         * math/s_cacosl.c: Removed.
9469         * math/s_cacoshf.c: Removed.
9470         * math/s_cacosh.c: Removed.
9471         * math/s_cacoshl.c: Removed.
9472         * math/s_ccosf.c: Removed.
9473         * math/s_ccos.c: Removed.
9474         * math/s_ccosl.c: Removed.
9475         * math/s_ccoshf.c: Removed.
9476         * math/s_ccosh.c: Removed.
9477         * math/s_ccoshl.c: Removed.
9479         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9480         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9481         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9482         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9483         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9484         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9486         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9487         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9488         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9489         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9491         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9492         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9493         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9494         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9496 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9498         * s_cacos_template.c: Copy of s_cacos.c.
9499         * s_cacosh_template.c: Copy of s_cacosh.c.
9500         * s_ccos_template.c: Copy of s_ccos.c.
9501         * s_ccosh_template.c: Copy of s_ccosh.c.
9503 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9505         * stdlib/tst-strtod-round-skeleton.c:
9506         Refactored from tst-strtod-round.c.
9508         (L_): New macro to apply literal modifier.
9509         (FNPFX): New macro to select str or wcs prefix.
9510         (CHAR): New macro to choose wchar_t or char.
9511         (STRM): New macro to choose printf for tested character type.
9513         (STRTO): New macro to choose appropriate string -> real function.
9514         (FNPFXS): Stringitized version of FNPFX.
9515         (STR): Support for above macro.
9516         (STRX): Likewise.
9518         (TEST): Update with above macros.
9519         (test): Likewise.
9520         (GEN_ONE_TEST): Likewise.
9521         (test_in_one_mode): Likewise.
9523         * stdlib/tst-strtod-round.c: New file.
9524         * wcsmbs/tst-wcstod-round.c: New file.
9526         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9527         (tst-wcstod-round): Add libm depencency for fesetround.
9529 2016-08-19  Zack Weinberg  <zackw@panix.com>
9531         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9533 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9535         [BZ #20477]
9536         * resolv/res_hconf.c (do_init): Use atomic access.
9537         * resolv/res_hconf.h: Add comments.
9538         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9539         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9542 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9544         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9545         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9546         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9547         Likewise.
9549 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9551         [BZ #16907]
9552         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9553         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9554         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9555         (__attribute__): Remove definition.
9557 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9559         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9560         Remove unused sqrtl declaration.
9562 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9564         * math/Makefile: (gen-libm-templates.stmp): New rule.
9565         (libm-calls): Move carg conj cimag and cabs into ...
9566         (gen-libm-calls): New variable.
9567         (generated): Inform Make objects from gen-libm-calls
9568         may be generated.
9570         * sysdeps/generic/math-type-macros.h: New file.
9571         * sysdeps/generic/math-type-macros-float.h: Likewise.
9572         * sysdeps/generic/math-type-macros-double.h: Likewise.
9573         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9574         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9575         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9577         * math/cabs.c: Refactor into
9578         * math/cabs_template.c: new file.
9579         * math/cabsf.c: Removed.
9580         * math/cabsl.c: Removed.
9581         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9582         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9584         * math/carg.c: Refactor into
9585         * math/carg_template.c: new file.
9586         * math/cargf.c: Removed.
9587         * math/cargl.c: Removed.
9588         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9589         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9591         * math/conj.c: Refactor into
9592         * math/conj_template.c: new file.
9593         * math/conjf.c: Removed.
9594         * math/conjl.c: Removed.
9595         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9596         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9598         * math/cimag.c: Refactor into
9599         * math/cimag_template.c: new file.
9600         * math/cimagf.c: Removed.
9601         * math/cimagl.c: Removed.
9602         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9603         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9605         * math/cimag.c: Refactor into
9606         * math/cimag_template.c: new file.
9607         * math/cimagf.c: Removed.
9608         * math/cimagl.c: Removed.
9609         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9610         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9612 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9614         Reduce time to expected nptl/tst-once5 failure.
9615         * nptl/tst-once5.cc (TIMEOUT): Define.
9617 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9619         [BZ #20452]
9620         Avoid additional copies of objects in libc.a in static libraries.
9621         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9622         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9623         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9624         rt-sysdep.
9625         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9626         Add nptl-sysdep.
9627         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9628         Add ptw-sysdep.
9629         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9630         rt-sysdep.
9631         * sysdeps/unix/sysv/linux/alpha/Makefile
9632         (libpthread-shared-only-routines): Add ptw-sysdep,
9633         ptw-sigprocmask, ptw-rt_sigaction.
9634         * sysdeps/unix/sysv/linux/ia64/Makefile
9635         (librt-shared-only-routines): Add rt-sysdep.
9636         * sysdeps/unix/sysv/linux/i386/Makefile
9637         (libpthread-shared-only-routines): Add libc-do-syscall.
9638         * sysdeps/unix/sysv/linux/microblaze/Makefile
9639         (libpthread-shared-only-routines): Add sysdep.
9640         * sysdeps/unix/sysv/linux/powerpc/Makefile
9641         (librt-shared-only-routines): Add rt-sysdep.
9642         (libpthread-shared-only-routines): Add sysdep.
9643         * sysdeps/unix/sysv/linux/s390/Makefile
9644         (librt-shared-only-routines): Add rt-sysdep.
9645         * sysdeps/unix/sysv/linux/sparc/Makefile
9646         (librt-shared-only-routines): Add rt-sysdep.
9647         (libpthread-shared-only-routines): Add sysdep.
9648         * sysdeps/unix/sysv/linux/tile/Makefile
9649         (libpthread-shared-only-routines): Likewise.
9651 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9653         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9654         Mask implicit bit out of unpacked value.
9655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9659         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9661         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9663         * sysdeps/s390/fpu/fesetexcept.c: New file.
9665         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9666         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9667         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9669         * sysdeps/mips/fpu/fesetexcept.c: New file.
9671         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9673         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9675         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9677         * sysdeps/arm/fesetexcept.c: New file.
9679         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9681         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9683         * math/fesetexcept.c: New file.
9684         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9685         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9686         * math/fenv.h: Define
9687         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9688         <bits/libc-header-start.h> instead of including <features.h>.
9689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9690         declaration.
9691         * manual/arith.texi (fesetexcept): Document function.
9692         * math/Versions (fesetexcept): New libm symbol at version
9693         GLIBC_2.25.
9694         * math/Makefile (libm-support): Add fesetexcept.
9695         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9696         * math/test-fesetexcept.c: New file.
9697         * math/test-fesetexcept-traps.c: Likewise.
9698         * sysdeps/nacl/libm.abilist: Update.
9699         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9700         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9701         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9702         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9703         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9704         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9705         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9706         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9707         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9708         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9709         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9710         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9712         Likewise.
9713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9714         Likewise.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9716         Likewise.
9717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9718         Likewise.
9719         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9720         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9721         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9722         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9723         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9725         Likewise.
9726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9727         Likewise.
9728         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9729         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9730         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9732 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9734         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9735         New.
9736         (do_test): Apply default_stack_size_in_mb if not set.
9737         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9739 2016-08-15  Andreas Schwab  <schwab@suse.de>
9741         [BZ #20435]
9742         CVE-2016-6323
9743         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9744         as .cantunwind.
9746 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9748         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9749         comment from fraiseexcpt.c.
9751         * math/test-fexcept.c (feraiseexcept_exact): New function.
9752         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9753         (test_except): Likewise.
9755 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9757         [BZ #20455]
9758         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9759         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9760         to be restored.
9762         * math/test-fexcept-traps.c: New file.
9763         * math/test-fexcept.c: Likewise.
9764         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9765         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9766         macro.
9767         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9768         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9770 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9772         * include/atomic.h (atomic_fetch_and_relaxed,
9773         atomic_fetch_and_release, atomic_fetch_or_release,
9774         atomic_fetch_xor_release): New.
9776 2016-08-06  Christian Seiler  <christian@iwakd.de>
9778         [BZ #20444]
9779         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9780         MACH_PORT_NULL.
9782 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9784         * math/s_fdim.c: Avoid alias renamed.
9785         * math/s_fdimf.c: Likewise.
9786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9787         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9788         Add s_fdimf-vis3, s_fdim-vis3.
9789         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9790         (CFLAGS-s_fdim-vis3.c): Likewise.
9791         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9792         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9794 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9797         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9798         Remove s_fdimf-vis3, s_fdim-vis3.
9799         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9800         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9807         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9808         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9810 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9812         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9813         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9814         -Wa,-Av9a -mvis.
9816 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9818         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9819         LIT() to individual constants in simple expressions
9820         after splitting on spaces.
9821         (_apply_lit): Rename replaced version, and use it to
9822         apply to what appears to be a token.
9824         * math/libm-test.inc: Fix many, many issues with
9825         spacing.
9827 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9829         * math/math.h: Move comment about <bits/mathdef.h> definitions
9830         above inclusion of <bits/mathdef.h>.  Do not mention
9831         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9833 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9835         * include/atomic.h (atomic_exchange_relaxed): New.
9837 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9839         * math/e_scalb.c: Do not include <fenv.h>.
9840         (invalid_fn): Do calculation resulting in NaN instead of raising
9841         FE_INVALID and returning a NaN explicitly.
9842         * math/e_scalbf.c: Do not include <fenv.h>.
9843         (invalid_fn): Do calculation resulting in NaN instead of raising
9844         FE_INVALID and returning a NaN explicitly.
9845         * math/e_scalbl.c: Do not include <fenv.h>.
9846         (invalid_fn): Do calculation resulting in NaN instead of raising
9847         FE_INVALID and returning a NaN explicitly.
9849 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9851         * po/de.po: Updated from Translation Project.
9852         * po/fi.po: Likewise.
9853         * po/sv.po: Likewise.
9855 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9857         [BZ #20452]
9858         Use sysdep.o from libc.a in static libraries.
9859         * sysdeps/unix/sysv/linux/i386/Makefile
9860         (libpthread-shared-only-routines): Add sysdep.
9861         (librt-shared-only-routines): Likewise.
9863 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9865         * math/tgmath.h (nextdown): Define if
9866         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9867         (nextup): Likewise.
9869         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9870         macro.
9871         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9872         Document.
9873         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9874         Document macro.
9875         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9876         (exp10f): Likewise.
9877         (exp10l): Likewise.
9878         * math/bits/mathcalls.h (exp10): Declare if
9879         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9881         * manual/arith.texi (nextup): Fix typo in last change.
9883 2016-08-03  Zack Weinberg  <zackw@panix.com>
9885         [BZ #19239]
9886         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9887         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9888         define major, minor, and makedev to issue deprecation warnings on use.
9889         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9890         previously-activated deprecation warnings for these macros and prevent
9891         subsequent inclusions of this header from having any effect.
9892         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9893         including <sys/sysmacros.h>, and undefine it again afterward.
9895 2016-08-03  Zack Weinberg  <zackw@panix.com>
9897         * sysdeps/generic/sys/sysmacros.h: Delete file.
9898         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9899         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9900         * bits/sysmacros.h: ... here; this encoding is now the generic
9901         encoding.  Now defines only the following macros:
9902         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9903         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9904         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9906         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9907         bits/sysmacros.h and the above new macros to generate the
9908         public implementations of major, minor, and makedev.
9909         * misc/tst-makedev.c: New test.
9910         * include/sys/sysmacros.h: New wrapper.
9912         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9913         (routines): Add makedev.
9914         (tests): Add tst-makedev.
9915         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9916         gnu_dev_makedev.
9917         * posix/Makefile (headers): Remove sys/sysmacros.h.
9918         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9920         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9921         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9922         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9923         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9924         * sysdeps/unix/sysv/linux/arm/libc.abilist
9925         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9926         * sysdeps/unix/sysv/linux/i386/libc.abilist
9927         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9928         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9929         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9930         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9931         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9932         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9933         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9934         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9935         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9940         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9941         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9942         * sysdeps/unix/sysv/linux/sh/libc.abilist
9943         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9944         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9947         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9949         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9950         Add GLIBC_2.25.
9952         * include/features.h (__glibc_clang_prereq): New macro.
9953         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9954         (__attribute_deprecated_msg__): New macros.
9956 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9958         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9959         macro.
9960         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9961         * manual/arith.texi (issignaling): Document as ISO from TS
9962         18661-1:2014.
9963         (nextup): Likewise.
9964         (nextupf): Likewise.
9965         (nextupl): Likewise.
9966         (nextdown): Likewise.
9967         (nextdownf): Likewise.
9968         (nextdownl): Likewise.
9969         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9970         macro.
9971         * math/math.h: Define
9972         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9973         <bits/libc-header-start.h> instead of including <features.h>.
9974         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9975         [__USE_GNU].
9976         * math/bits/mathcalls.h (nextdown): Declare if
9977         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9978         (nextup): Likewise.
9979         (__issignaling): Likewise.
9981 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9983         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9984         check, and remove __glibc_likely hint
9985         from FP_INFINITE check.
9986         * s_csinhf.c (__csinhf): Likewise.
9988         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9989         hint from FP_INFINITE check.
9990         * s_csinhl.c (__csinhl): Likewise.
9992 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9994         * math/Makefile (libm-calls): Insert F placeholder into
9995         object names.  Move w_lgamma_compat* routines into
9996         (libm-compat-calls): New variable.
9997         (libm-compat-calls-ldouble-yes): New variable.
9998         (calls): Insert F placeholder.
9999         (generated): Redefine using new type-foreach macro call.
10000         (routines): Likewise.
10002         (types): New variable to hold a list of symbolic names
10003         for each type supported by the target machine.
10004         (libm-routines): Redefine using new types variable.
10005         (type-foreach): macro to replace fooF with the
10006         appropriately suffixed foo for each types.
10008         (type-ldouble-suffix): New variable.
10009         (type-ldouble-routines): Likewise.
10010         (type-ldouble-yes): Likewise.
10011         (type-double-suffix): Likewise.
10012         (type-double-routines): Likewise.
10013         (type-float-suffix): Likewise.
10014         (type-float-routines): Likewise.
10016         (dbl-only-routines): Remove.
10017         (long-c-yes): Likewise.
10018         (long-m-routines): Likewise.
10019         (long-m-support): Likewise.
10020         (long-m-yes): Likewise.
10021         (test-longdouble-yes): Likewise.
10023         (test-float.o): Simplify by increasing the scope of the
10024         recipe which adds libm-test.stmp to the vector types.
10025         (test-ifloat.o): Likewise.
10026         (test-float-finite.o): Likewise.
10027         (test-double.o): Likewise
10028         (test-idouble.o): Likewise.
10029         (test-double-finite.o): Likewise.
10030         (test-ldouble.o): Likewise
10031         (test-ildoubl.o): Likewise.
10032         (test-ldouble-finite.o): Likewise.
10034         (libm-tests): Redefine type tests using foreach and the
10035         list of types in types.
10037         (CPPFLAGS-test-ildoubl.c): Rename to
10038         (CPPFLAGS-test-ildouble.c): New variable
10040         * math/test-ildoubl.c: Rename to
10041         * math/test-ildouble.c: New file.
10043 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10045         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10046         Use fabsl instead of fabs.
10047         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10048         Likewise.
10049         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10050         Add long double suffix to constant to ensure proper
10051         promotion to long double.
10053 2016-08-03  Tom Tromey  <tom@tromey.com>
10055         [BZ #20311]
10056         * nptl_db/Makefile (headers): Add proc_service.h.
10057         * nptl_db/proc_service.h: Add include guard.  Use
10058         __BEGIN/__END_DECLS.
10059         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10060         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10061         arguments.
10064 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10066         [BZ #17730]
10067         Avoid using memalign for TCB allocations.
10068         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10069         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10070         Avoid alignment gap in the TLS_DTV_AT_TP case.
10071         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10072         determine the pointer to free.
10073         * nptl/tst-tls3-malloc.c: New test.
10074         * nptl/Makefile (tests): Add it.
10075         (tst-tls3-malloc): Link with libdl, libpthread.
10076         (LDFLAGS-tst-tls3-malloc): Set.
10077         (tst-tls3-malloc.out): Depend on DSO used in test.
10079 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10081         [BZ #17730]
10082         Avoid using memalign for TLS allocations.
10083         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10084         is_static member with to_free member.
10085         (union dtv): Use struct dtv_pointer.
10086         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10087         dtv_pointer instead of is_static.
10088         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10089         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10090         instead of val.
10091         (allocate_dtv_entry): New function.
10092         (allocate_and_init): Return struct dtv_pointer.  Call
10093         allocate_dtv_entry instead of __libc_memalign.
10094         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10095         instead of val.
10096         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10097         instead of is_static.  Adjust call to allocate_and_init.
10098         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10099         struct dtv_pointer instead of val.
10101 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10103         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10104         (MALLOC_ALIGN_MASK): Move ...
10105         * malloc/malloc-internal.h: ... to here.
10106         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10108 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10110         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10111         (UDP_ENCAP_GTP1U): Likewise.
10113         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10114         (PF_MAX): Update value.
10115         (AF_QIPCRTR): New macro.
10117 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10119         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10120         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10121         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10123         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10124         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10125         s_truncf-vis3, s_trunc-vis3.
10126         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10127         (CFLAGS-s_ceil-vis3.c): Likewise.
10128         (CFLAGS-s_floorf-vis3.c): Likewise.
10129         (CFLAGS-s_floor-vis3.c): Likewise.
10130         (CFLAGS-s_truncf-vis3.c): Likewise.
10131         (CFLAGS-s_trunc-vis3.c): Likewise.
10132         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10136         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10137         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10140         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10141         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10142         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10143         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10145 2016-08-02  David S. Miller  <davem@davemloft.net>
10147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10148         (__nearbyint_vis3): Don't check for sNaN before float register is
10149         loaded with the incoming argument.
10150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10151         (__nearbyintf_vis3): Likewise.
10152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10153         Likewise.
10154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10155         Likewise.
10157         * string/test-strncmp.c (do_test_limit): Make sure the test data
10158         stream is aligned as required for the type "CHAR".
10159         (do_test): Likewise.
10161 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10163         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10164         by beq instructions jumping to the end of the function.
10165         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10166         clobber list. Use "i" constraint instead of "X".
10167         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10168         of "X".
10170 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10172         * bits/libc-header-start.h: New file.
10173         * Makefile (headers): Add bits/libc-header-start.h.
10174         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10175         (__GLIBC_USE): New macro.
10176         * libio/stdio.h: Define
10177         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10178         <bits/libc-header-start.h> instead of including <features.h>.
10179         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10180         (open_memstream): Likewise.
10181         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10182         (__asprintf): Likewise.
10183         (asprintf): Likewise.
10184         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10185         (getdelim): Likewise.
10186         (getline): Likewise.
10187         * string/string.h: Define
10188         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10189         <bits/libc-header-start.h> instead of including <features.h>.
10190         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10191         (strndup): Likewise.
10192         * wcsmbs/wchar.h: Define
10193         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10194         <bits/libc-header-start.h> instead of including <features.h>.
10195         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10196         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10198 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10200         Support linking against compatibility symbols, for use in tests.
10201         * include/libc-symbols.h (symbol_version_reference): New macro.
10202         (symbol_version): Use it.
10203         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10204         (compat_symbol): Use compat_symbol_reference.
10205         (compat_symbol_1, compat_symbol_2): Remove.
10206         (compat_symbol_reference, compat_symbol_reference_1)
10207         (compat_symbol_reference_2): New macro.  Use
10208         symbol_version_reference.
10210 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10212         [BZ #19469]
10213         * malloc/Makefile (CPPFLAGS): Compile tests with
10214         -DTEST_NO_MALLOPT.
10215         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10217 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10219         [BZ #20033]
10220         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10221         finite version.
10222         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10223         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10224         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10225         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10226         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10227         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10228         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10229         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10230         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10232         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10233         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10234         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10235         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10236         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10237         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10238         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10239         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10240         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10241         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10242         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10243         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10244         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10245         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10246         in zero power.
10248 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10250         [BZ #20370]
10251         * malloc/arena.c (get_free_list): Update comment.  Assert that
10252         arenas on the free list have no attached threads.
10253         (remove_from_free_list): New function.
10254         (reused_arena): Call it.
10256 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10258         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10259         when it is a NaN.
10260         [_IEEE_FP_INEXACT] Remove.
10261         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10262         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10263         when it is a NaN.
10264         [_IEEE_FP_INEXACT] Remove.
10265         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10266         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10267         when it is a NaN.
10268         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10269         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10270         when its absolute value is greater than 0x1.0p52.
10271         [_IEEE_FP_INEXACT] Remove.
10272         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10273         when its absolute value is greater than 0x1.0p23.
10274         [_IEEE_FP_INEXACT] Remove.
10276 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10278         * version.h (RELEASE): Set to "development"
10279         (VERSION): Set to 2.24.90.
10280         * NEWS: Add 2.25 section.
10282         * version.h (RELEASE): Set to "stable"
10283         (VERSION): Set to 2.24.
10284         * include/features.h (__GLIBC_MINOR__): Set to 24.
10286         * NEWS: Add 2.24 fixed bugs.
10287         * po/libc.pot: Regenerate.
10289 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10292         [$(subdir) = math] (libm-sysdep_routines): Remove.
10293         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10294         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10295         s_truncf-vis3, s_trunc-vis3.
10296         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10298         file.
10299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10332         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10333         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10334         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10335         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10336         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10337         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10338         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10339         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10340         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10341         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10343 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10345         [BZ #20384]
10346         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10347         test-double-libmvec-sincos-avx-main.o,
10348         test-double-libmvec-sincos-avx2-main.o,
10349         test-double-libmvec-sincos-main.o,
10350         test-float-libmvec-sincosf-avx-main.o,
10351         test-float-libmvec-sincosf-avx2-main.o and
10352         test-float-libmvec-sincosf-main.o.
10353         test-float-libmvec-sincosf-avx512-main.o.
10354         ($(objpfx)test-double-libmvec-sincos): Also link with
10355         $(objpfx)test-double-libmvec-sincos-main.o.
10356         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10357         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10358         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10359         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10360         ($(objpfx)test-float-libmvec-sincosf): Also link with
10361         $(objpfx)test-float-libmvec-sincosf-main.o.
10362         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10363         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10364         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10365         test-double-libmvec-sincos-avx512-main.o and
10366         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10367         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10368         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10369         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10370         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10371         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10372         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10373         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10374         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10375         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10376         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10377         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10378         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
10379         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
10380         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
10381         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
10382         -DREQUIRE_AVX2.
10383         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
10384         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
10385         -DREQUIRE_AVX512F.
10386         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
10387         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
10388         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10389         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
10390         file.
10391         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
10392         Likewise.
10393         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
10394         Likewise.
10395         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
10396         Likewise.
10397         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
10398         Likewise.
10399         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
10400         Likewise.
10401         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
10402         Likewise.
10403         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
10404         Likewise.
10406 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
10408         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
10410 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
10412         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
10413         and typo in a comment about AT_HWCAP entry.
10415 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10417         * sysdeps/aarch64/libm-test-ulps: Updated.
10419 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10421         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
10422         of r13 as it is not restored in mvcle case.
10424 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
10426         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
10427         Rename "ret" to "__ret".
10428         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
10429         inline_syscall5, inline_syscall6): Likewise.
10431 2016-07-19   Will Newton  <will.newton@gmail.com>
10433         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
10434         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
10435         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
10436         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
10437         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
10439 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
10441         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
10442         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
10443         -mfpmath=387 with $(rtld-CFLAGS).
10444         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
10445         $(rtld-CFLAGS).
10447 2016-07-18   Ross Burton  <ross.burton@intel.com>
10448              Khem Raj  <raj.khem@gmail.com>
10450         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
10451         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
10452         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
10453         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
10454         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
10455         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10456         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10457         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10458         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10459         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10460         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10461         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10462         R_METAG_TLS_DTPOFF): New.
10464 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10465             Matt Clay  <mclay@lycos.com>
10467         [BZ #20357]
10468         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10469         to call __mpsin/__mpcos and to negate values.
10470         * math/auto-libm-test-in: Add test.
10471         * math/auto-libm-test-out: Regenerate.
10473 2016-07-18  Zack Weinberg  <zackw@panix.com>
10475         * grp/Makefile: Don't install the internal header grp-merge.h.
10477 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10479         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10481 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10483         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10485 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10487         [BZ #15368]
10488         * sysdeps/unix/sysv/linux/nptl-signals.h
10489         (__nptl_clear_internal_signals): New function.
10490         (__libc_signal_block_all): Likewise.
10491         (__libc_signal_block_app): Likewise.
10492         (__libc_signal_restore_set): Likewise.
10493         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10494         implementation.
10495         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10496         the cached pid/tid value in pthread structure.
10498 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10500         [BZ #20347]
10501         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10503 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10505         [BZ #20348]
10506         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10507         preadv64, pwrite64 and pwritev64.
10509 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10511         [BZ #20350]
10512         * posix/tst-preadwrite.c: Renamed to ...
10513         * posix/tst-preadwrite-common.c: This.
10514         (PREAD): Removed.
10515         (PWRITE): Likewise.
10516         (STRINGIFY): Likewise.
10517         (STRINGIFY2): Likewise.
10518         (do_prepare): Make it static and remove function arguments.
10519         (do_test): Likewise.
10520         (PREPARE): Updated.
10521         (TEST_FUNCTION): New.
10522         (name): Make it static.
10523         (fd): Likewise.
10524         (do_prepare): Use create_temp_file.
10525         (do_test): Renamed to ...
10526         (do_test_with_offset): This.  Make it static and accept offset.
10527         Properly check return value of PWRITE and PREAD.  Return bytes
10528         read.  Don't close fd nor unlink name.
10529         * posix/tst-preadwrite.c: Rewrite.
10530         * posix/tst-preadwrite64.c: Likewise.
10532 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10534         [BZ #20309]
10535         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10536         -mtls-dialect=gnu2 works.
10537         * configure: Regenerated.
10538         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10539         (tests): Add tst-gnu2-tls1.
10540         (modules-names): Add tst-gnu2-tls1mod.
10541         ($(objpfx)tst-gnu2-tls1): New.
10542         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10543         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10544         * elf/tst-gnu2-tls1.c: New file.
10545         * elf/tst-gnu2-tls1mod.c: Likewise.
10546         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10547         bytes for push in the PLT entry to align the stack.
10549 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10551         [BZ #20349]
10552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10554 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10556         [BZ #18707]
10557         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10558         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10560 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10562         * sysdeps/unix/sysv/linux/sysdep.h
10563         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10564         guards.
10565         * misc/tst-preadvwritev-common.c: New file.
10566         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10567         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10568         a check for files larger than 2GB.
10570         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10571         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10572         * sysdeps/unix/sysv/linux/pread.c
10573         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10574         __OFF_T_MATCHES_OFF64_T.
10575         * sysdeps/unix/sysv/linux/pread64.c
10576         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10577         * sysdeps/unix/sysv/linux/preadv.c
10578         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10579         * sysdeps/unix/sysv/linux/preadv64.c
10580         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10581         * sysdeps/unix/sysv/linux/pwrite.c
10582         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10583         * sysdeps/unix/sysv/linux/pwrite64.c
10584         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10585         * sysdeps/unix/sysv/linux/pwritev.c
10586         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10587         * sysdeps/unix/sysv/linux/pwritev64.c
10588         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10590 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10592         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10593         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10595 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10597         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10599 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10601         [BZ #20240]
10602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10603         (CFLAGS-s_modf-ppc32.c): New variable.
10604         (CFLAGS-s_modff-ppc32.c): Likewise.
10605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10606         (CFLAGS-s_modf-ppc64.c): Likewise.
10607         (CFLAGS-s_modff-ppc64.c): Likewise.
10609 2016-07-07  Andreas Schwab  <schwab@suse.de>
10611         [BZ #20263]
10612         * nptl/tst-robust10.c: New test.
10613         * nptl/Makefile (tests): Add tst-robust10.
10615 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10617         [BZ #20263]
10618         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10620 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10622         * sysdeps/s390/linkmap.h (struct link_map_machine):
10623         Remove member gotplt and add member jmprel.
10624         * sysdeps/s390/s390-32/dl-machine.h
10625         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10626         instead of gotplt with &got[3].
10627         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10628         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10630 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10632         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10634 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10636         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10637         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10638         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10639         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10640         * libio/vtables.c (_IO_vtable_check)
10641         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10642         * libio/libioP.h (IO_set_accept_foreign_vtables)
10643         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10645 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10647         [BZ #20314]
10648         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10649         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10650         $(common-objpfx)cmath.
10651         ($(common-objpfx)cstdlib): New target.
10652         ($(common-objpfx)cmath): Likewise.
10654 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10656         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10658 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10660         [BZ #20327]
10661         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10662         are not part of the string.
10664 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10666         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10667         * nptl/tst-cancel4-common.h (fifoname): New variable.
10668         (fifofd): Likewise.
10669         (cl_fifo): New function.
10670         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10671         SIGINT.
10672         (tf_open): Add early cancel test.
10674 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10676         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10678 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10680         * sysdeps/generic/ldsodefs.h
10681         (dl_symbol_visibility_binds_local_p): New inline function.
10682         * elf/dl-addr.c (determine_info): Treat hidden and internal
10683         symbols as local.
10684         * elf/dl-lookup.c (do_lookup_x): Likewise.
10685         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10687 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10689         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10690         invalid exception for a sNaN input.
10691         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10692         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10693         (__nearbyint_vis3): Likewise
10694         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10695         (__nearbyintf_vis3): Likewise
10696         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10697         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10698         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10699         Likewise.
10700         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10701         Likewise.
10703 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10705         [BZ #20139]
10706         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10707         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10708         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10709         2.24 or above.
10710         (HAVE_AVX512_ASM_SUPPORT): Removed.
10711         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10712         * sysdeps/x86_64/configure: Regenerated.
10713         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10714         check unconditional.
10715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10716         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10717         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10718         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10719         Likewise.
10720         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10721         Likewise.
10722         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10723         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10724         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10725         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10726         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10727         Likewise.
10728         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10729         Likewise.
10730         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10731         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10732         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10733         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10734         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10735         Likewise.
10736         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10737         Likewise.
10738         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10739         Likewise.
10740         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10741         Likewise.
10742         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10743         Likewise.
10744         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10745         Likewise.
10746         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10747         Likewise.
10748         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10749         Likewise.
10750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10751         Likewise.
10752         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10753         Likewise.
10754         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10755         Likewise.
10757 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10759         [BZ #20024]
10760         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10762         of this implementation of vector function.
10763         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10764         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10765         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10766         Likewise.
10767         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10769         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10770         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10771         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10772         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10773         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10774         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10775         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10776         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10777         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10778         for testing vector sincos with fixed ABI.
10779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10780         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10781         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10782         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10783         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10784         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10785         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10786         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10787         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10788         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10789         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10790         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10791         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10792         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10793         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10794         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10796 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10798         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10800 2016-06-30  Anton Blanchard  <anton@samba.org>
10802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10803         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10804         s_sinf-ppc64.
10805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10808         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10810 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10814         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10815         e_expf-ppc64.
10816         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10817         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10818         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10819         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10821 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10823         [BZ #20277]
10824         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10825         when SHARED is defined.
10827 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10829         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10830         (index_arch_Prefer_ERMS): Likewise.
10831         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10832         __memcpy_erms for Prefer_ERMS.
10833         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10834         (__memmove_erms): Enabled for libc.a.
10835         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10836         __memmove_erms or Prefer_ERMS.
10837         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10838         __mempcpy_erms for Prefer_ERMS.
10839         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10840         __memset_erms for Prefer_ERMS.
10842 2016-06-30  Andreas Schwab  <schwab@suse.de>
10844         [BZ #20262]
10845         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10846         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10847         of memory.
10849 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10851         [BZ #18645]
10852         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10853         (test-extras): Add tst-cleanupx4aux.
10854         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10855         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10856         tst-cleanupx4aux.o.
10857         * nptl/tst-cleanupx4aux.c: New file.
10859 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10861         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10863 2016-06-29  Andreas Schwab  <schwab@suse.de>
10865         [BZ #20260]
10866         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10867         address before the beginning of the string as an integer to avoid
10868         array-bounds warning.
10870 2016-06-28  Richard Henderson  <rth@redhat.com>
10872         * elf/elf.h (EM_BPF): New.
10873         (EM_NUM): Update.
10874         (R_BPF_NONE, R_BPF_MAP_FD): New.
10876         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10877         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10878         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10879         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10880         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10881         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10882         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10883         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10884         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10885         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10886         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10887         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10888         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10889         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10890         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10891         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10892         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10893         (EM_NUM): Update.
10895 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10897         [BZ #18960]
10898         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10899         Set _nl_current_LC_CATEGORY_used to two instead of one.
10901 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10903         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10904         (do_test): ... this.
10905         (TEST_FUNCTION): New macro.
10906          Include test-skeleton.c.
10907         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10908         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10910 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10912         [BZ #15479]
10913         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10914         floating-point environment rather than just control word.
10915         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10916         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10917         floating-point environment, with "invalid" exceptions merged in,
10918         rather than just control word.
10919         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10920         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10921         "inexact" exceptions.
10923         [BZ #15479]
10924         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10925         floating-point environment rather than just control word.
10926         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10927         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10928         floating-point environment, with "invalid" exceptions merged in,
10929         rather than just control word.
10930         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10931         * math/libm-test.inc (floor_test_data): Do not allow spurious
10932         "inexact" exceptions.
10934         [BZ #15479]
10935         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10936         floating-point environment rather than just control word.
10937         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10938         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10939         floating-point environment, with "invalid" exceptions merged in,
10940         rather than just control word.
10941         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10942         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10943         "inexact" exceptions.
10945 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10947         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10948         __libc_vfork.
10949         (__vfork) [IS_IN (libc)]: Remove alias.
10950         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10951         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10952         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10954 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10956         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10957         of atomic_compare_and_exchange_bool_rel.
10958         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10959         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10960         catomic_compare_and_exchange_bool_rel): Remove.
10961         * sysdeps/aarch64/atomic-machine.h
10962         (atomic_compare_and_exchange_bool_rel): Likewise.
10963         * sysdeps/alpha/atomic-machine.h
10964         (atomic_compare_and_exchange_bool_rel): Likewise.
10965         * sysdeps/arm/atomic-machine.h
10966         (atomic_compare_and_exchange_bool_rel): Likewise.
10967         * sysdeps/mips/atomic-machine.h
10968         (atomic_compare_and_exchange_bool_rel): Likewise.
10969         * sysdeps/microblaze/atomic-machine.h
10970         ( __arch_compare_and_exchange_bool_8_rel,
10971         __arch_compare_and_exchange_bool_16_rel): Likewise.
10972         * sysdeps/powerpc/atomic-machine.h
10973         ( __arch_compare_and_exchange_bool_8_rel,
10974         __arch_compare_and_exchange_bool_16_rel): Likewise.
10975         * sysdeps/powerpc/powerpc32/atomic-machine.h
10976         ( __arch_compare_and_exchange_bool_32_rel,
10977         __arch_compare_and_exchange_bool_64_rel): Likewise.
10978         * sysdeps/powerpc/powerpc64/atomic-machine.h
10979         ( __arch_compare_and_exchange_bool_32_rel,
10980         __arch_compare_and_exchange_bool_64_rel): Likewise.
10981         * sysdeps/tile/atomic-machine.h
10982         (atomic_compare_and_exchange_bool_rel): Likewise.
10984 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10986         [BZ #20296]
10987         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10988         when either argument is a NaN.
10989         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10990         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10992         * math/libm-test.inc (snan_value_ld): New macro.
10993         (isgreater_test_data): Add sNaN tests.
10994         (isgreaterequal_test_data): Likewise.
10995         (isless_test_data): Likewise.
10996         (islessequal_test_data): Likewise.
10997         (islessgreater_test_data): Likewise.
10998         (isunordered_test_data): Likewise.
10999         (nextafter_test_data): Likewise.
11000         (nexttoward_test_data): Likewise.
11001         (remainder_test_data): Likewise.
11002         (remquo_test_data): Likewise.
11003         (significand_test_data): Likewise.
11004         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
11006 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11008         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
11009         environment macros are defined.
11010         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
11012 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11014         [BZ #20191]
11015         Implement vtable verification in libio.
11016         * Makerules (shlib.lds): Place __libc_IO_vtables section.
11017         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
11018         * debug/vdprintf_chk.c (__vdprintf_chk): Call
11019         _IO_new_file_init_internal instead of _IO_file_init.
11020         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
11021         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
11022         * libio/Makefile (routines): Add vtables.
11023         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
11024         (_IO_init): Remove, not for internal use.
11025         (_IO_init_internal): Declare, internal replacement for _IO_init.
11026         (_IO_file_init): Remove, not for internal use.
11027         (_IO_new_file_init): Remove, not for internal use.
11028         (_IO_new_file_init_internal): Declare, internal replacement for
11029         _IO_new_file_init.
11030         (_IO_old_file_init): Remove, not for internal use.
11031         (_IO_old_file_init_internal): Declare, internal replacement for
11032         _IO_old_file_init.
11033         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
11034         internal use.
11035         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
11036         Declare.
11037         (libio_vtable): New macro.
11038         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
11039         functions.
11040         * libio/fileops.c (_IO_new_file_init_internal): Rename from
11041         _IO_new_file_init.
11042         (_IO_new_file_init): New externally visible wrapper which disables
11043         vtable verification.
11044         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11045         Define as vtables.
11046         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11047         (_IO_init): New externally visible wrapper which disables
11048         vtable verification.
11049         * libio/iofdopen.c (_IO_new_fdopen): Call
11050         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11051         comment.
11052         * libio/iofopen.c (__fopen_internal): Call
11053         _IO_new_file_init_internal instead of _IO_file_init.
11054         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11055         Define as vtables.
11056         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11057         _IO_new_file_init_internal instead of _IO_file_init.
11058         * libio/iopopen.c (_IO_new_popen): Likewise.
11059         (_IO_proc_jumps): Define as vtable.
11060         * libio/iovdprintf.c (_IO_vdprintf): Call
11061         _IO_new_file_init_internal instead of _IO_file_init.
11062         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11063         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11064         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11065         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11066         _IO_old_file_init.
11067         (_IO_old_file_init): New externally visible wrapper which disables
11068         vtable verification.
11069         (_IO_old_file_jumps): Define as vtable.
11070         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11071         _IO_old_file_init_internal instead of _IO_old_file_init.
11072         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11073         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11074         (_IO_old_proc_jumps): Define as vtable.
11075         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11076         Define as vtables.
11077         * libio/vtables.c: New file.
11078         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11079         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11080         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11081         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11082         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11083         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11084         instead of _IO_init.
11086 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11088         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11090 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11092         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11093         potentially unused.
11095 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11097         * test-skeleton.c (write_message): New function.
11098         * malloc/tst-mallocfork2.c (write_message): Remove.
11099         * debug/tst-longjmp_chk2.c (write_indented): New function.
11100         (write_message): Remove.
11101         (stackoverflow_handler): Call write_indented.
11103 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11105         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11106         "inexact" exceptions after fnstenv.
11107         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11108         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11109         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11111 2015-06-22  Zack Weinberg  <zackw@panix.com>
11113         * sysdeps/generic/bits/hwcap.h: Moved to ...
11114         * bits/hwcap.h: Here.
11116 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11118         * sysdeps/aarch64/memcpy.S (memcpy):
11119         Further tuning for performance.
11121 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11123         [BZ #20284]
11124         * malloc/arena.c (reused_arena): Do not return NULL if we start
11125         out with a non-corrupted arena.
11127 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11129         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11130         * misc/tst-preadvwritev.c: New file.
11131         * misc/tst-preadvwritev64.c: Likewise.
11132         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11133         usage.
11134         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11135         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11136         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11137         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11139 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11141         [BZ #19654]
11142         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11143         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11144         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11145         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11146         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11147         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11148         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11149         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11150         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11151         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11152         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11153         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11154         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11155         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11156         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11157         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11158         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11159         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11160         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11161         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11162         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11163         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11164         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11165         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11166         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11167         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11169 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11171         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11172         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11174 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11176         * sysdeps/aarch64/memcpy.S (memcpy):
11177         Rewrite of optimized memcpy and memmove.
11178         * sysdeps/aarch64/memmove.S (memmove): Remove
11179         memmove code (merged into memcpy.S).
11181 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11183         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11184         * sysdeps/generic/dl-dtv.h: New file.
11185         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11186         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11187         (dtv_t): Remove.
11188         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11189         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11190         (dtv_t): Remove.
11191         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11192         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11193         (dtv_t): Remove.
11194         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11195         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11196         (dtv_t): Remove.
11197         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11198         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11199         (dtv_t): Remove.
11200         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11201         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11202         (dtv_t): Remove.
11203         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11204         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11205         (dtv_t): Remove.
11206         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11207         (dtv_t): Remove.
11208         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11209         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11210         (dtv_t): Remove.
11211         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11212         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11213         (dtv_t): Remove.
11214         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11215         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11216         (dtv_t): Remove.
11217         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11218         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11219         (dtv_t): Remove.
11220         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11221         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11222         (dtv_t): Remove.
11223         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11224         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11225         (dtv_t): Remove.
11226         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11227         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11228         (dtv_t): Remove.
11229         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11230         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11231         (dtv_t): Remove.
11233 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11235         Revert symbol poisoning of  __malloc_initialize_hook.
11236         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11237         poisoning.
11238         * malloc/Makefile: Remove un-poisoning.
11239         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11240         instead of old__malloc_initialize_hook.
11241         * malloc/malloc-hooks.h: Likewise.
11242         * malloc/malloc.c: Likewise.
11243         * malloc/mcheck-init.c: Likewise.
11245 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11247         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11249 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11251         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11252         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11253         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11254         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11256 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11258         * NEWS: Mention addition of nextup and nextdown.
11259         * manual/arith.texi: Document nextup and nextdown.
11260         * manual/libm-err-tab.pl: Add nextup and nextdown.
11261         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11262         * math/Versions (libm): Add GLIBC_2.24.
11263         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11264         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11265         Add new test.
11266         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11267         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11268         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11269         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11270         (nextup_test_data): Likewise.
11271         (nextdown_test_data): Likewise.
11272         * math/s_nextdown.c: New file.
11273         * math/s_nextdownf.c: Likewise.
11274         * math/s_nextdownl.c: Likewise.
11275         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11276         F(nextup): New function.
11277         F(nextdown): Likewise.
11278         * math/tgmath.h: Add nextup and nextdown.
11279         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11280         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11281         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11282         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11283         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11284         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11285         Add nextup and nextdown.
11286         (CFLAGS-nldbl-nextup.c): New variable.
11287         (CFLAGS-nldbl-nextdown.c): Likewise.
11288         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11289         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11290         * sysdeps/nacl/libm.abilist: Update.
11291         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11292         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11293         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11294         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11295         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11296         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11297         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11298         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11299         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11300         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11301         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11302         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11305         Likewise.
11306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11308         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11309         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11310         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11311         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11312         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11315         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11316         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11318         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11320 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11322         * manual/pattern.texi: Fix typos & grammar errors.
11324 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11326         * manual/search.texi: Fix typos & grammar errors.
11328 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11330         * manual/message.texi: Fix typos & grammar errors.
11332 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11334         * manual/contrib.texi: Fix spelling typos.
11335         * manual/crypt.texi: Likewise.
11336         * manual/filesys.texi: Likewise.
11337         * manual/locale.texi: Likewise.
11338         * manual/message.texi: Likewise.
11339         * manual/nss.texi: Likewise.
11340         * manual/string.texi: Likewise.
11342 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11344         * manual/locale.texi: Fix typos & grammar errors.
11346 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11348         * manual/charset.texi: Fix typos & grammar errors.
11350 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11352         * manual/string.texi: Fix typos.
11354 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11356         * manual/ctype.texi: Fix typos.
11358 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11360         * manual/memory.texi: Fix various typos & grammar errors.
11362 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11364         [BZ #20255]
11365         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11366         * math/libm-test.inc (fdim_test_data): Add another test.
11368         [BZ #6796]
11369         [BZ #20255]
11370         [BZ #20256]
11371         * math/s_fdim.c: Include <math_private.h>.
11372         (__fdim): Use math_narrow_eval on result.
11373         * math/s_fdimf.c: Include <math_private.h>.
11374         (__fdimf): Use math_narrow_eval on result.
11375         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11376         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11377         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11378         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
11379         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
11380         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
11381         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
11382         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
11383         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
11384         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
11385         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
11386         * math/libm-test.inc (fdim_test_data): Expect errno setting on
11387         overflow.  Add sNaN tests.
11389         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
11390         fpclassify.
11391         * math/s_fdimf.c (__fdimf): Likewise.
11392         * math/s_fdiml.c (__fdiml): Likewise.
11394 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11396         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11397         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
11398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11399         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11400         ifunc'ed strcasecmp/strncasecmp.
11401         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
11402         [EALIGN]: Removed.
11403         [END]: Likewise.
11404         [__strcasecmp]: Define instead of the above to control symbol name.
11405         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
11406         for __strcasecmp_power8.
11407         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
11408         for __strncasecmp_power8.
11409         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
11410         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
11411         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11412         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
11413         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
11414         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
11416 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
11418         [BZ #20252]
11419         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
11420         arguments when second argument is a NaN.
11421         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
11422         qNaN tests.
11424         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
11425         (conj_test_data): Likewise.
11426         (copysign_test_data): Likewise.
11427         (creal_test_data): Likewise.
11428         (fma_test_data): Likewise.
11429         (fmod_test_data): Likewise.
11431         [BZ #20250]
11432         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
11433         itself.
11434         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
11435         zero input to itself.
11436         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
11437         Likewise.
11438         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
11439         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11440         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11441         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11442         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
11444 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11446         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
11447         * nptl/tst-cancel4-common.c: New file.
11448         * nptl/tst-cancel4-common.h: Likewise.
11449         * nptl/tst-cancel4.c: Move common definitions to
11450         tst-cancel4-common.{c,h} file.
11451         * nptl/tst-cancel4_1.c: New test.
11452         * nptl/tst-cancel4_2.c: New test.
11454 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11456         [BZ #20248]
11457         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11458         (write_message): New function.
11459         (stackoverflow_handler): Call it instead of printf, to avoid
11460         excessive stack usage by printf.
11461         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11463 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11465         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11466         (prio_inherit_missing): Remove define.
11467         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11468         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11470         Likewise.
11471         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11472         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11473         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11474         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11475         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11476         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11478 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11480         [BZ #19670]
11481         [BZ #19672]
11483         * io/test-lfs.c (do_prepare): Use xmalloc.
11484         * io/tst-fcntl.c (do_prepare): Likewise.
11485         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11486         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11487         * login/tst-utmp.c (do_prepare): Likewise.
11488         * posix/tst-exec.c (do_prepare): Likewise.
11489         * posix/tst-pathconf.c (prepare): Likewise.
11490         * posix/tst-spawn.c (do_prepare): Likewise.
11491         * posix/tst-truncate.c (do_prepare): Likewise.
11492         * rt/tst-aio.c (do_prepare): Likewise.
11493         * rt/tst-aio64.c (do_prepare): Likewise.
11495 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11497         [BZ #20237]
11498         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11499         (get*ent): Set entidx to NULL during initialization.  If entidx is
11500         NULL, start iteration from the beginning.
11502 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11504         * malloc/malloc.c (musable): Return correct size for dumped fake
11505         mmapped chunk.
11507 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11509         [BZ #20222]
11510         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11511         (_IO_cookie_write): Likewise.
11512         (_IO_cookie_seek): Likewise.
11513         (_IO_cookie_close): Likewise.
11514         (_IO_old_cookie_seek): Likewise.
11515         (set_callbacks): New function.
11516         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11518 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11520         * locale/programs/localedef.c (oldstyle_tables): Remove.
11521         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11523 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11525         [BZ #20240]
11526         * math/Makefile (CFLAGS-s_modf.c): New variable.
11527         (CFLAGS-s_modff.c): Likewise.
11528         (CFLAGS-s_modfl.c): Likewise.
11529         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11531 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11533         [BZ #20215]
11534         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11535         [!__GNUC_PREREQ (3,2)]: Likewise.
11537 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11539         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11540         (msghdr.msg_controllen): Likewise.
11541         (cmsghdr.cmsg_len): Likewise.
11542         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11543         ptw-oldsendmsg.
11544         (CFLAGS-oldrecvmsg.c): Remove rule.
11545         (CFLAGS-oldsendmsg.c): Likewise.
11546         (CFLAGS-recvmsg.c): Add rule.
11547         (CFLAGS-sendmsg.c): Likewise.
11548         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11549         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11550         (CFLAGS-recvmsg.c): Remove rule.
11551         (CFLAGS-sendmsg.c): Likewise.
11552         (CFLAGS-oldrecvmsg.c): Likewise.
11553         (CFLAGS-oldsendmsg.c): Likewise.
11554         (CFLAGS-recvmmsg.c): Likewise.
11555         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11556         to kernel defined interfaces.
11557         (msghdr.msg_controllen): Likewise.
11558         (cmsghdr.cmsg_len): Likewise.
11559         (msghdr.__glibc_reserved1): Remove member.
11560         (msghdr.__glibc_reserved2): Likewise.
11561         (cmsghdr.__glibc_reserved1): Likewise.
11562         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11563         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11564         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11565         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11566         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11567         version.
11568         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11569         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11570         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11571         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11572         Remove recvmsg and sendmsg.
11573         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11574         Likewise.
11575         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11576         Likewise.
11577         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11578         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11579         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11580         Likewise.
11581         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11582         Likewise.
11583         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11584         [libc] (GLIBC_2.24): Likewise.
11585         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11586         Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11588         Likewise.
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11590         [libc] (GLIBC_2.24): Likewise.
11591         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11592         Likewise.
11593         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11594         Likewise.
11595         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11596         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11597         Likewise.
11598         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11599         Likewise.
11600         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11601         Likewise.
11602         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11603         Likewise.
11604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11605         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11606         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11607         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11608         version for {recv,send,recm,sendm}msg.
11609         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11610         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11611         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11612         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11613         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11614         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11615         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11616         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11617         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11618         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11619         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11620         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11622         Likewise.
11623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11624         Likewise.
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11627         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11628         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11629         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11630         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11631         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11632         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11635         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11636         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11637         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11639 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11641         [BZ #19564]
11642         Remove __malloc_initialize_hook from the API.
11643         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11644         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11645         #pragma GCC poison.
11646         * malloc/malloc-hooks.h: New file.
11647         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11648         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11649         (old__malloc_initialize_hook): Rename from
11650         __malloc_initialize_hook to evade poisoning.  Turn into compat
11651         symbol.
11652         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11653         __malloc_initialize_hook.
11654         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11655         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11656         * manual/memory.texi (Hooks for Malloc): Remove
11657         __malloc_initialize_hook.  Adjust hook example.
11659 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11661         [BZ #20235]
11662         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11663         itself.
11664         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11665         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11667         [BZ #20234]
11668         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11669         infinity or NaN input to itself.
11671         [BZ #20233]
11672         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11673         to itself.
11675         [BZ #20232]
11676         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11677         itself.
11679 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11681         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11682         __libc_start_main via GOT.
11684 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11686         * sysdeps/x86_64/memcopy.h: New file.
11687         * sysdeps/x86_64/wordcopy.c: Likewise.
11689 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11691         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11692         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11693         <cstdlib>.
11694         (optimization_barrier): New.
11695         (do_test): Use it.  Call quick_exit in the global namespace.
11696         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11697         instead of <cstdlib>, <thread>.
11698         (optimization_barrier): New.
11699         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11700         Call quick_exit in the global namespace.
11701         (do_test): Call optimization_barrier.  Use pthread_create,
11702         pthread_join instead of std::thread.
11704 2016-06-09  Andreas Schwab  <schwab@suse.de>
11706         [BZ #19755]
11707         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11708         new entries in auto-propagate mode.
11709         * nscd/grpcache.c (cache_addgr): Likewise.
11711 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11713         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11714         New functions.
11715         (add_temp_file): Use them.
11717 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11719         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11721 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11723         [BZ #20229]
11724         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11725         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11726         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11728         [BZ #20228]
11729         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11730         itself.
11731         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11732         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11734         [BZ #20227]
11735         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11736         itself.
11737         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11738         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11739         * math/libm-test.inc (log_test_data): Add sNaN tests.
11741         [BZ #20226]
11742         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11743         itself.
11744         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11745         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11746         (exp10_test_data): Likewise.
11747         (expm1_test_data): Likewise.
11749         [BZ #20225]
11750         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11751         itself.
11752         * math/s_ldexpf.c (__ldexpf): Likewise.
11753         * math/s_ldexpl.c (__ldexpl): Likewise.
11754         * math/w_scalbln.c (__w_scalbln): Likewise.
11755         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11756         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11757         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11758         (scalbln_test_data): Likewise.
11760         [BZ #20224]
11761         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11762         argument to itself.
11763         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11765 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11767         [BZ #19776]
11768         * sysdeps/x86_64/memcpy.S: Make it dummy.
11769         * sysdeps/x86_64/mempcpy.S: Likewise.
11770         * sysdeps/x86_64/memmove.S: New file.
11771         * sysdeps/x86_64/memmove_chk.S: Likewise.
11772         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11773         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11774         * sysdeps/x86_64/memmove.c: Removed.
11775         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11776         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11777         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11778         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11779         Likewise.
11780         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11781         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11783         memcpy-sse2-unaligned, memmove-avx-unaligned,
11784         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11786         (__libc_ifunc_impl_list): Replace
11787         __memmove_chk_avx512_unaligned_2 with
11788         __memmove_chk_avx512_unaligned.  Remove
11789         __memmove_chk_avx_unaligned_2.  Replace
11790         __memmove_chk_sse2_unaligned_2 with
11791         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11792         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11793         with __memmove_avx512_unaligned.  Replace
11794         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11795         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11796         with __memcpy_chk_avx512_unaligned.  Remove
11797         __memcpy_chk_avx_unaligned_2.  Replace
11798         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11799         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11800         Replace __memcpy_avx512_unaligned_2 with
11801         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11802         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11803         with __mempcpy_chk_avx512_unaligned.  Remove
11804         __mempcpy_chk_avx_unaligned_2.  Replace
11805         __mempcpy_chk_sse2_unaligned_2 with
11806         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11807         Replace __mempcpy_avx512_unaligned_2 with
11808         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11809         Replace __mempcpy_sse2_unaligned_2 with
11810         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11811         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11812         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11813         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11814         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11815         (ENTRY): Removed.
11816         (END): Likewise.
11817         (ENTRY_CHK): Likewise.
11818         (libc_hidden_builtin_def): Likewise.
11819         Don't include ../memcpy.S.
11820         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11821         __memcpy_chk_avx512_unaligned_erms and
11822         __memcpy_chk_avx512_unaligned.  Use
11823         __memcpy_chk_avx_unaligned_erms and
11824         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11825         Default to __memcpy_chk_sse2_unaligned.
11826         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11827         Change function suffix from unaligned_2 to unaligned.
11828         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11829         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11830         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11831         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11832         (ENTRY): Removed.
11833         (END): Likewise.
11834         (ENTRY_CHK): Likewise.
11835         (libc_hidden_builtin_def): Likewise.
11836         Don't include ../mempcpy.S.
11837         (mempcpy): New.  Add a weak alias.
11838         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11839         __mempcpy_chk_avx512_unaligned_erms and
11840         __mempcpy_chk_avx512_unaligned.  Use
11841         __mempcpy_chk_avx_unaligned_erms and
11842         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11843         Default to __mempcpy_chk_sse2_unaligned.
11845 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11847         [BZ #19881]
11848         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11849         into ...
11850         * sysdeps/x86_64/memset.S: This.
11851         (__bzero): Removed.
11852         (__memset_tail): Likewise.
11853         (__memset_chk): Likewise.
11854         (memset): Likewise.
11855         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11856         defined.
11857         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11858         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11859         (__memset_zero_constant_len_parameter): Check SHARED instead of
11860         PIC.
11861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11862         memset-avx2 and memset-sse2-unaligned-erms.
11863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11864         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11865         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11866         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11867         (__bzero): Enabled.
11868         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11869         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11870         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11871         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11872         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11873         (memset): Removed.
11874         (__memset_chk): Likewise.
11875         (MEMSET_SYMBOL): New.
11876         (libc_hidden_builtin_def): Replace __memset_sse2 with
11877         __memset_sse2_unaligned.
11878         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11879         __memset_chk_sse2 and __memset_chk_avx2 with
11880         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11881         Use __memset_chk_sse2_unaligned_erms or
11882         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11883         __memset_chk_avx512_unaligned_erms and
11884         __memset_chk_avx512_unaligned.
11886 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11888         * math/gen-auto-libm-test.c (fp_format_desc): remove
11889         suffix member.
11890         (output_generic_value): Remove usage of suffix member,
11891         and the resulting unuse of the fp_format argument.
11892         (output_for_one_input_case): Remove unused fp_format
11893         parameter.
11895         * math/auto-libm-test-out: Regenerate.
11897         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11898         usage with TEST_COND_ibm128.
11899         (TEST_COND_flt_32): Remove.
11900         (TEST_COND_dbl_64): Remove.
11901         (TEST_COND_ldbl_96_intel): Remove.
11902         (TEST_COND_ldbl_96_m68k): Remove.
11903         (TEST_COND_ldbl_128): Remove.
11905 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11907         * auto-libm-test-in:
11908         Replace flt-32 usage with binary32.
11909         Replace dbl-64 usage with binary64.
11910         Replace ldbl-intel-96 usage with intel96.
11911         Replace ldbl-m68k-96 usage with m68k96.
11912         Replace ldbl-128ibm usage with ibm128.
11913         Replace ldbl-128 usage with binary128.
11915         * auto-libm-test-out: Regenerate.
11917 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11919         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11920         (parse_ulps): Dynamically generate type name matching
11921         string from all_floats.
11922         (get_ulps): Generate the ulps as an array instead.
11923         (output_ulps): Dynamically compose the type based
11924         on the number of supported formats, and print
11925         the indices as type specific helper macros.
11927         * math/libm-test.inc: Remove comment about CHOOSE.
11928         (ulp_data): Generate the type in libm-test-ulps.h.
11929         (ULP_IDX): New macro.
11930         (find_ulps): Update usage of max_ulp.
11932         * math/test-double-vlen2.h (CHOOSE): Remove.
11933         * math/test-double-vlen4.h (CHOOSE): Likewise.
11934         * math/test-double-vlen8.h (CHOOSE): Likewise.
11935         * math/test-float.c (CHOOSE): Likewise.
11936         * math/test-float-finite.c (CHOOSE): Likewise.
11937         * math/test-double.c (CHOOSE): Likewise.
11938         * math/test-double-finite.c (CHOOSE): Likewise.
11939         * math/test-idouble.c (CHOOSE): Likewise.
11940         * math/test-ifloat.c (CHOOSE): Likewise.
11941         * math/test-ildoubl.c (CHOOSE): Likewise.
11942         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11943         * math/test-ldouble.c (CHOOSE): Likewise.
11945         * math/test-float.h (TEST_FLOAT): Remove.
11946         * math/test-double.h (TEST_DOUBLE): Likewise.
11947         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11949 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11951         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11952         (parse_args): Strip C suffix from floating point literals
11953         typed with 'f' and wrap them with LIT().
11955         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11956         (test_ff_f_data_nexttoward): Rename to
11957         (test_fj_f_data): New struct.
11958         (nexttoward_test_data): Relabel tests as
11959         TEST_fj_f instead of TEST_ff_f.
11961 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11963         Emacs bug 23726.
11964         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11965         (__libc_realloc): Correct size computation for dumped fake mmapped
11966         chunks.
11968 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11970         [BZ #20219]
11971         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11972         to itself.
11973         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11975         [BZ #20218]
11976         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11977         to itself.
11978         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11980 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11982         [BZ #20195]
11983         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11984         check to ...
11985         (init_cpu_features): Here.
11987 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11989         [BZ #20214]
11990         * sysdeps/unix/sysv/linux/bits/in.h
11991         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11992          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11993         Define to 1.
11994         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11995          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11996         Define to 0.
11997         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11998         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
12000 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
12002         [BZ #20198]
12003         * stdlib/Makefile (tests): Add tst-quick_exit, and
12004         tst-thread-quick_exit.
12005         [ifeq ($(have-cxx-thread_local),yes)]
12006         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
12007         (CFLAGS-tst-thread-quick_exit.o): Likewise.
12008         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
12009         (LDLIBS-tst-thread-quick_exit): Likewise.
12010         [ifneq ($(have-cxx-thread_local),yes)]
12011         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
12012         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
12013         If run_dtors is true call __call_tls_dtors.
12014         (exit): Call __run_exit_handlers with run_dtors set to true.
12015         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
12016         definition.
12017         * stdlib/quick_exit.c (quick_exit): Remove function.
12018         (__new_quick_exit): New function.
12019         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
12020         function.
12021         * stdlib/tst-quick_exit.cc: New file.
12022         * stdlib/tst-thread-quick_exit.cc: New file.
12023         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
12024         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
12025         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
12026         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
12027         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
12028         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
12029         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
12030         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
12031         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
12032         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
12033         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
12034         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
12035         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
12036         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
12037         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
12038         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
12040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12043         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12044         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12045         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12046         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12047         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12050         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12051         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12052         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12054 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12056         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12057         a typo in comments.
12059 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12061         [BZ #20213]
12062         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12063         argument to itself.
12064         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12066 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12068         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12069         required flags.
12070         (CFLAGS-pwritev64.c): Likewise.
12071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12072         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12073         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12074         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12075         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12076         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12077         syscall from auto-generation.
12078         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12079         [WORDSIZE == 64] (pwritev64): Remove macro.
12080         [!PWRITEV] (PWRITEV): Likewise.
12081         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12082         [!PWRITEV] (PWRITE): Likewise.
12083         [!PWRITEV] (OFF_T): Likewise.
12084         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12085         (LO_HI_LONG): Remove macro.
12086         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12087         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12088         (PWRITEV): Remove macro.
12089         (PWRITEV_REPLACEMENTE): Likewise.
12090         (PWRITE): Likewise.
12091         (OFF_T): Likewise.
12092         (pwritev64): New function.
12093         * nptl/tst-cancel4.c (tf_writev): Add test.
12095         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12096         required flags.
12097         (CFLAGS-preadv64.c): Likewise.
12098         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12099         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12100         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12101         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12102         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12103         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12104         syscall from auto-generation.
12105         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12106         [WORDSIZE == 64] (preadv64): Remove macro.
12107         [!PREADV] (PREADV): Likewise.
12108         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12109         [!PREADV] (PREAD): Likewise.
12110         [!PREADV] (OFF_T): Likewise.
12111         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12112         (LO_HI_LONG): Remove macro.
12113         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12114         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12115         (PREADV): Remove macro.
12116         (PREADV_REPLACEMENTE): Likewise.
12117         (PREAD): Likewise.
12118         (OFF_T): Likewise.
12119         (preadv64): New function.
12120         * nptl/tst-cancel4.c (tf_preadv): Add test.
12122 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12124         [BZ #20212]
12125         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12126         argument to itself.
12127         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12129 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12131         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12132         New symbol defined as libc_hidden_def.
12133         (strcasestr): Became a weak alias to __strcasestr.
12134         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12135         according to multi-arch support.  Move __stpncpy hidden
12136         definition from here to...
12137         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12138         symbol stpncpy.
12139         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12140         libc_hidden_builtin_def.
12141         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12142         memset symbol to use when multi-arch support is available.
12144 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12146         * dlfcn/tst-rec-dlopen.c: Include string.h.
12148 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12150         * manual/install.texi: Remove mention of --without-tls
12151         * INSTALL: Regenerate.
12153 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12155         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12156         Remove.
12157         (call_function, interposed_malloc_called): New variables.
12158         (malloc): New function.
12159         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12160         and clear call_function as needed.
12162 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12164         * include/wchar.h (__wmemset): Use __typeof.
12166 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12168         * include/wchar.h (__wmemset): Declare function without typeof.
12170 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12172         [BZ #20205]
12173         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12174         exponent when incrementing negative subnormal with low mantissa
12175         word zero.
12176         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12177         Add another test.
12179 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12181         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12182         __wmemset instead of wmemset.
12184 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12186         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12187         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12188         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12189         __USE_KERNEL_IPV6_DEFS to 0.
12190         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12191         Update comment.
12193 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12195         [BZ #19861]
12196         Do not use IFUNC resolver with potentially unrelocated symbol.
12197         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12198         (DEFINE_FORK): Remove macro and inline definition.
12199         (fork_alias): Renamed from fork_ifunc.
12200         (__fork_alias): Renamed from __fork_ifunc.
12202 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12204         [BZ 19653]
12205         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12206         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12208 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12210         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12211         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12212         i386-linux-gnu).
12213         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12214         Set to no.
12215         * sysdeps/mach/hurd/configure: Refresh.
12217 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12219         [BZ #20178]
12220         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12221         on failure instead of exit.
12223 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12225         [BZ #3629]
12226         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12227         of POSIX.1-2008.
12229 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12231         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12232           Use PLT entry for calling _hurd_self_sigstate.
12234 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12236         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12237         available logical processors with SMT level type sharing L2
12238         cache for Intel processors.
12240 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12242         [BZ #20160]
12243         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12244         argument to itself before returning the result.
12245         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12246         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12247         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12248         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12249         Likewise.
12250         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12251         Likewise.
12252         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12253         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12254         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12255         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12256         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12257         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12259         [BZ #20160]
12260         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12261         argument to itself before returning the result.
12262         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12263         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12264         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12265         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12266         Likewise.
12267         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12268         Likewise.
12269         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12270         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12271         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12272         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12273         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12274         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12276 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12278         * libm-test.inc: Replace usage of M_El with
12279         (lit_e): New macro.
12281 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12283         * libm-test.inc: Replace usage of M_PI_4l with
12284         (lit_pi_4_d): New macro.
12286 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12288         * libm-test.inc: Replace usage of M_PIl with
12289         (lit_pi): New macro.
12291 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12293         * libm-test.inc: Replace usage of M_PI2l with
12294         (lit_pi_2_d): New macro.
12296         * math/test-double.h (LITM): New macro.
12297         * math/test-float.h (LITM): Likewise.
12298         * math/test-ldouble.h (LITM): Likewise.
12300 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12302         * libm-test.inc (M_PI_34l): Rename to
12303         (lit_pi_3_m_4_d): New Macro.
12304         (M_PI_34_LOG10El): Rename to
12305         (lit_pi_3_m_4_ln10_m_d): New Macro.
12306         (M_PI2_LOG10El): Rename to
12307         (lit_pi_2_ln10_m_d):  New Macro.
12308         (M_PI4_LOG10El): Rename to
12309         (lit_pi_4_ln10_m_d):  New Macro.
12310         (M_PI_LOG10El): Rename to
12311         (lit_pi_ln10_d):  New Macro.
12313 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12315         [BZ #20157]
12316         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12317         determine whether to negate low half if [_ARCH_PPCGR], and integer
12318         comparison otherwise.
12319         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12320         determine whether to negate low half.
12322         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12323         (NO_TEST_INLINE_DOUBLE): Likewise.
12324         (TEST_COND_x86_64): Likewise.
12325         (TEST_COND_x86): Likewise.
12326         (M_PI_6l): Likewise.
12328 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12330         * math/libm-test.inc:
12331         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12332         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12333         (TEST_LDOUBLE): Update usage to evaluate as true if
12334         the guarded tests match the property being tested.
12335         (LDBL_MAX_EXP): Change to MAX_EXP.
12336         (LDBL_MIN_EXP): Change to MIN_EXP.
12337         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12338         nexttoward tests.
12340 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12342         * math/libm-test.inc:
12343         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12344         (TYPE_MIN): Likewise.
12345         (TYPE_TRUE_MIN): Likewise.
12346         (TYPE_MAX): Likewise.
12347         (MIN_EXP): Likewise.
12348         (MAX_EXP): Likewise.
12349         (MANT_DIG): Likewise.
12351         (FSTR_MAX): New macro.
12352         (__CONCATX): Likewise.
12353         (QTYPE_STR): Likewise.
12354         (TEST_COND_binary32): Likewise.
12355         (TEST_COND_binary64): Likewise.
12356         (TEST_COND_binary128): Likewise.
12357         (TEST_COND_ibm128): Likewise.
12358         (TEST_COND_intel96): Likewise.
12359         (TEST_COND_m68k96): Likewise.
12361         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12362         (TEST_COND_dbl_64): Likewise.
12363         (TEST_COND_ldbl_96_intel): Likewise.
12364         (TEST_COND_ldbl_96_m68k): Likewise.
12365         (TEST_COND_ldbl_128): Likewise.
12366         (TEST_COND_ldbl_128ibm): Likewise.
12368         (plus_zero): Redefine using LIT macro.
12369         (minus_zero): Likewise.
12370         (plus_infty): Redefine as (INF).
12371         (minux_infty): Redefine as (-INF).
12372         (max_value): Redefine as TYPE_MAX.
12373         (min_value): Redefine as TYPE_MIN.
12374         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12376         (print_float): Refactor to use snprintf to convert FLOAT values
12377         to string. This brings it closer to dropin replacement of strtof
12378         for the TS 18661 defined types.
12379         (update_stats): Likewise.
12380         (print_complex_function_ulps): Likewise.
12381         (print_max_error): Likewise.
12382         (print_complex_max_error): Likewise.
12383         (check_float_internal): Likewise.
12385         * math/test-float.h (PREFIX): New macro.
12386         (LIT): Likewise.
12387         (TYPE_STR): Likewise.
12388         (FTOSTR): Likewise.
12390         * math/test-double.h (PREFIX): New macro.
12391         (LIT): Likewise.
12392         (TYPE_STR): Likewise.
12393         (FTOSTR): Likewise.
12395         * math/test-ldouble.h (PREFIX): New macro.
12396         (LIT): Likewise.
12397         (TYPE_STR): Likewise.
12398         (FTOSTR): Likewise.
12400 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12402         [BZ #20156]
12403         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
12404         to itself when zero or not finite.
12405         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
12406         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12407         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
12408         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12410 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
12412         [BZ #20153]
12413         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
12414         x * x + x for infinities and NaNs.
12416         [BZ #20151]
12417         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
12418         argument to itself before returning result.
12419         (__ieee754_y0l): Likewise.
12420         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12421         (__ieee754_y1l).
12423         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
12424         (atan_test_data): Likewise.
12425         (ceil_test_data): Likewise.
12426         (cos_test_data): Likewise.
12427         (cosh_test_data): Likewise.
12428         (erf_test_data): Likewise.
12429         (exp2_test_data): Likewise.
12430         (fabs_test_data): Likewise.
12431         (floor_test_data): Likewise.
12432         (ilogb_test_data): Likewise.
12433         (j0_test_data): Likewise.
12434         (j1_test_data): Likewise.
12435         (jn_test_data): Likewise.
12436         (lgamma_test_data): Likewise.
12437         (lrint_test_data): Likewise.
12438         (llrint_test_data): Likewise.
12439         (logb_test_data): Likewise.
12440         (lround_test_data): Likewise.
12441         (llround_test_data): Likewise.
12442         (nearbyint_test_data): Likewise.
12443         (rint_test_data): Likewise.
12444         (round_test_data): Likewise.
12445         (sin_test_data): Likewise.
12446         (sincos_test_data): Likewise.
12447         (sinh_test_data): Likewise.
12448         (sqrt_test_data): Likewise.
12449         (tan_test_data): Likewise.
12450         (tanh_test_data): Likewise.
12451         (tgamma_test_data): Likewise.
12452         (trunc_test_data): Likewise.
12453         (y0_test_data): Likewise.
12454         (y1_test_data): Likewise.
12455         (yn_test_data): Likewise.
12457         * math/libm-test.inc: Update comment about NaN testing.
12458         (TEST_SNAN): New macro.
12459         (snan_value): Likewise.
12460         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12461         (fpclassify_test_data): Add sNaN tests.
12462         (isfinite_test_data): Likewise.
12463         (isinf_test_data): Likewise.
12464         (isnan_test_data): Likewise.
12465         (isnormal_test_data): Likewise.
12466         (issignaling_test_data): Likewise.
12467         (signbit_test_data): Likewise.
12468         * math/gen-libm-test.pl (%beautify): Add snan_value.
12469         (show_exceptions): Add argument $test_snan.
12470         (parse_args): Handle snan_value as non-finite.  Update call to
12471         show_exceptions.
12472         * math/Makefile (libm-test-no-inline-cflags): Add
12473         -fsignaling-nans.
12475 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12477         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12478         (CFLAGS-oldsendmsg.c): Add rule.
12479         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12480         Correct recvmsg symbol name.
12481         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12482         Likewise.
12484 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12486         * sysdeps/unix/sysv/linux/Makefile
12487         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12488         oldsendmmsg.
12489         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12490         sendmmsg.
12491         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12492         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12493         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12494         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12496         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12497         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12499         Likewise.
12500         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12501         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12502         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12503         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12504         iovlen and controllen fields to adjust to POSIX specification.
12505         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12507         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12508         and change to correct expected type.
12509         (msghdr.msg_controllen): Likewise.
12510         (cmsghdr.cmsg_len): Likewise.
12511         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12512         expected POSIX assumption about the size.
12513         (msghdr.msg_controllen): Likewise.
12514         (msghdr.__glibc_reserved1): Likewise.
12515         (msghdr.__glibc_reserved2): Likewise.
12516         (cmsghdr.cmsg_len): Likewise.
12517         (cmsghdr.__glibc_reserved1): Likewise.
12518         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12519         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12520         (CFLAGS-sendmsg.c): Remove rule.
12521         (CFLAGS-recvmsg.c): Likewise.
12522         (CFLAGS-oldsendmsg.c): Add rule.
12523         (CFLAGS-oldrecvmsg.c): Likewise.
12524         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12525         recvmsg and sendmsg.
12526         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12527         Likewise.
12528         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12529         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12530         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12531         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12532         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12533         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12534         Likewise.
12535         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12536         Likewise.
12537         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12538         Likewise.
12539         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12540         Likewise.
12541         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12542         Likewise.
12543         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12544         Likewise.
12545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12546         (GLIBC_2.24): Likewise.
12547         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12548         Likewise.
12549         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12550         Likewise.
12551         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12552         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12553         Likewise.
12554         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12555         Likewise.
12556         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12559         (GLIBC_2.24): Likewise.
12560         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12561         Likewise.
12562         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12563         Likewise.
12564         * sysdeps/unix/sysv/linux/Makefile
12565         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12566         (CFLAGS-sendmsg.c): Add rule.
12567         (CFLAGS-recvmsg.c): Likewise.
12568         (CFLAGS-oldsendmsg.c): Likewise.
12569         (CFLAGS-oldrecvmsg.c): Likewise.
12570         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12571         initialization.
12572         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12573         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12574         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12575         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12576         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12577         iovlen and controllen fields to adjust to POSIX specification.
12578         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12579         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12580         added recvmsg and sendmsg.
12581         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12582         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12583         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12584         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12585         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12586         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12587         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12588         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12589         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12590         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12592         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12594         Likewise.
12595         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12597         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12598         Likewise.
12599         Likewise.
12600         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12601         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12602         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12603         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12604         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12605         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12609         Likewise.
12610         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12611         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12613         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12614         from auto-generation.
12615         (sendmsg): Likewise.
12616         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12617         (sendmsg): Likewise.
12618         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12619         (sendmsg): Likewise.
12620         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12621         (sendmsg): Likewise.
12622         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12623         (sendmsg): Likewise.
12624         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12625         (sendmsg): Likewise.
12626         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12627         Likewise.
12628         (sendmsg): Likewise.
12629         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12630         (sendmsg): Likewise.
12631         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12633         Remove.
12634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12635         Likewise.
12636         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12637         Undefine.
12638         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12639         Likewise.
12640         * sysdeps/unix/sysv/linux/kernel-features.h
12641         (__ASSUME_SENDMSG_SYSCALL): Define.
12642         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12643         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12644         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12645         Remove.
12646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12647         Likewise.
12648         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12649         Undefine.
12650         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12651         Likewise.
12652         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12654         Remove.
12655         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12656         Likewise.
12657         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12658         Undefine.
12659         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12660         Likewise.
12661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12662         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12663         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12664         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12665         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12666         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12667         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12668         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12669         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12671 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12673         * stdlib/gen-tst-strtod-round.c: Add backslash to
12674         compile command in comment.
12675         (printfp): Remove the literal suffix, and define an infinite
12676         value as INF to avoid expansion clash with INFINITY.
12677         (round_str): Remove the literal suffix.
12678         (round_for_all): Likewise, remove the now duplicate ldbl-64
12679         entry, and remove some magic constants.
12681         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12682         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12683         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12684         (_CONCAT): New macro.
12685         (CONCAT): Likewise.
12686         (CHOOSE_ld): Likewise.
12687         (CHOOSE_f): Likewise.
12688         (CHOOSE_d): Likewise.
12689         (FTYPE_MEMBER): Likewise.
12690         (BOOL_MEMBER): Likewise.
12691         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12692         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12693         (_XNTRY): Likewise.
12694         (XNTRY): Likewise.
12695         (_ENTRY): Likewise.
12696         (ENTRY): Likewise.
12697         (test_exactness): Generate members via macro.
12698         (test_results): Likewise.
12699         (test): Update members.
12700         (TEST): Redefine using new macros.
12701         (INF): New macro.
12702         (fetestmodes): New structure.
12703         (do_test): Refactor to be type generic.
12704         (test_in_one_mode): Refactor duplicate code into
12705         (GEN_ONE_TEST): New macro.
12707         * stdlib/tst-strtod-round-data.h: Regenerate.
12709         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12710         Extend to pass additional arbitrary parameters to
12711         generators.
12713 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12715         [BZ #15479]
12716         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12717         floating-point state after first floating-point operation on
12718         input.  Restore full floating-point state instead of just rounding
12719         mode.
12720         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12721         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12722         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12723         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12724         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12726         [BZ #15479]
12727         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12728         floating-point state after first floating-point operation on
12729         input.  Restore full floating-point state instead of just rounding
12730         mode.
12731         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12732         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12733         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12734         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12735         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12737 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12739         [BZ #19727]
12740         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12741         valid high surrogate.
12742         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12743         of an utf16 surrogate.
12744         * iconv/gconv_simple.c (BODY): Likewise.
12745         * iconvdata/bug-iconv12.c: New file.
12746         * iconvdata/Makefile (tests): Add bug-iconv12.
12748 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12750         [BZ #19726]
12751         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12752         outptrp in case of an illegal input.
12753         * iconv/tst-iconv6.c: New file.
12754         * iconv/Makefile (tests): Add tst-iconv6.
12756 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12758         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12759         an error in case of a value in range of an utf16 low surrogate.
12761 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12763         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12764         an error in case of a value in range of an utf16 low surrogate.
12766 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12768         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12769         Move to ...
12770         * sysdeps/s390/Makefile: ... here.
12771         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12772         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12773         (BRANCH_ON_COUNT): New define.
12774         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12775         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12776         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12777         run on s390-32, too.
12778         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12779         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12780         run on s390-32, too.
12781         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12782         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12783         run on s390-32, too.
12785 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12787         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12788         etf3eh or new vector loop-variant.
12790 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12792         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12793         etf3eh or new vector loop-variant.
12795 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12797         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12798         or new vector loop-variant.
12800 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12802         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12803         Rename to TR_LOOP and usage of tr instead of troo instruction.
12805 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12807         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12808         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12810 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12812         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12813         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12814         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12815         New override define.
12816         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12818 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12820         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12821         * sysdeps/s390/configure.ac: Add test for S390 vector register
12822         support in gcc.
12823         * sysdeps/s390/configure: Regenerated.
12825 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12827         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12828         Install file from $(objpfx)gconv-modules.
12829         ($(objpfx)gconv-modules): Concatenate architecture specific file
12830         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12831         * sysdeps/s390/gconv-modules: New file.
12832         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12833         Deleted.
12834         ($(objpfx)gconv-modules-s390): Deleted.
12835         (sysdeps-gconv-modules): New variable.
12837 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12839         [BZ #15479]
12840         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12841         of immediate operand to rounding instruction.
12842         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12843         Likewise.
12844         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12845         Likewise.
12846         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12847         Likewise.
12849 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12851         * math/libm-test.inc (MIN_EXP): Directly define as
12852         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12854 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12856         * math/libm-test.inc (MANT_DIG): Directly define as
12857         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12859 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12861         * stdlib/gen-tst-strtod-round.c (main):
12862           Change usage to more closely match the generated
12863           output.  Add usage and compilation instructions.
12864           (string_to_fp): Add and use FILE* parameter as
12865           output target.
12866           (print_fp): Likewise.
12867           (round_str): Likewise.
12868           (round_for_all): Likewise.
12869         * stdlib/tst-strtod-round.c (tests): Move into
12870         * stdlib/tst-strtod-round-data.h: New file.
12872 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12874         [BZ #15479]
12875         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12876         (__round): Do not force "inexact" exception.
12877         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12878         variable.
12879         (__round): Do not force "inexact" exception.
12880         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12881         (__roundf): Do not force "inexact" exception.
12882         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12883         (__roundl): Do not force "inexact" exception.
12884         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12885         (__roundl): Do not force "inexact" exception.
12886         * math/libm-test.inc (round_test_data): Do not allow spurious
12887         "inexact" exceptions.
12889         [BZ #15479]
12890         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12891         exception in comment.
12892         (huge): Remove variable.
12893         (__floor): Do not force "inexact" exception.
12894         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12895         "inexact" exception in comment.
12896         (huge): Remove variable.
12897         (__floor): Do not force "inexact" exception.
12898         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12899         exception in comment.
12900         (huge): Remove variable.
12901         (__floorf): Do not force "inexact" exception.
12902         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12903         exception in comment.
12904         (huge): Remove variable.
12905         (__floorl): Do not force "inexact" exception.
12907         [BZ #15479]
12908         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12909         exception in comment.
12910         (huge): Remove variable.
12911         (__ceil): Do not force "inexact" exception.
12912         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12913         "inexact" exception in comment.
12914         (huge): Remove variable.
12915         (__ceil): Do not force "inexact" exception.
12916         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12917         (__ceilf): Do not force "inexact" exception.
12918         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12919         exception in comment.
12920         (huge): Remove variable.
12921         (__ceill): Do not force "inexact" exception.
12923 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12925         * config.h.in (BIND_NOW): New.
12926         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12927         * configure: Regenerated.
12928         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12929         indirect branch via the GOT slot.
12931 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12933         [BZ #19765]
12934         * sysdeps/s390/mempcpy.S: New File.
12935         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12937         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12938         Add mempcpy variants.
12939         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12940         (memcpy): Adjust to be usable from mempcpy entry point.
12941         (__memcpy_mvcle): Likewise.
12942         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12943         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12944         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12945         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12946         (__memcpy_z10): Likewise.
12947         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12949 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12951         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12952         Remove __GI_ symbol.
12953         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12954         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12955         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12956         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12957         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12958         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12960 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12962         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12963         Use cghi instead of chi to compare 64bit value.
12965 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12967         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12968         Jump to 1MB check before executing mvc-loop.
12970 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12972         [BZ #6527]
12973         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12974         unconditionally.
12975         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12977 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12979         * stdlib/tst-strtod6.c (do_test): Use new type generic
12980         invocation of the test function.
12981         (test): Refactor into ...
12982         (TEST_STRTOD): New macro base function.
12984 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12986         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12987         (TEST_STRTOD): New macro.
12988         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12990 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12992         * stdlib/tst-strtod6.c (do_test): Use new type generic
12993         invocation of the test function.
12994         (test): Refactor into ...
12995         (TEST_STRTOD): New macro base function.
12997 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12999         CVE-2016-4429
13000         [BZ #20112]
13001         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
13002         payload.
13004 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13006         [BZ #20111]
13007         * bits/sockaddr.h (_SS_SIZE): Define.
13008         * bits/socket.h (_SS_SIZE): Remove.
13009         (_SS_PADSIZE): Adjust to account for all padding.
13010         (struct sockaddr_storage): Update comment.  Avoid implicit
13011         padding.
13012         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
13013         (_SS_PADSIZE): Adjust to account for all padding.
13014         (struct sockaddr_storage): Update comment.  Avoid implicit
13015         padding.
13016         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
13017         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
13018         (_SS_PADSIZE): Adjust to account for all padding.
13019         (struct sockaddr_storage): Update comment.  Avoid implicit
13020         padding.
13021         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
13022         __SS_SIZE is 126 in this version.
13023         * inet/tst-sockaddr.c: New file.
13024         * inet/Makefile (tests): Add tst-sockaddr.c
13025         (tst-sockaddr.c): Compile with non-strict aliasing.
13027 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
13029         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
13030         [XPG3 || XPG4].
13031         (NL_ARGMAX): Also expect for [XPG3].
13032         (NL_LANGMAX): Likewise.
13033         (NL_MSGMAX): Likewise.
13034         (NL_NMAX): Likewise.
13035         (NL_SETMAX): Likewise.
13036         (NL_TEXTMAX): Likewise.
13037         (NZERO): Likewise.
13038         (TMP_MAX): Likewise.
13039         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
13040         variable.
13042         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13043         (PF_MAX): Update value.
13044         (AF_KCM): New macro.
13045         (SOL_NETBEUI): Likewise.
13046         (SOL_LLC): Likewise.
13047         (SOL_DCCP): Likewise.
13048         (SOL_NETLINK): Likewise.
13049         (SOL_TIPC): Likewise.
13050         (SOL_RXRPC): Likewise.
13051         (SOL_PPPOL2TP): Likewise.
13052         (SOL_BLUETOOTH): Likewise.
13053         (SOL_PNPIPE): Likewise.
13054         (SOL_RDS): Likewise.
13055         (SOL_IUCV): Likewise.
13056         (SOL_CAIF): Likewise.
13057         (SOL_ALG): Likewise.
13058         (SOL_NFC): Likewise.
13059         (SOL_KCM): Likewise.
13060         (MSG_BATCH): New enum value and macro.
13062 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13064         [BZ #18185]
13065         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13066         sharing L2 cache to 2 for Knights Landing.
13068 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13070         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13071         (FTW_DP): Do not expect for [XPG3 || XPG4].
13072         (FTW_SL): Do not expect for [XPG3].
13073         (FTW_SLN): Likewise.
13074         (FTW_PHYS): Likewise.
13075         (FTW_MOUNT): Likewise.
13076         (FTW_DEPTH): Likewise.
13077         (FTW_CHDIR): Likewise.
13078         (nftw): Likewise.
13079         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13080         variable.
13082 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13084         * manual/errno.texi: Fix various typos & grammar errors.
13086 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13088         * manual/intro.texi: Fix duplicated typo.
13090 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13092         [BZ #13304]
13093         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13094         <float.h>, <math_private.h> and <stdlib.h>.
13095         (add_split): New function.
13096         (mul_split): Likewise.
13097         (ext_val): New typedef.
13098         (store_ext_val): New function.
13099         (mul_ext_val): New function.
13100         (compare): New function.
13101         (add_split_ext): New function.
13102         (__fmal): After checking for Inf, NaN and zero, compute result as
13103         an exact sum of scaled double values in round-to-nearest before
13104         adding those up and adjusting for other rounding modes.
13105         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13106         tests of fma.
13107         * math/auto-libm-test-out: Regenerated.
13109 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13111         [BZ #20119]
13112         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13113         processor level type mask for CPUID with EAX == 11.
13115 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13117         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13118         logical threads if the HTT bit is 0.
13119         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13120         (index_cpu_HTT): Likewise.
13121         (reg_HTT): Likewise.
13123 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13125         [BZ #20115]
13126         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13127         Remove alignments on jump targets.
13129 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13131         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13132         (getpwent): Likewise.
13133         (setpwent): Likewise.
13134         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13135         variable.
13137         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13138         (remque): Likewise.
13139         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13140         variable.
13142 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13144         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13145         not being tested.
13147 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13149         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13150         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13151         call.
13152         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13153         (__condvar_cleanup1): Likewise.
13155 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13157         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13158         New
13159         (__pthread_unwind): Renamed to ...
13160         (PTHREAD_UNWIND): This.
13161         (__pthread_enable_asynccancel): Replace
13162         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13164 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13166         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13167         (CLONE_NEWCGROUP): New macro.
13169         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13170         (Q_GETNEXTQUOTA): New macro.
13172 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13174         [BZ #19907]
13175         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13176         buffer updated by the previous run.
13177         * string/test-memcpy.c (do_one_test): Likewise.
13178         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13179         * string/test-memmove.c (do_one_test): Likewise.
13181 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13183         [BZ #20094]
13184         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13185         not [__USE_XOPEN].
13186         (unlockpt): Likewise.
13187         (ptsname): Likewise.
13188         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13189         variable.
13191         [BZ #20076]
13192         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13193         instead of [__USE_UNIX98].
13194         (S_ISSOCK): Likewise.
13195         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13196         variable.
13198         [BZ #20074]
13199         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13200         [__USE_POSIX].
13201         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13202         variable.
13204         [BZ #20051]
13205         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13206         (ttyslot): Do not declare.
13207         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13208         (ttyslot): New prototype.
13209         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13210         variable.
13211         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13213 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13215         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13217 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13219         Fix race condition in tst-mallocfork2, use fewer resources.
13220         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13221         to current process group.
13222         (signal_sender): Yield in the non-sleeping case.
13224 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13226         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13227         (ecvt): Likewise.
13228         (fcvt): Likewise.
13229         (gcvt): Likewise.
13230         (getsubopt): Likewise.
13231         (grantpt): Likewise.
13232         (initstate): Likewise.
13233         (l64a): Likewise.
13234         (mktemp): Likewise.
13235         (mkstemp): Likewise.
13236         (ptsname): Likewise.
13237         (random): Likewise.
13238         (realpath): Likewise.
13239         (setstate): Likewise.
13240         (srandom): Likewise.
13241         (ttyslot): Likewise.
13242         (unlockpt): Likewise.
13243         (valloc): Likewise.
13245         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13246         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13247         variable.
13249 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13251         [BZ #20072]
13252         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13253         init_cpu_features only if SHARED is defined.
13254         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13256 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13258         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13259         non-inclusive caches on Intel processors.
13261 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13263         * malloc/malloc.c (dumped_main_arena_start)
13264         (dumped_main_arena_end): New variables.
13265         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13266         (do_check_chunk): Skip dumped fake mmapped chunks.
13267         (munmap_chunk): Likewise.
13268         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13269         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13270         mmapped chunks.
13271         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13272         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13273         and dumped_main_arena_end to cover the dumped heap.
13275 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13277         * conform/data/time.h-data (getdate_err): Do not expect for
13278         [XPG3].
13279         (getdate): Likewise.
13280         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13281         variable.
13283         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13284         (F_ULOCK): Likewise.
13285         (F_TEST): Likewise.
13286         (F_TLOCK): Likewise.
13287         (useconds_t): Likewise.
13288         (intptr_t): Do not expect for [XPG3] or [XPG4].
13289         (brk): Do not expect for [XPG3]
13290         (fchown): Likewise.
13291         (fchdir): Likewise.
13292         (ftruncate): Likewise.
13293         (getdtablesize): Likewise.
13294         (gethostid): Likewise.
13295         (getpagesize): Likewise.
13296         (getpgid): Likewise.
13297         (getsid): Likewise.
13298         (getwd): Likewise.
13299         (lchown): Likewise.
13300         (lockf): Likewise.
13301         (readlink): Likewise.
13302         (sbrk): Likewise.
13303         (setpgrp): Likewise.
13304         (setregid): Likewise.
13305         (setreuid): Likewise.
13306         (symlink): Likewise.
13307         (sync): Likewise.
13308         (truncate): Likewise.
13309         (ualarm): Likewise.
13310         (usleep): Likewise.
13311         (vfork): Likewise.
13312         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13313         variable.
13315         [BZ #20054]
13316         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13317         not [__USE_UNIX98].
13318         * conform/data/unistd.h-data (gethostname): Do not expect for
13319         [XPG3].
13321         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13322         [!POSIX] (S_IFBLK): Likewise.
13323         [!POSIX] (S_IFCHR): Likewise.
13324         [!POSIX] (S_IFIFO): Likewise.
13325         [!POSIX] (S_IFREG): Likewise.
13326         [!POSIX] (S_IFDIR): Likewise.
13327         [!POSIX] (S_IFLNK): Likewise.
13328         [!POSIX] (S_IFSOCK): Likewise.
13329         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13330         variable.
13331         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13333 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13335         * sysdeps/aarch64/memset.S (__memset):
13336         Rewrite of optimized memset.
13338 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13340         [BZ #19703]
13341         Partially async-signal-safe fork for single-threaded processes.
13342         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13343         variable.  Do not acquire and reset/release malloc and libio locks
13344         in single-threaded processes.
13345         * malloc/tst-mallocfork2.c: New file.
13346         * malloc/Makefile (tests): Add it.
13348 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13350         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13351         argument.  Use scratch buffer instead of extend_alloca.
13352         (gethosts): Use scratch buffer instead of extend_alloca.
13353         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13354         extend_alloca.
13355         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13357 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13359         [BZ #20055]
13360         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13361         instead of [__USE_UNIX98].
13362         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13363         [__USE_UNIX98].
13364         * conform/data/termios.h-data (tcgetsid): Do not expect for
13365         [XPG3].
13366         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13367         variable.
13368         (test-xfail-XPG4/termios.h/conform): Likewise.
13370 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13372         Do not use mcheck in localedef.
13373         * locale/programs/localedef.c (turn_on_mcheck)
13374         (__malloc_initialize_hook): Remove.
13376 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13378         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
13379         * sysdeps/s390/s390-64/Makefile: Likewise.
13381 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13383         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
13384         Remove ifunc-defines.sym.
13385         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
13386         Likewise.
13387         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
13388         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13389         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
13390         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
13391         rtld-global-offsets.sym.
13392         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
13393         * sysdeps/x86/cpu-features-offsets.sym: This.
13394         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
13395         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
13397 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
13399         [BZ #20073]
13400         * io/sys/stat.h (fchmod): Declare for
13401         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
13402         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
13403         variable.
13405         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
13406         [XPG3] (S_IFSOCK): Likewise.
13407         [XPG3] (S_ISVTX): Likewise.
13408         [XPG3] (S_ISLNK): Likewise.
13409         [XPG3] (S_ISSOCK): Likewise.
13410         [XPG3] (fchmod): Likewise.
13411         [XPG3] (lstat): Likewise.
13412         [XPG3] (mknod): Likewise.
13414         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13415         [XPG3].  Expect type long and XFAIL for [XPG4].
13416         (st_blocks): Likewise.
13418         [BZ #20044]
13419         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
13420         (pthread_atfork): New prototype.
13421         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
13422         variable.
13424         [BZ #20043]
13425         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
13426         prototype.
13428 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13430         [BZ #20017]
13431         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
13432         gmtime.
13434 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13436         [BZ #19994]
13437         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
13438         flag in _res.options.
13440 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
13442         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
13443         [XPG3 || XPG4].
13444         (blksize_t): Likewise.
13445         (clockid_t): Likewise.
13446         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
13447         variable.
13448         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13450 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13452         * sysdeps/unix/sysv/linux/s390/init-first.c:
13453         Add VDSO_SYMBOL(getcpu).
13454         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
13455         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13456         Add VDSO_SYMBOL(getcpu).
13457         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13458         New define HAVE_GETCPU_VSYSCALL.
13459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13461 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13463         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13464         instead of <sysdeps/x86_64/cacheinfo.c>.
13465         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13466         * sysdeps/x86/cacheinfo.c: Here.
13468 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13470         * malloc/malloc-internal.h: Adjust header file guard.
13472 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13474         [BZ #19787]
13475         * inet/getnameinfo.c (check_sprintf_result): New function.
13476         (CHECKED_SNPRINTF): New macro.
13477         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13478         to the host buffer.
13479         (gni_host_local): Use checked_copy to copy the host name.
13480         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13481         (gni_serv_local): Use checked_copy to copy the service name.
13482         (getnameinfo): Remove unnecessary truncation of result buffers.
13484 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13486         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13487         in case of inet_ntop failure.
13489 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13491         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13492         avoid long lines.
13493         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13494         variables.
13495         (gni_host_inet, gni_host_local): Add comment.
13496         (gni_host): Add comment.  Use temporary to avoid long lines.
13498 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13500         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13501         registers specifiers where general purpose registers specifiers should
13502         have been used.
13504 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13506         [BZ #19779]
13507         CVE-2016-1234
13508         Avoid copying names of directory entries.
13509         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13510         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13511         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13512         (struct readdir_result): New type.
13513         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13514         (GL_READDIR): New macros.
13515         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13516         (convert_dirent, convert_dirent64): New functions.
13517         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13518         convert_dirent64.  Adjust references to the readdir result.
13519         * sysdeps/unix/sysv/linux/i386/glob64.c:
13520         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13521         * posix/bug-glob2.c (LONG_NAME): Define.
13522         (filesystem): Add LONG_NAME.
13523         (my_DIR): Increase the size of room_for_dirent.
13525 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13527         [BZ #20041]
13528         * misc/sys/select.h (__need_timespec): Only define if
13529         [__USE_XOPEN2K].
13530         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13531         variable.
13532         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13533         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13534         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13536 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13537             Segher Boessenkool  <segher@gcc.gnu.org>
13539         [BZ #20004]
13540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13541         (__novec_swapcontext): Add missing load.
13543 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13545         [BZ #20023]
13546         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13547         <time.h>.
13548         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13549         variable.
13550         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13552 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13555         flags CLONE_VM compare.
13557 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13559         [BZ #20031]
13560         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13561         completely empty.
13563 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13565         [BZ #19573]
13566         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13567         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13568         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13569         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13570         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13571         (hesiod_free_list): Mark as hidden.
13572         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13573         res_set, res_get.
13574         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13575         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13576         (hesiod_init): Remove obsolete res_ninit call.
13577         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13578         (hesiod_bind): Do not call init.
13579         (get_txt_records): Use res_mkquery, res_send instead of
13580         res_nmkquery, res_nsend.
13581         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13582         instead of _nss_hesiod_init.
13583         (_nss_hesiod_initgroups_dyn): Likewise.
13584         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13585         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13586         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13588 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13590         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13591         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13593 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13595         * hesiod/hesiod.h: Remove RCS keyword.
13596         * hesiod/hesiod_p.h: Likewise.
13598         * hesiod/hesiod.c: Likewise.
13600 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13602         [BZ #12450]
13603         * locale/iso-639.def: Add Samogitian/sgs.
13605 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13607         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13609         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13611 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13612             Carlos O'Donell  <carlos@redhat.com>
13614         [BZ #19072]
13615         * grp/Makefile (headers): Add grp-merge.h
13616         (routines): Add grp-merge.
13617         * grp/getgrgid_r.c: Include grp-merge.h.
13618         (DEEPCOPY_FN): Define.
13619         (MERGE_FN): Define.
13620         * grp/getgrname_r.c: Include grp-merge.h.
13621         (DEEPCOPY_FN): Define.
13622         (MERGE_FN): Define.
13623         * grp/grp-merge.c: New file.
13624         * grp/grp-merge.h: New file.
13625         * include/grp-merge.h: New file.
13626         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13627         __copy_grp@GLIBC_PRIVATE.
13628         * manual/nss.texi (Actions in the NSS configuration): Describe
13629         return, continue, and merge.
13630         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13631         (DEEPCOPY_FN): Define.
13632         (MERGE_FN): Define.
13633         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13634         (DEEPCOPY_FN): Define.
13635         (MERGE_FN): Define.
13636         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13637         [!MERGE_FN]: Define __merge_einval.
13638         (CHECK_MERGE): Define.
13639         (REENTRANT_NAME): Process merge if do_merge is true.
13640         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13641         (__nss_getent_r): Likewise.
13642         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13643         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13645 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13647         [BZ #20012]
13648         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13649         length to calculate the buffer to read.
13650         (fmemopen_write): Set the buffer position based on bytes written.
13651         (fmemopen_seek): Return EINVAL for invalid whence modes.
13653         [BZ #19957]
13654         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13655         tst-getpid2.
13656         (test): Add tst-clone2.
13657         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13658         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13659         pid/tid fields for CLONE_VM.
13660         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13661         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13662         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13663         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13664         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13665         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13666         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13667         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13669         Likewise.
13670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13671         Likewise.
13672         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13673         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13674         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13675         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13676         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13677         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13678         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13679         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13681 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13683         [BZ #19642]
13684         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13685         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13686         (gni_serv_local, gni_serv): New functions extracted from
13687         getnameinfo.
13688         (getnameinfo): Call gni_host and gni_serv to perform the
13689         processing.  Always free scratch buffer.
13691 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13693         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13694         remaining bytes in the dest string, with zeros.
13696 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13698         [BZ #20010]
13699         CVE-2016-3706
13700         * sysdeps/posix/getaddrinfo.c
13701         (convert_hostent_to_gaih_addrtuple): New function.
13702         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13703         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13704         AF_INET data.
13706 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13708         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13709         callback function gl_readdir.
13710         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13711         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13712         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13713         memcpy to copy the name.
13714         * manual/pattern.texi (Calling Glob): Document requirements for
13715         implementations of the gl_readdir callback function.
13716         * manual/examples/mkdirent.c: New example.
13717         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13718         per the manual guidance.
13719         * posix/tst-gnuglob.c (my_readdir): Likewise.
13721 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13723         [BZ #20014]
13724         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13725         not [__USE_POSIX].
13726         (getchar_unlocked): Likewise.
13727         (putc_unlocked): Likewise.
13728         (putchar_unlocked): Likewise.
13729         (flockfile): Likewise.
13730         (ftrylockfile): Likewise.
13731         (funlockfile): Likewise.
13732         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13733         variable.
13734         (test-xfail-XPG4/stdio.h/conform): Likewise.
13736         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13737         Expect constant.
13738         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13739         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13740         variable.
13741         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13742         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13744         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13745         [__USE_LARGEFILE64] (off64_t): Likewise.
13746         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13747         variable.
13749 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13751         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13753 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13755         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13756         * resolv/res_init.c: Likewise.
13757         * resolv/res_mkquery.c: Likewise.
13759 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13761         * resolv/res_init.c (isascii): Do not define.  Use definition in
13762         <ctype.h>.
13763         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13764         (LOG_AUTH): Remove.
13765         (SPRINTF): Remove, adjust caller.
13766         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13768 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13770         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13771         SUNSECURITY conditional.
13772         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13774 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13776         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13777         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13778         Remove BSD-related preprocessor conditionals.
13779         * conf/portability.h: Remove.
13781 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13783         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13784         * resolv/res_data.c: Likewise.
13786 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13788         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13789         * resolv/res_data.c: Remove code conditional on ultrix.
13791 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13793         * resolv/res_init.c (RFC1535): Do not define.  Remove
13794         RFC1535 preprocessor conditionals.
13795         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13796         because there configuration options which make the resolver
13797         behavior different.
13799 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13801         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13802         RESOLVSORT preprocessor conditionals.
13803         * resolv/nss_dns/dns-host.c: Likewise.
13804         * resolv/res_init.c: Likewise.
13806 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13808         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13809         is never defined.
13811 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13813         * inet/inet_lnaof.c: Remove SCSS keyword.
13814         * inet/inet_mkadr.c: Likewise.
13815         * inet/inet_net.c: Likewise.
13816         * inet/inet_netof.c: Likewise.
13817         * inet/rcmd.c: Likewise.
13818         * inet/rexec.c: Likewise.
13819         * inet/ruserpass.c: Likewise.
13821 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13823         * resolv/inet_addr.c: Remove _LIBC conditionals.
13824         * resolv/res_data.c: Likewise.
13825         * resolv/res_init.c: Likewise.
13826         * resolv/res_mkquery.c: Likewise.
13827         * resolv/res_libc.c: Update comment.
13828         * resolv/README: Update.
13830 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13832         * resolv/gethnamaddr.c: Remove SCSS keyword.
13833         * resolv/herror.c: Likewise.
13834         * resolv/inet_addr.c: Likewise.
13835         * resolv/inet_net_ntop.c: Likewise.
13836         * resolv/inet_net_pton.c: Likewise.
13837         * resolv/inet_neta.c: Likewise.
13838         * resolv/inet_ntop.c: Likewise.
13839         * resolv/inet_pton.c: Likewise.
13840         * resolv/ns_date.c: Remove RCS keyword.
13841         * resolv/ns_name.c: Likewise.
13842         * resolv/ns_netint.c: Likewise.
13843         * resolv/ns_parse.c: Likewise.
13844         * resolv/ns_print.c: Likewise.
13845         * resolv/ns_samedomain.c: Likewise.
13846         * resolv/ns_ttl.c: Likewise.
13847         * resolv/nsap_addr.c: Likewise.
13848         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13849         * resolv/res_data.c: Remove RCS keyword.
13850         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13851         * resolv/res_init.c: Likewise.
13852         * resolv/res_mkquery.c: Likewise.
13853         * resolv/res_query.c: Likewise.
13854         * resolv/res_send.c: Likewise.
13856 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13858         * conform/data/stdio.h-data (fdopen): Expect also for
13859         [XPG3 || XPG4].
13861         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13862         (fseeko): Likewise.
13863         (ftello): Likewise.
13864         (ftrylockfile): Likewise.
13865         (funlockfile): Likewise.
13866         (getc_unlocked): Likewise.
13867         (getchar_unlocked): Likewise.
13868         (putc_unlocked): Likewise.
13869         (putchar_unlocked): Likewise.
13871 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13873         [BZ #19868]
13874         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13875         DNS packet syntax checks (which were not needed before).  Skip
13876         over non-PTR records.
13878 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13880         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13881         definition.  Include <stddef.h> instead.
13883 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13885         [BZ #19831]
13886         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13887         function.
13888         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13889         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13891 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13893         [BZ #19862]
13894         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13895         (getanswer_r): Do not call syslog.
13896         (gaih_getanswer_slice): Likewise.
13897         * resolv/gethnamaddr.c (AskedForGot): Remove.
13898         (getanswer): Do not call syslog.
13899         (gethostbyaddr): Likewise.
13901 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13903         * conform/data/signal.h-data (union sigval): Expect also if
13904         [XOPEN2K].
13905         (struct sigevent): Likewise.
13906         (SIGEV_NONE): Likewise.
13907         (SIGEV_SIGNAL): Likewise.
13908         (SIGEV_THREAD): Likewise.
13909         (SIGRTMIN): Likewise.
13910         (SIGRTMAX): Likewise.
13911         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13912         variable.
13913         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13915 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13917         [BZ #19830]
13918         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13919         (gaih_getanswer_slice): Likewise.
13920         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13921         Also check for availability of RR metadata.
13923 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13925         [BZ #19825]
13926         * resolv/res_send.c (send_vc): Remove early *resplen2
13927         initialization.  Set *resplen2 on socket error.  Call
13928         close_and_return_error for other errors.
13930 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13932         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13933         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13934         (SCM_IUCV_TRGCLS): New define.
13936 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13938         [BZ #20005]
13939         * libio/fmemopen.c (fmemopen_write): Update internal position after
13940         write.
13941         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13942         * stdio-common/tst-fmemopen4.c: New file..
13944 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13946         [BZ #19996]
13947         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13948         not [__USE_XOPEN2K].
13949         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13950         variable.
13952         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13953         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13954         variable.
13956         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13957         [__USE_XOPEN2K8].
13958         [__USE_LARGEFILE64] (off64_t): Likewise.
13959         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13960         variable.
13962 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13964         [BZ #19989]
13965         * libio/stdio.h (cuserid): Do not declare if
13966         [__USE_XOPEN2K && !__USE_GNU].
13967         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13968         variable.
13970 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13972         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13973         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13975         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13976         ifunc'ed strcspn.
13977         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13978         [EALIGN]: Removed.
13979         [END]: Likewise
13980         [STRSPN]: Define instead of the above to control symbol name.
13981         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13982         New file.
13983         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13984         Likewise.
13985         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13986         Likewise.
13987         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13988         Likewise.
13989         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13990         [INITIAL_MASK]: New macro.
13991         [STRCSPN]: Likewise.
13992         [UPDATE_MASK]: Likewise.
13993         [USE_AS_STRCSPN]: Likewise.
13995 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13997         [BZ #19931]
13998         * stdio-common/tst-vfprintf-width-prec.c: New file.
13999         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
14000         (tests-special): Add tst-vfprintf-width-prec-mem.out.
14001         (generated): Add mtrace-related files.
14002         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
14003         (tst-%-mem.out): New pattern rule, replaces
14004         tst-printf-bz18872-mem.out.
14005         * stdio-common/vfprintf.c (vfprintf): When handling a precision
14006         specifier, deallocate any previously allocated work buffer.
14008 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14010         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
14011         Add nop before __startcontext, add explaining comments.
14013 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
14015         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
14016         any more. Notably since IPV6_PKTINFO has been reintroduced with a
14017         completely different API.
14019         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
14020         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
14021         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
14022         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
14023         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
14024         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
14025         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
14026         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
14027         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
14028         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
14030 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
14032         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
14034 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
14036         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
14037         when it is the default of 0.
14039 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14041         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14042         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14043         (sysdep_routines): Add new strcasestr targets.
14044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14045         (__libc_ifunc_impl_list): Likewise.
14046         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14047         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14048         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14049         * sysdeps/powerpc/powerpc64/power8/Makefile:
14050         New file to add strcasestr-ppc64 to sysdep_routines.
14051         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14052         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14054 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14056         * benchtests/Makefile (wcsmbs-benchset): Include only for
14057         native builds and runs.
14058         (LOCALES): Likewise.
14059         (bench-build): Build timing-type here instead of the bench
14060         target.  Generate locale only for native builds.
14061         * benchtests/README: Add note for cross-building.
14063         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14065         * benchtests/README: Update README to include instructions on
14066         using bench-build.
14068         * Makefile.in (bench-build): New target.
14069         * Rules (PHONY): Add bench-build target.
14070         * benchtests/Makefile (bench): Depend on bench-build.
14071         (bench-build): New target.
14073 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14075         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14076         profil_reply_port.
14077         (profile_waiter): Do not initialize profil_reply_port.
14078         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14079         frequency instead of tick length in us.
14081 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14083         [BZ #18712]
14084         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14085         (__old_mempcpy_small): Likewise.
14086         (__old_strcpy_small): Likewise.
14087         (__old_stpcpy_small): Likewise.
14088         (__old_strpbrk_c2): Fix compat symbol name.
14089         (__old_strpbrk_c3): Likewise.
14090         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14091         (__mempcpy_small): Remove.
14092         (__strcpy_small): Remove.
14093         (__stpcpy_small): Remove.
14095 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14097         [BZ #19400]
14098         * locale/iso-639.def: Add the Talossan/tzl language.
14100 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14102         [BZ #16983]
14103         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14104         comment.  Add "ln" to strchr check on postal_fmt.
14106 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14108         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14109         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14110         tel_dom_fmt.
14112 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14114         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14115         (sysdep_routines): Added __strlen_power8.
14116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14117         __strlen_power8 entry.
14118         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14119         Implementation for POWER8.
14120         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14121         for __strlen_power8.
14122         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14123         Implementation for POWER8.
14125 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14127         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14129 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14131         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14132         Goldmont and Airmont processors.
14134 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14136         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14137         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14138         (__STRING2_SMALL_GET32): Remove.
14139         (memset): Remove.
14140         (__memset_1): Remove.
14141         (__memset_gc): Remove.
14142         (__mempcpy): Remove.
14143         (mempcpy): Remove.
14144         (__mempcpy_args): Remove.
14145         (strchr): Remove.
14146         (strcpy): Remove.
14147         (strcpy_args): Remove.
14148         (__stpcpy_args): Remove.
14149         (__strcmp_cc): Remove.
14150         (__strcmp_gc): Remove.
14151         (strstr): Remove.
14153 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14155         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14156         * nis/nis_call.c (nis_server_cache_add): Likewise.
14158 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14160         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14162 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14164         * malloc/arena.c (__malloc_fork_lock_parent)
14165         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14166         internal_function attribute.
14168 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14170         * stdio-common/printf_fp.c (__printf_fp_l):
14171         Rename ___printf_fp_l to __printf_fp_l and
14172         remove strong alias. Use libc_hidden_def instead
14173         of ldbl_hidden_def macro.
14175 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14177         Remove malloc hooks from fork handler.  They are no longer needed
14178         because malloc runs right before fork, and no malloc calls from
14179         other fork handlers are not possible anymore.
14180         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14181         declarations.
14182         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14183         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14184         (atfork_recursive_cntr): Remove.
14185         (__malloc_fork_lock_parent): Do not override malloc hooks and
14186         thread_arena.
14187         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14188         thread_arena.
14189         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14190         thread_arena instead of save_arena.
14192 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14194         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14195         (thread_atfork, thread_atfork_static): Remove.
14196         * sysdeps/mach/hurd/malloc-machine.h:
14197         (thread_atfork, thread_atfork_static): Remove.
14199 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14201         [BZ #19431]
14202         Run the malloc fork handler as late as possible to avoid deadlocks.
14203         * malloc/malloc-internal.h: New file.
14204         * malloc/malloc.c: Include it.
14205         * malloc/arena.c (ATFORK_MEM): Remove.
14206         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14207         Update comment.
14208         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14209         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14210         Remove outdated comment.
14211         (ptmalloc_init): Do not call thread_atfork.  Remove
14212         thread_atfork_static.
14213         * malloc/tst-malloc-fork-deadlock.c: New file.
14214         * Makefile (tests): Add tst-malloc-fork-deadlock.
14215         (tst-malloc-fork-deadlock): Link against libpthread.
14216         * manual/memory.texi (Aligned Memory Blocks): Update safety
14217         annotation comments.
14218         * sysdeps/nptl/fork.c (__libc_fork): Call
14219         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14220         __malloc_fork_unlock_child.
14221         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14223 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14225         [BZ #19613]
14226         Remove union wait.
14227         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14228         (w_stopsig, w_stopval): Remove.
14229         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14230         stat_loc argument.
14231         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14232         (__WAIT_STATUS_DEFN): Remove.
14233         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14234         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14235         (wait, wait3, wait4): Use int * for the stat_loc argument.
14236         * posix/wait.c (__wait): Likewise.
14237         * posix/wait3.c (__wait3): Likewise.
14238         * posix/wait4.c (__wait4): Likewise.
14239         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14240         (__WAIT_STATUS_DEFN): Remove.
14241         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14242         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14243         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14244         argument.
14245         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14246         * sysdeps/posix/wait3.c (__wait3): Likewise.
14247         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14248         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14249         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14250         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14251         stat_loc argument.
14252         * manual/process.texi (BSD Wait Functions): Remove union wait.
14254 2016-04-13  Andreas Schwab  <schwab@suse.de>
14256         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14257         (test-extras): Add tst-tlsalign-vars.
14258         * math/Makefile: Wrap long lines.
14259         (libm-vec-test-wrappers): Define.
14260         (test-extras): Add $(libm-vec-test-wrappers).
14261         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14262         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14263         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14264         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14265         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14266         (extra-test-objs): Add corresponding objects.
14268 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14270         [BZ #19928]
14271         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14272         New.
14273         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14274         times of shared cache size.
14275         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14276         (VMOVNT): New.
14277         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14278         (VMOVNT): Likewise.
14279         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14280         (VMOVNT): Likewise.
14281         (VMOVU): Changed to movups for smaller code sizes.
14282         (VMOVA): Changed to movaps for smaller code sizes.
14283         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14284         comments.
14285         (PREFETCH): New.
14286         (PREFETCH_SIZE): Likewise.
14287         (PREFETCHED_LOAD_SIZE): Likewise.
14288         (PREFETCH_ONE_SET): Likewise.
14289         Rewrite to use forward and backward loops, which move 4 vector
14290         registers at a time, to support overlapping addresses and use
14291         non temporal store if size is above the threshold and there is
14292         no overlap between destination and source.
14294 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14296         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14297         Include dl-vdso.
14298         * sysdeps/unix/sysv/linux/mips/Versions: Add
14299         __vdso_clock_gettime.
14300         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14301         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14302         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14303         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14304         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14305         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14306         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14307         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14308         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14310 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14312         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14313         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14316         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14317         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14320         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14322         syscalls generation.
14323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14324         [__NR_pwrite64] (__NR_write): Remove define.
14325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14326         [__NR_pwrite64] (__NR_write): Remove define.
14327         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14328         Remove define.
14329         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14330         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14331         Remove define.
14332         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14333         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14334         Linux implementation as base.
14335         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14337         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14338         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14343         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14344         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14345         syscall generation.
14346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14347         [__NR_pread64] (__NR_pread): Remove define.
14348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14349         [__NR_pread64] (__NR_pread): Likewise.
14350         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14351         define.
14352         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14353         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14354         Remove define.
14355         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14356         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14357         Linux implementation as base.
14358         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14359         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14360         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14362         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14363         definition.
14364         (__ALIGNMENT_COUNT): Likewise.
14365         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14366         (__ALIGNMENT_COUNT): Likewise.
14367         (SYSCALL_LL): New define.
14368         (SYSCALL_LL64): Likewise.
14369         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14370         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14371         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14372         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14374         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14375         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14377         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14378         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14379         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14381 2016-04-11  Florian Weimer  <fweimer@redhat.com>
14383         [BZ #19865]
14384         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
14385         original buffer before retry.
14387 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14389         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
14390         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
14391         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
14392         GLRO(dl_auxv) list.
14393         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
14394         including <ldsodefs.h>.
14395         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
14397 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
14399         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
14400         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
14401         $(CPPFLAGS).
14403 2016-04-09  Khem Raj  <raj.khem@gmail.com>
14405         [BZ #17950]
14406         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
14407         Add -mfpmath=387.
14409 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
14411         * sysdeps/i386/configure.ac: Change == to = when calling test.
14412         * sysdeps/x86_64/configure.ac: Likewise.
14413         * sysdeps/i386/configure: Regenerated.
14414         * sysdeps/x86_64/configure: Likewise.
14416 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
14418         [BZ #16137]
14419         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
14420         * benchtests/bench-strcoll.c (input_files): Likewise.
14421         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14422         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
14423         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
14425 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
14427         [BZ #19929]
14428         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
14429         [__USE_XOPEN2K8 && !__USE_GNU].
14430         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
14431         variable.
14433         [BZ #19925]
14434         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
14435         define if [!__USE_MISC && __USE_XOPEN2K].
14436         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
14437         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
14438         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
14439         Likewise.
14440         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
14441         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
14442         variable.
14443         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14445 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14447         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14448         (sysdep_routines): Add new strspn targets.
14449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14450         (__libc_ifunc_impl_list): Add strspn.
14451         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14452         New file.
14453         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
14454         Likewise.
14455         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14456         Likewise.
14457         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14458         Likewise.
14460 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14462         * misc/hsearch_r.c: Include <limits.h>.
14464 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14466         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14468 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14470         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14471         (MEMCPY_SYMBOL): New.
14472         (MEMPCPY_SYMBOL): Likewise.
14473         (MEMMOVE_CHK_SYMBOL): Likewise.
14474         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14475         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14476         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14477         Provide alias for memcpy in libc.a and ld.so.
14479 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14481         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14482         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14483         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14484         Disabled fro now.
14485         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14486         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14488 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14490         * benchtests/Makefile (string-benchset): Add memcpy-large,
14491         memmove-large and memset-large.
14492         * benchtests/bench-memcpy-large.c: New file.
14493         * benchtests/bench-memmove-large.c: Likewise.
14494         * benchtests/bench-memmove-large.c: Likewise.
14495         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14497 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14499         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14500         32-bit displacement to avoid long nop between instructions.
14502 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14504         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14505         a comment on VMOVU and VMOVA.
14507 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14509         [BZ #19633]
14510         Use specified locale for number formatting in strfmon_l.
14511         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14512         (__nl_lookup_word): New inline functions.
14513         * include/printf.h (__print_fp_l): Declare.
14514         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14515         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14516         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14517         (___printf_fp): New function.
14518         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14519         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14520         * stdlib/tst-strfmon_l.c (do_test): New test.
14521         * stdlib/Makefile (tests): Add kt.
14522         (LOCALES): Build additional locales.
14523         (tst-strfmon_l.out): Require locales.
14525 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14527         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14528         if not in libc.
14529         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14530         Likewise.
14531         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14532         Likewise.
14533         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14534         Likewise.
14536 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14538         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14539         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14540         with unaligned_erms.
14541         (__memmove_erms): Skip if source == destination.
14542         (__memmove_unaligned_erms): Don't check source == destination
14543         first.
14545 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14547         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14548         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14550 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14552         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14553         * string/strspn.c (strspn): Likewise.
14555 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14557         * benchtests/bench-memset.c (do_test): Support 64-byte
14558         alignment.
14559         (test_main): Test 64-byte alignment.
14561 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14563         * benchtests/bench-memmove.c (test_main): Test 64-byte
14564         alignment.
14566 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14568         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14570 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14572         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14573         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14574         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14576         * string/strpbrk.c (strpbrk): Rewrite function.
14577         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14578         (__strpbrk_c2): Likewise.
14579         (__strpbrk_c3): Likewise.
14580         * string/string-inlines.c
14581         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14582         Likewise.
14583         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14584         Likewise.
14586         * string/strspn.c (strcspn): Rewrite function.
14587         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14588         (__strspn_c1): Remove inline function.
14589         (__strspn_c2): Likewise.
14590         (__strspn_c3): Likewise.
14591         * string/string-inlines.c
14592         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14593         compatibility symbol.
14594         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14595         Likewise.
14596         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14597         Likewise.
14598         * string/string-inlines.c: Include generic version.
14600 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14601             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14603         * string/Version (libc): Add GLIBC_2.24.
14604         * string/strcspn.c (strcspn): Rewrite function.
14605         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14606         (__strcspn_c1): Remove inline function.
14607         (__strcspn_c2): Likewise.
14608         (__strcspn_c3): Likewise.
14609         * string/string-inline.c
14610         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14611         compatibility symbol.
14612         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14613         Likewise.
14614         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14615         Likewise.
14616         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14618 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14620         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14621         Use ahi instead of aghi to adjust stack pointer.
14623 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14625         [BZ #19853]
14626         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14627         TEST to take significant digits as second parameter.
14628         [TEST]: Redefine in terms of TEST_N taking 30
14629         significant digits.
14630         (do_test): Add test case to demonstrate precision
14631         failure in the ldbl-128ibm printf.
14632         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14633         (__mpn_extract_long_double): Carry 7 extra intermediate
14634         bits of precision to aide computing difference when
14635         signs differ.
14637 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14639         [BZ #19881]
14640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14641         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14642         memset-avx512-unaligned-erms.
14643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14644         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14645         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14646         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14647         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14648         __memset_sse2_unaligned_erms, __memset_erms,
14649         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14650         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14651         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14652         file.
14653         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14654         Likewise.
14655         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14656         Likewise.
14657         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14658         Likewise.
14660 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14662         [BZ #19776]
14663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14664         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14665         memmove-avx512-unaligned-erms.
14666         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14667         (__libc_ifunc_impl_list): Test
14668         __memmove_chk_avx512_unaligned_2,
14669         __memmove_chk_avx512_unaligned_erms,
14670         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14671         __memmove_chk_sse2_unaligned_2,
14672         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14673         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14674         __memmove_avx512_unaligned_erms, __memmove_erms,
14675         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14676         __memcpy_chk_avx512_unaligned_2,
14677         __memcpy_chk_avx512_unaligned_erms,
14678         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14679         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14680         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14681         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14682         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14683         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14684         __mempcpy_chk_avx512_unaligned_erms,
14685         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14686         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14687         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14688         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14689         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14690         __mempcpy_erms.
14691         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14692         file.
14693         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14694         Likewise.
14695         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14696         Likewise.
14697         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14698         Likewise.
14700 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14702         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14703         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14704         (La_s390_64_regs): Likewise.
14705         (La_s390_32_retval): Append vector register lrv_v24.
14706         (La_s390_64_retval): Likeweise.
14707         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14708         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14709         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14710         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14712 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14714         [BZ #19916]
14715         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14716         to create a non-vector/vector version for _dl_runtime_resolve and
14717         _dl_runtime_profile. Move implementation to ...
14718         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14719         (_dl_runtime_resolve) Save and restore fpr/vrs.
14720         (_dl_runtime_profile) Save and restore vrs and fix some issues
14721         if _dl_call_pltexit is called.
14722         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14723         Choose the correct resolver function if running on a machine with vx.
14724         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14725         to create a non-vector/vector version for _dl_runtime_resolve and
14726         _dl_runtime_profile. Move implementation to ...
14727         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14728         (_dl_runtime_resolve) Save and restore fpr/vrs.
14729         (_dl_runtime_profile) Save and restore vrs and fix some issues
14730         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14731         Choose the correct resolver function if running on a machine with vx.
14733 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14735         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14737 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14739         [BZ #19509]
14740         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14741         skip_map != NULL.
14742         * elf/tst-dlsym-error.c: New file.
14743         * elf/Makefile (tests): Add tst-dlsym-error.
14744         (tst-dlsym-error): Link against libdl.
14746 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14748         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14749         (__ASSUME_FUTIMESAT): Remove macro.
14750         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14752 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14754         [BZ #19879]
14755         CVE-2016-3075
14756         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14757         copy name.
14759 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14761         [BZ #19837]
14762         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14763         error if parse_line fails.
14765 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14767         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14768         (index_cpu_ERMS): Likewise.
14769         (reg_ERMS): Likewise.
14771 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14773         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14774         PER_LINUX_FDPIC): Add.
14776 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14779         memcpy-avx512-no-vzeroupper.
14780         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14781         to ...
14782         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14783         (MEMCPY): Don't define.
14784         (MEMCPY_CHK): Likewise.
14785         (MEMPCPY): Likewise.
14786         (MEMPCPY_CHK): Likewise.
14787         (MEMPCPY_CHK): Renamed to ...
14788         (__mempcpy_chk_avx512_no_vzeroupper): This.
14789         (MEMPCPY_CHK): Renamed to ...
14790         (__mempcpy_chk_avx512_no_vzeroupper): This.
14791         (MEMCPY_CHK): Renamed to ...
14792         (__memmove_chk_avx512_no_vzeroupper): This.
14793         (MEMCPY): Renamed to ...
14794         (__memmove_avx512_no_vzeroupper): This.
14795         (__memcpy_avx512_no_vzeroupper): New alias.
14796         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14798 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14800         [BZ #18858]
14801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14802         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14803         and mempcpy-avx512-no-vzeroupper.
14804         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14805         New.
14806         (MEMPCPY): Likewise.
14807         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14808         (MEMPCPY_CHK): New.
14809         (MEMPCPY): Likewise.
14810         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14811         (MEMPCPY): Likewise.
14812         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14813         (MEMPCPY): Likewise.
14814         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14815         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14816         Likewise.
14817         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14818         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14820 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14821              Amit Pawar  <Amit.Pawar@amd.com>
14823         [BZ #19583]
14824         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14825         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14826         processors.  Set Fast_Copy_Backward for AMD Excavator
14827         processors.
14828         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14829         New.
14830         (index_arch_Fast_Unaligned_Copy): Likewise.
14831         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14832         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14834 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14836         [BZ #19791]
14837         * resolv/res_send.c (close_and_return_error): New function.
14838         (send_dg): Initialize *resplen2 after reopen failure.  Call
14839         close_and_return_error for error returns.  On error paths without
14840         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14841         successful return.
14843 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14845         [BZ# 19860]
14846         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14847         zero if the compiler does not provide the AVX512F bit.
14849 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14851         [BZ #19848]
14852         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14853         from 8 to 4.
14854         (__ieee754_powl): Compare integer exponent against 4 not 8.
14855         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14856         from 8 to 4.
14857         (__ieee754_powl): Compare integer exponent against 4 not 8.
14858         * math/auto-libm-test-in: Add more tests of pow.
14859         * math/auto-libm-test-out: Regenerated.
14860         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14863 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14865         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14866         Make code unconditional.
14867         [!__NR_utimensat]: Remove conditional code.
14868         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14869         Make code unconditional.
14870         [!__NR_utimensat]: Remove conditional code.
14871         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14872         Make code unconditional.
14873         [!__NR_utimensat]: Remove conditional code.
14875 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14877         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14878         Make code unconditional.
14880 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14882         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14883         call-clobbered %eax on retry path.
14884         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14886 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14888         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14889         Don't set %rcx twice before "rep movsb".
14891 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14893         [BZ #19583]
14894         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14895         inline.  Check family before setting family, model and
14896         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14897         bits here.
14898         (init_cpu_features): Replace HAS_CPU_FEATURE and
14899         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14900         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14901         for Intel processors with usable AVX2.  Call get_common_indeces
14902         for other processors with family == NULL.
14903         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14904         (CPU_FEATURES_ARCH_P): Likewise.
14905         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14906         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14908 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14910         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14911         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14912         $(shared-thread-library) instead of hardcoding the path to libpthread.
14914 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14916         * sysdeps/unix/sysv/linux/kernel-features.h
14917         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14918         * sysdeps/unix/sysv/linux/getdents.c
14919         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14920         [!have_no_getdents64_defined]: Likewise.
14921         (__GETDENTS): Remove __have_no_getdents64 conditional.
14923 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14925         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14926         Remove macro.
14927         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14928         <kernel-features.h>.
14929         (signalfd) [__NR_signalfd4]: Make code unconditional.
14930         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14932 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14934         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14935         style.
14937 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14939         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14940         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14941         __pthread_unwind.
14942         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14943         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14944         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14945         (__condvar_cleanup1): Likewise.
14947 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14949         [BZ #19822]
14950         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14951         move it to the final $@ location.
14953 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14955         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14956         access where posix_spawn success and pid argument is null.
14957         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14958         success case.
14960 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14962         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14964         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14966         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14967         and __fcntl.
14968         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14969         __fcntl only.
14970         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14971         adding attribute_hidden to __open and __fcntl.
14973         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14974         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14975         depend on libc-modules.h,
14976         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14978 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14980         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14981         Remove macro.
14982         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14983         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14984         entry.
14986         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14987         Remove macro.
14988         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14989         include <kernel-features.h>.
14990         [!__ASSUME_FALLOCATE]: Remove conditional code.
14991         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14993 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14995         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14996         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14997         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14998         (_ZGVdN4v_cos_avx2): Likewise.
14999         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
15000         (_ZGVdN4v_cos): Likewise.
15001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
15002         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
15003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
15004         (_ZGVdN4v_exp_avx2): Likewise.
15005         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
15006         (_ZGVdN4v_exp): Likewise.
15007         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
15008         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
15009         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
15010         (_ZGVdN4v_log_avx2): Likewise.
15011         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
15012         (_ZGVdN4v_log): Likewise.
15013         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
15014         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
15015         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
15016         (_ZGVdN4vv_pow_avx2): Likewise.
15017         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
15018         (_ZGVdN4vv_pow): Likewise.
15019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
15020         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
15021         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
15022         (_ZGVdN4v_sin_avx2): Likewise.
15023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
15024         (_ZGVdN4v_sin): Likewise.
15025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
15026         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
15027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
15028         (_ZGVdN4vvv_sincos_avx2): Likewise.
15029         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
15030         (_ZGVdN4vvv_sincos): Likewise.
15031         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
15032         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
15033         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
15034         (_ZGVbN4v_cosf_sse4): Likewise.
15035         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
15036         (_ZGVdN8v_cosf_avx2): Likewise.
15037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
15038         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
15039         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
15040         (_ZGVbN4v_expf_sse4): Likewise.
15041         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15042         (_ZGVdN8v_expf_avx2): Likewise.
15043         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15044         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15045         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15046         (_ZGVbN4v_logf_sse4): Likewise.
15047         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15048         (_ZGVdN8v_logf_avx2): Likewise.
15049         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15050         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15051         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15052         (_ZGVbN4vv_powf_sse4): Likewise.
15053         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15054         (_ZGVdN8vv_powf_avx2): Likewise.
15055         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15056         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15057         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15058         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15060         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15061         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15062         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15063         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15064         (_ZGVbN4v_sinf_sse4): Likewise.
15065         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15066         (_ZGVdN8v_sinf_avx2): Likewise.
15067         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15068         Use JUMPTARGET to call callee.
15069         (WRAPPER_IMPL_SSE2_ff): Likewise.
15070         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15071         (WRAPPER_IMPL_AVX): Likewise.
15072         (WRAPPER_IMPL_AVX_ff): Likewise.
15073         (WRAPPER_IMPL_AVX_fFF): Likewise.
15074         (WRAPPER_IMPL_AVX512): Likewise.
15075         (WRAPPER_IMPL_AVX512_ff): Likewise.
15076         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15077         Likewise.
15078         (WRAPPER_IMPL_SSE2_ff): Likewise.
15079         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15080         (WRAPPER_IMPL_AVX): Likewise.
15081         (WRAPPER_IMPL_AVX_ff): Likewise.
15082         (WRAPPER_IMPL_AVX_fFF): Likewise.
15083         (WRAPPER_IMPL_AVX512): Likewise.
15084         (WRAPPER_IMPL_AVX512_ff): Likewise.
15085         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15087 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15089         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15090         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15091         qualifier.
15092         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15093         internal_function qualifiers.
15095 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15097         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15098         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15099         * math/atest-exp.c (exp_mpn): Mark chk unused.
15100         * math/atest-exp2.c (exp_mpn): Likewise.
15101         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15102         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15104 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15106         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15107         Remove macro.
15108         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15109         <kernel-features.h>.
15110         [__NR_ppoll]: Make code unconditional.
15111         [!__ASSUME_PPOLL]: Remove conditional code.
15113         * sysdeps/unix/sysv/linux/kernel-features.h
15114         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15115         (__ASSUME_ACCEPT4): Likewise.
15116         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15117         Define.
15118         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15119         Likewise.
15120         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15121         Likewise.
15122         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15123         Likewise.
15124         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15125         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15126         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15127         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15128         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15129         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15131         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15132         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15133         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15134         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15135         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15136         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15138         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15139         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15140         Likewise.
15141         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15142         Likewise.
15143         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15144         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15145         0x040300].
15146         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15147         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15148         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15149         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15150         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15151         0x030300].
15152         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15153         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15154         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15155         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15156         0x040300].
15157         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15158         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15159         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15160         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15161         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15162         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15163         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15164         0x030300].
15165         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15166         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15167         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15169         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15170         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15171         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15172         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15173         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15174         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15175         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15176         0x040300].
15177         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15178         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15179         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15180         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15181         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15183         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15184         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15185         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15187         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15188         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15189         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15190         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15191         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15192         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15194         Likewise.
15195         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15196         Likewise.
15198 2016-03-15  Andreas Schwab  <schwab@suse.de>
15200         [BZ #19257]
15201         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15202         statp->_u._ext.nscount as loop count.
15204 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15206         * math/test-signgam-finite-c99.c: Also #undef
15207         __LIBC_INTERNAL_MATH_INLINES.
15208         * math/test-signgam-main.c: Likewise.
15210 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15212         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15213         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15214         (MADV_FREE): Likewise.
15215         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15216         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15217         EPOLLEXCLUSIVE.
15219 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15221         * timezone/README: Remove mention of checktab.awk. Mention wiki
15222         SharedSourceFiles.
15224 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15226         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15227         WUNTRACED.
15229 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15231         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15232         order to match the type of p when calling atomic_exchange_acq().
15234 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15236         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15237         cfi_offset calls.
15238         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15239         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15240         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15241         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15242         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15244 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15246         * timezone/checktab.awk: Removed.
15248 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15250         * manual/math.texi (Errors in Math Functions): Document relaxed
15251         accuracy goals for IBM long double.
15252         * math/libm-test.inc (test_exceptions): Always allow spurious
15253         "underflow" and "inexact" exceptions for IBM long double.
15255 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15257         [BZ #19762]
15258         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15259         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15260         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15261         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15262         (bit_arch_*): This for feature array.
15263         (bit_*): Renamed to ...
15264         (bit_cpu_*): This for cpu array.
15265         (index_*): Renamed to ...
15266         (index_arch_*): This for feature array.
15267         (index_*): Renamed to ...
15268         (index_cpu_*): This for cpu array.
15269         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15270         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15271         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15272         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15273         bit_##name with index_cpu_##name and bit_cpu_##name.
15274         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15275         bit_##name with index_arch_##name and bit_arch_##name.
15277 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15279         [BZ #19792]
15280         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15281         Terminate FDE before return label.
15283 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15285         [BZ #19790]
15286         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15287         (rintl): Define as macro.
15288         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15289         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15290         of fesetround.  Ensure results are evaluated before end of scope.
15291         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15292         USE_AS_NEARBYINTL and include s_rintl.c.
15293         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15294         Disable exception traps in new environment.
15295         (libc_feholdsetround_ppc_ctx): Likewise.
15297 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15299         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15300         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15301         (tst_audit10_aux) [__AVX512F__]: ... here.
15303 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15305         * include/sys/auxv.h: New file.
15307 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15309         [BZ #19759]
15310         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15312 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15314         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15315         operand modifier.
15316         (feclearexcept): Likewise.
15318 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15320         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15321         to reflect the entire 32-bit HWCAP.
15322         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15323         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15325 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15327         [BZ #19783]
15328         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15329         $(test-via-rtld-prefix).
15330         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15332 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15334         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15335         union wait.  Report any non-zero exit status as error.
15337 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15339         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15340         configured with --enable-hardcoded-path-in-tests.
15342 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15344         [BZ #19677]
15345         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15346         (__ieee754_remainderl): Put zero low parts in canonical form.
15347         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15348         file.  Based on
15349         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15350         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15351         with wrapper round test-fmodrem-ldbl-128ibm.c.
15352         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15353         file.
15354         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15355         Likewise.
15356         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15357         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15359 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15361         [BZ #19610]
15362         * elf/ldconfig.c (opt_link): Update comment.
15363         (options): Update help string for option -X.
15364         (search_dir): Unlink stale symbolic link only if updating symbolic
15365         links.
15366         * elf/tst-ldconfig-X.sh: New file.
15367         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15368         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15370 2016-03-07  Andreas Schwab  <schwab@suse.de>
15372         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15373         needed arguments.
15375 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15377         [BZ #15333]
15378         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
15379         to lstat64.
15381 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15383         * libio/filedoalloc.c (isatty): Remove.
15384         (local_isatty): Add comment.  Call __isatty directly.
15385         (_IO_file_doallocate): Update comment.  Assume _LIBC.
15386         * libio/wfiledoalloc.c (isatty): Remove.
15387         (_IO_wfile_doallocate): Update comment.
15389 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15391         [BZ #19269]
15392         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
15393         tst-audit4-aux.o.
15394         (tst-audit10): Depend on tst-audit10-aux.o.
15395         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
15396         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
15397         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
15398         instead of inline AVX code.
15399         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
15400         instead of inline AVX512 code.
15401         * sysdeps/x86_64/tst-audit4-aux.c: New file
15402         * sysdeps/x86_64/tst-audit10-aux.c: New file
15404         [BZ #19648]
15405         * test-skeleton.c (main): Do not set RLIMIT_DATA.
15407 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15409         [BZ #14750]
15410         [BZ #10354]
15411         [BZ #18433]
15412         * include/sched.h (__clone): Add hidden prototype.
15413         (__clone2): Likewise.
15414         * include/unistd.h (__dup): Likewise.
15415         * posix/Makefile (tests): Add tst-spawn2.
15416         * posix/tst-spawn2.c: New file.
15417         * sysdeps/posix/dup.c (__dup): Add hidden definition.
15418         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
15419         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15420         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15421         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15422         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15423         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
15424         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15425         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
15426         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15427         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15429         Likewise.
15430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15431         Likewise.
15432         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15433         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15434         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15435         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15436         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15437         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15438         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15439         * sysdeps/unix/sysv/linux/nptl-signals.h
15440         (____nptl_is_internal_signal): New function.
15441         * sysdeps/unix/sysv/linux/spawni.c: New file.
15443         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
15444         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
15445         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
15446         * posix/tst-execvp2.c (do_test): Likewise.
15447         * posix/tst-execvp3.c (do_test): Likewise.
15448         * posix/tst-execvp4.c (do_test): Likewise.
15449         * posix/tst-execvpe1.c: New file.
15450         * posix/tst-execvpe2.c: Likewise.
15451         * posix/tst-execvpe3.c: Likewise.
15452         * posix/tst-execvpe4.c: Likewise.
15453         * posix/tst-execvpe5.c: Likewise.
15454         * posix/tst-execvpe6.c: Likewise.
15456         [BZ #19534]
15457         * posix/execl.c (execl): Remove dynamic memory allocation.
15458         * posix/execle.c (execle): Likewise.
15459         * posix/execlp.c (execlp): Likewise.
15461 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15463         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15464         Replace .text with .text.avx512.
15465         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15466         Likewise.
15468 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15470         * sysdeps/generic/libnsl.abilist: New file.
15471         * sysdeps/generic/libutil.abilist: New file.
15473 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15475         [BZ #19762]
15476         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15477         HAS_ARCH_FEATURE with Fast_Rep_String.
15478         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15479         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15480         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15481         Likewise.
15482         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15483         Likewise.
15484         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15485         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15486         Likewise.
15487         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15488         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15489         Likewise.
15491 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15493         [BZ #19745]
15494         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15495         with *%rax in call.
15497 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15499         [BZ #19745]
15500         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15501         with *__libc_start_main@GOTPCREL(%rip) in call.
15503 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15505         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15506         inside conditional for nonempty $(CXX).
15508         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15509         nonempty.
15511         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15512         to test for empty $(CXX) rather than $(CXX) of "no".
15514 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15516         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15518 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15519             H.J. Lu  <hongjiu.lu@intel.com>
15521         [BZ #18880]
15522         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15523         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15524         enable __memcpy_ssse3_back.
15526 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15528         [BZ #19758]
15529         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15530         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15532 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15534         [BZ #19490]
15535         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15536         (__fentry__): Likewise.
15538 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15540         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15541         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15543 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15545         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15546         __mcount_internal directly.
15547         (C_LABEL(__fentry__)): Likewise.
15548         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15549         directly.
15551 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15553         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15554         (__start_context): Call __setcontext directly.
15556 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15558         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15559         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15560         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15561         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15562         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15563         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15564         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15565         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15566         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15567         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15568         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15569         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15570         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15571         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15572         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15573         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15574         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15575         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15576         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15577         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15578         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15579         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15580         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15581         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15582         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15583         Remove conditional code.
15584         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15585         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15586         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15587         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15588         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15589         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15590         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15591         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15592         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15593         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15594         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15595         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15597 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15599         * NEWS (2.23): Fix typo in bug 19048 text.
15601 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15603         [BZ #14259]
15604         * Makeconfig: Rename msgcatdir to localedir.
15605         Rename inst_msgcatdir to inst_localedir.
15606         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15607         * config.make.in: Add localedir.
15608         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15609         (ldd-rewrite): Likewise.
15610         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15611         (install-others): Use inst_localedir.
15612         (CPPFLAGS): Use localedir.
15613         * locale/Makefile (locale-CPPFLAGS): Likewise.
15614         * po/Makefile (mo-installed): Use inst_localedir.
15616         [BZ #19575]
15617         * localedata/charmaps/GB18030: Update comments regarding PAU to
15618         non-PUA mappings.
15620 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15622         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15623         test for header.
15624         * sysdeps/unix/sysv/linux/configure: Regenerated.
15625         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15626         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15627         Remove conditional code.
15628         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15630         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15631         Define to 3.2.0.
15632         (arch_minimum_kernel): Likewise.
15633         * sysdeps/unix/sysv/linux/configure: Regenerated.
15634         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15635         Define to 2.6.32.
15636         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15637         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15638         (arch_minimum_kernel): Define to 2.6.32.
15639         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15640         * README: Document Linux 3.2 requirement.
15641         * manual/install.texi (Linux): Document Linux 3.2 headers
15642         requirement.
15643         * INSTALL: Regenerated.
15645 2016-02-24  Andreas Schwab  <schwab@suse.de>
15647         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15648         if !NO_LONG_DOUBLE.
15650 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15652         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15653         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15655 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15657         [BZ #19512]
15658         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15660 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15662         * posix/tst-dir.c: Include libc-internal.h.
15664 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15666         [BZ #19056]
15667         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15668         * manual/filesys.texi (Reading/Closing Directory): Mention
15669         deprecaion.
15670         * posix/tst-dir.c (main): Disable deprecation warning in test.
15672 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15674         [BZ #19679]
15675         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15676         Renamed to ...
15677         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15678         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15679         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15680         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15681         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15682         * sysdeps/x86_64/dl-trampoline.h
15683         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15684         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15686 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15688         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15690 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15692         * elf/elf.h (R_386_GOT32X): New.
15693         (R_386_NUM): Update.
15694         (R_X86_64_GOTPCRELX: New.
15695         (R_X86_64_REX_GOTPCRELX): New.
15696         (R_X86_64_NUM): Update.
15698 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15700         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15702 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15704         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15705         assign attr->stackaddr to it, and adjust it down when
15706         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15707         [_STACK_GROWS_UP]: Delete assert.
15708         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15709         Implement stack grows up logic.
15710         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15711         stack grows up logic.
15713 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15715         * NEWS: Update with 2.24 template.
15717 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15719         [BZ #19678]
15720         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15721         Ensure +0.0 is returned when taking the next value below the least
15722         positive value.
15724 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15726         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15727         available.  Do not define NO_THREADS.
15728         * malloc/malloc.c: Do not check NO_THREADS.
15729         * malloc/arena.c: Likewise.
15731 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15733         * malloc/malloc.c (__libc_mallinfo): Update comment.
15734         (struct malloc_par): Remove max_total_mem member, it was always 0.
15735         (int_mallinfo): Store 0 into usmblks (no functional change).
15736         * malloc/hooks.c (struct malloc_state): Document that
15737         max_total_mem is always 0.
15738         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15739         always 0.
15740         * manual/memory.texi (Statistics of Malloc): Likewise.
15742 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15744         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15745         * malloc/arena.c (arena_max): Remove.
15746         (heap_trim, _int_new_arena): Do not update arena_max.
15748 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15750         * resolv/res_init.c (res_ninit): Update comment.
15752 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15754         [BZ #19505]
15755         * posix/spawn_int.h: Add headers and include guard.
15756         (__spawn_valid_fd): New function.
15757         * posix/spawn_faction_addopen.c
15758         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15759         * posix/spawn_faction_addclose.c
15760         (posix_spawn_file_actions_addclose): Likewise.
15761         * posix/spawn_faction_adddup2.c
15762         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15763         second file descriptor.
15764         * posix/spawn_valid_fd.c: New file.
15765         * posix/tst-posix_spawn-fd.c: New file.
15766         * posix/Makefile (routines): Add spawn_valid_fd.
15767         (tests): Add tst-posix_spawn-fd.
15769 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15771         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15772         (do_test): Limit the number of arenas, so that we can use fewer
15773         outer threads.  Limit timeout to 3 seconds, in preparation for a
15774         larger TIMEOUT value.
15776 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15778         [BZ #19674]
15779         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15780         sign in overflowing and underflowing results when overflow or
15781         underflow is detected early.  Include sign in result before rather
15782         than after scaling.
15784         [BZ #19603]
15785         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15786         (__ieee754_remainderl): Adjust sign of integer version of low part
15787         when taking absolute value of high part.
15788         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15789         * math/libm-test.inc (remainder_test_data): Add another test.
15790         (remquo_test_data): Likewise.
15792 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15794         [BZ #19602]
15795         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15796         equal high parts and both low parts zero specially.
15797         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15798         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15799         Add test-fmodl-ldbl-128ibm.
15801         [BZ #19595]
15802         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15803         common logic for all cases of shifting subnormal results.  Do not
15804         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15805         exponent to ldbl_insert_mantissa in subnormal case.
15807         [BZ #19594]
15808         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15809         on high and low parts then adjust result and use
15810         ldbl_canonicalize_int if needed.
15812         [BZ #19593]
15813         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15814         on high part and __floor or __ceil on low part then use
15815         ldbl_canonicalize_int if needed.
15817         [BZ #19592]
15818         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15819         high and low parts then use ldbl_canonicalize_int if needed.
15821         [BZ #17899]
15822         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15823         New function.
15824         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15825         on high and low parts then use ldbl_canonicalize_int if needed.
15827 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15829         * configure: Regenerated.
15831         * po/libc.pot: Regenerated.
15833         * po/be.po: Updated translation.
15834         * po/bg.po: Likewise.
15835         * po/ca.po: Likewise.
15836         * po/cs.po: Likewise.
15837         * po/da.po: Likewise.
15838         * po/el.po: Likewise.
15839         * po/eo.po: Likewise.
15840         * po/es.po: Likewise.
15841         * po/fi.po: Likewise.
15842         * po/fr.po: Likewise.
15843         * po/gl.po: Likewise.
15844         * po/hr.po: Likewise.
15845         * po/hu.po: Likewise.
15846         * po/ia.po: Likewise.
15847         * po/id.po: Likewise.
15848         * po/it.po: Likewise.
15849         * po/ja.po: Likewise.
15850         * po/lt.po: Likewise.
15851         * po/nb.po: Likewise.
15852         * po/nl.po: Likewise.
15853         * po/pt_BR.po: Likewise.
15854         * po/rw.po: Likewise.
15855         * po/sk.po: Likewise.
15856         * po/sl.po: Likewise.
15857         * po/sv.po: Likewise.
15858         * po/tr.po: Likewise.
15859         * po/zh_CN.po: Likewise.
15860         * po/zh_TW.po: Likewise.
15862         * version.h (RELEAES): Set to "development".
15863         (VERSION): Set to 2.23.90.
15865         * version.h (RELEASE): Set to "stable".
15866         (VERSION): Set to 2.23.
15867         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15869         * NEWS: Updated fixed bugs.
15871 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15872             Wilco Dijkstra  <wdijkstr@arm.com>
15874         [BZ #19462]
15875         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15876         (_STRING_INLINE_unaligned): This.
15877         * include/string.h: Include <string_private.h>.
15878         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15879         _STRING_INLINE_unaligned.
15880         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15881         (_STRING_INLINE_unaligned): New.
15882         * sysdeps/aarch64/string_private.h: New file.
15883         * sysdeps/generic/string_private.h: Likewise.
15884         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15885         * sysdeps/s390/string_private.h: Likewise.
15886         * sysdeps/x86/string_private.h: Likewise.
15887         * sysdeps/m68k/m680x0/m68020/bits/string.h
15888         (_STRING_ARCH_unaligned): Renamed to ...
15889         (_STRING_INLINE_unaligned): This.
15890         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15891         to ...
15892         (_STRING_INLINE_unaligned): This.
15893         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15894         to ...
15895         (_STRING_INLINE_unaligned): This.
15896         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15897         to ...
15898         (_STRING_INLINE_unaligned): This.
15900 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15901             H.J. Lu  <hongjiu.lu@intel.com>
15903         [BZ #19590]
15904         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15905         relocation.
15907 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15909         [BZ #18665]
15910         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15911         *herrno_p.
15912         (gaih_getanswer): Document functional behviour. Return tryagain
15913         if any result is tryagain.
15914         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15915         when freed.
15916         * resolv/res_send.c: Add copyright text.
15917         (__libc_res_nsend): Document that MAXPACKET is expected.
15918         (send_vc): Document. Remove buffer reuse.
15919         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15920         size of the buffer. Add Dprint for truncated UDP buffer.
15922 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15924         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15925         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15926         * INSTALL: Regenerate.
15928 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15929             Jonathan Wakely  <jwakely@redhat.com>
15930             Carlos O'Donell  <carlos@redhat.com>
15932         [BZ 19439]
15933         * math/Makefile (tests): Add test-math-isinff.
15934         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15935         * math/bits/mathcalls.h [__USE_MISC]: Use
15936         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15937         functions not in C++11 and which don't conflict e.g. isinff,
15938         isinfl etc.
15939         * math/test-math-isinff.cc: New file.
15941 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15943         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15945 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15947         [BZ #19529]
15948         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15950 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15952         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15954 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15956         [BZ #19550]
15957         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15958         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15959         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15960         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15961         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15962         New syscall entry.
15963         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15964         New syscall entry.
15965         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15966         syscall entry.
15968 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15970         [BZ #18240]
15971         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15972         unsigned int wraparound.
15974 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15976         [BZ #18240]
15977         * misc/bug18240.c: New test.
15978         * misc/Makefile (tests): Add it.
15980 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15981             Joseph Myers  <joseph@codesourcery.com>
15983         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15984         load in branch delay slot when less than a word of input left.
15986 2016-01-27  Andreas Schwab  <schwab@suse.de>
15988         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15989         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15990         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15991         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15993 2016-01-26  David S. Miller  <davem@davemloft.net>
15995         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15997 2016-01-25  David S. Miller  <davem@davemloft.net>
15999         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
16000         __sqrtl_finite.
16001         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
16002         instead using versioned_symbol.
16003         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
16004         of entries.
16006         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
16007         __sqrtl_finite to GLIBC_2.23
16009 2016-01-25  Ricchard Henderson  <rth@redhat.com>
16011         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16013 2016-01-25  Andreas Schwab  <schwab@suse.de>
16015         [BZ #17514]
16016         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
16017         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
16018         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
16019         * nptl/tst-mutex-errorcheck.c: New file.
16021 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16023         [BZ #18560]
16024         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
16025         (IPCOP_semop): Likewise.
16026         (IPCOP_semget): Likewise.
16027         (IPCOP_semctl): Likewise.
16028         (IPCOP_msgsnd): Likewise.
16029         (IPCOP_msgrcv): Likewise.
16030         (IPCOP_msgget): Likewise.
16031         (IPCOP_msgctl): Likewise.
16032         (IPCOP_shmat): Likewise.
16033         (IPCOP_shmdt): Likewise.
16034         (IPCOP_shmget): Likewise.
16035         (IPCOP_shmctl): Likewise.
16037 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16039         * string/tst-endian.c: Include <libc-internal.h>.
16040         (do_test): Ignore tautological-compare warnings around
16041         "htobeXX (beXXtoh (i)) != i" and
16042         "htoleXX (leXXtoh (i)) != i" if-statements.
16044 2016-01-24  David S. Miller  <davem@davemloft.net>
16046         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16047         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16048         alias.
16049         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16050         __sqrtl_finite.
16052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16054 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16056         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16057         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16058         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16060 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16062         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16063         (thread_func): Use new function to simplify barrier check.
16064         (do_test): Use new function to simplify checking barrier exit
16065         code, and actually join the child thread.
16067 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16069         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16070         semicolon.
16071         (__libc_tend): Likewise.
16072         (__libc_tabort): Likewise.
16074 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16076         * sysdeps/nios2/libm-test-ulps: Update.
16077         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16078         (__gtsf2): Likewise.
16079         (__unorddf2): Likewise.
16080         (__unordsf2): Likewise.
16081         (__ledf2): Likewise.
16083 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16085         * nis/nis_table.c (__follow_path): Disable diagnostic for
16086         uninitialized variable that is a false positive for gcc 4.7.
16087         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16089 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16091         * sysdeps/nacl/lowlevellock-futex.h
16092         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16093         Always evaluate PRIVATE argument.
16095 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16097         [BZ #19490]
16098         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16099         (pthread_cond_broadcast): Use ENTRY/END
16100         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16101         (pthread_cond_signal): Likewise.
16102         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16103         Likewise.
16104         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16105         Likewise.
16106         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16107         Likewise.
16109 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16111         * sysdeps/ieee754/dbl-64/s_finite.c
16112         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16113         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16114         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16115         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16116         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16119         (__gtsf2): Add as optional for libc.so.
16120         (__unordsf2): Likewise.
16121         (__signbit): Remove for libc.so.
16122         (__signbitl): Likewise.
16124 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16126         * iconvdata/bug-iconv11.c (test_ibm93x):
16127         Use %zu printf format specifier for size_t argument.
16129 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16131         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16132         already-recorded ulps.
16133         * sysdeps/arm/libm-test-ulps: Regenerated.
16134         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16135         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16136         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16138 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16139             Paul Pluzhnikov  <ppluzhnikov@google.com>
16141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16142         assembler not supporting AVX-512.
16144 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16146         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16148 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16150         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16151         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16153         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16155         * sysdeps/arm/libm-test-ulps: Regenerated.
16157 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16159         [BZ #19451]
16160         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16162 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16164         [BZ #19486]
16165         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16166         * sysdeps/generic/fix-fp-int-convert-overflow.h
16167         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16168         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16169         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16170         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16171         Likewise.
16172         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16173         Avoid conversions to long int where inexact exceptions
16174         could be raised.
16175         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16176         Likewise.
16177         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16178         Avoid conversions to long long int where inexact exceptions
16179         could be raised.
16180         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16181         Likewise.
16183 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16185         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16186         * configure: Regenerated.
16188 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16190         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16192 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16195         outside of comment.
16197 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16199         * nptl/tst-barrier1.c: Add description on first line.
16200         * nptl/tst-barrier2.c: Likewise.
16201         * nptl/tst-barrier3.c: Likewise.
16202         * nptl/tst-barrier4.c: Likewise.
16203         * nptl/tst-barrier5.c: Likewise.
16205 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16207         [BZ #18868]
16208         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16210 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16214         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16215         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16216         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16217         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16218         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16219         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16220         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16221         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16222         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16224 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16226         [BZ #13065]
16227         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16228         new implementation.
16229         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16230         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16231         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16232         (BARRIER_IN_THRESHOLD): New macro.
16233         * nptl/pthread_barrierattr_setpshared.c
16234         (pthread_barrierattr_setpshared): Clean up.
16235         * nptl/tst-barrier4.c: Correct comment.
16236         * nptl/tst-barrier5.c: New file.
16237         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16238         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16239         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16240         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16241         * nptl/lowlevelbarrier.sym: Remove.
16242         * nptl/DESIGN-barrier.txt: Remove.
16243         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16244         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16245         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16246         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16247         error.
16248         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16249         implementation.
16251 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16253         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16254         (do_child): Mask SIGRTMIN while thr is running.
16256 2016-01-15  Martin Sebor  <msebor@redhat.com>
16258         [BZ #19432]
16259         * iconvdata/Makefile: Add bug-iconv11.
16260         * iconvdata/bug-iconv11.c: New test.
16261         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16262         * iconvdata/ibm933.c: Same.
16263         * iconvdata/ibm935.c: Same.
16264         * iconvdata/ibm937.c: Same.
16265         * iconvdata/ibm939.c: Same.
16267 2016-01-15  Martin Sebor  <msebor@redhat.com>
16269         [BZ #19443]
16270         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16271         [DEBUG] (_ufc_set_bits): Declare used.
16272         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16273         [DEBUG] (print_all): Declare used.
16274         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16275         operands of the ternary ?: expression to target type.
16276         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16277         calling the undeclared abort.
16278         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16280 2016-01-15  Martin Sebor  <msebor@redhat.com>
16282         [BZ #18755]
16283         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16284         warnings.
16285         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16286         (__gai_create_helper_thread): Same.
16287         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16288         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16289         to suppress -Wmaybe-uninitialized warnings.
16291 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16293         [BZ #19465]
16294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16295         inside if.
16296         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16297         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16298         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16300 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16302         [BZ #19466]
16303         * time/tst-mktime2.c (time_t_max): Removed.
16304         (time_t_min): Likewise.
16305         (TYPE_SIGNED): New.
16306         (TYPE_MINIMUM): Likewise.
16307         (TYPE_MAXIMUM): Likewise.
16308         (TIME_T_MIN): Likewise.
16309         (TIME_T_MAX): Likewise.
16310         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16311         and TIME_T_MIN.
16312         (do_test): Likewise.
16314 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16316         [BZ #19467]
16317         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16318         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16320 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16322         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16324 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16326         * benchtests/Makefile (PYTHON): Define.
16327         (bench-func): Use $(PYTHON) to run python scripts.
16328         ($(objpfx)bench-%.c): Likewise.
16330 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16332         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16333         leading slash when `file_name' is "/".
16335 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16337         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16338         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16339         Likewise.
16340         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16341         Likewise.
16342         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16343         Likewise.
16344         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16345         enum constant and macro.
16346         (PTRACE_SETSIGMASK): Likewise.
16347         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16348         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16349         (PTRACE_GETSIGMASK): Likewise.
16350         (PTRACE_SETSIGMASK): Likewise.
16351         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16352         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16353         Likewise.
16354         (PTRACE_SETSIGMASK): Likewise.
16355         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16357         (PTRACE_GETSIGMASK): Likewise.
16358         (PTRACE_SETSIGMASK): Likewise.
16359         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16360         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16361         Likewise.
16362         (PTRACE_SETSIGMASK): Likewise.
16363         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16364         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16365         Likewise.
16366         (PTRACE_SETSIGMASK): Likewise.
16367         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16368         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16369         Likewise.
16370         (PTRACE_SETSIGMASK): Likewise.
16371         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16373 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16374             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16376         [BZ #19439]
16377         * math/bits/mathcalls.h
16378         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
16379         prototype.
16380         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
16382 2016-01-11  Andreas Schwab  <schwab@suse.de>
16384         [BZ #19253]
16385         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
16386         cache when TZDEFRULES was used.
16387         * time/tst-tzname.c: New file.
16388         * time/Makefile (test): Add tst-tzname.
16389         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
16390         * timezone/Makefile (test-zones): Add $(posixrules-file).
16391         ($(testdata)/$(posixrules-file)): New rule.
16393 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
16395         Fix doc quoting problems with Texinfo 5
16396         Without this change, in the info file output, Texinfo 5 quotes code
16397         in text with undirected single quotes 'like this' and generates
16398         code examples that with many PDF readers cannot be cut out of PDFs
16399         and pasted into code.
16400         * manual/libc.texinfo: Configure the libc manual like the GNU
16401         Emacs manual, by using @documentencoding and setting
16402         txicodequoteundirected and txicodequotebacktick.  This way,
16403         Texinfo 5 quotes code in text with directed single quotes ‘like
16404         this’ and produces examples that can be cut out of PDFs.  This
16405         change causes Texinfo 5 to generate info files that contain UTF-8
16406         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
16407         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
16409 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16411         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
16412         __libc_tabort, __libc_tend): New wrappers that enforce compiler
16413         barriers to their respective compiler built-ins.
16414         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
16415         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
16416         * sysdeps/powerpc/sysdep.h: Likewise.
16417         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
16418         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
16419         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
16421 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
16423         * scripts/config.guess: Revert previous shebang change.
16424         * scripts/config.sub: Likewise.
16425         * scripts/mkinstalldirs: Likewise.
16427 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16429         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
16430         PPC_FEATURE2_HAS_IEEE128.
16431         * sysdeps/powerpc/dl-procinfo.c:
16432         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
16434 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
16436         [BZ #19415]
16437         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
16438         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
16439         (_dl_lookup_address): Rewrite using function resolver trampoline.
16440         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
16441         two bits in address.
16443 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16445         * longlong.h: Change !__SHMEDIA__ to
16446         (!defined (__SHMEDIA__) || !__SHMEDIA__).
16447         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
16449 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
16450             Joseph Myers  <joseph@codesourcery.com>
16451             Mark Shinwell  <shinwell@codesourcery.com>
16452             Andrew Stubbs  <ams@codesourcery.com>
16453             Rich Felker <dalias@libc.org>
16455         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16457 2016-01-07  Richard Henderson  <rth@redhat.com>
16459         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16461 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16463         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16464         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16465         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16466         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16467         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16469 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16470             Joseph Myers  <joseph@codesourcery.com>
16472         * timezone/private.h: Update from tzcode 2015g.
16473         * timezone/tzfile.h: Likewise.
16474         * timezone/tzselect.ksh: Likewise.
16475         * timezone/zdump.c: Likewise.
16476         * timezone/zic.c: Likewise.
16477         * timezone/ialloc.c: Remove file.
16478         * timezone/scheck.c: Likewise.
16479         * timezone/Makefile (extra-objs): Remove variable.
16480         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16481         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16482         -Wno-maybe-uninitialized.
16483         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16484         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16485         (CFLAGS-ialloc.c): Remove variable.
16486         (CFLAGS-scheck.c): Likewise.
16487         * timezone/README: Update list of files from tzcode.
16489 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16491         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16492         instead of __fxprintf when _LIBC is undefined.
16494 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16496         * catgets/test-gencat.sh: Remove space after shebang.
16497         * conform/GlibcConform.pm: Likewise.
16498         * conform/check-header-lists.sh: Likewise.
16499         * conform/conformtest.pl: Likewise.
16500         * conform/linknamespace.pl: Likewise.
16501         * conform/list-header-symbols.pl: Likewise.
16502         * debug/catchsegv.sh: Likewise.
16503         * elf/genrtldtbl.awk: Likewise.
16504         * elf/tst-pathopt.sh: Likewise.
16505         * elf/tst-rtld-load-self.sh: Likewise.
16506         * grp/tst_fgetgrent.sh: Likewise.
16507         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16508         * iconvdata/gen-8bit-gap.sh: Likewise.
16509         * iconvdata/gen-8bit.sh: Likewise.
16510         * iconvdata/run-iconv-test.sh: Likewise.
16511         * intl/tst-gettext.sh: Likewise.
16512         * intl/tst-gettext2.sh: Likewise.
16513         * intl/tst-gettext4.sh: Likewise.
16514         * intl/tst-gettext6.sh: Likewise.
16515         * intl/tst-translit.sh: Likewise.
16516         * io/ftwtest-sh: Likewise.
16517         * libio/test-freopen.sh: Likewise.
16518         * locale/gen-translit.pl: Likewise.
16519         * malloc/tst-mtrace.sh: Likewise.
16520         * manual/check-safety.sh: Likewise.
16521         * manual/libc-texinfo.sh: Likewise.
16522         * manual/tsort.awk: Likewise.
16523         * manual/xtract-typefun.awk: Likewise.
16524         * nptl/tst-cancel-wrappers.sh: Likewise.
16525         * nptl/tst-tls6.sh: Likewise.
16526         * posix/globtest.sh: Likewise.
16527         * posix/tst-getconf.sh: Likewise.
16528         * posix/wordexp-tst.sh: Likewise.
16529         * scripts/check-c++-types.sh: Likewise.
16530         * scripts/check-local-headers.sh: Likewise.
16531         * scripts/config.guess: Likewise.
16532         * scripts/config.sub: Likewise.
16533         * scripts/cpp: Likewise.
16534         * scripts/cross-test-ssh.sh: Likewise.
16535         * scripts/documented.sh: Likewise.
16536         * scripts/evaluate-test.sh: Likewise.
16537         * scripts/gen-libc-abis: Likewise.
16538         * scripts/gen-sorted.awk: Likewise.
16539         * scripts/list-fixed-bugs.py: Likewise.
16540         * scripts/merge-test-results.sh: Likewise.
16541         * scripts/mkinstalldirs: Likewise.
16542         * scripts/rellns-sh: Likewise.
16543         * scripts/test-installation.pl: Likewise.
16544         * scripts/update-copyrights: Likewise.
16545         * stdio-common/tst-printf.sh: Likewise.
16546         * stdio-common/tst-unbputc.sh: Likewise.
16547         * stdlib/tst-fmtmsg.sh: Likewise.
16548         * stdlib/tst-setcontext3.sh: Likewise.
16549         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16550         * sysdeps/unix/make-syscalls.sh: Likewise.
16552 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16554         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16555         asm stw with atomic_exchange_rel.  Add explanatory comment.
16556         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16557         Likewise.
16559 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16561         [BZ #19122]
16562         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16563         * sysdeps/generic/dl-unistd.h: New file.
16564         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16566 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16568          [BZ #19122]
16569          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16570          * sysdeps/generic/dl-mman.h: New file.
16571          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16573 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16575         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16576         trailing whitespace removed.
16577         * scripts/config.guess: Update to version 2016-01-01.
16578         * scripts/config.sub: Update to version 2016-01-01.
16579         * scripts/move-if-change: Update from gnulib.
16581 2016-01-04  Anton Blanchard  <anton@samba.org>
16583         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16584         for array indices.
16585         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16587 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16589         * NEWS: Update copyright dates.
16590         * catgets/gencat.c (print_version): Likewise.
16591         * csu/version.c (banner): Likewise.
16592         * debug/catchsegv.sh: Likewise.
16593         * debug/pcprofiledump.c (print_version): Likewise.
16594         * debug/xtrace.sh (do_version): Likewise.
16595         * elf/ldconfig.c (print_version): Likewise.
16596         * elf/ldd.bash.in: Likewise.
16597         * elf/pldd.c (print_version): Likewise.
16598         * elf/sotruss.sh: Likewise.
16599         * elf/sprof.c (print_version): Likewise.
16600         * iconv/iconv_prog.c (print_version): Likewise.
16601         * iconv/iconvconfig.c (print_version): Likewise.
16602         * locale/programs/locale.c (print_version): Likewise.
16603         * locale/programs/localedef.c (print_version): Likewise.
16604         * login/programs/pt_chown.c (print_version): Likewise.
16605         * malloc/memusage.sh (do_version): Likewise.
16606         * malloc/memusagestat.c (print_version): Likewise.
16607         * malloc/mtrace.pl: Likewise.
16608         * manual/libc.texinfo: Likewise.
16609         * nptl/version.c (banner): Likewise.
16610         * nscd/nscd.c (print_version): Likewise.
16611         * nss/getent.c (print_version): Likewise.
16612         * nss/makedb.c (print_version): Likewise.
16613         * posix/getconf.c (main): Likewise.
16614         * scripts/test-installation.pl: Likewise.
16615         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16617         * All files with FSF copyright notices: Update copyright dates
16618         using scripts/update-copyrights.
16619         * intl/plural.c: Regenerated.
16620         * locale/programs/charmap-kw.h: Likewise.
16621         * locale/programs/locfile-kw.h: Likewise.
16623 2016-01-02  Helge Deller  <deller@gmx.de>
16625         [BZ #19285]
16626         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16627         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16628         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16629         (MADV_xxK_PAGES): Remove.
16631 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16633         [BZ #15421]
16634         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16635         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16636         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16637         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16639 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16641         [BZ #19408]
16642         * sysdeps/unix/sysv/linux/personality.c: New file.
16643         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16644         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16645         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16646         (sysdep_routines): Add personality.
16647         (tests): Add tst-personality.
16648         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16650         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16651         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16652         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16653         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16654         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16655         Likewise.
16656         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16657         Likewise.
16658         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16659         Likewise.
16660         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16661         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16662         Likewise.
16664 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16666         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16667         (PATH_ARM_SYSTYPE): Remove.
16668         (PATH_CPUINFO): Likewise.
16669         (IO_BASE_FOOTBRIDGE): Likewise.
16670         (IO_SHIFT_FOOTBRIDGE): Likewise.
16671         (struct platform): Likewise.
16672         (init_iosys): Remove compatibility code for 2.4 kernels.
16673         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16675 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16677         * malloc/tst-malloc-thread-fail.c: New file.
16678         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16679         (tst-malloc-thread-fail): Link against libpthread.
16681 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16683         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16684         (get_parser): New function.
16685         (main): New function.
16687 2015-12-29  Rob Wu  <rob@robwu.nl>
16689         [BZ #19369]
16690         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16692 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16694         [BZ #19270]
16695         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16697 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16699         [BZ #15421]
16700         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16702 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16704         [BZ #13690]
16705         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16706         after releasing it.
16707         (__lll_robust_unlock): Likewise.
16708         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16709         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16710         (lll_robust_unlock): Likewise.
16711         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16712         Prevent warnings in callers.
16714 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16716         * malloc/arena.c (list_lock): Update comment.
16718 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16720         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16721         __parse_hwcap_and_convert_at_platform to libc.a.
16723 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16725         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16726         platform and feature support for POWER9.
16727         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16728         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16729         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16730         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16731         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16732         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16733         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16734         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16736 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16738         Harmonize generic stdio-lock support with nptl
16740         This fixes build when _IO_funlockfile is a macro, fixes build where
16741         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16742         stack unwind.
16744         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16745         _IO_release_lock ): Use cleanup attribute on new
16746         _IO_acquire_lock_file variable instead of assuming that
16747         _IO_release_lock will be called.
16748         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16749         _IO_acquire_lock_needs_exceptions_enabled.
16750         (_IO_acquire_lock_clear_flags2): New macro.
16752 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16754         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16756 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16758         [BZ #19182]
16759         * malloc/arena.c (list_lock): Document lock ordering requirements.
16760         (free_list_lock): New lock.
16761         (ptmalloc_lock_all): Comment on free_list_lock.
16762         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16763         (detach_arena): Update comment.  free_list_lock is now needed.
16764         (_int_new_arena): Use free_list_lock around detach_arena call.
16765         Acquire arena lock after list_lock.  Add comment, including FIXME
16766         about incorrect synchronization.
16767         (get_free_list): Switch to free_list_lock.
16768         (reused_arena): Acquire free_list_lock around detach_arena call
16769         and attached threads counter update.  Add two FIXMEs about
16770         incorrect synchronization.
16771         (arena_thread_freeres): Switch to free_list_lock.
16772         * malloc/malloc.c (struct malloc_state): Update comments to
16773         mention free_list_lock.
16775 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16777         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16778         Remove functions.
16779         (sloww, sloww1): Accept argument to offset quadrant.
16780         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16781         quadrant.
16782         (__sin, __cos): Consolidate common code into new functions.
16783         (reduce_sincos_1, do_sincos_1): New functions.
16784         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16787         code to new functions.
16788         (reduce_sincos_2, do_sincos_2): New functions.
16789         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16791         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16792         common code for sincos.
16793         (__cos) [!IN_SINCOS]: Likewise.
16794         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16795         New function.
16796         (__sincos): Use it.
16798 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16800         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16801         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16802         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16804 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16806         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16809         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16810         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16811         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16812         index_Prefer_No_VZEROUPPER): New feature.
16813         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16814         Prefer_No_VZEROUPPER for Knights Landing.
16816 015-12-18  Torvald Riegel  <triegel@redhat.com>
16818         * math/atest-exp2.c (mp_exp_m1): Remove.
16820 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16822         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16823         syscalls.
16824         (__SYSCALL0): New macro.
16825         (__SYSCALL1): Likewise.
16826         (__SYSCALL2): Likewise.
16827         (__SYSCALL3): Likewise.
16828         (__SYSCALL4): Likewise.
16829         (__SYSCALL5): Likewise.
16830         (__SYSCALL6): Likewise.
16831         (__SYSCALL_CONCAT_X): Likewise.
16832         (__SYSCALL_CONCAT): Likewise.
16833         (__SYSCALL_DIST): Likewise.
16834         (__SYSCALL_CALL): Likewise.
16836 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16838         [BZ #19363]
16839         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16841 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16843         [BZ #19375]
16844         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16845         negative subnormals.
16847 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16850         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16851         (INTERNAL_SYSCALL_NCS): Use it.
16852         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16854 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16856         [BZ #19243]
16857         * malloc/arena.c (get_free_list): Remove assert and adjust
16858         reference count handling.  Add comment about reused_arena
16859         interaction.
16860         (reused_arena): Add comments abount get_free_list interaction.
16861         * malloc/tst-malloc-thread-exit.c: New file.
16862         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16863         (tst-malloc-thread-exit): Link against libpthread.
16865 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16867         [BZ #19367]
16868         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16869         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16870         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16871         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16872         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16874 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16876         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16877         Silvermont optimizations for Knights Landing.
16879 2015-12-15  Andreas Schwab  <schwab@suse.de>
16881         [BZ #17197]
16882         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16883         immediately after emitting SI.
16884         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16885         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16886         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16887         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16888         * iconvdata/bug-iconv10.c: New file.
16889         * iconvdata/Makefile (tests): Add bug-iconv10.
16890         ($(objpfx)bug-iconv10.out): New rule.
16892 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16894         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16895         aliasing violation.
16897 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16899         [BZ #18472]
16900         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16901         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16902         conditionals for them.
16903         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16904         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16906         sys/kdaemon.h.
16907         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16908         compat-only syscall, obsoleted in glibc 2.23.
16909         (create_module): Likewise.
16910         (get_kernel_syms): Likewise.
16911         (query_module): Likewise.
16912         (uselib): Likewise.
16913         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16915 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16917         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16918         <linux/version.h>.
16919         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16920         conditional code.
16921         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16922         and ioshift_name initialization.
16924 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16926         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16927         Fix indentation.
16929 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16931         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16933 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16935         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16937 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16938             Jakub Wilk  <jwilk@debian.org>
16940         [BZ #19347]
16941         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16942         to change the group of the device to the tty group.
16944 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16946         Split large string section; add truncation advice
16947         * manual/examples/strncat.c: Remove.
16948         This example was misleading, as the code would have undefined
16949         behavior if "hello" was longer than SIZE.  Anyway, the manual
16950         shouldn't encourage strncpy+strncat for this sort of thing.
16951         * manual/string.texi (Copying Strings and Arrays): Split into
16952         three sections Copying Strings and Arrays, Concatenating Strings,
16953         and Truncating Strings, as this section was way too long.  All
16954         cross-referenced changed.  Add advice about string-truncation
16955         functions.  Remove misleading strncat example.
16957 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16959         * manual/nss.texi (NSS Modules Interface): Document
16960         NSS_STATUS_NOTFOUND and SUCCESS.
16962 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16964         [BZ 18568]
16965         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16966         201505L, for Unicode 8.
16968 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16970         * locale/C-translit.h: Regenerate.
16972 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16974         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16975         and U+0153.
16977 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16979         [BZ #19351]
16980         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16981         expanding log(1+z), compare z rather than its square with epsilon
16982         to determine when to avoid evaluating the expansion.
16984         [BZ #19350]
16985         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16986         Increase overflow threshold.
16988         [BZ #19349]
16989         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16990         when small.
16992         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16994         New macro.
16995         [__LINUX_KERNEL_VERSION >= 0x040300]
16996         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16998         Likewise.
16999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17000         Likewise.
17001         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17002         Likewise.
17003         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17004         Likewise.
17005         [__LINUX_KERNEL_VERSION >= 0x040300]
17006         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17007         [__LINUX_KERNEL_VERSION >= 0x040300]
17008         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17009         [__LINUX_KERNEL_VERSION >= 0x040300]
17010         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17011         [__LINUX_KERNEL_VERSION >= 0x040300]
17012         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17013         [__LINUX_KERNEL_VERSION >= 0x040300]
17014         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17015         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17016         Likewise.
17017         [__LINUX_KERNEL_VERSION >= 0x040300]
17018         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17019         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17020         Likewise.
17021         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17022         Likewise.
17023         [__LINUX_KERNEL_VERSION >= 0x040300]
17024         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17025         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17026         Likewise.
17027         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17028         Likewise.
17029         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17030         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
17031         Likewise.
17032         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
17033         Likewise.
17034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17035         Likewise.
17036         [__LINUX_KERNEL_VERSION >= 0x040300]
17037         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17039         Likewise.
17040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17041         Likewise.
17042         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17043         Likewise.
17044         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17045         Likewise.
17046         [__LINUX_KERNEL_VERSION >= 0x040300]
17047         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17048         [__LINUX_KERNEL_VERSION >= 0x040300]
17049         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17050         [__LINUX_KERNEL_VERSION >= 0x040300]
17051         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17052         [__LINUX_KERNEL_VERSION >= 0x040300]
17053         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17054         [__LINUX_KERNEL_VERSION >= 0x040300]
17055         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17057         Likewise.
17058         [__LINUX_KERNEL_VERSION >= 0x040300]
17059         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17060         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17061         Likewise.
17062         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17063         Likewise.
17064         [__LINUX_KERNEL_VERSION >= 0x040300]
17065         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17066         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17067         Likewise.
17068         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17069         Likewise.
17070         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17071         (__ASSUME_SOCKET_SYSCALL): Likewise.
17072         (__ASSUME_BIND_SYSCALL): Likewise.
17073         (__ASSUME_CONNECT_SYSCALL): Likewise.
17074         (__ASSUME_LISTEN_SYSCALL): Likewise.
17075         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17076         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17077         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17078         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17079         (__ASSUME_SEND_SYSCALL): Likewise.
17080         (__ASSUME_SENDTO_SYSCALL): Likewise.
17081         (__ASSUME_RECV_SYSCALL): Likewise.
17082         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17083         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17084         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17085         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17086         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17087         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17088         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17089         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17090         Likewise.
17091         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17092         Likewise.
17093         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17094         Likewise.
17095         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17096         Likewise.
17097         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17098         Likewise.
17099         [__LINUX_KERNEL_VERSION >= 0x020625]
17100         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17101         [__LINUX_KERNEL_VERSION >= 0x020625]
17102         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17103         [__LINUX_KERNEL_VERSION >= 0x020625]
17104         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17105         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17106         Likewise.
17107         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17108         Likewise.
17109         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17110         Likewise.
17111         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17112         Likewise.
17113         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17114         Likewise.
17115         [__LINUX_KERNEL_VERSION >= 0x020625]
17116         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17117         [__LINUX_KERNEL_VERSION >= 0x020625]
17118         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17119         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17120         Likewise.
17121         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17122         Likewise.
17124 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17126         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17127         record the current if the current ABI and CPU support the FP64
17128         extension.
17129         (has-modd-spreg): Define to record the current if the current ABI and
17130         CPU support 32-bit floating point values in odd FPU registers.
17131         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17132         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17133         $(has-modd-spreg) equals yes.
17134         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17135         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17136         $(has-modd-spreg) equal yes.
17138 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17140         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17141         basename.
17143 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17145         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17146         (bench-string): ... here.
17147         (bench): Add bench-string.
17148         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17149         to *-benchset to reflect what they are.
17150         (benchset): Adjust.
17152         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17153         cos-inputs.
17155 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17157         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17158         __attribute__ ((__simd__)) for vector math function declarations.
17160 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17162         Fix typo in strncat, wcsncat manual entries
17163         * manual/string.texi (Copying and Concatenation): Fix typos in
17164         sample implementations of strncat and wcsncat, by having them use
17165         the old value of the destination length, not the new one.
17167 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17169         [BZ #16961]
17170         [BZ #16962]
17171         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17172         string on the stack for strtod.
17173         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17174         a string on the stack for strtof.
17175         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17176         constructing a string on the stack for strtold.
17177         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17178         __strtold_nan to GLIBC_PRIVATE.
17179         * math/test-nan-overflow.c: New file.
17180         * math/test-nan-payload.c: Likewise.
17181         * math/Makefile (tests): Add test-nan-overflow and
17182         test-nan-payload.
17184 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17186         Consistency about byte vs character in string.texi
17187         * manual/string.texi (String and Array Utilities):
17188         Distinguish more carefully among bytes, multibyte characters,
17189         and wide characters.  Use "byte" when talking about C 'char',
17190         to distinguish it more clearly from multibyte characters.
17191         Say "wide character" or "multibyte character" instead of
17192         "character", when a wide or multibyte character is intended.
17193         Similarly for "multibyte string" versus "string".
17194         Define these terms more carefully.
17196 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17198         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17199         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17200         Likewise.
17201         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17202         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17203         * sysdeps/sh/math_private.h: New file.
17204         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17205         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17206         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17207         long double function name.
17208         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17209         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17210         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17212         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17214         Remove __finitel, __isinfl, and __isnanl.
17215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17216         Likewise.
17217         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17219         Remove __finitel.
17220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17221         Likewise.
17222         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17224 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17226         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17227         installed libmvec_nonshared.a.
17229 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17231         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17232         (sysdep_routines): Likewise.
17233         (sysdep-rtld-routines): Likewise.
17234         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17235         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17236         * sysdeps/powerpc/Versions: Added new
17237         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17238         * sysdeps/powerpc/hwcapinfo.c: New file.
17239         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17240         and parse hwcap, hwcap2 and platform number information.
17241         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17242         to store HWCAP+HWCAP2 and platform number.
17243         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17244         for HWCAP+HWCAP2 and platform number in the TCB.
17245         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17246         the HWCAP, HWCAP2 and platform number in the TCB.
17247         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17248         (TLS_INIT_TP): Included calls to add the hwcap and
17249         at_platform values in the TCB in TP initialization.
17250         (TLS_DEFINE_INIT_TP): Likewise.
17251         (THREAD_GET_HWCAP): New macro.
17252         (THREAD_SET_HWCAP): Likewise.
17253         (THREAD_GET_AT_PLATFORM): Likewise.
17254         (THREAD_SET_AT_PLATFORM): Likewise.
17255         * sysdeps/powerpc/powerpc32/dl-machine.h:
17256         (dl_platform_init): New function that calls
17257         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17258         powerpc32.
17259         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17260         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17261         this functionality, static linking case.
17262         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17263         linking case.
17264         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17265         __parse_hwcap_and_convert_at_platform for the static linking case.
17266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17267         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17268         ABI list for GLIBC 2.23.
17269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17270         Likewise.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17272         Likewise.
17274 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17276         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17277         * configure: Regenerate.
17278         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17279         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17281 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17283         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17284         * iconvdata/ibm933.c: Likewise.
17285         * iconvdata/ibm935.c: Likewise.
17286         * iconvdata/ibm937.c: Likewise.
17287         * iconvdata/ibm939.c: Likewise.
17289 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17291         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17292         pthread_join.
17293         * nptl/tst-cancel21.c (tf): Likewise.
17295 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17297         [BZ #19313]
17298         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17299         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17300         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17301         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17302         Likewise.
17303         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17304         Likewise.
17305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17306         Likewise.
17307         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17308         Likewise.
17309         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17310         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17311         unsigned long int with __CPU_MASK_TYPE.
17313 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17315         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17317 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17319         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17320         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17321         t512.x.
17322         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17324 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17326         [BZ #19214]
17327         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17328         argument to return extended model.  Update family and model
17329         with extended family and model when family == 0x0f.
17330         (init_cpu_features): Updated.
17332 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17334         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17335         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17337         * sysdeps/mach/hurd/mmap64.c: New file.
17339 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17341         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17342         rights for its main user thread in NEWTASK.
17344 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17346         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17347         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17349 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17351         [BZ #14259]
17352         * Makeconfig: Rename localedir to complocaledir.
17353         Rename inst_localedir to inst_complocaledir.
17354         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17355         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17356         * configure.ac: Use libc_cv_complocaledir.
17357         * configure: Regenerate.
17358         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17359         -DCOMPLOCALEDIR.
17360         * locale/findlocale.c: Use COMPLOCALEDIR.
17361         * locale/loadarchive.c: Likewise.
17362         * locale/programs/locale.c: Likewise.
17363         * locale/programs/localedef.c: Likewise.
17364         * locale/programs/locarchive.c: Likewise.
17365         * localedata/Makefile: Use inst_complocaledir.
17366         * sysdeps/gnu/configure: Regenerate.
17367         * sysdeps/hppa/configure: Regenerate.
17368         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17369         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17371         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17372         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17373         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17374         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17376 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17378         [BZ #19058]
17379         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
17380         AS_NEEDED.
17381         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
17382         workaround.
17383         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
17384         libmvec-static-only-routines): Added new file.
17385         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
17387 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17389         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
17390         of interrupted RPC instead of restoring it.
17392         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
17393         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
17394         libc_hidden_def.
17395         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
17396         into initialized data instead of common. Define rtld_hidden_data_def.
17397         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
17398         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
17399         libc_hidden_def.
17400         (if_freenameindex): Add libc_hidden_weak.
17401         (if_nameindex): Add libc_hidden_weak.
17402         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17403         __open64.
17404         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
17405         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
17406         * sysdeps/mach/nanosleep.c: Include <time.h>
17407         (__nanosleep): Rename to __libc_nanosleep.
17408         (__nanosleep): Add weak_alias.
17409         (nanosleep): Update alias.
17411 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
17413         * stdlib/strtod_nan.c: New file.
17414         * stdlib/strtod_nan_double.h: Likewise.
17415         * stdlib/strtod_nan_float.h: Likewise.
17416         * stdlib/strtod_nan_main.c: Likewise.
17417         * stdlib/strtod_nan_narrow.h: Likewise.
17418         * stdlib/strtod_nan_wide.h: Likewise.
17419         * stdlib/strtof_nan.c: Likewise.
17420         * stdlib/strtold_nan.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17422         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
17423         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
17424         * wcsmbs/wcstod_nan.c: Likewise.
17425         * wcsmbs/wcstof_nan.c: Likewise.
17426         * wcsmbs/wcstold_nan.c: Likewise.
17427         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
17428         strtold_nan.
17429         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
17430         wcstof_nan.
17431         * include/stdlib.h (__strtof_nan): Declare and use
17432         libc_hidden_proto.
17433         (__strtod_nan): Likewise.
17434         (__strtold_nan): Likewise.
17435         (__wcstof_nan): Likewise.
17436         (__wcstod_nan): Likewise.
17437         (__wcstold_nan): Likewise.
17438         * include/wchar.h (____wcstoull_l_internal): Declare.
17439         * stdlib/strtod_l.c: Do not include <ieee754.h>.
17440         (____strtoull_l_internal): Remove declaration.
17441         (STRTOF_NAN): Define macro.
17442         (SET_MANTISSA): Remove macro.
17443         (STRTOULL): Likewise.
17444         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
17445         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
17446         (STRTOF_NAN): Define macro.
17447         (SET_MANTISSA): Remove macro.
17448         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
17449         (SET_MANTISSA): Remove macro.
17450         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
17451         macro.
17452         (SET_MANTISSA): Remove macro.
17453         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
17454         macro.
17455         (SET_MANTISSA): Remove macro.
17456         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17457         (SET_MANTISSA): Remove macro.
17458         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17459         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17460         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17462         [BZ #19266]
17463         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17464         upper case and lower case letters inside NAN(), not using TOLOWER.
17465         * stdlib/tst-strtod-nan-locale-main.c: New file.
17466         * stdlib/tst-strtod-nan-locale.c: Likewise.
17467         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17468         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17469         Depend on $(gen-locales).
17470         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17471         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17472         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17473         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17474         Depend on $(gen-locales).
17475         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17477 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17479         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17481         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17483         __finitel, __isinfl, and __isnanl.
17484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17485         Likewise.
17486         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17488         __finitel.
17489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17490         Likewise.
17491         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17493 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17495         * malloc/memusage.c (me): Remove redundant getenv call.
17497 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17499         [BZ #19143]
17500         [BZ #19164]
17501         * nptl/check-cpuset.h: Remove.
17502         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17503         Remove CPU set size check.
17504         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17505         Likewise.
17506         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17507         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17508         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17509         (__pthread_setaffinity_new): Remove CPU set size check.
17510         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17511         (__kernel_cpumask_size): Remove.
17512         (__sched_setaffinity_new): Remove CPU set size check.
17513         * manual/threads.texi (Default Thread Attributes): Remove stale
17514         reference to check_cpuset_attr, determine_cpumask_size in comment.
17515         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17516         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17517         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17518         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17519         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17520         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17521         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17522         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17523         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17524         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17525         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17526         skeleton test file.
17527         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17528         tst-affinity-pid.
17530 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17532         * scripts/update-abilist.sh: New file.
17533         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17534         * Makerules (update-all-abi-%, update-all-abi)
17535         (subdir_update-all-abi): New targets.
17536         * elf/Makefile (update-all-abi): New target.
17538 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17540         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17541         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17542         (__libc_lock_define_initialized): Use it.
17543         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17544         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17545         * malloc/malloc.c (main_arena): Likewise.
17546         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17547         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17549 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17551         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17552         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17553         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17554         (PTRACE_O_MASK): Update value.
17555         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17556         New value in enum __ptrace_setoptions.
17557         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17558         (PTRACE_O_MASK): Update value.
17559         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17560         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17561         (PTRACE_O_MASK): Update value.
17562         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17563         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17564         (PTRACE_O_MASK): Update value.
17565         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17566         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17567         (PTRACE_O_MASK): Update value.
17568         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17569         New value in enum __ptrace_setoptions.
17570         (PTRACE_O_MASK): Update value.
17571         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17572         New value in enum __ptrace_setoptions.
17573         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17574         (PTRACE_O_MASK): Update value.
17576         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17577         New macro.
17578         (PACKET_AUXDATA): Likewise.
17579         (PACKET_ORIGDEV): Likewise.
17580         (PACKET_VERSION): Likewise.
17581         (PACKET_HDRLEN): Likewise.
17582         (PACKET_RESERVE): Likewise.
17583         (PACKET_TX_RING): Likewise.
17584         (PACKET_LOSS): Likewise.
17585         (PACKET_VNET_HDR): Likewise.
17586         (PACKET_TX_TIMESTAMP): Likewise.
17587         (PACKET_TIMESTAMP): Likewise.
17588         (PACKET_FANOUT): Likewise.
17589         (PACKET_TX_HAS_OFF): Likewise.
17590         (PACKET_QDISC_BYPASS): Likewise.
17591         (PACKET_ROLLOVER_STATS): Likewise.
17592         (PACKET_FANOUT_DATA): Likewise.
17593         (PACKET_MR_UNICAST): Likewise.
17595         [BZ #19242]
17596         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17597         (TOUPPER): Likewise.
17598         * stdlib/tst-strtol-locale-main.c: New file.
17599         * stdlib/tst-strtol-locale.c: Likewise.
17600         * stdlib/Makefile (tests): Add tst-strtol-locale.
17601         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17602         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17603         Depend on $(gen-locales).
17604         * wcsmbs/tst-wcstol-locale.c: New file.
17605         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17606         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17607         tr_TR.ISO-8859-9.
17608         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17609         Depend on $(gen-locales).
17611 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17613         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17614         __glibc_likely instead of __builtin_expect.  After falling back to
17615         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17616         system interface to register the code pages as occupied.
17618 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17620         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17621         [!ARM_MATH_PRIVATE_H].
17622         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17623         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17624         [!HPPA_MATH_PRIVATE_H].
17625         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17626         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17627         to [!I386_MATH_PRIVATE_H].
17628         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17629         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17630         Change guard to [!M68K_MATH_PRIVATE_H].
17631         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17632         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17633         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17634         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17635         macro.
17636         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17637         [!MIPS_MATH_PRIVATE_H].
17638         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17639         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17640         [!NIO2_MATH_PRIVATE_H].
17641         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17642         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17643         [!TILE_MATH_PRIVATE_H].
17644         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17646         [BZ #15421]
17647         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17648         initialize with 0 and define as weak alias of __signgam.
17649         * include/math.h [!_ISOMAC] (__signgam): Declare.
17650         * math/Makefile (libm-calls): Add w_lgamma_compat.
17651         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17652         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17653         test-signgam-ullong-init.
17654         (tests-static): Add test-signgam-uchar-static,
17655         test-signgam-uchar-init-static, test-signgam-uint-static,
17656         test-signgam-uint-init-static, test-signgam-ullong-static and
17657         test-signgam-ullong-init-static.
17658         (CFLAGS-test-signgam-uchar.c): New variable.
17659         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17660         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17661         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17662         (CFLAGS-test-signgam-uint.c): Likewise.
17663         (CFLAGS-test-signgam-uint-init.c): Likewise.
17664         (CFLAGS-test-signgam-uint-static.c): Likewise.
17665         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17666         (CFLAGS-test-signgam-ullong.c): Likewise.
17667         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17668         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17669         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17670         * math/Versions (libm): Add GLIBC_2.23.
17671         * math/lgamma-compat.h: New file.
17672         * math/test-signgam-main.c: Likewise.
17673         * math/test-signgam-uchar-init-static.c: Likewise.
17674         * math/test-signgam-uchar-init.c: Likewise.
17675         * math/test-signgam-uchar-static.c: Likewise.
17676         * math/test-signgam-uchar.c: Likewise.
17677         * math/test-signgam-uint-init-static.c: Likewise.
17678         * math/test-signgam-uint-init.c: Likewise.
17679         * math/test-signgam-uint-static.c: Likewise.
17680         * math/test-signgam-uint.c: Likewise.
17681         * math/test-signgam-ullong-init-static.c: Likewise.
17682         * math/test-signgam-ullong-init.c: Likewise.
17683         * math/test-signgam-ullong-static.c: Likewise.
17684         * math/test-signgam-ullong.c: Likewise.
17685         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17686         wrapper of w_lgamma_main.c.
17687         * math/w_lgamma_compat.c: New file.
17688         * math/w_lgamma_compatf.c: Likewise.
17689         * math/w_lgamma_compatl.c: Likewise.
17690         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17691         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17692         defining compatibility symbols.
17693         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17694         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17695         wrapper of w_lgammaf_main.c.
17696         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17697         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17698         defining compatibility symbols.
17699         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17700         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17701         wrapper of w_lgammal_main.c.
17702         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17703         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17704         defining compatibility symbols.
17705         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17706         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17707         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17708         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17709         <lgamma-compat.h>.
17710         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17711         (__ieee754_gamma): Define as alias.
17712         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17713         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17714         <lgamma-compat.h>.
17715         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17716         (__ieee754_gammaf): Define as alias.
17717         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17718         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17719         <lgamma-compat.h>.
17720         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17721         (__ieee754_gammal): Define as alias.
17722         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17723         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17724         <math/w_lgamma_compat.c>.
17725         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17726         Define as alias of __lgamma_compat and use in defining lgammal.
17727         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17728         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17729         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17730         (USE_AS_COMPAT): New macro.
17731         (LGAMMA_OLD_VER): Undefine and redefine.
17732         (lgammal): Do not define here.
17733         (gammal): Only define here if [GAMMA_ALIAS].
17734         * conform/linknamespace.pl (@whitelist): Remove signgam.
17735         * sysdeps/nacl/libm.abilist: Update.
17736         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17737         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17738         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17739         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17740         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17741         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17742         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17743         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17744         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17745         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17746         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17747         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17749         Likewise.
17750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17751         Likewise.
17752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17753         Likewise.
17754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17755         Likewise.
17756         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17757         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17758         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17759         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17760         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17762         Likewise.
17763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17764         Likewise.
17765         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17766         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17767         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17769 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17771         [BZ #16364]
17772         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17773         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17775 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17777         * sysdeps/s390/fpu/bits/mathinline.h:
17778         Use __asm__ [__volatile__] instead of asm [volatile].
17779         * sysdeps/s390/abort-instr.h: Likewise.
17780         * sysdeps/s390/atomic-machine.h: Likewise.
17781         * sysdeps/s390/bits/string.h: Likewise.
17782         * sysdeps/s390/dl-tls.h: Likewise.
17783         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17784         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17785         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17786         * sysdeps/s390/fpu/fesetround.c: Likewise.
17787         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17788         * sysdeps/s390/fpu/s_fma.c: Likewise.
17789         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17790         * sysdeps/s390/memusage.h: Likewise.
17791         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17792         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17793         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17794         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17795         * sysdeps/s390/nptl/tls.h: Likewise.
17796         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17797         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17798         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17799         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17800         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17801         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17802         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17803         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17804         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17805         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17806         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17807         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17808         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17809         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17810         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17811         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17812         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17813         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17814         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17815         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17816         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17817         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17818         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17820 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17821             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17823         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17824         Add lwarx hint, and use macro for acquire instruction.
17825         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17826         Likewise.
17827         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17828         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17829         update to use new atomic macros.
17831 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17833         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17834         (__lll_trylock_elision): Fix setting of adapt_count.
17835         * sysdeps/unix/sysv/linux/powerpc/htm.h
17836         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17837         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17838         (_ABORT_SYSCALL): Renumber, and clarify definition.
17839         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17841 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17843         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17844         after system headers to prevent MIN/MAX redefinition.  Define
17845         HAVE_ALLOCA to preserve builtin alloca usage.
17847 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17849         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17850         static and don't set or restore rounding.
17851         (__cos)[IN_SINCOS]: Likewise.
17852         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17853         (__sincos): Set and restore rounding mode.  Remove check for infinite
17854         or NaN input.
17856         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17858         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17859         as used.
17861 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17863         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17865 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17867         * config.make.in (have-glob-dat-reloc): New.
17868         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17869         target supports GLOB_DAT relocaton. AC_SUBST.
17870         * configure: Regenerated.
17871         * elf/Makefile (tests): Add tst-prelink.
17872         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17873         (tst-prelink-ENV): New.
17874         ($(objpfx)tst-prelink-conflict.out): Likewise.
17875         ($(objpfx)tst-prelink-cmp.out): Likewise.
17876         * sysdeps/x86/tst-prelink.c: Moved to ...
17877         * elf/tst-prelink.c: Here.
17878         * sysdeps/x86/tst-prelink.exp: Moved to ...
17879         * elf/tst-prelink.exp: Here.
17880         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17881         (tst-prelink-ENV): Removed.
17882         ($(objpfx)tst-prelink-conflict.out): Likewise.
17883         ($(objpfx)tst-prelink-cmp.out): Likewise.
17884         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17886 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17888         [BZ #14551]
17889         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17890         (__mpn_construct_long_double): If high part overflows to infinity,
17891         set errno and recompute overflowed result of the correct sign.
17892         * sysdeps/ieee754/ldbl-128ibm/Makefile
17893         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17894         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17895         $(libm).
17896         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17898 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17900         [BZ #15479]
17901         [BZ #19238]
17902         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17903         floating-point state after first operation on input.  Restore full
17904         state rather than just rounding mode.
17905         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17906         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17907         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17909         [BZ #19235]
17910         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17911         add 0.5 to integer arguments.
17912         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17913         Likewise.
17914         (.LC2): New object.
17916 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17918         * scripts/pylintrc (reports): Set to no.
17920 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17922         * elf/dl-load.c (open_verify): Take new argument FD.
17923         Skip __open call if passed FD is not -1.
17924         (_dl_map_object, open_path): Update callers.
17925         * elf/dl-sysdep-open.h: New file.
17926         * elf/dl-load.c: Include it.
17927         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17928         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17929         * sysdeps/nacl/dl-sysdep-open.h: New file.
17930         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17931         from libc to rtld.
17933 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17935         [BZ #19228]
17936         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17937         and restore full floating-point state.
17938         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17939         Likewise.
17940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17941         Likewise.
17942         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17943         Likewise.
17944         * math/test-nearbyint-except-2.c: New file.
17945         * math/Makefile (tests): Add test-nearbyint-except-2.
17947 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17949         [BZ #19178]
17950         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17951         (tst-prelink-ENV): New.
17952         ($(objpfx)tst-prelink-conflict.out): Likewise.
17953         ($(objpfx)tst-prelink-cmp.out): Likewise.
17954         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17955         * sysdeps/x86/tst-prelink.c: New file.
17956         * sysdeps/x86/tst-prelink.exp: Likewise.
17958 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17960         * math/auto-libm-test-in: Add another test of pow.
17961         * math/auto-libm-test-out: Regenerated.
17962         * math/libm-test.inc (pow_test_data): Add another test.
17964 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17966         [BZ #19219]
17967         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17968         weak_alias to nearbyintl.
17970 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17972         * sysdeps/aarch64/bits/string.h: New file.
17973         (_STRING_ARCH_unaligned): Define.
17975 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17977         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17978         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17979         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17980         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17983 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17985         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17986         for original name of the DSO.  Add it to the name list of the DSO
17987         if it is actually given.
17988         (_dl_map_object): Keep track of whether an audit module rewrote
17989         the file name.  If yes, pass the original name to
17990         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17991         debugging is enabled, log the change of the file name.
17992         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17993         _dl_map_object_from_fd.
17994         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17995         * elf/tst-audit11.c: New file
17996         * elf/tst-auditmod11.c: New file.
17997         * elf/tst-audit11mod1.c: New file.
17998         * elf/tst-audit11mod2.c: New file.
17999         * elf/tst-audit11mod2.map: New file.
18000         * elf/tst-audit12.c: New file
18001         * elf/tst-auditmod12.c: New file.
18002         * elf/tst-audit12mod1.c: New file.
18003         * elf/tst-audit12mod2.c: New file.
18004         * elf/tst-audit12mod2.map: New file.
18005         * elf/tst-audit12mod3.c: New file.
18007 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18009         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
18010         Don't create weak aliases,
18011         because versioned symbols are created later.
18012         * sysdeps/s390/s390-32/setjmp.S
18013         (setjmp, _setjmp): Remove weak and rename to an unique name
18014         in SHARED case due to existing versioned symbols.
18015         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18016         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
18017         (getcontext): Create weak alias only in non SHARED case.
18018         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18020 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18022         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
18023         (__ASSUME_*_SYSCALL) Define new macros.
18024         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
18025         Remove socketcall syscalls.
18026         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
18027         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
18028         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
18029         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
18030         * sysdeps/unix/sysv/linux/send.c (__libc_send):
18031         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
18033 2015-11-09  Florian Weimer  <fweimer@redhat.com>
18035         [BZ #12926]
18036         Terminate process on invalid netlink response.
18037         * sysdeps/unix/sysv/linux/netlinkaccess.h
18038         (__netlink_assert_response): Declare.
18039         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
18040         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
18041         (sysdep_routines): Add netlink_assert_response.
18042         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18043         __netlink_assert_response.
18044         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18045         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18046         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18047         __netlink_assert_response.
18049 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18051         [BZ #19178]
18052         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18053         (RTYPE_CLASS_PLT): Likewise.
18054         (RTYPE_CLASS_COPY): Likewise.
18055         (RTYPE_CLASS_TLS): Likewise.
18056         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18057         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18058         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18059         DL_DEBUG_PRELINK.
18061 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18063         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18064         calls with argument -0.5.
18065         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18067         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18068         (libc_cv_z_nodlopen): Likewise.
18069         (libc_cv_z_initfirst): Likewise.
18070         * configure: Regenerated.
18072 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18074         Simplify abilist format to be line-based.
18075         * scripts/abilist.awk: Collect descriptors in the descs variable.
18076         (emit): Write descs variable and sort it
18077         externally, with sort.
18078         * sysdeps/**/*.abilist: Convert to new format.
18080 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18082         [BZ #11460]
18083         * io/Makefile (routines): Add fts64.
18084         (tests): Add tst-fts and tst-fts-lfs.
18085         (CFLAGS-fts64.c): New.
18086         * io/Versions (GLIBC_2.23): New.
18087         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18088         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18089         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18090         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18091         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18092         (FTSENT64): Likewise.
18093         (fts64_children): Likewise.
18094         (fts64_close): Likewise.
18095         (fts64_open): Likewise.
18096         (fts64_read): Likewise.
18097         (fts64_set): Likewise.
18098         * io/fts64.c: New file.
18099         * io/tst-fts.c: New test.
18100         * io/tst-fts-lfs.c: Likewise.
18101         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18102         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18103         fts64_set.
18104         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18105         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18106         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18107         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18108         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18109         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18110         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18111         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18112         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18113         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18114         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18115         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18116         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18118         Likewise.
18119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18120         Likewise.
18121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18123         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18124         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18125         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18126         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18127         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18130         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18131         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18132         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18133         * sysdeps/wordsize-64/fts.c: New file.
18134         * sysdeps/wordsize-64/fts64.c: Likewise.
18135         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18136         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18137         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18138         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18140 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18142         * math/libm-test.inc (NON_FINITE): New macro.
18143         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18144         * math/gen-libm-test.pl (show_exceptions): Add argument
18145         $non_finite.
18146         (parse_args): Update call to show_exceptions.
18147         * math/test-math-finite.h: New file.
18148         * math/test-math-no-finite.h: Likewise.
18149         * math/test-double-finite.c: Likewise.
18150         * math/test-float-finite.c: Likewise.
18151         * math/test-ldouble-finite.c: Likewise.
18152         * math/test-double.c: Include "test-math-no-finite.h".
18153         * math/test-float.c: Include "test-math-no-finite.h".
18154         * math/test-ldouble.c: Include "test-math-no-finite.h".
18155         * math/test-math-inline.h (TEST_FINITE): New macro.
18156         * math/test-math-vector.h (TEST_FINITE): Likewise.
18157         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18158         (libm-tests): Add test-float-finite and test-double-finite.
18159         ($(objpfx)test-float-finite.o): New dependency on
18160         $(objpfx)libm-test.stmp.
18161         ($(objpfx)test-double-finite.o): Likewise.
18162         ($(objpfx)test-ldouble-finite.o): Likewise.
18163         (libm-test-no-inline-cflags): New variable.
18164         (libm-test-finite-cflags): Likewise.
18165         (CFLAGS-test-float-finite.c): Likewise.
18166         (CFLAGS-test-double-finite.c): Likewise.
18167         (CFLAGS-test-ldouble-finite.c): Likewise.
18168         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18169         (CFLAGS-test-double.c): Likewise.
18170         (CFLAGS-test-ldouble.c): Likewise.
18172 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18174         * io/fcntl.c (__fcntl): Add ... to prototype.
18175         * misc/ioctl.c (__ioctl): Likewise.
18176         * misc/syscall.c (syscall): Likewise.
18178 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18180         * scripts/list-fixed-bugs.py: New file.
18182         [BZ #19213]
18183         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18184         returned for argument 1.
18185         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18186         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18187         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18188         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18189         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18190         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18192         [BZ #19211]
18193         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18194         __USE_XOPEN], not if [!__USE_ISOC99].
18195         (lgammaf): Likewise.
18196         (lgammal): Likewise.
18197         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18198         (gammaf): Likewise.
18199         (gammal): Likewise.
18200         * math/test-signgam-finite-c11.c: New file.
18201         * math/test-signgam-finite-c99.c: Likewise.
18202         * math/test-signgam-finite.c: Likewise.
18203         * math/Makefile (tests): Add test-signgam-finite,
18204         test-signgam-finite-c99 and test-signgam-finite-c11.
18205         (CFLAGS-test-signgam-finite.c): New variable.
18206         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18207         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18209         [BZ #19212]
18210         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18211         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18212         500].
18213         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18214         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18215         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18216         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18217         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18218         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18219         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18220         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18221         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18222         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18224         [BZ #19209]
18225         * math/bits/math-finite.h (ldexp): Remove declaration.
18226         (ldexpf): Likewise.
18227         (ldexpl): Likewise.
18229         [BZ #19205]
18230         * math/bits/math-finite.h (acosf): Condition declaration on
18231         [__USE_ISOC99].
18232         (acosl): Likewise.
18233         (acoshf): Likewise.
18234         (acoshl): Likewise.
18235         (asinf): Likewise.
18236         (asinl): Likewise.
18237         (atan2f): Likewise.
18238         (atan2l): Likewise.
18239         (atanhf): Likewise.
18240         (atanhl): Likewise.
18241         (coshf): Likewise.
18242         (coshl): Likewise.
18243         (expf): Likewise.
18244         (expl): Likewise.
18245         (fmodf): Likewise.
18246         (fmodl): Likewise.
18247         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18248         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18249         (j0l): Likewise.
18250         (y0f): Likewise.
18251         (y0l): Likewise.
18252         (j1f): Likewise.
18253         (j1l): Likewise.
18254         (y1f): Likewise.
18255         (y1l): Likewise.
18256         (jnf): Likewise.
18257         (jnl): Likewise.
18258         (ynf): Likewise.
18259         (ynl): Likewise.
18260         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18261         (lgammal_r): Likewise.
18262         (__lgamma_r_finite): New declaration.
18263         (__lgammaf_r_finite): Likewise.
18264         (__lgammal_r_finite): Likewise.
18265         (lgamma): Use __lgamma_r_finite.
18266         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18267         __lgammaf_r_finite.
18268         (lgammal): Condition definition on [__USE_ISOC99].  Use
18269         __lgammal_r_finite.
18270         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18271         __lgamma_r_finite.
18272         (gammaf): Condition definition on [__USE_ISOC99].  Use
18273         __lgammaf_r_finite.
18274         (gammal): Condition definition on [__USE_ISOC99].  Use
18275         __lgammal_r_finite.
18276         (logf): Condition declaration on [__USE_ISOC99].
18277         (logl): Likewise.
18278         (log10f): Likewise.
18279         (log10l): Likewise.
18280         (ldexpf): Likewise.
18281         (ldexpl): Likewise.
18282         (powf): Likewise.
18283         (powl): Likewise.
18284         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18285         __USE_ISOC99].
18286         (remainderf): Condition declaration on [__USE_ISOC99].
18287         (remainderl): Likewise.
18288         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18289         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18290         (scalbl): Likewise.
18291         (sinhf): Condition declaration on [__USE_ISOC99].
18292         (sinhl): Likewise.
18293         (sqrtf): Likewise.
18294         (sqrtl): Likewise.
18296 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18298         * sysdeps/arm/atomic-machine.h
18299         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18300         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18301         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18302         Remove conditional code.
18303         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18304         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18305         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18306         Change conditional to [__ASSEMBLER__].
18307         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18308         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18309         [!__ASSEMBLER__].
18310         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18311         code.
18312         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18313         conditional macro definitions.
18314         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18315         (__arch_compare_and_exchange_val_16_acq): Likewise.
18316         (__arch_compare_and_exchange_val_32_acq): Likewise.
18317         (atomic_exchange_and_add): Likewise.
18318         (atomic_add): Likewise.
18319         (atomic_add_negative): Likewise.
18320         (atomic_add_zero): Likewise.
18321         (atomic_bit_set): Likewise.
18322         (atomic_bit_test_set): Likewise.
18323         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18324         code unconditional.
18325         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18327         * math/test-math-errno.h: New file.
18328         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18329         empty.
18330         (TEST_ERRNO): New macro.
18331         (TEST_EXCEPTIONS): Likewise.
18332         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18333         (TEST_EXCEPTIONS): Likewise.
18334         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18335         * math/test-double.c: Include "test-math-errno.h".
18336         * math/test-float.c: Likewise.
18337         * math/test-ldouble.c: Likewise.
18338         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18339         code unconditional.
18340         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18341         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18342         unconditional.
18343         (test_errno): Only run code if TEST_ERRNO.
18344         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18346 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18348         * nptl/tst-once5.cc: Remove attribution.
18350 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18352         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18353         sqrt, tan, tanh, y0, y1 and yn.
18354         * math/auto-libm-test-out: Regenerated.
18355         * math/libm-test.inc (scalb_test_data): Add more tests.
18356         (scalbn_test_data): Likewise.
18357         (scalbln_test_data): Likewise.
18358         (signbit_test_data): Likewise.
18359         (sin_test_data): Likewise.
18360         (sincos_test_data): Likewise.
18361         (sinh_test_data): Likewise.
18362         (sqrt_test_data): Likewise.
18363         (tan_test_data): Likewise.
18364         (tanh_test_data): Likewise.
18365         (tgamma_test_data): Likewise.
18366         (y0_test_data): Likewise.
18367         (y1_test_data): Likewise.
18368         (yn_test_data): Likewise.
18369         (significand_test_data): Likewise.
18370         * sysdeps/i386/fpu/libm-test-ulps: Update.
18372 2015-11-03  David Kastrup  <dak@gnu.org>
18374         [BZ #18604]
18375         * assert/assert.h (assert): Don't macro-expand failed assertion
18376         expression in error message.
18377         * malloc/malloc.c (assert): Likewise.
18379 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
18381         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
18382         test.
18383         * configure: Regenerated.
18385 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
18387         * math/libm-test.inc (modf_test_data): Add more tests.
18388         (nearbyint_test_data): Likewise.
18389         (nextafter_test_data): Likewise.
18390         (nexttoward_test_data): Likewise.
18391         (pow_test_data): Likewise.
18392         (remainder_test_data): Likewise.
18393         (remquo_test_data): Likewise.
18394         (rint_test_data): Likewise.
18396         [BZ #19201]
18397         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18398         Check for zero remainder in case of large exponents and ensure
18399         correct sign of result in that case.
18400         * math/libm-test.inc (remainder_test_data): Add more tests.
18402         [BZ #6799]
18403         * math/s_nextafter.c: Include <errno.h>.
18404         (__nextafter): Set errno on overflow and underflow.
18405         * math/s_nexttowardf.c: Include <errno.h>.
18406         (__nexttowardf): Set errno on overflow and underflow.
18407         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
18408         (__nextafterl): Set errno on overflow and underflow.
18409         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
18410         (__nexttoward): Set errno on overflow and underflow.
18411         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
18412         (__nexttowardf): Set errno on overflow and underflow.
18413         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
18414         (__nextafterf): Set errno on overflow and underflow.
18415         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
18416         (__nextafterl): Set errno on overflow and underflow.
18417         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
18418         (__nexttoward): Set errno on overflow and underflow.
18419         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
18420         (__nexttowardf): Set errno on overflow and underflow.
18421         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
18422         (__nextafterl): Set errno on overflow and underflow.
18423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
18424         (__nexttoward): Set errno on overflow and underflow.
18425         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
18426         (__nexttowardf): Set errno on overflow and underflow.
18427         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
18428         (__nexttoward): Set errno on overflow and underflow.
18429         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
18430         (__nexttowardf): Set errno on overflow and underflow.
18431         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
18432         (__nldbl_nexttowardf): Set errno on overflow and underflow.
18433         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
18434         (__nextafterl): Set errno on overflow and underflow.
18435         * math/libm-test.inc (nextafter_test_data): Do not allow errno
18436         setting to be missing on overflow.  Add more tests.
18437         (nexttoward_test_data): Likewise.
18439         * configure.ac (libc_cv_initfini_array): Remove configure test.
18440         * configure: Regenerated.
18442 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
18444         [BZ #19189]
18445         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
18446         non-finite argument handle arguments with negative sign.
18448         * math/libm-test.inc (j0_test_data): Do not test sign of zero
18449         result from infinite argument.
18450         (j1_test_data): Likewise.
18451         (jn_test_data): Likewise.
18452         (y0_test_data): Likewise.
18453         (y1_test_data): Likewise.
18454         (yn_test_data): Likewise.
18456         [BZ #16171]
18457         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18458         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18459         * math/w_remainderf.c (dremf): Define as weak alias of
18460         __remainderf.
18461         * math/w_remainderl.c (dreml): Define as weak alias of
18462         __remainderl.
18463         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18464         __remainder.
18465         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18466         __remainderf.
18467         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18468         __remainderl.
18469         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18470         weak alias of remainderl.
18471         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18472         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18473         alias of __remainder.
18474         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18475         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18476         strong alias of __remainderl.
18477         (dreml): Use long_double_symbol.
18478         * math/Makefile (libm-calls): Remove w_drem.
18479         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18480         (CFLAGS-nldbl-drem.c): Remove variable.
18481         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18482         * math/w_drem.c: Remove file.
18483         * math/w_dremf.c: Likewise.
18484         * math/w_dreml.c: Likewise.
18485         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18486         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18487         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18489         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18490         * sysdeps/i386/configure: Regenerated.
18491         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18492         * sysdeps/x86_64/configure: Regenerated.
18494         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18495         test.
18496         (libc_cv_visibility_attribute): Likewise.
18497         (libc_cv_protected_data): Test unconditionally.
18498         (libc_cv_broken_visibility_attribute): Remove configure test.
18499         (libc_cv_have_sdata_section): Test unconditionally.
18500         * configure: Regenerated.
18502         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18503         * include/scratch_buffer.h: Include <stddef.h> instead of
18504         <libc-internal.h>.
18505         (struct scratch_buffer): Use max_align_t instead of
18506         libc_max_align_t.
18508 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18510         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18511         instead of extend_alloca.  Change control flow to avoid a goto.
18512         Remove assert which is trivially always true.
18514 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18516         [BZ #16068]
18517         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18518         (FE_ALL_EXCEPT_X86): New macro.
18519         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18520         FE_ALL_EXCEPT.  Ensure precision control is included in
18521         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18522         handle "denormal operand exception" and clear FZ and DAZ bits.
18523         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18524         (FE_ALL_EXCEPT_X86): New macro.
18525         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18526         FE_ALL_EXCEPT.  Ensure precision control is included in
18527         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18528         handle "denormal operand exception" and clear FZ and DAZ bits.
18529         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18530         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18531         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18532         test-fenv-x87 and test-fenv-sse-2.
18533         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18535         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18536         * math/test-double.h (BUILD_COMPLEX): New macro.
18537         * math/test-float.h (BUILD_COMPLEX): Likewise.
18538         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18540         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18541         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18542         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18544         instead of DBL_DENORM_MIN in comment.
18545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18546         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18547         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18548         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18550         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18552 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18554         [BZ# 19048]
18555         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18556         attached_threads member.
18557         (main_arena): Initialize attached_threads.
18558         * malloc/arena.c (list_lock): Update comment.
18559         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18560         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18561         (deattach_arena): New function.
18562         (_int_new_arena): Initialize arena reference count and deattach
18563         replaced arena.
18564         (get_free_list, reused_arena): Update reference count and deattach
18565         replaced arena.
18566         (arena_thread_freeres): Update arena reference count and only put
18567         unreferenced arenas on the free list.
18569 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18571         [BZ #19181]
18572         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18573         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18574         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18575         * math/test-fenv-clear-main.c: New file.
18576         * math/test-fenv-clear.c: Likewise.
18577         * math/Makefile (tests): Add test-fenv-clear.
18578         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18579         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18580         test-fenv-clear-sse.
18581         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18583         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18584         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18585         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18587 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18589         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18590         static libc.
18592 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18594         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18595         test.
18596         * sysdeps/i386/configure: Regenerated.
18597         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18598         test.
18599         * sysdeps/x86_64/configure: Regenerated.
18600         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18602         memset-avx2 unconditionally instead of conditionally on
18603         [$(config-cflags-avx2) = yes].
18604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18605         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18606         unconditional.
18607         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18608         * sysdeps/x86_64/multiarch/memset_chk.S
18609         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18610         to [IS_IN (libc) && SHARED].
18612 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18614         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18615         configure test.
18616         * sysdeps/arm/configure: Regenerated.
18617         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18618         Define variable if not already defined.
18620         [BZ #17404]
18621         * sysdeps/mips/atomic-machine.h
18622         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18623         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18624         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18626         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18627         unconditional.
18628         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18629         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18630         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18631         unconditional.
18632         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18633         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18634         unconditional.
18635         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18636         * stdlib/setenv.c
18637         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18638         code unconditional.
18639         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18640         Remove conditional code.
18641         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18642         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18643         unconditional.
18644         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18645         code.
18646         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18647         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18648         unconditional.
18649         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18650         code.
18651         * sysdeps/ieee754/ldbl-128/k_tanl.c
18652         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18653         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18654         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18655         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18656         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18657         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18658         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18659         unconditional.
18660         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18661         code.
18662         * sysdeps/ieee754/ldbl-96/k_tanl.c
18663         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18664         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18666         * nptl/tst-initializers1-c11.c: New file.
18667         * nptl/tst-initializers1-gnu11.c: Likewise.
18668         * nptl/Makefile (tests): Add these new tests.
18669         (CFLAGS-tst-initializers1-c11.c): New variable.
18670         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18672         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18673         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18674         instead of -std=gnu99.
18675         * configure.ac (systemtap): Test with -std=gnu11 instead of
18676         -std=gnu99.
18677         * configure: Regenerated.
18678         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18679         in compilation command in comment.
18681         * sysdeps/nptl/configure.ac: Remove file.
18682         * sysdeps/nptl/configure: Remove generated file.
18683         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18684         * configure: Regenerated.
18685         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18686         * config.make.in (have-forced-unwind): Remove variable.
18687         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18688         unconditional.
18689         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18690         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18691         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18692         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18693         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18694         unconditional.
18696 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18698         [BZ #19174]
18699         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18700         .skip_lock_out_of_tbegin_retries.
18701         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18702         (__lll_lock_elision): Likewise, and respect a value of
18703         try_tbegin <= 0.
18705 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18707         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18708         statement.
18710 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18712         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18713         variable.
18714         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18715         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18717         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18718         of -std=c1x -D_ISOC11_SOURCE.
18720         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18721         * configure: Regenerated.
18722         * manual/install.texi (Tools for Compilation): Document
18723         requirement for GCC 4.7 or later.
18724         * INSTALL: Regenerated.
18726 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18728         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18729         on CNT to a conditional jump to 'puntdata'.
18731 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18733         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18734         (libc_cv_gcc_tls_model_attr): Likewise.
18735         * configure: Regenerated.
18737         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18738         * configure: Regenerated.
18739         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18741 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18743         * configure.ac (old_glibc_headers): Remove configure test.
18744         * configure: Regenerated.
18745         * config.make.in (old-glibc-headers): Remove variable.
18746         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18747         (install): Remove dependency on remove-old-headers.
18748         (headers2_0): Remove variable.
18749         (remove-old-headers): Remove rule.
18751         * configure.ac (libc_cv_dot_text): Remove configure test.
18752         (libc_cv_asm_set_directive): Use .text instead of
18753         ${libc_cv_dot_text} in configure test.
18754         * configure: Regenerated.
18756 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18758         [BZ #19168]
18759         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18761 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18763         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18764         not support static linking.
18765         * configure: Regenerate.
18767 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18769         * math/libm-test.inc (check_float_internal): Do not special-case
18770         errors up to 0.5 ulp.
18772         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18773         log2.
18774         * math/auto-libm-test-out: Regenerated.
18775         * math/libm-test.inc (MAX_EXP): New macro.
18776         (ilogb_test_data): Add more tests.
18777         (isfinite_test_data): Likewise.
18778         (isgreater_test_data): Likewise.
18779         (isgreaterequal_test_data): Likewise.
18780         (isinf_test_data): Likewise.
18781         (isless_test_data): Likewise.
18782         (islessequal_test_data): Likewise.
18783         (islessgreater_test_data): Likewise.
18784         (isnan_test_data): Likewise.
18785         (isnormal_test_data): Likewise.
18786         (issignaling_test_data): Likewise.
18787         (isunordered_test_data): Likewise.
18788         (j0_test_data): Likewise.
18789         (j1_test_data): Likewise.
18790         (jn_test_data): Likewise.
18791         (lgamma_test_data): Likewise.
18792         (log_test_data): Likewise.
18793         (log10_test_data): Likewise.
18794         (log1p_test_data): Likewise.
18795         (log2_test_data): Likewise.
18796         (logb_test_data): Likewise.
18797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18799         [BZ #18611]
18800         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18801         avoid excess range and precision on underflow.
18802         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18803         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18804         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18805         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18806         underflow.
18807         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18809         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18810         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18811         * math/auto-libm-test-in: Do not allow missing errno setting for
18812         tests of j1 and jn.
18813         * math/auto-libm-test-out: Regenerated.
18815 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18817         [BZ #15491]
18818         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18819         floating-point environment instead of clearing all exceptions.
18820         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18821         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18822         merging in "invalid" exceptions from frndint.
18823         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18824         * math/test-nearbyint-except.c: New file.
18825         * math/Makefile (tests): Add test-nearbyint-except.
18827 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18829         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18831         * sysdeps/tile/libm-test-ulps: Regenerated.
18833 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18836         (__NR_sync_file_range2): Assume it is always defined.
18837         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18838         (__NR_sync_file_range): Assume it is always defined.
18840 2015-10-22  Andreas Schwab  <schwab@suse.de>
18842         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18843         INTERNAL_SYSCALL_ERRNO.
18844         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18845         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18846         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18847         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18848         Likewise.
18849         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18851 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18853         * io/tst-fcntl.c (fd): New static variable.
18854         (do_prepare): Open temporary file here....
18855         (do_test): ...not here.
18857         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18859 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18861         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18862         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18863         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18864         Moved before "#ifdef __ASSEMBLER__".
18866 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18868         [BZ #19156]
18869         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18870         arguments very close to 0.
18872 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18874         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18875         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18877 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18879         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18880         New.  Defined for GCC 5 and above when not compiling for
18881         profiling.
18882         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18884         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18885         Renamed to ...
18886         (CFLAGS-epoll_pwait.o): This.
18887         (CFLAGS-mmap.c): Renamed to ...
18888         (CFLAGS-mmap.o): This.
18889         (CFLAGS-mmap64.c): Renamed to ...
18890         (CFLAGS-mmap64.o): This.
18891         (CFLAGS-epoll_pwait.os): New.
18892         (CFLAGS-mmap.os): Likewise.
18893         (CFLAGS-mmap64.os): Likewise.
18894         (CFLAGS-semtimedop.os): Likewise.
18895         (CFLAGS-semtimedop.c): Renamed to ...
18896         (CFLAGS-semtimedop.o): This.
18898 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18900         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18901         warning message.
18903 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18905         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18906         * Makefile ($(objpfx)c++-types-check.out): Filter out
18907         $(+gccwarn-c) instead of -Wstrict-prototypes.
18909         * io/fts.c (fts_open): Convert to prototype-style function
18910         definition.
18911         * malloc/mcheck.c (mcheck): Likewise.
18912         (mcheck_pedantic): Likewise.
18913         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18914         internal_function.
18915         (re_search_internal): Likewise.
18916         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18917         prototype-style function definition.
18918         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18919         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18920         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18921         (xdr_utmpptr): Likewise.
18922         (xdr_utmparr): Likewise.
18923         (xdr_utmpidle): Likewise.
18924         (xdr_utmpidleptr): Likewise.
18925         (xdr_utmpidlearr): Likewise.
18927         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18928         log, log10 and log2.
18929         * math/auto-libm-test-out: Regenerated.
18930         * math/libm-test.inc (fmod_test_data): Add more tests.
18931         (fpclassify_test_data): Likewise.
18932         (frexp_test_data): Likewise.
18933         (hypot_test_data): Likewise.
18934         (ilogb_test_data): Likewise.
18936 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18938         * debug/fortify_fail.c (__fortify_fail): Convert to
18939         prototype-style function definition.  Use internal_function.
18940         * libio/genops.c (save_for_backup): Convert to prototype-style
18941         function definition.
18942         * libio/wgenops.c (save_for_wbackup): Likewise.
18943         * login/grantpt.c (grantpt): Likewise.
18944         * login/ptsname.c (ptsname): Likewise.
18945         (__ptsname_r): Likewise.
18946         * login/unlockpt.c (unlockpt): Likewise.
18947         * mach/msgserver.c (__mach_msg_server): Likewise.
18948         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18949         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18950         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18951         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18952         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18953         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18954         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18955         Likewise.
18956         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18957         internal_function.
18958         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18959         prototype-style function definition.
18960         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18961         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18962         (__pthread_create_2_0): Likewise.
18963         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18964         * nptl/register-atfork.c (__register_atfork): Likewise.
18965         * posix/glob.c (glob): Likewise.
18966         * posix/regcomp.c (re_comp): Likewise.
18967         * posix/regexec.c (re_exec): Likewise.
18968         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18969         [!__STDC__]: Remove conditional code.
18970         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18971         [!__STDC__]: Remove conditional code.
18972         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18973         [!__STDC__]: Remove conditional code.
18974         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18975         [!__STDC__]: Remove conditional code.
18976         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18977         [!__STDC__]: Remove conditional code.
18978         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18979         [!__STDC__]: Remove conditional code.
18980         * stdlib/mul.c [__STDC__]: Make code unconditional.
18981         [!__STDC__]: Remove conditional code.
18982         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18983         [!__STDC__]: Remove conditional code.
18984         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18985         [!__STDC__]: Remove conditional code.
18986         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18987         function definition.
18988         (STRTOF): Likewise.
18989         * stdlib/strtod_l.c (__STRTOF): Likewise.
18990         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18991         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18992         (__strtol_l): Likewise.
18993         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18994         [!__STDC__]: Remove conditional code.
18995         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18996         definition.
18997         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18998         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18999         type.
19000         (__strcasecmp): Convert to prototype-style function definition.
19001         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
19002         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19003         type.
19004         (__strncasecmp): Convert to prototype-style function definition.
19005         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
19006         * sunrpc/xdr.c (xdr_union): Likewise.
19007         * sunrpc/xdr_array.c (xdr_array): Likewise.
19008         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
19009         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
19010         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
19011         Likewise.
19012         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
19013         Likewise.
19014         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
19015         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19016         Likewise.
19017         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
19018         (LOCALE_PARAM_PROTO): Likewise.
19019         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
19020         argument type.
19021         (ut_argument_spec): Remove macro.
19022         (ut_argument_spec_iso): Rename to ut_argument_spec.
19023         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
19024         prototype-style function definition.
19025         (memcpy_uppcase): Likewise.
19026         (__strftime_internal): Likewise.
19027         (my_strftime): Likewise.
19028         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
19029         (LOCALE_PARAM_DECL): Likewise.
19030         [_LIBC] (LOCALE_PARAM): Include argument type.
19031         (__strptime_internal): Convert to prototype-style function
19032         definition.
19033         (strptime): Likewise.
19034         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19035         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19036         type.
19037         (__wcscasecmp): Convert to prototype-style function definition.
19038         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
19039         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19040         type.
19041         (__wcsncasecmp): Convert to prototype-style function definition.
19043         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19044         function definition.
19045         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19046         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19047         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19048         * elf/dl-minimal.c (_itoa): Likewise.
19049         * hurd/hurdmalloc.c (malloc): Likewise.
19050         (free): Likewise.
19051         (realloc): Likewise.
19052         * inet/inet6_option.c (inet6_option_space): Likewise.
19053         (inet6_option_init): Likewise.
19054         (inet6_option_append): Likewise.
19055         (inet6_option_alloc): Likewise.
19056         (inet6_option_next): Likewise.
19057         (inet6_option_find): Likewise.
19058         * io/ftw.c (FTW_NAME): Likewise.
19059         (NFTW_NAME): Likewise.
19060         (NFTW_NEW_NAME): Likewise.
19061         (NFTW_OLD_NAME): Likewise.
19062         * libio/iofwide.c (_IO_fwide): Likewise.
19063         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19064         (_IO_str_init_static): Likewise.
19065         (_IO_str_init_readonly): Likewise.
19066         (_IO_str_overflow): Likewise.
19067         (_IO_str_underflow): Likewise.
19068         (_IO_str_count): Likewise.
19069         (_IO_str_seekoff): Likewise.
19070         (_IO_str_pbackfail): Likewise.
19071         (_IO_str_finish): Likewise.
19072         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19073         (_IO_wstr_overflow): Likewise.
19074         (_IO_wstr_underflow): Likewise.
19075         (_IO_wstr_count): Likewise.
19076         (_IO_wstr_seekoff): Likewise.
19077         (_IO_wstr_pbackfail): Likewise.
19078         (_IO_wstr_finish): Likewise.
19079         * locale/programs/localedef.c (normalize_codeset): Likewise.
19080         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19081         (add_locales_to_archive): Likewise.
19082         (delete_locales_from_archive): Likewise.
19083         * malloc/malloc.c (__libc_mallinfo): Likewise.
19084         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19085         * misc/tsearch.c (__tfind): Likewise.
19086         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19087         * nptl/pthread_attr_getdetachstate.c
19088         (__pthread_attr_getdetachstate): Likewise.
19089         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19090         Likewise.
19091         * nptl/pthread_attr_getinheritsched.c
19092         (__pthread_attr_getinheritsched): Likewise.
19093         * nptl/pthread_attr_getschedparam.c
19094         (__pthread_attr_getschedparam): Likewise.
19095         * nptl/pthread_attr_getschedpolicy.c
19096         (__pthread_attr_getschedpolicy): Likewise.
19097         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19098         Likewise.
19099         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19100         Likewise.
19101         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19102         Likewise.
19103         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19104         Likewise.
19105         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19106         (__pthread_attr_init_2_0): Likewise.
19107         * nptl/pthread_attr_setdetachstate.c
19108         (__pthread_attr_setdetachstate): Likewise.
19109         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19110         Likewise.
19111         * nptl/pthread_attr_setinheritsched.c
19112         (__pthread_attr_setinheritsched): Likewise.
19113         * nptl/pthread_attr_setschedparam.c
19114         (__pthread_attr_setschedparam): Likewise.
19115         * nptl/pthread_attr_setschedpolicy.c
19116         (__pthread_attr_setschedpolicy): Likewise.
19117         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19118         Likewise.
19119         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19120         Likewise.
19121         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19122         Likewise.
19123         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19124         Likewise.
19125         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19126         Likewise.
19127         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19128         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19129         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19130         use internal_function.
19131         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19132         prototype-style function definition.
19133         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19134         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19135         internal_function.
19136         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19137         Convert to prototype-style function definition.
19138         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19139         Likewise.
19140         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19141         Likewise.
19142         (__pthread_mutex_unlock): Likewise.
19143         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19144         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19145         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19146         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19147         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19148         * nss/makedb.c (process_input): Likewise.
19149         * posix/fnmatch.c (__strchrnul): Likewise.
19150         (__wcschrnul): Likewise.
19151         (fnmatch): Likewise.
19152         * posix/fnmatch_loop.c (FCT): Likewise.
19153         * posix/glob.c (globfree): Likewise.
19154         (__glob_pattern_type): Likewise.
19155         (__glob_pattern_p): Likewise.
19156         * posix/regcomp.c (re_compile_pattern): Likewise.
19157         (re_set_syntax): Likewise.
19158         (re_compile_fastmap): Likewise.
19159         (regcomp): Likewise.
19160         (regerror): Likewise.
19161         (regfree): Likewise.
19162         * posix/regexec.c (regexec): Likewise.
19163         (re_match): Likewise.
19164         (re_search): Likewise.
19165         (re_match_2): Likewise.
19166         (re_search_2): Likewise.
19167         (re_search_stub): Likewise.  Use internal_function
19168         (re_copy_regs): Likewise.
19169         (re_set_registers): Convert to prototype-style function
19170         definition.
19171         (prune_impossible_nodes): Likewise.  Use internal_function.
19172         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19173         prototype-style function definition.
19174         (inet_net_pton_ipv4): Likewise.
19175         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19176         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19177         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19178         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19179         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19180         Make variadic.
19181         * time/strptime_l.c (localtime_r): Convert to prototype-style
19182         function definition.
19183         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19184         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19185         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19186         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19188         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19189         definition.
19190         (_ufc_doit_r): Likewise.
19191         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19192         (_ufc_output_conversion_r): Likewise.
19193         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19194         * inet/rcmd.c (rcmd_af): Likewise.
19195         (rcmd): Likewise.
19196         (ruserok_af): Likewise.
19197         (ruserok): Likewise.
19198         (ruserok2_sa): Likewise.
19199         (ruserok_sa): Likewise.
19200         (iruserok_af): Likewise.
19201         (iruserok): Likewise.
19202         (__ivaliduser): Likewise.
19203         (__validuser2_sa): Likewise.
19204         * inet/rexec.c (rexec_af): Likewise.
19205         (rexec): Likewise.
19206         * inet/ruserpass.c (ruserpass): Likewise.
19207         * locale/programs/xmalloc.c (xcalloc): Likewise.
19208         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19209         * math/w_drem.c (__drem): Likewise.
19210         * math/w_dremf.c (__dremf): Likewise.
19211         * math/w_dreml.c (__dreml): Likewise.
19212         * misc/daemon.c (daemon): Likewise.
19213         * resolv/res_debug.c (p_fqnname): Likewise.
19214         * stdlib/div.c (div): Likewise.
19215         * string/memcmp.c (memcmp_bytes): Likewise.
19216         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19217         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19219         * crypt/cert.c (main): Convert to prototype-style function
19220         definition.
19221         * io/pipe.c (__pipe): Likewise.
19222         * io/pipe2.c (__pipe2): Likewise.
19223         * misc/futimesat.c (futimesat): Likewise.
19224         * misc/utimes.c (__utimes): Likewise.
19225         * posix/execve.c (__execve): Likewise.
19226         * posix/execvp.c (execvp): Likewise.
19227         * posix/execvpe.c (__execvpe): Likewise.
19228         * posix/fexecve.c (fexecve): Likewise.
19229         * socket/socketpair.c (socketpair): Likewise.
19230         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19231         * stdlib/erand48.c (erand48): Likewise.
19232         * stdlib/erand48_r.c (__erand48_r): Likewise.
19233         * stdlib/jrand48.c (jrand48): Likewise.
19234         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19235         * stdlib/lcong48.c (lcong48): Likewise.
19236         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19237         * stdlib/nrand48.c (nrand48): Likewise.
19238         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19239         * stdlib/seed48.c (seed48): Likewise.
19240         * stdlib/seed48_r.c (__seed48_r): Likewise.
19241         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19242         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19243         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19245 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19247         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19248         * configure: Regenerated.
19249         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19250         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19251         unconditional.
19252         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19253         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19254         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19255         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19256         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19257         unconditional.
19258         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19260         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19261         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19263         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19264         function definition.
19265         * crypt/crypt_util.c (__encrypt_r): Likewise.
19266         * libio/genops.c (_IO_no_init): Likewise.
19267         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19268         (_IO_old_fopencookie): Likewise.
19269         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19270         * libio/iogetline.c (_IO_getline): Likewise.
19271         (_IO_getline_info): Likewise.
19272         * libio/iogetwline.c (_IO_getwline): Likewise.
19273         (_IO_getwline_info): Likewise.
19274         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19275         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19276         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19277         (find_entry): Likewise.
19278         (iterate_table): Likewise.
19279         (lookup): Likewise.
19280         * login/forkpty.c (forkpty): Likewise.
19281         * misc/hsearch_r.c (__hsearch_r): Likewise.
19282         * misc/select.c (__select): Likewise.
19283         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19284         Likewise.
19285         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19286         Likewise.
19287         * nptl/old_pthread_cond_timedwait.c
19288         (__pthread_cond_timedwait_2_0): Likewise.
19289         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19290         * nptl/pthread_barrierattr_getpshared.c
19291         (pthread_barrierattr_getpshared): Likewise.
19292         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19293         Likewise.
19294         * nptl/pthread_mutex_setprioceiling.c
19295         (pthread_mutex_setprioceiling): Likewise.
19296         * nptl/pthread_mutexattr_getprioceiling.c
19297         (pthread_mutexattr_getprioceiling): Likewise.
19298         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19299         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19300         Likewise.
19301         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19302         Likewise.
19303         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19304         Likewise.
19305         * socket/recvfrom.c (__recvfrom): Likewise.
19306         * socket/sendto.c (__sendto): Likewise.
19307         * socket/setsockopt.c (__setsockopt): Likewise.
19308         * stdio-common/_itoa.c (_itoa): Likewise.
19309         * stdio-common/_itowa.c (_itowa): Likewise.
19310         * stdio-common/reg-printf.c (__register_printf_specifier):
19311         Likewise.
19312         (__register_printf_function): Likewise.
19313         * stdio-common/tempname.c (__path_search): Likewise.
19314         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19315         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19316         * stdlib/random_r.c (__initstate_r): Likewise.
19317         * stdlib/setenv.c (__add_to_environ): Likewise.
19318         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19319         * streams/getpmsg.c (getpmsg): Likewise.
19320         * streams/putmsg.c (putmsg): Likewise.
19321         * streams/putpmsg.c (putpmsg): Likewise.
19322         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19323         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19324         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19325         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19326         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19327         * sunrpc/svc_udp.c (cache_get): Likewise.
19328         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19329         * sysdeps/mach/hurd/getcwd.c
19330         (__canonicalize_directory_name_internal): Likewise.
19331         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19332         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19333         * sysdeps/mach/hurd/select.c (__select): Likewise.
19334         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19335         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19336         * sysdeps/sparc/nptl/pthread_barrier_init.c
19337         (__pthread_barrier_init): Likewise.
19338         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19339         (__pthread_cond_timedwait): Likewise.
19340         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19341         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19342         Likewise.
19343         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19344         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19345         Likewise.
19346         * sysvipc/semtimedop.c (semtimedop): Likewise.
19347         * time/setitimer.c (__setitimer): Likewise.
19348         * time/strftime_l.c (emacs_strftime): Likewise.
19350 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19352         * config.make.in (have-ssp): Delete.
19353         (stack-protector): New variable.
19354         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19355         cache test for -fstack-protector-strong.  Export stack_protector to
19356         the best ssp flag.
19357         * configure: Regenerated.
19358         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19359         * nscd/Makefile (CFLAGS-nscd): Likewise.
19360         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19362 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19364         [BZ #19122]
19365         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19366         attribute_hidden.
19368 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19370         [BZ #18743]
19371         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19372         code to...
19373         (ELIDE_LOCK): ...here.
19374         (__get_new_count): New function with part of the code from
19375         __elide_lock that updates the value of adapt_count after a
19376         transaction abort.
19377         (__elided_trylock): Moved this code to...
19378         (ELIDE_TRYLOCK): ...here.
19380 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19382         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
19383         * configure: Regenerate.
19384         * INSTALL: Regenerate.
19385         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
19386         and tweak grammar.
19388 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
19390         * login/programs/pt_chown.c: Include signal.h
19391         (main): Clear any signal mask from the parent process.
19393 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19395         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
19396         * configure: Regenerated.
19397         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
19398         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
19399         $(gnu89-inline-CFLAGS).
19401         * configure.ac (libc_cv_asm_weak_directive): Remove configure
19402         test.
19403         (libc_cv_asm_weakext_directive): Likewise.
19404         * configure: Regenerated.
19405         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
19406         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
19407         * include/libc-symbols.h
19408         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
19409         #error.
19410         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
19411         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
19413         * sysdeps/arm/backtrace.c (__backtrace): Convert to
19414         prototype-style function definition.
19415         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19416         * sysdeps/i386/ffs.c (__ffs): Likewise.
19417         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19418         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
19419         Likewise.
19420         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19421         Likewise.
19422         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19423         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19424         Likewise.
19425         * sysdeps/m68k/ffs.c (__ffs): Likewise.
19426         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
19427         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
19428         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
19429         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
19430         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
19431         * sysdeps/mach/hurd/access.c (__access): Likewise.
19432         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
19433         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
19434         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19435         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
19436         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
19437         (cthread_getspecific): Likewise.
19438         (cthread_setspecific): Likewise.
19439         (__libc_getspecific): Likewise.
19440         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
19441         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
19442         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
19443         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
19444         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
19445         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
19446         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
19447         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
19448         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
19449         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
19450         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
19451         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
19452         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
19453         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
19454         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
19455         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19456         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19457         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19458         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19459         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19460         * sysdeps/mach/hurd/link.c (__link): Likewise.
19461         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19462         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19463         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19464         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19465         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19466         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19467         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19468         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19469         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19470         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19471         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19472         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19473         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19474         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19475         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19476         * sysdeps/mach/hurd/send.c (__send): Likewise.
19477         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19478         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19479         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19480         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19481         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19482         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19483         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19484         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19485         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19486         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19487         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19488         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19489         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19490         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19491         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19492         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19493         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19494         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19495         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19496         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19497         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19498         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19499         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19500         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19501         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19502         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19503         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19504         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19505         * sysdeps/posix/alarm.c (alarm): Likewise.
19506         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19507         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19508         * sysdeps/posix/dup.c (__dup): Likewise.
19509         * sysdeps/posix/dup2.c (__dup2): Likewise.
19510         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19511         (main): Likewise.
19512         * sysdeps/posix/flock.c (__flock): Likewise.
19513         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19514         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19515         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19516         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19517         * sysdeps/posix/isatty.c (__isatty): Likewise.
19518         * sysdeps/posix/killpg.c (killpg): Likewise.
19519         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19520         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19521         * sysdeps/posix/raise.c (raise): Likewise.
19522         * sysdeps/posix/remove.c (remove): Likewise.
19523         * sysdeps/posix/rename.c (rename): Likewise.
19524         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19525         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19526         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19527         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19528         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19529         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19530         * sysdeps/posix/sigset.c (sigset): Likewise.
19531         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19532         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19533         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19534         * sysdeps/posix/time.c (time): Likewise.
19535         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19536         (ttyname): Likewise.
19537         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19538         * sysdeps/posix/utime.c (utime): Likewise.
19539         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19540         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19541         Likewise.
19542         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19543         (pthread_spin_trylock): Likewise.
19544         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19545         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19546         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19547         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19548         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19549         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19550         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19551         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19552         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19553         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19554         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19555         * sysdeps/s390/ffs.c (__ffs): Likewise.
19556         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19557         Likewise.
19558         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19559         Likewise.
19560         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19561         Likewise.
19562         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19563         (pthread_barrier_destroy): Likewise.
19564         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19565         (__pthread_barrier_wait): Likewise.
19566         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19567         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19568         (__pthread_barrier_wait): Likewise.
19569         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19570         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19571         (memcmp_not_common_alignment): Likewise.
19572         (MEMCMP): Likewise.
19573         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19574         (_wordcopy_fwd_dest_aligned): Likewise.
19575         (_wordcopy_bwd_aligned): Likewise.
19576         (_wordcopy_bwd_dest_aligned): Likewise.
19577         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19578         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19579         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19580         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19581         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19582         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19583         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19584         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19585         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19586         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19587         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19588         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19589         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19590         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19591         * sysdeps/unix/stime.c (stime): Likewise.
19592         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19593         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19594         Likewise.  Use internal_function.
19595         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19596         Convert to prototype-style function definition.
19597         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19598         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19599         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19600         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19601         Likewise.  Use internal_function.
19602         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19603         prototype-style function definition
19604         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19605         Likewise.
19606         (__getlogin_r): Likewise.
19607         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19608         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19609         (__pthread_cond_broadcast): Likewise.
19610         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19611         (__pthread_cond_destroy): Likewise.
19612         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19613         (__pthread_cond_init): Likewise.
19614         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19615         (__pthread_cond_signal): Likewise.
19616         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19617         (__pthread_cond_wait): Likewise.
19618         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19619         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19620         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19621         Likewise.
19622         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19623         Likewise.
19624         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19625         Likewise.
19626         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19627         Likewise.
19628         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19630         (__ftruncate64): Likewise.
19631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19632         (truncate64): Likewise.
19633         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19634         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19635         (pthread_getcpuclockid): Likewise.
19636         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19639         Likewise.
19640         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19641         Likewise.
19642         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19643         Likewise.
19644         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19645         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19646         (__libc_sigaction): Likewise.
19647         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19648         Likewise.
19649         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19650         (__sigprocmask): Likewise.
19651         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19652         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19653         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19654         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19655         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19656         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19657         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19658         Likewise.
19659         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19660         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19661         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19662         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19663         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19664         Likewise.
19665         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19666         (__sigprocmask): Likewise.
19667         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19668         (cfgetispeed): Likewise.
19669         (cfsetospeed): Likewise.
19670         (cfsetispeed): Likewise.
19671         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19672         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19673         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19674         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19675         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19676         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19677         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19678         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19679         Likewise.
19680         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19681         Likewise.
19682         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19683         Likewise.
19684         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19685         Likewise.
19686         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19688 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19690         sunrpc: Rewrite with explicit TLS access using __thread.
19691         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19692         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19693         directly.
19694         (__rpc_thread_variables): Access thread_rpc_vars directly.
19695         Eliminate redundant assignment of the tvp variable.
19697 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19699         malloc: Rewrite with explicit TLS access using __thread.
19700         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19701         (tsd_setspecific, tsd_getspecific): Remove.
19702         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19703         (tsd_setspecific, tsd_getspecific): Likewise.
19704         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19705         (tsd_setspecific, tsd_getspecific): Likewise.
19706         * malloc/arena.c (thread_arena): New TLS variable.
19707         (arena_key): Remove variable.
19708         (arena_get): Use thread_arena.
19709         (arena_lookup): Remove macro.
19710         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19711         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19712         (_int_new_arena, get_free_list, reused_arena)
19713         (arena_thread_freeres): Use thread_arena.
19714         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19715         tsd_getspecific, tsd_setspecific from safety annotations.
19716         (Allocating Cleared Space): Remove arena_lookup from safety
19717         annotations.
19719 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19721         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19722         struct scratch_buffer instead of extend_alloca.
19724 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19726         * sysdeps/unix/sysv/linux/kernel-features.h
19727         (__ASSUME_SOCK_CLOEXEC): Remove.
19728         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19729         (__have_paccept): Remove unused macro.
19730         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19731         * misc/syslog.c (openlog_internal): Remove fallback code for
19732         !__ASSUME_SOCK_CLOEXEC.
19733         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19734         missing SOCK_CLOEXEC.
19735         * nscd/connections.c (have_sock_cloexec): Remove definition.
19736         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19737         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19738         !__ASSUME_SOCK_CLOEXEC.
19739         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19740         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19741         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19742         definition.
19743         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19744         code for !__ASSUME_SOCK_CLOEXEC.
19746 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19748         [BZ #18982]
19749         * manual/stdio.texi (Variable Arguments Output): Add portability
19750         note, explaining that vfprintf clobbers the va_list pointer.
19752 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19754         * math/libm-test.inc (fabs_test_data): Add more tests.
19755         (fdim_test_data): Likewise.
19756         (fma_test_data): Likewise.
19757         (fmax_test_data): Likewise.
19758         (fmin_test_data): Likewise.
19759         (fmod_test_data): Likewise.
19761 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19763         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19764         data.
19766 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19768         * math/libm-test.inc (ceil_test_data): Add more tests and more
19769         expectations for "inexact".
19770         (floor_test_data): Add more tests.
19771         (round_test_data): Likewise.
19772         (trunc_test_data): Likewise.
19774         * crypt/cert.c (good_bye): Convert to prototype-style function
19775         definition.
19776         (get8): Likewise.
19777         (put8): Likewise.
19778         * crypt/crypt-entry.c (crypt): Likewise.
19779         (__fcrypt): Likewise.
19780         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19781         (_ufc_set_bits): Likewise.
19782         (_ufc_clearmem): Likewise.
19783         (__init_des_r): Likewise.
19784         (shuffle_sb): Likewise.
19785         (shuffle_sb): Likewise.
19786         (_ufc_setup_salt_r): Likewise.
19787         (_ufc_mk_keytab_r): Likewise.
19788         (_ufc_dofinalperm_r): Likewise.
19789         (encrypt): Likewise.
19790         (__setkey_r): Likewise.
19791         (setkey): Likewise.
19792         * crypt/md5.c (md5_init_ctx): Likewise.
19793         (md5_read_ctx): Likewise.
19794         (md5_finish_ctx): Likewise.
19795         (md5_stream): Likewise.
19796         (md5_buffer): Likewise.
19797         (md5_process_bytes): Likewise.
19798         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19799         (__sha256_finish_ctx): Likewise.
19800         (__sha256_process_bytes): Likewise.
19801         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19802         (__sha512_finish_ctx): Likewise.
19803         (__sha512_process_bytes): Likewise.
19804         * ctype/isctype.c (__isctype): Likewise.
19805         * debug/backtrace.c (__backtrace): Likewise.
19806         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19807         * debug/fgets_chk.c (__fgets_chk): Likewise.
19808         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19809         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19810         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19811         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19812         * debug/memset_chk.c (__memset_chk): Likewise.
19813         * debug/strcat_chk.c (__strcat_chk): Likewise.
19814         * debug/strncat_chk.c (__strncat_chk): Likewise.
19815         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19816         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19817         * dirent/dirfd.c (dirfd): Likewise.
19818         * dirent/getdents.c (__getdirentries): Likewise.
19819         * dirent/getdents64.c (getdirentries64): Likewise.
19820         * dirent/rewinddir.c (__rewinddir): Likewise.
19821         * dirent/seekdir.c (seekdir): Likewise.
19822         * dirent/telldir.c (telldir): Likewise.
19823         * elf/sln.c (makesymlinks): Likewise.
19824         (makesymlink): Likewise.
19825         * gmon/gmon.c (__moncontrol): Likewise.
19826         (__monstartup): Likewise.
19827         (write_hist): Likewise.
19828         (write_call_graph): Likewise.
19829         (write_bb_counts): Likewise.
19830         * grp/setgroups.c (setgroups): Likewise.
19831         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19832         * inet/inet_net.c (inet_network): Likewise.
19833         * inet/inet_netof.c (inet_netof): Likewise.
19834         * inet/rcmd.c (rresvport_af): Likewise.
19835         (rresvport): Likewise.
19836         * io/access.c (__access): Likewise.
19837         * io/chdir.c (__chdir): Likewise.
19838         * io/chmod.c (__chmod): Likewise.
19839         * io/chown.c (__chown): Likewise.
19840         * io/close.c (__close): Likewise.
19841         * io/creat.c (creat): Likewise.
19842         * io/creat64.c (creat64): Likewise.
19843         * io/dup.c (__dup): Likewise.
19844         * io/dup2.c (__dup2): Likewise.
19845         * io/dup3.c (__dup3): Likewise.
19846         * io/euidaccess.c (__euidaccess): Likewise.
19847         * io/faccessat.c (faccessat): Likewise.
19848         * io/fchmod.c (__fchmod): Likewise.
19849         * io/fchmodat.c (fchmodat): Likewise.
19850         * io/fchown.c (__fchown): Likewise.
19851         * io/fchownat.c (fchownat): Likewise.
19852         * io/fcntl.c (__fcntl): Likewise.
19853         * io/flock.c (__flock): Likewise.
19854         * io/fts.c (fts_load): Likewise.
19855         (fts_close): Likewise.
19856         (fts_read): Likewise.
19857         (fts_set): Likewise.
19858         (fts_children): Likewise.
19859         (fts_build): Likewise.
19860         (fts_stat): Likewise.
19861         (fts_sort): Likewise.
19862         (fts_alloc): Likewise.
19863         (fts_lfree): Likewise.
19864         (fts_palloc): Likewise.
19865         (fts_padjust): Likewise.
19866         (fts_maxarglen): Likewise.
19867         (fts_safe_changedir): Likewise.
19868         * io/getwd.c (getwd): Likewise.
19869         * io/isatty.c (__isatty): Likewise.
19870         * io/lchown.c (__lchown): Likewise.
19871         * io/link.c (__link): Likewise.
19872         * io/linkat.c (linkat): Likewise.
19873         * io/lseek.c (__libc_lseek): Likewise.
19874         * io/mkdir.c (__mkdir): Likewise.
19875         * io/mkdirat.c (mkdirat): Likewise.
19876         * io/mkfifo.c (mkfifo): Likewise.
19877         * io/mkfifoat.c (mkfifoat): Likewise.
19878         * io/open.c (__libc_open): Likewise.
19879         * io/open64.c (__libc_open64): Likewise.
19880         * io/readlink.c (__readlink): Likewise.
19881         * io/readlinkat.c (readlinkat): Likewise.
19882         * io/rmdir.c (__rmdir): Likewise.
19883         * io/symlink.c (__symlink): Likewise.
19884         * io/symlinkat.c (symlinkat): Likewise.
19885         * io/ttyname.c (ttyname): Likewise.
19886         * io/ttyname_r.c (__ttyname_r): Likewise.
19887         * io/umask.c (__umask): Likewise.
19888         * io/unlink.c (__unlink): Likewise.
19889         * io/unlinkat.c (unlinkat): Likewise.
19890         * io/utime.c (utime): Likewise.
19891         * libio/clearerr.c (clearerr): Likewise.
19892         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19893         * libio/feof.c (_IO_feof): Likewise.
19894         * libio/feof_u.c (feof_unlocked): Likewise.
19895         * libio/ferror.c (_IO_ferror): Likewise.
19896         * libio/ferror_u.c (ferror_unlocked): Likewise.
19897         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19898         * libio/fileno.c (__fileno): Likewise.
19899         * libio/fputc.c (fputc): Likewise.
19900         * libio/fputc_u.c (fputc_unlocked): Likewise.
19901         * libio/fputwc.c (fputwc): Likewise.
19902         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19903         * libio/freopen.c (freopen): Likewise.
19904         * libio/freopen64.c (freopen64): Likewise.
19905         * libio/fseek.c (fseek): Likewise.
19906         * libio/fseeko.c (fseeko): Likewise.
19907         * libio/fseeko64.c (fseeko64): Likewise.
19908         * libio/ftello.c (__ftello): Likewise.
19909         * libio/ftello64.c (ftello64): Likewise.
19910         * libio/fwide.c (fwide): Likewise.
19911         * libio/genops.c (_IO_un_link): Likewise.
19912         (_IO_link_in): Likewise.
19913         (_IO_least_marker): Likewise.
19914         (_IO_switch_to_main_get_area): Likewise.
19915         (_IO_switch_to_backup_area): Likewise.
19916         (_IO_switch_to_get_mode): Likewise.
19917         (_IO_free_backup_area): Likewise.
19918         (_IO_switch_to_put_mode): Likewise.
19919         (__overflow): Likewise.
19920         (__underflow): Likewise.
19921         (__uflow): Likewise.
19922         (_IO_setb): Likewise.
19923         (_IO_doallocbuf): Likewise.
19924         (_IO_default_underflow): Likewise.
19925         (_IO_default_uflow): Likewise.
19926         (_IO_default_xsputn): Likewise.
19927         (_IO_sgetn): Likewise.
19928         (_IO_default_xsgetn): Likewise.
19929         (_IO_sync): Likewise.
19930         (_IO_default_setbuf): Likewise.
19931         (_IO_default_seekpos): Likewise.
19932         (_IO_default_doallocate): Likewise.
19933         (_IO_init): Likewise.
19934         (_IO_old_init): Likewise.
19935         (_IO_default_sync): Likewise.
19936         (_IO_default_finish): Likewise.
19937         (_IO_default_seekoff): Likewise.
19938         (_IO_sputbackc): Likewise.
19939         (_IO_sungetc): Likewise.
19940         (_IO_set_column): Likewise.
19941         (_IO_set_column): Likewise.
19942         (_IO_adjust_column): Likewise.
19943         (_IO_get_column): Likewise.
19944         (_IO_init_marker): Likewise.
19945         (_IO_remove_marker): Likewise.
19946         (_IO_marker_difference): Likewise.
19947         (_IO_marker_delta): Likewise.
19948         (_IO_seekmark): Likewise.
19949         (_IO_unsave_markers): Likewise.
19950         (_IO_nobackup_pbackfail): Likewise.
19951         (_IO_default_pbackfail): Likewise.
19952         (_IO_default_seek): Likewise.
19953         (_IO_default_stat): Likewise.
19954         (_IO_default_read): Likewise.
19955         (_IO_default_write): Likewise.
19956         (_IO_default_showmanyc): Likewise.
19957         (_IO_default_imbue): Likewise.
19958         (_IO_iter_next): Likewise.
19959         (_IO_iter_file): Likewise.
19960         * libio/getc.c (_IO_getc): Likewise.
19961         * libio/getwc.c (_IO_getwc): Likewise.
19962         * libio/iofclose.c (_IO_new_fclose): Likewise.
19963         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19964         * libio/iofflush.c (_IO_fflush): Likewise.
19965         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19966         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19967         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19968         * libio/iofgets.c (_IO_fgets): Likewise.
19969         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19970         * libio/iofgetws.c (fgetws): Likewise.
19971         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19972         * libio/iofopen64.c (_IO_fopen64): Likewise.
19973         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19974         (_IO_cookie_write): Likewise.
19975         (_IO_cookie_seek): Likewise.
19976         (_IO_cookie_close): Likewise.
19977         (_IO_cookie_seekoff): Likewise.
19978         (_IO_old_cookie_seek): Likewise.
19979         * libio/iofputs.c (_IO_fputs): Likewise.
19980         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19981         * libio/iofputws.c (fputws): Likewise.
19982         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19983         * libio/iofread.c (_IO_fread): Likewise.
19984         * libio/iofread_u.c (__fread_unlocked): Likewise.
19985         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19986         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19987         * libio/ioftell.c (_IO_ftell): Likewise.
19988         * libio/iofwrite.c (_IO_fwrite): Likewise.
19989         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19990         * libio/iogets.c (_IO_gets): Likewise.
19991         * libio/iopadn.c (_IO_padn): Likewise.
19992         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19993         (_IO_new_popen): Likewise.
19994         (_IO_new_proc_close): Likewise.
19995         * libio/ioputs.c (_IO_puts): Likewise.
19996         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19997         (_IO_seekoff): Likewise.
19998         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19999         (_IO_seekpos): Likewise.
20000         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
20001         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
20002         * libio/ioungetc.c (_IO_ungetc): Likewise.
20003         * libio/ioungetwc.c (ungetwc): Likewise.
20004         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20005         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
20006         * libio/iowpadn.c (_IO_wpadn): Likewise.
20007         * libio/libc_fatal.c (__libc_fatal): Likewise.
20008         * libio/memstream.c (__open_memstream): Likewise.
20009         (_IO_mem_sync): Likewise.
20010         (_IO_mem_finish): Likewise.
20011         * libio/oldfileops.c (_IO_old_file_init): Likewise.
20012         (_IO_old_file_close_it): Likewise.
20013         (_IO_old_file_finish): Likewise.
20014         (_IO_old_file_fopen): Likewise.
20015         (_IO_old_file_attach): Likewise.
20016         (_IO_old_file_setbuf): Likewise.
20017         (_IO_old_do_write): Likewise.
20018         (old_do_write): Likewise.
20019         (_IO_old_file_underflow): Likewise.
20020         (_IO_old_file_overflow): Likewise.
20021         (_IO_old_file_sync): Likewise.
20022         (_IO_old_file_seekoff): Likewise.
20023         (_IO_old_file_write): Likewise.
20024         (_IO_old_file_xsputn): Likewise.
20025         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
20026         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20027         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
20028         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
20029         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20030         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
20031         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
20032         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
20033         (_IO_old_popen): Likewise.
20034         (_IO_old_proc_close): Likewise.
20035         * libio/oldpclose.c (__old_pclose): Likewise.
20036         * libio/pclose.c (__new_pclose): Likewise.
20037         * libio/peekc.c (_IO_peekc_locked): Likewise.
20038         * libio/putc.c (_IO_putc): Likewise.
20039         * libio/putc_u.c (putc_unlocked): Likewise.
20040         * libio/putchar.c (putchar): Likewise.
20041         * libio/putchar_u.c (putchar_unlocked): Likewise.
20042         * libio/putwc.c (putwc): Likewise.
20043         * libio/putwc_u.c (putwc_unlocked): Likewise.
20044         * libio/putwchar.c (putwchar): Likewise.
20045         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20046         * libio/rewind.c (rewind): Likewise.
20047         * libio/setbuf.c (setbuf): Likewise.
20048         * libio/setlinebuf.c (setlinebuf): Likewise.
20049         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20050         * libio/vscanf.c (_IO_vscanf): Likewise.
20051         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20052         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20053         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20054         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20055         (_IO_switch_to_main_wget_area): Likewise.
20056         (_IO_switch_to_wbackup_area): Likewise.
20057         (_IO_wsetb): Likewise.
20058         (_IO_wdefault_pbackfail): Likewise.
20059         (_IO_wdefault_finish): Likewise.
20060         (_IO_wdefault_uflow): Likewise.
20061         (__woverflow): Likewise.
20062         (__wuflow): Likewise.
20063         (__wunderflow): Likewise.
20064         (_IO_wdefault_xsputn): Likewise.
20065         (_IO_wdefault_xsgetn): Likewise.
20066         (_IO_wdoallocbuf): Likewise.
20067         (_IO_wdefault_doallocate): Likewise.
20068         (_IO_switch_to_wget_mode): Likewise.
20069         (_IO_free_wbackup_area): Likewise.
20070         (_IO_switch_to_wput_mode): Likewise.
20071         (_IO_sputbackwc): Likewise.
20072         (_IO_sungetwc): Likewise.
20073         (_IO_adjust_wcolumn): Likewise.
20074         (_IO_init_wmarker): Likewise.
20075         (_IO_wmarker_delta): Likewise.
20076         (_IO_seekwmark): Likewise.
20077         (_IO_unsave_wmarkers): Likewise.
20078         * libio/wmemstream.c (open_wmemstream): Likewise.
20079         (_IO_wmem_sync): Likewise.
20080         (_IO_wmem_finish): Likewise.
20081         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20082         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20083         * locale/programs/simple-hash.c (init_hash): Likewise.
20084         (delete_hash): Likewise.
20085         (insert_entry): Likewise.
20086         (set_entry): Likewise.
20087         (next_prime): Likewise.
20088         (is_prime): Likewise.
20089         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20090         (xmalloc): Likewise.
20091         (xrealloc): Likewise.
20092         * locale/programs/xstrdup.c (xstrdup): Likewise.
20093         * localedata/collate-test.c (xstrcoll): Likewise.
20094         * localedata/xfrm-test.c (xstrcmp): Likewise.
20095         * login/getlogin_r.c (__getlogin_r): Likewise.
20096         * login/getpt.c (__posix_openpt): Likewise.
20097         * login/login_tty.c (login_tty): Likewise.
20098         * login/setlogin.c (setlogin): Likewise.
20099         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20100         (mach_msg_destroy_port): Likewise.
20101         (mach_msg_destroy_memory): Likewise.
20102         * malloc/mcheck.c (flood): Likewise.
20103         * misc/acct.c (acct): Likewise.
20104         * misc/brk.c (__brk): Likewise.
20105         * misc/chflags.c (chflags): Likewise.
20106         * misc/chroot.c (chroot): Likewise.
20107         * misc/fchflags.c (fchflags): Likewise.
20108         * misc/fstab.c (getfsspec): Likewise.
20109         (getfsfile): Likewise.
20110         * misc/fsync.c (fsync): Likewise.
20111         * misc/ftruncate.c (__ftruncate): Likewise.
20112         * misc/ftruncate64.c (__ftruncate64): Likewise.
20113         * misc/getdomain.c (getdomainname): Likewise.
20114         (getdomainname): Likewise.
20115         * misc/gethostname.c (__gethostname): Likewise.
20116         * misc/getpass.c (getpass): Likewise.
20117         * misc/getttyent.c (skip): Likewise.
20118         (value): Likewise.
20119         * misc/gtty.c (gtty): Likewise.
20120         * misc/hsearch.c (hsearch): Likewise.
20121         (hcreate): Likewise.
20122         * misc/hsearch_r.c (__hcreate_r): Likewise.
20123         (__hdestroy_r): Likewise.
20124         * misc/ioctl.c (__ioctl): Likewise.
20125         * misc/mkdtemp.c (mkdtemp): Likewise.
20126         * misc/mkostemp.c (mkostemp): Likewise.
20127         * misc/mkostemp64.c (mkostemp64): Likewise.
20128         * misc/mkostemps.c (mkostemps): Likewise.
20129         * misc/mkostemps64.c (mkostemps64): Likewise.
20130         * misc/mkstemp.c (mkstemp): Likewise.
20131         * misc/mkstemp64.c (mkstemp64): Likewise.
20132         * misc/mkstemps.c (mkstemps): Likewise.
20133         * misc/mkstemps64.c (mkstemps64): Likewise.
20134         * misc/mktemp.c (__mktemp): Likewise.
20135         * misc/preadv.c (preadv): Likewise.
20136         * misc/preadv64.c (preadv64): Likewise.
20137         * misc/pwritev.c (pwritev): Likewise.
20138         * misc/pwritev64.c (pwritev64): Likewise.
20139         * misc/readv.c (__readv): Likewise.
20140         * misc/revoke.c (revoke): Likewise.
20141         * misc/setdomain.c (setdomainname): Likewise.
20142         * misc/setegid.c (setegid): Likewise.
20143         * misc/seteuid.c (seteuid): Likewise.
20144         * misc/sethostid.c (sethostid): Likewise.
20145         * misc/sethostname.c (sethostname): Likewise.
20146         * misc/setregid.c (__setregid): Likewise.
20147         * misc/setreuid.c (__setreuid): Likewise.
20148         * misc/sstk.c (sstk): Likewise.
20149         * misc/stty.c (stty): Likewise.
20150         * misc/syscall.c (syscall): Likewise.
20151         * misc/syslog.c (setlogmask): Likewise.
20152         * misc/truncate.c (__truncate): Likewise.
20153         * misc/truncate64.c (truncate64): Likewise.
20154         * misc/ualarm.c (ualarm): Likewise.
20155         * misc/usleep.c (usleep): Likewise.
20156         * misc/ustat.c (ustat): Likewise.
20157         * misc/writev.c (__writev): Likewise.
20158         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20159         * nptl/old_pthread_cond_broadcast.c
20160         (__pthread_cond_broadcast_2_0): Likewise.
20161         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20162         Likewise.
20163         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20164         Likewise.
20165         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20166         Likewise.
20167         * nptl/pt-raise.c (raise): Likewise.
20168         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20169         Likewise.
20170         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20171         * nptl/pthread_barrierattr_destroy.c
20172         (pthread_barrierattr_destroy): Likewise.
20173         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20174         Likewise.
20175         * nptl/pthread_barrierattr_setpshared.c
20176         (pthread_barrierattr_setpshared): Likewise.
20177         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20178         Likewise.
20179         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20180         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20181         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20182         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20183         Likewise.
20184         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20185         Likewise.
20186         * nptl/pthread_condattr_getpshared.c
20187         (pthread_condattr_getpshared): Likewise.
20188         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20189         Likewise.
20190         * nptl/pthread_condattr_setpshared.c
20191         (pthread_condattr_setpshared): Likewise.
20192         * nptl/pthread_detach.c (pthread_detach): Likewise.
20193         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20194         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20195         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20196         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20197         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20198         Likewise.
20199         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20200         Likewise.
20201         * nptl/pthread_mutex_getprioceiling.c
20202         (pthread_mutex_getprioceiling): Likewise.
20203         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20204         Likewise.
20205         * nptl/pthread_mutexattr_getprotocol.c
20206         (pthread_mutexattr_getprotocol): Likewise.
20207         * nptl/pthread_mutexattr_getpshared.c
20208         (pthread_mutexattr_getpshared): Likewise.
20209         * nptl/pthread_mutexattr_getrobust.c
20210         (pthread_mutexattr_getrobust): Likewise.
20211         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20212         Likewise.
20213         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20214         Likewise.
20215         * nptl/pthread_mutexattr_setprioceiling.c
20216         (pthread_mutexattr_setprioceiling): Likewise.
20217         * nptl/pthread_mutexattr_setprotocol.c
20218         (pthread_mutexattr_setprotocol): Likewise.
20219         * nptl/pthread_mutexattr_setpshared.c
20220         (pthread_mutexattr_setpshared): Likewise.
20221         * nptl/pthread_mutexattr_setrobust.c
20222         (pthread_mutexattr_setrobust): Likewise.
20223         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20224         Likewise.
20225         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20226         Likewise.
20227         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20228         Likewise.
20229         * nptl/pthread_rwlockattr_getkind_np.c
20230         (pthread_rwlockattr_getkind_np): Likewise.
20231         * nptl/pthread_rwlockattr_getpshared.c
20232         (pthread_rwlockattr_getpshared): Likewise.
20233         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20234         Likewise.
20235         * nptl/pthread_rwlockattr_setkind_np.c
20236         (pthread_rwlockattr_setkind_np): Likewise.
20237         * nptl/pthread_rwlockattr_setpshared.c
20238         (pthread_rwlockattr_setpshared): Likewise.
20239         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20240         Likewise.
20241         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20242         Likewise.
20243         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20244         Likewise.
20245         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20246         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20247         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20248         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20249         * nptl/sem_close.c (sem_close): Likewise.
20250         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20251         * nptl/sem_init.c (__old_sem_init): Likewise.
20252         * nptl/sigaction.c (__sigaction): Likewise.
20253         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20254         * posix/_exit.c (_exit): Likewise.
20255         * posix/alarm.c (alarm): Likewise.
20256         * posix/confstr.c (confstr): Likewise.
20257         * posix/fpathconf.c (__fpathconf): Likewise.
20258         * posix/getgroups.c (__getgroups): Likewise.
20259         * posix/getpgid.c (__getpgid): Likewise.
20260         * posix/group_member.c (__group_member): Likewise.
20261         * posix/pathconf.c (__pathconf): Likewise.
20262         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20263         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20264         * posix/setgid.c (__setgid): Likewise.
20265         * posix/setpgid.c (__setpgid): Likewise.
20266         * posix/setuid.c (__setuid): Likewise.
20267         * posix/sleep.c (__sleep): Likewise.
20268         * posix/sysconf.c (__sysconf): Likewise.
20269         * posix/times.c (__times): Likewise.
20270         * posix/uname.c (__uname): Likewise.
20271         * posix/waitid.c (__waitid): Likewise.
20272         * pwd/getpw.c (__getpw): Likewise.
20273         * resolv/base64.c (b64_pton): Likewise.
20274         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20275         * resolv/gethnamaddr.c (Dprintf): Likewise.
20276         (gethostbyname): Likewise.
20277         (gethostbyname2): Likewise.
20278         (gethostbyaddr): Likewise.
20279         (_sethtent): Likewise.
20280         (_gethtbyname): Likewise.
20281         (_gethtbyname2): Likewise.
20282         (_gethtbyaddr): Likewise.
20283         (map_v4v6_address): Likewise.
20284         (map_v4v6_hostent): Likewise.
20285         (addrsort): Likewise.
20286         (ht_sethostent): Likewise.
20287         (ht_gethostbyname): Likewise.
20288         (ht_gethostbyaddr): Likewise.
20289         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20290         (inet_net_ntop_ipv4): Likewise.
20291         * resolv/inet_neta.c (inet_neta): Likewise.
20292         * resolv/inet_ntop.c (inet_ntop): Likewise.
20293         (inet_ntop4): Likewise.
20294         (inet_ntop6): Likewise.
20295         * resolv/inet_pton.c (__inet_pton): Likewise.
20296         (inet_pton4): Likewise.
20297         (inet_pton6): Likewise.
20298         * resolv/res_debug.c (loc_aton): Likewise.
20299         (loc_ntoa): Likewise.
20300         * resource/getpriority.c (__getpriority): Likewise.
20301         * resource/getrusage.c (__getrusage): Likewise.
20302         * resource/nice.c (nice): Likewise.
20303         * resource/setpriority.c (__setpriority): Likewise.
20304         * resource/setrlimit64.c (setrlimit64): Likewise.
20305         * resource/vlimit.c (vlimit): Likewise.
20306         * resource/vtimes.c (vtimes): Likewise.
20307         * rt/aio_error.c (aio_error): Likewise.
20308         * rt/aio_return.c (aio_return): Likewise.
20309         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20310         * signal/kill.c (__kill): Likewise.
20311         * signal/killpg.c (killpg): Likewise.
20312         * signal/raise.c (raise): Likewise.
20313         * signal/sigaction.c (__sigaction): Likewise.
20314         * signal/sigaddset.c (sigaddset): Likewise.
20315         * signal/sigaltstack.c (sigaltstack): Likewise.
20316         * signal/sigandset.c (sigandset): Likewise.
20317         * signal/sigblock.c (__sigblock): Likewise.
20318         * signal/sigdelset.c (sigdelset): Likewise.
20319         * signal/sigempty.c (sigemptyset): Likewise.
20320         * signal/sigfillset.c (sigfillset): Likewise.
20321         * signal/sighold.c (sighold): Likewise.
20322         * signal/sigignore.c (sigignore): Likewise.
20323         * signal/sigintr.c (siginterrupt): Likewise.
20324         * signal/sigisempty.c (sigisemptyset): Likewise.
20325         * signal/sigismem.c (sigismember): Likewise.
20326         * signal/signal.c (signal): Likewise.
20327         * signal/sigorset.c (sigorset): Likewise.
20328         * signal/sigpause.c (__sigpause): Likewise.
20329         * signal/sigpending.c (sigpending): Likewise.
20330         * signal/sigprocmask.c (__sigprocmask): Likewise.
20331         * signal/sigrelse.c (sigrelse): Likewise.
20332         * signal/sigreturn.c (__sigreturn): Likewise.
20333         * signal/sigset.c (sigset): Likewise.
20334         * signal/sigsetmask.c (__sigsetmask): Likewise.
20335         * signal/sigstack.c (sigstack): Likewise.
20336         * signal/sigsuspend.c (__sigsuspend): Likewise.
20337         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20338         * signal/sysv_signal.c (__sysv_signal): Likewise.
20339         * socket/accept.c (accept): Likewise.
20340         * socket/accept4.c (__libc_accept4): Likewise.
20341         * socket/bind.c (__bind): Likewise.
20342         * socket/connect.c (__connect): Likewise.
20343         * socket/getpeername.c (getpeername): Likewise.
20344         * socket/getsockname.c (__getsockname): Likewise.
20345         * socket/getsockopt.c (getsockopt): Likewise.
20346         * socket/listen.c (__listen): Likewise.
20347         * socket/recv.c (__recv): Likewise.
20348         * socket/recvmsg.c (__recvmsg): Likewise.
20349         * socket/send.c (__send): Likewise.
20350         * socket/sendmsg.c (__sendmsg): Likewise.
20351         * socket/shutdown.c (shutdown): Likewise.
20352         * socket/sockatmark.c (sockatmark): Likewise.
20353         * socket/socket.c (__socket): Likewise.
20354         * stdio-common/ctermid.c (ctermid): Likewise.
20355         * stdio-common/cuserid.c (cuserid): Likewise.
20356         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20357         * stdio-common/remove.c (remove): Likewise.
20358         * stdio-common/rename.c (rename): Likewise.
20359         * stdio-common/renameat.c (renameat): Likewise.
20360         * stdio-common/tempname.c (__gen_tempname): Likewise.
20361         * stdio-common/xbug.c (InitBuffer): Likewise.
20362         (AppendToBuffer): Likewise.
20363         (ReadFile): Likewise.
20364         * stdlib/a64l.c (a64l): Likewise.
20365         * stdlib/drand48_r.c (drand48_r): Likewise.
20366         * stdlib/getcontext.c (getcontext): Likewise.
20367         * stdlib/getenv.c (getenv): Likewise.
20368         * stdlib/l64a.c (l64a): Likewise.
20369         * stdlib/llabs.c (llabs): Likewise.
20370         * stdlib/lldiv.c (lldiv): Likewise.
20371         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20372         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20373         * stdlib/putenv.c (putenv): Likewise.
20374         * stdlib/random.c (__srandom): Likewise.
20375         (__initstate): Likewise.
20376         (__setstate): Likewise.
20377         * stdlib/random_r.c (__srandom_r): Likewise.
20378         (__setstate_r): Likewise.
20379         (__random_r): Likewise.
20380         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
20381         * stdlib/setcontext.c (setcontext): Likewise.
20382         * stdlib/setenv.c (setenv): Likewise.
20383         (unsetenv): Likewise.
20384         * stdlib/srand48.c (srand48): Likewise.
20385         * stdlib/srand48_r.c (__srand48_r): Likewise.
20386         * stdlib/swapcontext.c (swapcontext): Likewise.
20387         * stdlib/system.c (__libc_system): Likewise.
20388         * stdlib/tst-strtod.c (expand): Likewise.
20389         * stdlib/tst-strtol.c (expand): Likewise.
20390         * stdlib/tst-strtoll.c (expand): Likewise.
20391         * streams/fattach.c (fattach): Likewise.
20392         * streams/fdetach.c (fdetach): Likewise.
20393         * streams/getmsg.c (getmsg): Likewise.
20394         * streams/isastream.c (isastream): Likewise.
20395         * string/ffs.c (__ffs): Likewise.
20396         * string/ffsll.c (ffsll): Likewise.
20397         * string/memcmp.c (memcmp_common_alignment): Likewise.
20398         (memcmp_not_common_alignment): Likewise.
20399         (MEMCMP): Likewise.
20400         * string/memcpy.c (memcpy): Likewise.
20401         * string/memmove.c (MEMMOVE): Likewise.
20402         * string/memset.c (memset): Likewise.
20403         * string/rawmemchr.c (RAWMEMCHR): Likewise.
20404         * string/strchrnul.c (STRCHRNUL): Likewise.
20405         * string/strerror.c (strerror): Likewise.
20406         * string/strndup.c (__strndup): Likewise.
20407         * string/strverscmp.c (__strverscmp): Likewise.
20408         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
20409         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
20410         (clnttcp_freeres): Likewise.
20411         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
20412         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
20413         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
20414         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
20415         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
20416         (xdr_callhdr): Likewise.
20417         * sunrpc/rpcinfo.c (udpping): Likewise.
20418         (tcpping): Likewise.
20419         (pstatus): Likewise.
20420         (pmapdump): Likewise.
20421         (brdcst): Likewise.
20422         (deletereg): Likewise.
20423         (getprognum): Likewise.
20424         (getvers): Likewise.
20425         (get_inet_address): Likewise.
20426         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
20427         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20428         (svcudp_stat): Likewise.
20429         (svcudp_recv): Likewise.
20430         (svcudp_reply): Likewise.
20431         (svcudp_getargs): Likewise.
20432         (svcudp_freeargs): Likewise.
20433         (svcudp_destroy): Likewise.
20434         * sunrpc/xdr.c (xdr_bytes): Likewise.
20435         (xdr_netobj): Likewise.
20436         (xdr_string): Likewise.
20437         (xdr_wrapstring): Likewise.
20438         * sunrpc/xdr_float.c (xdr_float): Likewise.
20439         (xdr_double): Likewise.
20440         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
20441         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
20442         * sysvipc/ftok.c (ftok): Likewise.
20443         * sysvipc/msgctl.c (msgctl): Likewise.
20444         * sysvipc/msgget.c (msgget): Likewise.
20445         * sysvipc/msgrcv.c (msgrcv): Likewise.
20446         * sysvipc/msgsnd.c (msgsnd): Likewise.
20447         * sysvipc/semget.c (semget): Likewise.
20448         * sysvipc/semop.c (semop): Likewise.
20449         * sysvipc/shmat.c (shmat): Likewise.
20450         * sysvipc/shmctl.c (shmctl): Likewise.
20451         * sysvipc/shmdt.c (shmdt): Likewise.
20452         * sysvipc/shmget.c (shmget): Likewise.
20453         * termios/cfmakeraw.c (cfmakeraw): Likewise.
20454         * termios/speed.c (cfgetospeed): Likewise.
20455         (cfgetispeed): Likewise.
20456         (cfsetospeed): Likewise.
20457         (cfsetispeed): Likewise.
20458         * termios/tcflow.c (tcflow): Likewise.
20459         * termios/tcflush.c (tcflush): Likewise.
20460         * termios/tcgetattr.c (__tcgetattr): Likewise.
20461         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20462         * termios/tcgetsid.c (tcgetsid): Likewise.
20463         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20464         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20465         * time/adjtime.c (__adjtime): Likewise.
20466         * time/dysize.c (dysize): Likewise.
20467         * time/ftime.c (ftime): Likewise.
20468         * time/getitimer.c (__getitimer): Likewise.
20469         * time/gettimeofday.c (__gettimeofday): Likewise.
20470         * time/gmtime.c (__gmtime_r): Likewise.
20471         (gmtime): Likewise.
20472         * time/localtime.c (__localtime_r): Likewise.
20473         (localtime): Likewise.
20474         * time/offtime.c (__offtime): Likewise.
20475         * time/settimeofday.c (__settimeofday): Likewise.
20476         * time/stime.c (stime): Likewise.
20477         * time/strftime_l.c (tm_diff): Likewise.
20478         (iso_week_days): Likewise.
20479         * time/strptime.c (strptime): Likewise.
20480         * time/time.c (time): Likewise.
20481         * time/timespec_get.c (timespec_get): Likewise.
20482         * time/tzset.c (tzset_internal): Likewise.
20483         (compute_change): Likewise.
20484         (__tz_compute): Likewise.
20485         * wcsmbs/btowc.c (__btowc): Likewise.
20486         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20487         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20488         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20489         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20490         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20491         * wcsmbs/wcscat.c (__wcscat): Likewise.
20492         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20493         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20494         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20495         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20496         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20497         * wcsmbs/wcslen.c (__wcslen): Likewise.
20498         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20499         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20500         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20501         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20502         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20503         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20504         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20505         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20506         * wcsmbs/wcstok.c (wcstok): Likewise.
20507         * wcsmbs/wctob.c (wctob): Likewise.
20508         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20509         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20510         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20511         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20512         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20513         * wcsmbs/wmemset.c (__wmemset): Likewise.
20514         * wctype/wcfuncs.c (__towlower): Likewise.
20515         (__towupper): Likewise.
20517         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20518         (lll_unlock_elision): Add adapt_count parameter.
20520 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20522         * sysdeps/nptl/configure.ac: Do not give errors based on the
20523         results of top-level configure tests.
20524         * sysdeps/nptl/configure: Regenerated.
20526         * configure.ac (libc_cv_Bgroup): Remove configure test.
20527         * configure: Regenerated.
20528         * config.make.in (have-Bgroup): Remove variable.
20530         * configure.ac (sizeof_long_double): Remove configure test.
20531         * configure: Regenerated.
20532         * config.make.in (sizeof-long-double): Remove variable.
20534         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20535         * configure: Regenerated.
20536         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20537         variable.
20538         (exceptions): Likewise.
20539         * sysdeps/arm/configure: Regenerated.
20540         * config.make.in (exceptions): Remove variable.
20541         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20542         $(exceptions).
20543         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20544         (CFLAGS-vdprintf_chk.c): Likewise.
20545         (CFLAGS-printf_chk.c): Likewise.
20546         (CFLAGS-fprintf_chk.c): Likewise.
20547         (CFLAGS-vprintf_chk.c): Likewise.
20548         (CFLAGS-vfprintf_chk.c): Likewise.
20549         (CFLAGS-gets_chk.c): Likewise.
20550         (CFLAGS-fgets_chk.c): Likewise.
20551         (CFLAGS-fgets_u_chk.c): Likewise.
20552         (CFLAGS-fread_chk.c): Likewise.
20553         (CFLAGS-fread_u_chk.c): Likewise.
20554         (CFLAGS-wprintf_chk.c): Likewise.
20555         (CFLAGS-fwprintf_chk.c): Likewise.
20556         (CFLAGS-vwprintf_chk.c): Likewise.
20557         (CFLAGS-vfwprintf_chk.c): Likewise.
20558         (CFLAGS-fgetws_chk.c): Likewise.
20559         (CFLAGS-fgetws_u_chk.c): Likewise.
20560         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20561         (CFLAGS-fputc.c): Likewise.
20562         (CFLAGS-fputwc.c): Likewise.
20563         (CFLAGS-freopen64.c): Likewise.
20564         (CFLAGS-freopen.c): Likewise.
20565         (CFLAGS-fseek.c): Likewise.
20566         (CFLAGS-fseeko64.c): Likewise.
20567         (CFLAGS-fseeko.c): Likewise.
20568         (CFLAGS-ftello64.c): Likewise.
20569         (CFLAGS-ftello.c): Likewise.
20570         (CFLAGS-fwide.c): Likewise.
20571         (CFLAGS-genops.c): Likewise.
20572         (CFLAGS-getc.c): Likewise.
20573         (CFLAGS-getchar.c): Likewise.
20574         (CFLAGS-getwc.c): Likewise.
20575         (CFLAGS-getwchar.c): Likewise.
20576         (CFLAGS-iofclose.c): Likewise.
20577         (CFLAGS-iofflush.c): Likewise.
20578         (CFLAGS-iofgetpos64.c): Likewise.
20579         (CFLAGS-iofgetpos.c): Likewise.
20580         (CFLAGS-iofgets.c): Likewise.
20581         (CFLAGS-iofgetws.c): Likewise.
20582         (CFLAGS-iofputs.c): Likewise.
20583         (CFLAGS-iofputws.c): Likewise.
20584         (CFLAGS-iofread.c): Likewise.
20585         (CFLAGS-iofsetpos64.c): Likewise.
20586         (CFLAGS-iofsetpos.c): Likewise.
20587         (CFLAGS-ioftell.c): Likewise.
20588         (CFLAGS-iofwrite.c): Likewise.
20589         (CFLAGS-iogetdelim.c): Likewise.
20590         (CFLAGS-iogetline.c): Likewise.
20591         (CFLAGS-iogets.c): Likewise.
20592         (CFLAGS-iogetwline.c): Likewise.
20593         (CFLAGS-ioputs.c): Likewise.
20594         (CFLAGS-ioseekoff.c): Likewise.
20595         (CFLAGS-ioseekpos.c): Likewise.
20596         (CFLAGS-iosetbuffer.c): Likewise.
20597         (CFLAGS-iosetvbuf.c): Likewise.
20598         (CFLAGS-ioungetc.c): Likewise.
20599         (CFLAGS-ioungetwc.c): Likewise.
20600         (CFLAGS-oldfileops.c): Likewise.
20601         (CFLAGS-oldiofclose.c): Likewise.
20602         (CFLAGS-oldiofgetpos64.c): Likewise.
20603         (CFLAGS-oldiofgetpos.c): Likewise.
20604         (CFLAGS-oldiofsetpos64.c): Likewise.
20605         (CFLAGS-oldiofsetpos.c): Likewise.
20606         (CFLAGS-peekc.c): Likewise.
20607         (CFLAGS-putc.c): Likewise.
20608         (CFLAGS-putchar.c): Likewise.
20609         (CFLAGS-putwc.c): Likewise.
20610         (CFLAGS-putwchar.c): Likewise.
20611         (CFLAGS-rewind.c): Likewise.
20612         (CFLAGS-wfileops.c): Likewise.
20613         (CFLAGS-wgenops.c): Likewise.
20614         (CFLAGS-oldiofopen.c): Likewise.
20615         (CFLAGS-iofopen.c): Likewise.
20616         (CFLAGS-iofopen64.c): Likewise.
20617         (CFLAGS-oldtmpfile.c): Likewise.
20618         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20619         (CFLAGS-fprintf.c): Likewise.
20620         (CFLAGS-printf.c): Likewise.
20621         (CFLAGS-vfwprintf.c): Likewise.
20622         (CFLAGS-vfscanf.c): Likewise.
20623         (CFLAGS-vfwscanf.c): Likewise.
20624         (CFLAGS-fscanf.c): Likewise.
20625         (CFLAGS-scanf.c): Likewise.
20626         (CFLAGS-isoc99_vfscanf.c): Likewise.
20627         (CFLAGS-isoc99_vscanf.c): Likewise.
20628         (CFLAGS-isoc99_fscanf.c): Likewise.
20629         (CFLAGS-isoc99_scanf.c): Likewise.
20630         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20631         (CFLAGS-isoc99_fwscanf.c): Likewise.
20632         (CFLAGS-isoc99_vwscanf.c): Likewise.
20633         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20635         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20636         after mkstemp64.
20637         * login/tst-utmp.c (do_prepare): Likewise.
20638         * rt/tst-aio.c (do_prepare): Likewise.
20639         * rt/tst-aio64.c (do_prepare): Likewise.
20641 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20643         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20644         (__lll_lock_elision): Remove adapt_count decrement...
20645         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20646         (__lll_trylock_elision): Likewise.
20647         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20648         (__lll_unlock_elision): ... to here. And utilize
20649         new adapt_count parameter.
20650         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20651         (__lll_unlock_elision): Update to include adapt_count
20652         parameter.
20653         (lll_unlock_elision): Pass pointer to adapt_count
20654         variable.
20656 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20658         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20659         Add elision adapt_count parameter to list of arguments.
20660         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20661         (lll_unlock_elision): Update with new parameter list
20662         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20663         (lll_unlock_elision): Likewise.
20664         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20665         (lll_unlock_elision): Likewise.
20667 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20669         [BZ #19122]
20670         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20671         attribute_hidden.
20673         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20674         attribute_hidden.
20675         [IS_IN (rtld)] (__strdup): Likewise.
20676         [IS_IN (rtld)] (__strerror_r): Likewise.
20677         [IS_IN (rtld)] (__strsep_g): Likewise.
20678         [IS_IN (rtld)] (memchr): Likewise.
20679         [IS_IN (rtld)] (memcmp): Likewise.
20680         [IS_IN (rtld)] (memcpy): Likewise.
20681         [IS_IN (rtld)] (memmove): Likewise.
20682         [IS_IN (rtld)] (memset): Likewise.
20683         [IS_IN (rtld)] (rawmemchr): Likewise.
20684         [IS_IN (rtld)] (stpcpy): Likewise.
20685         [IS_IN (rtld)] (strchr): Likewise.
20686         [IS_IN (rtld)] (strcmp): Likewise.
20687         [IS_IN (rtld)] (strlen): Likewise.
20688         [IS_IN (rtld)] (strnlen): Likewise.
20689         [IS_IN (rtld)] (strsep): Likewise.
20691         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20692         attribute_hidden.
20693         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20695         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20696         attribute_hidden.
20697         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20699         * include/setjmp.h (__longjmp): Add attribute_hidden.
20700         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20702         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20703         Add attribute_hidden.
20705         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20706         [IS_IN (rtld)] (__open): Likewise.
20707         [IS_IN (rtld)] (__fcntl): Likewise.
20709         * include/dirent.h (__opendirat): Add attribute_hidden.
20710         (__getdents): Likewise.
20711         (__getdents64): Likewise.
20712         (__alloc_dir): Likewise.
20713         [IS_IN (rtld)] (__closedir): Likewise.
20714         [IS_IN (rtld)] (__fdopendir): Likewise.
20715         [IS_IN (rtld)] (__readdir): Likewise.
20716         [IS_IN (rtld)] (__readdir64): Likewise.
20717         [IS_IN (rtld)] (__rewinddir): Likewise.
20719         * include/dlfcn.h (_dl_catch_error): Moved to ...
20720         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20721         attribute_hidden.
20723         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20724         (_itoa_word): Likewise.
20726         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20727         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20728         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20729         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20730         (_dl_higher_prime_number): Likewise.
20731         (_dl_debug_printf_c): Likewise.
20732         (_dl_signal_cerror): Likewise.
20733         (_dl_receive_error): Likewise.
20734         (_dl_reloc_bad_type): Likewise.
20735         (_dl_resolve_conflicts): Likewise.
20736         (_dl_check_all_versions): Likewise.
20737         (_dl_check_map_versions): Likewise.
20738         (_dl_sort_fini): Likewise.
20739         (_dl_debug_initialize): Likewise.
20740         (_dl_init_paths): Likewise.
20741         (_dl_show_auxv): Likewise.
20742         (_dl_next_ld_env_entry): Likewise.
20743         (_dl_important_hwcaps): Likewise.
20744         (_dl_load_cache_lookup): Likewise.
20745         (_dl_update_slotinfo): Likewise.
20746         (_dl_show_scope): Likewise.
20748         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20749         attribute_hidden.
20750         (_wordcopy_fwd_dest_aligned): Likewise.
20751         (_wordcopy_bwd_aligned): Likewise.
20752         (_wordcopy_bwd_dest_aligned): Likewise.
20754         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20755         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20756         Likewise.
20757         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20758         Likewise.
20759         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20761 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20763         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20764         GCC 5 requirement.
20766 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20768         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20769         test.
20770         * sysdeps/i386/configure: Regenerated.
20771         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20772         code unconditional.
20774         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20775         test.
20776         (libc_cv_asm_popsection_directive): Likewise.
20777         * configure: Regenerated.
20778         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20779         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20780         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20781         (__make_section_unallocated): Make definition unconditional.
20782         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20783         Remove conditional definition.
20784         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20785         (__make_section_unallocated): Likewise.
20787         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20788         * configure: Regenerated.
20789         * config.make.in (static-libgcc): Remove variable.
20790         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20791         $(static-libgcc).
20792         (build-module-helper): Likewise.
20794         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20795         * configure: Regenerated.
20797 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20799         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20800         (struct char_buffer): New type.
20801         (char_buffer_start, char_buffer_size, char_buffer_error)
20802         (char_buffer_rewind, char_buffer_add): New functions.
20803         (ADDW): Remove macro, replaced by the char_buffer_add function.
20804         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20805         of extend_alloca.  Make control flow more explicit.
20807 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20809         [BZ #19137]
20810         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20811         Add -fomit-frame-pointer.
20812         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20814 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20816         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20817         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20819         only if !__GNUC_PREREQ (5,0).
20820         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20821         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20822         (INTERNAL_SYSCALL_NCS): Likewise.
20823         (LOADREGS_0): New macro for GCC 5.
20824         (ASMARGS_0): Likewise.
20825         (LOADREGS_1): Likewise.
20826         (ASMARGS_1): Likewise.
20827         (LOADREGS_2): Likewise.
20828         (ASMARGS_2): Likewise.
20829         (LOADREGS_3): Likewise.
20830         (ASMARGS_3): Likewise.
20831         (LOADREGS_4): Likewise.
20832         (ASMARGS_4): Likewise.
20833         (LOADREGS_5): Likewise.
20834         (ASMARGS_5): Likewise.
20835         (LOADREGS_6): Likewise.
20836         (ASMARGS_6): Likewise.
20838 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20840         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20841         -fomit-frame-pointer.
20842         (CFLAGS-mmap64.c): Likewise.
20843         (CFLAGS-semtimedop.c): Likewise.
20844         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20845         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20846         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20847         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20849 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20851         [BZ #18928]
20852         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20853         _dl_pointer_guard member.
20854         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20855         initializer.
20856         (security_init): Always set up pointer guard.
20857         (process_envvars): Do not process LD_POINTER_GUARD.
20859 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20861         [BZ #19134]
20862         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20863         (.LC2): Likewise.
20864         (.LC3): Likewise.
20865         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20867 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20869         [BZ #19129]
20870         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20871         r0 and r1.
20873 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20875         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20877 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20879         * include/stap-probe.h: Fix macro definition formatting.
20881 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20883         [BZ #19074]
20884         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20885         load and store num_ifs.
20887 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20889         [BZ #18822]
20890         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20891         (__sched_getaffinity_new): Add libc_hidden_proto and
20892         libc_hidden_def.
20894 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20896         [BZ #19007]
20897         * scripts/localplt.awk: Also allow GOT references.
20898         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20899         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20900         with "+ REL R_386_GLOB_DAT".
20901         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20902         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20904 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20906         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20907         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20908         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20909         Likewise.
20910         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20911         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20912         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20913         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20914         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20915         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20916         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20917         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20918         Likewise.
20919         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20921 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20923         [BZ #19125]
20924         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20925         <math_private.h> and <stdint.h>.
20926         (__llround): Avoid conversions to and from long long int, and
20927         subtractions, where those might raise spurious exceptions.
20928         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20929         <math_private.h> and <stdint.h>.
20930         (__llroundf): Avoid conversions to and from long long int, and
20931         subtractions, where those might raise spurious exceptions.
20933 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20935         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20936         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20937         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20938         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20939         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20940         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20941         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20942         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20943         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20944         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20945         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20946         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20947         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20948         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20949         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20950         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20951         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20952         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20953         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20954         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20955         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20956         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20957         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20958         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20959         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20960         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20961         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20962         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20963         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20964         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20965         (__xstat64_conv): Likewise.
20966         (__xstat32_conv): Likewise.
20968 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20970         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20971         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20972         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20973         <sysdeps/unix/sysv/linux/sysdep.h>.
20974         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20975         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20976         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20977         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20978         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20979         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20980         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20981         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20982         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20987         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20988         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20990         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20991         (sysdep-dl-routines): Add sysdep.
20992         [$(subdir) == nptl] (libpthread-routines): Likewise.
20993         [$(subdir) == rt] (librt-routines): Likewise.
20994         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20995         PIC when branching to SYSCALL_ERROR_LABEL.
20996         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20997         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20998         <sysdeps/unix/sysv/linux/sysdep.h>.
20999         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
21000         (SYSCALL_ERROR_ERRNO): Removed.
21001         (SYSCALL_ERROR_HANDLER): Changed to empty.
21002         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
21003         (__syscall_error): New prototype.
21004         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
21005         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
21007 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21009         [BZ #19124]
21010         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
21011         (_dl_runtime_resolve_avx512): Make it a hidden alias of
21012         _dl_runtime_resolve_avx.
21013         (_dl_runtime_profile_avx512): Make it a hidden alias of
21014         _dl_runtime_profile_avx.
21016 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21018         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
21019         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
21020         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
21021         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
21023         [BZ #16422]
21024         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
21025         New configure test.
21026         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
21027         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
21028         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
21029         <math_private.h> and <stdint.h>.
21030         (__llrint): Avoid conversions to long long int where those might
21031         raise spurious exceptions.
21032         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21033         <math_private.h> and <stdint.h>.
21034         (__llrintf): Avoid conversions to long long int where those might
21035         raise spurious exceptions.
21037 2015-10-12  Andreas Schwab  <schwab@suse.de>
21039         [BZ #18969]
21040         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
21041         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21042         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21043         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21044         $(gen-locales).
21045         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21046         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21047         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21048         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21049         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21050         $(gen-locales).
21051         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21052         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21053         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21054         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21055         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21056         ($(objpfx)tst-ftell-active-handler.out)
21057         ($(objpfx)tst-ftell-append.out)
21058         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21059         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21060         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21061         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21062         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21063         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21064         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21065         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21066         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21067         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21068         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21069         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21070         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21071         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21072         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21073         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21074         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21075         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21076         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21077         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21078         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21079         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21080         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21081         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21082         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21083         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21084         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21085         $(gen-locales).
21086         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21087         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21088         $(gen-locales).
21089         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21090         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21091         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21092         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21093         $(gen-locales).
21094         * libio/tst_wprintf2.c (main): Use explicit locale.
21095         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21097 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21099         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21100         __msg_sig_post.
21101         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21103 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21105         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21106         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21108         * sysdeps/arm/libm-test-ulps: Regenerated.
21110         [BZ #15470]
21111         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21113         [BZ #16399]
21114         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21115         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21116         and <fix-fp-int-convert-overflow.h>.
21117         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21118         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21119         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21120         and <fix-fp-int-convert-overflow.h>.
21121         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21122         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21123         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21124         <fix-fp-int-convert-overflow.h>.
21125         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21126         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21127         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21128         <fix-fp-int-convert-overflow.h>.
21129         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21130         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21131         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21132         and <fix-fp-int-convert-overflow.h>.
21133         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21134         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21135         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21136         <limits.h> and <fix-fp-int-convert-overflow.h>.
21137         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21138         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21139         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21140         and <fix-fp-int-convert-overflow.h>.
21141         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21142         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21143         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21144         and <fix-fp-int-convert-overflow.h>.
21145         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21146         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21147         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21149 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21151         [BZ #18589]
21152         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21153         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21154         $(gen-locales).
21156 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21157             Phil Blundell <pb@pbcl.net>
21159         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21160         * nptl/tst-cancel26.c: New file.
21161         * nptl/tst-cancel27.c: Likewise.
21163 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21165         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21166         __ILP32__ isn't defined.
21167         (lrint): Likewise.
21168         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21169         (lrintf): Likewise.
21170         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21171         (lrintl): Likewise.
21172         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21173         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21174         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21176 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21178         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21179         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21181         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21182         file.
21183         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21184         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21186 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21188         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21189         configure test.
21190         * sysdeps/i386/configure: Regenerated.
21191         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21192         configure test.
21193         * sysdeps/x86_64/configure: Regenerated.
21194         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21195         Make code unconditional.
21197         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21198         test.
21199         * sysdeps/i386/configure: Regenerated.
21200         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21201         test.
21202         * sysdeps/x86_64/configure: Regenerated.
21203         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21204         Make code unconditional.
21205         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21206         Likewise.
21207         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21208         Likewise.
21209         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21210         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21211         code unconditional.
21212         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21213         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21214         code unconditional.
21215         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21216         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21217         code unconditional.
21218         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21219         code unconditional.
21220         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21221         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21222         code unconditional.
21223         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21224         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21225         code unconditional.
21226         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21227         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21228         code unconditional.
21229         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21230         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21231         code unconditional.
21232         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21233         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21235         [BZ #19095]
21236         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21237         mantissa to long int before shifting left.
21239 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21241         [BZ #19094]
21242         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21243         <limits.h>.
21244         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21245         when result overflows but exception would not result from cast.
21246         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
21247         <limits.h>.
21248         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21249         when result overflows but exception would not result from cast.
21250         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
21251         <limits.h>.
21252         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21253         when result overflows but exception would not result from cast.
21254         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21255         <limits.h>.
21256         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21257         when result overflows but exception would not result from cast.
21258         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21259         <limits.h>.
21260         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21261         when result overflows but exception would not result from cast.
21262         * math/libm-test.inc (lrint_test_data): Add more tests.
21263         (llrint_test_data): Likewise.
21265 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21267         [BZ #18872]
21268         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21269         Move out from under [$(run-built-tests) = yes] conditional.
21270         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21271         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21273 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21275         [BZ #18589]
21276         * string/Makefile (tests): Add bug-strcoll2.
21277         (LOCALES): Add cs_CZ.UTF-8.
21278         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21280         [BZ #18589]
21281         * string/bug-strcoll2.c: New file.
21282         * locale/categories.def: Revert commit
21283         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21284         * locale/langinfo.h: Likewise.
21285         * locale/localeinfo.h: Likewise.
21286         * locale/C-collate.c: Likewise.
21287         * locale/programs/ld-collate.c (collate_output): Likewise.
21288         * string/strcoll_l.c (STRDIFF): Likewise.
21289         (STRCOLL): Likewise.
21290         * wcsmbs/wcscoll_l.c: Likewise.
21292 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21294         * math/libm-test.inc (lround_test_data): Do not expect the absence
21295         of "inexact" for some tests with non-integer arguments.
21296         (llround_test_data): Likewise.
21298         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21299         test.
21300         (libc_cv_cc_sse2avx): Likewise.
21301         * sysdeps/i386/configure: Regenerated.
21302         * sysdeps/i386/i686/multiarch/Makefile
21303         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21304         [$(subdir) = math].
21305         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21306         code unconditional.
21307         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21308         Likewise.
21309         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21310         Likewise.
21311         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21312         Likewise.
21313         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21314         test.
21315         (libc_cv_cc_sse2avx): Likewise.
21316         * sysdeps/x86_64/configure: Regenerated.
21317         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21318         unconditional.
21319         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21320         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21321         unconditional.
21322         (_dl_runtime_profile)
21323         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21324         conditional code.
21325         * sysdeps/x86_64/fpu/multiarch/Makefile
21326         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21327         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21328         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21329         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21330         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21331         * sysdeps/x86_64/fpu/multiarch/e_log.c
21332         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21333         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21334         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21335         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21336         Likewise.
21337         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21338         Likewise.
21339         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21340         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21341         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21342         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21343         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21344         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21345         (HAVE_SSE2AVX_SUPPORT): Likewise.
21347 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21349         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21350         instead of #pragma optimize.
21352 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21354         [BZ #17195]
21355         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21356         as is similarly done in systrim and _int_free already.
21358 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21360         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21362 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21364         [BZ #19088]
21365         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21366         <limits.h>.
21367         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21368         overflows but exception would not result from cast.
21369         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21370         and <limits.h>.
21371         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21372         overflows but exception would not result from cast.
21373         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
21374         <limits.h>.
21375         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21376         overflows but exception would not result from cast.
21377         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
21378         <limits.h>.
21379         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21380         overflows but exception would not result from cast.
21381         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
21382         <limits.h>.
21383         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21384         overflows but exception would not result from cast.
21385         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
21386         <limits.h>.
21387         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21388         overflows but exception would not result from cast.
21389         * math/libm-test.inc (lround_test_data): Add more tests.
21390         (llround_test_data): Likewise.
21392 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
21394         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
21395         (CFLAGS-ialloc.c): Ditto.
21396         (CFLAGS-scheck.c): Ditto.
21398 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21400         [BZ #19086]
21401         * manual/filesys.texi (Storage Allocation): Fix argument order for
21402         posix_fallocate64.
21404 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21406         [BZ #19085]
21407         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
21408         exponent below 48 inside case for non-overflowing exponent.
21409         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
21411 2015-10-07  Florian Weimer  <fweimer@redhat.com>
21413         * iconvdata/cp737.h (from_idx): Add const.
21414         * iconvdata/cp775.h (from_idx): Likewise.
21416 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21418         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
21419         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
21420         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
21422         [BZ #19079]
21423         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
21424         file, conditioned on [!_LP64].
21425         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
21426         [!_LP64] (__lround): Do not define as function or alias.
21427         [!_LP64] (lround): Likewise.
21428         [!_LP64] (__lroundl): Likewise.
21429         [!_LP64] (lroundl): Likewise.
21430         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
21431         macro.
21432         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21433         Likewise.
21435 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21437         * math/libm-test.inc (lrint_test_data): Add more tests.
21438         (llrint_test_data): Likewise.
21439         (lround_test_data): Likewise.
21440         (llround_test_data): Likewise.
21442         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
21443         (llrint_test_data): Add tests used for lrint.
21445         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
21446         test.
21447         * sysdeps/i386/configure: Regenerated.
21448         * sysdeps/i386/i686/multiarch/Makefile
21449         [$(config-cflags-sse4) = yes]: Make code unconditional.
21450         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21451         Likewise.
21452         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
21453         Likewise.
21454         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
21455         test.
21456         * sysdeps/x86_64/configure: Regenerated.
21457         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21458         Make code unconditional.
21459         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21460         Likewise.
21461         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21462         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21464         * scripts/rpm2dynsym.sh: Remove file.
21466 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21468         * configure.ac (libc_cv_cxx_thread_local): Define.
21469         * configure: Regenerate.
21470         * config.make.in (have-cxx-thread_local): Define.
21471         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21472         (LDLIBS-tst-thread_local1): Define.
21473         (tests): Add tst-thread_local1.
21474         [have-cxx-thread_local != yes] (tests-unsupported): Add
21475         tst-thread_local1.
21476         * nptl/tst-thread_local1.cc: New file.
21478 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21480         [BZ #19078]
21481         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21482         (u_thres): Likewise.
21483         (__expl): Determine whether to call __kernel_standard_l based on
21484         value of result, not argument.
21486         * math/libm-test.inc (scalb_test_data): Add more expectations for
21487         the "inexact" exception.
21489         [BZ #19077]
21490         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21491         0.0L for argument 1.0L.
21493         [BZ #19076]
21494         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21495         constant 0.0L when computing infinite result.
21497 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21499         [BZ #10432]
21500         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21501         malloc_usable_size.
21503 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21505         [BZ #19018]
21506         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21507         Mangle function pointer before storing it.
21508         (__call_tls_dtors): Demangle function pointer before calling it.
21510 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21512         [BZ #19012]
21513         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21514         Clean up on failure.
21516 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21518         [BZ #19071]
21519         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21520         long int variable to store possibly incremented high part of
21521         mantissa.
21522         * math/libm-test.inc (lround_test_data): Add tests used for
21523         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21524         for tests requiring 64-bit long.  Do not condition tests on
21525         [TEST_FLOAT] unnecessarily.
21526         (llround_test_data): Add tests used for lround.  Add another
21527         expectation for the "inexact" exception.  Do not condition tests
21528         on [TEST_FLOAT] unnecessarily.
21530         [BZ #887]
21531         [BZ #19049]
21532         [BZ #19050]
21533         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21534         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21535         <fix-int-fp-convert-zero.h>.
21536         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21537         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21538         <fix-int-fp-convert-zero.h>.
21539         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21540         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21541         <fix-int-fp-convert-zero.h>.
21542         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21543         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21544         <fix-int-fp-convert-zero.h>.
21545         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21546         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21547         <fix-int-fp-convert-zero.h>.
21548         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21549         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21550         <fix-int-fp-convert-zero.h>.
21551         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21552         * sysdeps/ieee754/flt-32/s_erff.c: Include
21553         <fix-int-fp-convert-zero.h>.
21554         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21555         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21556         <fix-int-fp-convert-zero.h>.
21557         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21559         <fix-int-fp-convert-zero.h>.
21560         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21561         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21562         <fix-int-fp-convert-zero.h>.
21563         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21564         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21565         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21566         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21567         file.
21568         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21570 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21572         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21574 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21576         [BZ #19059]
21577         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21578         overflowing computation.
21579         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21580         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21581         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21582         Likewise.
21583         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21584         Likewise.
21585         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21586         Likewise.
21587         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21588         Likewise.
21589         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21590         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21591         Likewise.
21592         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21593         Likewise.
21594         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21596         * nss/rewrite_field.c (__nss_rewrite_field): Use
21597         internal_function.
21598         * nss/valid_field.c (__nss_valid_field): Likewise.
21599         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21601 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21603         [BZ #18724]
21604         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21605         (__nss_invalid_field_characters, __nss_valid_field)
21606         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21607         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21608         tst-field.c: New file.
21609         * nss/Makefile (routines): Add valid_field, rewrite_field.
21610         (tests-static): Define unconditionally.
21611         (tests): Include tests-static.
21612         [build-static-nss] (tests-static): Use append.
21613         [build-static-nss] (tests): Remove modification.
21614         * nss/getent.c (print_group): Call putgrent.  Report error.
21615         (print_gshadow): Call putsgent.  Report error.
21616         (print_passwd): Call putpwent.  Report error.
21617         (print_shadow): Call putspent.  Report error.
21618         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21619         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21620         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21621         name, password, directory, shell fields for valid syntax.  Rewrite
21622         GECOS field to match syntax.
21623         * pwd/Makefile (tests): Add tst-putpwent.
21624         * pwd/tst-putpwent.c: New file.
21625         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21626         Check grName, grpasswd, gr_mem fields for valid syntax.
21627         Change loop variable i to size_t.
21628         * grp/Makefile (tests): Add tst-putgrent.
21629         * grp/tst-putgrent.c: New file.
21630         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21631         valid syntax.
21632         * shadow/Makefile (tests): Add tst-putspent.
21633         * shadow/tst-putspent.c: New file.
21634         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21635         sg_mem fields for valid syntax.
21636         * gshadow/Makefile (tests): Add tst-putsgent.
21637         * gshadow/tst-putsgent.c: New file.
21639 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21641         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21642         assembly instructions.
21644 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21646         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21647         prefix from operands.
21649 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21651         [BZ #16347]
21652         [BZ #19046]
21653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21654         <libc-internal.h>.
21655         (MAXLGM): Do not use diagnostic control macros.
21656         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21657         threshold for ldbl-128ibm.
21658         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21659         instead of multiplying by log then subtracting.
21660         * math/auto-libm-test-in: Add more tests of lgamma.
21661         * math/auto-libm-test-out: Regenerated.
21663         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21664         (TYPE_HEX_DIG): Likewise.
21665         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21666         precisions when printing floating-point numbers.
21667         (check_float_internal): Likewise.
21669 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21671         [BZ #16620]
21672         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21673         of log (10) rounded downward to 48 bits.
21674         (log10_low): Use corresponding low part of log (10).
21676         [BZ #19032]
21677         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21678         compute result as (x - x) / (x - x) not as 0 / 0.
21679         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21680         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21682         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21683         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21684         and expm1.
21685         * math/auto-libm-test-out: Regenerated.
21686         * math/libm-test.inc (acos_test_data): Add more tests.
21687         (asin_test_data): Likewise.
21688         (asinh_test_data): Likewise.
21689         (atan_test_data): Likewise.
21690         (atanh_test_data): Likewise.
21691         (atan2_test_data): Likewise.
21692         (cbrt_test_data): Likewise.
21693         (ceil_test_data): Likewise.
21694         (copysign_test_data): Likewise.
21695         (cos_test_data): Likewise.
21696         (cosh_test_data): Likewise.
21697         (erf_test_data): Likewise.
21698         (erfc_test_data): Likewise.
21699         (exp_test_data): Likewise.
21700         (exp10_test_data): Likewise.
21701         (exp2_test_data): Likewise.
21702         (expm1_test_data): Likewise.
21703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21705 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21707         [BZ #19006]
21708         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21709         to ...
21710         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21711         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21712         to ...
21713         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21714         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21715         to ...
21716         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21717         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21718         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21719         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21720         to ...
21721         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21722         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21723         Moved to ...
21724         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21725         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21726         Moved to ...
21727         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21728         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21729         to ...
21730         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21731         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21732         Moved to ...
21733         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21734         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21735         to ...
21736         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21737         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21738         Removed.
21739         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21740         Likewise.
21741         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21742         Likewise.
21743         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21744         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21745         Likewise.
21746         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21747         Likewise.
21748         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21749         Likewise.
21750         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21751         Likewise.
21752         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21753         Likewise.
21754         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21755         Likewise.
21756         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21757         Likewise.
21758         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21759         Likewise.
21760         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21761         Likewise.
21762         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21763         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21764         Likewise.
21765         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21766         Likewise.
21767         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21768         Likewise.
21769         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21770         Likewise.
21771         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21772         Likewise.
21773         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21774         Replace ../i486/pthread_cond_timedwait.S with
21775         ../pthread_cond_timedwait.S.
21777 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21779         * math/libm-test.inc (acos_test_data): Refine expectations for
21780         errno and "inexact" exceptions.
21781         (acosh_test_data): Likewise.
21782         (asin_test_data): Likewise.
21783         (asinh_test_data): Likewise.
21784         (atan_test_data): Likewise.
21785         (atanh_test_data): Likewise.
21786         (atan2_test_data): Likewise.
21787         (cbrt_test_data): Likewise.
21788         (ceil_test_data): Likewise.
21789         (copysign_test_data): Likewise.
21790         (cosh_test_data): Likewise.
21791         (erf_test_data): Likewise.
21792         (erfc_test_data): Likewise.
21793         (exp_test_data): Likewise.
21794         (exp10_test_data): Likewise.
21795         (exp2_test_data): Likewise.
21796         (expm1_test_data): Likewise.
21797         (fabs_test_data): Likewise.
21798         (floor_test_data): Likewise.
21799         (fma_test_data): Likewise.
21800         (fmax_test_data): Likewise.
21801         (fmin_test_data): Likewise.
21802         (fmod_test_data): Likewise.
21803         (fpclassify_test_data): Likewise.
21804         (frexp_test_data): Likewise.
21805         (hypot_test_data): Likewise.
21806         (ilogb_test_data): Likewise.
21807         (isgreater_test_data): Likewise.
21808         (isgreaterequal_test_data): Likewise.
21809         (isinf_test_data): Likewise.
21810         (isless_test_data): Likewise.
21811         (islessequal_test_data): Likewise.
21812         (islessgreater_test_data): Likewise.
21813         (isnan_test_data): Likewise.
21814         (isnormal_test_data): Likewise.
21815         (issignaling_test_data): Likewise.
21816         (isunordered_test_data): Likewise.
21817         (j0_test_data): Likewise.
21818         (j1_test_data): Likewise.
21819         (jn_test_data): Likewise.
21820         (lgamma_test_data): Likewise.
21821         (lrint_test_data): Likewise.
21822         (llrint_test_data): Likewise.
21823         (log_test_data): Likewise.
21824         (log10_test_data): Likewise.
21825         (log1p_test_data): Likewise.
21826         (log2_test_data): Likewise.
21827         (logb_test_data): Likewise.
21828         (lround_test_data): Likewise.
21829         (llround_test_data): Likewise.
21830         (modf_test_data): Likewise.
21831         (nearbyint_test_data): Likewise.
21832         (nextafter_test_data): Likewise.
21833         (nexttoward_test_data): Likewise.
21834         (pow_test_data): Likewise.
21835         (remainder_test_data): Likewise.
21836         (remquo_test_data): Likewise.
21837         (rint_test_data): Likewise.
21838         (round_test_data): Likewise.
21839         (signbit_test_data): Likewise.
21840         (sinh_test_data): Likewise.
21841         (sqrt_test_data): Likewise.
21842         (tanh_test_data): Likewise.
21843         (tgamma_test_data): Likewise.
21844         (trunc_test_data): Likewise.
21845         (y0_test_data): Likewise.
21846         (y1_test_data): Likewise.
21847         (yn_test_data): Likewise.
21848         (significand_test_data): Likewise.
21850 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21852         * manual/filesys.texi (Storage Allocation): Document that
21853         posix_fallocate emulation fails when fd is open with O_WRONLY.
21855 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21857         [BZ #19016]
21858         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21859         allow more cases with X^2 + Y^2 >= 0.5.
21860         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21861         normal element in sum instead of special-casing based on values of
21862         arguments.
21863         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21864         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21865         -1 as normal element in sum instead of special-casing based on
21866         values of arguments.
21867         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21868         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21869         (__x2y2m1): Update comment.
21870         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21871         as normal element in sum instead of special-casing based on values
21872         of arguments.
21873         * math/s_clog.c (__clog): Handle more cases using log1p without
21874         hypot.
21875         * math/s_clog10.c (__clog10): Likewise.
21876         * math/s_clog10f.c (__clog10f): Likewise.
21877         * math/s_clog10l.c (__clog10l): Likewise.
21878         * math/s_clogf.c (__clogf): Likewise.
21879         * math/s_clogl.c (__clogl): Likewise.
21880         * math/auto-libm-test-in: Add more tests of clog and clog10.
21881         * math/auto-libm-test-out: Regenerated.
21882         * sysdeps/i386/fpu/libm-test-ulps: Update.
21883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21885 2015-09-28  Martin Sebor  <msebor@redhat.com>
21887         [BZ #18969]
21888         * string/Makefile (LOCALES): Define.
21889         (gen-locales.mk): Include.
21890         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21891         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21892         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21893         on setlocale failure.
21895 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21897         [BZ #18985]
21898         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21899         (__strftime_internal): Likewise.
21900         * time/tst-strftime.c (do_bz18985): New test.
21901         (do_test): Call it.
21903 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21905         [BZ #18956]
21906         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21907         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21908         extracting high part.
21909         * math/auto-libm-test-in: Add another test of pow.
21910         * math/auto-libm-test-out: Regenerated.
21911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21913 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21915         [BZ #18825]
21916         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21917         New macro.
21918         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21919         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21920         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21921         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21922         DBL_NARROW_EVAL, reloading the PIC register as needed.
21923         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21924         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21925         FLT_NARROW_EVAL.  Use separate return path for case when first
21926         argument is NaN.
21927         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21928         DEFINE_LDBL_MIN.
21929         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21930         PIC register.
21931         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21932         math_check_force_underflow_nonneg.
21933         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21934         underflow for subnormal result.
21935         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21937         math_check_force_underflow_nonneg.
21938         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21939         math_check_force_underflow.
21940         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21941         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21942         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21943         DEFINE_LDBL_MIN.
21944         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21945         * math/auto-libm-test-in: Add more tests of pow.
21946         * math/auto-libm-test-out: Regenerated.
21948 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21950         * nss/bug17079.c (init_test_items): Add diagnostic for
21951         inconsistent entries.
21952         (test_buffer_size): Skip inconsistent entries.
21954 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21956         [BZ #13304]
21957         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21958         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21959         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21961         [BZ #13304]
21962         * sysdeps/microblaze/s_fma.c: New file.
21963         * sysdeps/microblaze/s_fmaf.c: Likewise.
21964         * sysdeps/microblaze/sfp-machine.h: Likewise.
21966 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21968         [BZ #17250]
21969         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21970         member.
21972 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21974         [BZ #18803]
21975         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21976         (MO): New macro.
21977         (__ieee754_hypot) [PIC]: Load PIC register.
21978         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21979         DBL_NARROW_EVAL.
21980         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21981         math_check_force_underflow_nonneg in case where result might be
21982         tiny.
21983         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21984         Likewise.
21985         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21986         Likewise.
21987         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21988         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21989         * math/auto-libm-test-in: Add more tests of hypot.
21990         * math/auto-libm-test-out: Regenerated.
21992 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21994         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21996 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21998         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21999         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
22000         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22001         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22002         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
22003         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22004         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22006         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
22007         LOAD_PIC_REG.
22009         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
22010         (FLT_CHECK_FORCE_UFLOW): Likewise.
22011         (DBL_CHECK_FORCE_UFLOW): Likewise.
22012         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
22013         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
22014         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
22015         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22016         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22017         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22018         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22019         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22020         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
22021         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22022         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
22023         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
22024         (flt_min): Replace with use of DEFINE_FLT_MIN.
22025         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
22026         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
22027         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22028         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
22029         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
22030         (flt_min): Replace with use of DEFINE_FLT_MIN.
22031         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
22032         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
22033         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22034         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
22035         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
22036         (flt_min): Replace with use of DEFINE_FLT_MIN.
22037         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
22038         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
22039         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22040         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22041         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22042         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22043         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22044         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22045         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22046         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22047         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22048         (flt_min): Replace with use of DEFINE_FLT_MIN.
22049         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22050         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22051         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22052         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22053         main computation.
22054         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22055         (flt_min): Replace with use of DEFINE_FLT_MIN.
22056         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22057         main computation.
22058         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22059         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22060         (MO): New macro.
22061         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22062         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22063         (flt_min): Replace with use of DEFINE_FLT_MIN.
22064         (MO): New macro.
22065         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22066         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22067         (__log1pl): Use MO.
22069         [BZ #19003]
22070         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22071         $(config-cflags-nofma).
22073 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22075         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22077 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22079         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22080         (TWO127): Likewise.
22082         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22083         (min_of_type): Likewise.
22084         (math_check_force_underflow): Likewise.
22085         (math_check_force_underflow_nonneg): Likewise.
22086         (math_check_force_underflow_complex): Likewise.
22087         * math/e_exp2l.c (__ieee754_exp2l): Use
22088         math_check_force_underflow_nonneg.
22089         * math/k_casinh.c (__kernel_casinh): Likewise.
22090         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22091         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22092         * math/s_catan.c (__catan): Use
22093         math_check_force_underflow_complex.
22094         * math/s_catanf.c (__catanf): Likewise.
22095         * math/s_catanh.c (__catanh): Likewise.
22096         * math/s_catanhf.c (__catanhf): Likewise.
22097         * math/s_catanhl.c (__catanhl): Likewise.
22098         * math/s_catanl.c (__catanl): Likewise.
22099         * math/s_ccosh.c (__ccosh): Likewise.
22100         * math/s_ccoshf.c (__ccoshf): Likewise.
22101         * math/s_ccoshl.c (__ccoshl): Likewise.
22102         * math/s_cexp.c (__cexp): Likewise.
22103         * math/s_cexpf.c (__cexpf): Likewise.
22104         * math/s_cexpl.c (__cexpl): Likewise.
22105         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22106         * math/s_clog10.c (__clog10): Likewise.
22107         * math/s_clog10f.c (__clog10f): Likewise.
22108         * math/s_clog10l.c (__clog10l): Likewise.
22109         * math/s_clogf.c (__clogf): Likewise.
22110         * math/s_clogl.c (__clogl): Likewise.
22111         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22112         * math/s_csinf.c (__csinf): Likewise.
22113         * math/s_csinh.c (__csinh): Likewise.
22114         * math/s_csinhf.c (__csinhf): Likewise.
22115         * math/s_csinhl.c (__csinhl): Likewise.
22116         * math/s_csinl.c (__csinl): Likewise.
22117         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22118         * math/s_csqrtf.c (__csqrtf): Likewise.
22119         * math/s_csqrtl.c (__csqrtl): Likewise.
22120         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22121         * math/s_ctanf.c (__ctanf): Likewise.
22122         * math/s_ctanh.c (__ctanh): Likewise.
22123         * math/s_ctanhf.c (__ctanhf): Likewise.
22124         * math/s_ctanhl.c (__ctanhl): Likewise.
22125         * math/s_ctanl.c (__ctanl): Likewise.
22126         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22127         instead of volatile.
22128         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22129         math_check_force_underflow.
22130         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22131         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22132         volatile when forcing underflow.
22133         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22134         math_check_force_underflow_nonneg.
22135         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22136         Likewise.
22137         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22138         math_check_force_underflow.
22139         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22140         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22141         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22142         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22143         math_check_force_underflow_nonneg.
22144         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22145         math_check_force_underflow.
22146         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22148         instead of volatile.
22149         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22150         math_check_force_underflow.
22151         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22153         math_check_force_underflow_nonneg.
22154         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22155         math_check_force_underflow.
22156         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22157         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22158         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22159         math_check_force_underflow_nonneg.
22160         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22161         Likewise.
22162         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22163         math_check_force_underflow.
22164         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22165         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22166         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22167         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22168         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22169         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22170         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22171         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22172         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22173         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22174         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22175         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22176         Likewise.
22177         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22178         math_check_force_underflow_nonneg.
22179         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22180         Likewise.
22181         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22182         math_check_force_underflow.
22183         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22184         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22185         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22186         Likewise.
22187         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22188         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22189         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22190         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22191         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22192         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22194         instead of volatile.
22195         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22196         math_check_force_underflow.
22197         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22199         math_check_force_underflow.
22200         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22201         Likewise.
22202         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22203         Use math_check_force_underflow_nonneg.
22204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22205         math_check_force_underflow.
22206         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22207         Likewise.
22208         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22209         Likewise.
22210         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22211         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22212         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22213         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22214         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22215         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22216         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22217         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22218         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22219         math_check_force_underflow_nonneg.
22220         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22221         math_check_force_underflow.
22222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22223         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22224         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22225         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22226         math_check_force_underflow_nonneg.
22227         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22228         math_check_force_underflow.
22229         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22231         instead of volatile.
22232         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22233         math_check_force_underflow.
22235         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22236         * stdlib/strtod_l.c: Include <math_private.h>.
22237         (overflow_value): Use math_narrow_eval.
22238         (underflow_value): Likewise.
22239         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22240         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22241         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22242         (__ieee754_gamma_r): Likewise.
22243         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22244         Likewise.
22245         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22246         Likewise.
22247         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22248         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22249         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22250         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22251         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22252         (__ieee754_gammaf_r): Likewise.
22253         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22254         Likewise.
22255         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22256         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22257         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22258         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22259         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22260         volatile.
22261         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22262         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22263         math_narrow_eval.
22264         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22265         Likewise.
22266         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22267         Likewise.
22268         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22269         Likewise.
22270         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22271         volatile.
22272         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22273         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22274         math_narrow_eval.
22275         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22276         Likewise.
22277         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22278         Likewise.
22280 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22282         * nptl/Versions: Remove ignored symbols.
22284 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22286         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22287         * nss/Makefile (tests): Update.
22289 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22291         * nss/bug18287.c: New file.
22292         * nss/Makefile (tests): Add bug18287.
22294 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22296         * mach/Versions (__mach_host_self_): Add symbol.
22298 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22300         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22301         vm_page_size.
22303 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22305         Really fix sysdeps/i386/fpu/s_scalbn.S build
22307         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22308         (libc: GLIBC_2_22): Remove unused version set.
22310 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22312         * config.make.in (enable-timezone-tools): New variable.
22313         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22314         (enable_timezone_tools): Export to generated files.
22315         * configure: Regenerate.
22316         * INSTALL: Regenerate.
22317         * manual/install.texi (--disable-timezone-tools): Document new flag.
22318         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22319         ifeq ($(enable-timezone-tools),yes) check.
22321 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22323         * timezone/Makefile: Revert previous change.
22325         [BZ #18980]
22326         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22327         (DEFINE_DBL_MIN): Likewise.
22328         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22329         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22330         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22331         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22332         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22333         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22334         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22335         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22336         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22337         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22338         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22339         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22340         (flt_min): Replace with use of DEFINE_FLT_MIN.
22341         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22342         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22343         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22344         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22345         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22346         (flt_min): Replace with use of DEFINE_FLT_MIN.
22347         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22348         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22349         (flt_min): Replace with use of DEFINE_FLT_MIN.
22350         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22351         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22352         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22353         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22354         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22355         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22356         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22357         (__ieee754_pow): Use DBL_NARROW_EVAL.
22358         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22359         (__ieee754_powf): Use FLT_NARROW_EVAL.
22360         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22361         (__ieee754_expf_sse2): Convert double-precision result to single
22362         precision.
22363         * sysdeps/i386/fpu/libm-test-ulps: Update.
22365 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22367         * timezone/Makefile: Ignore unused variable errors due to private.h
22368         (time_t_min) and (time_t_max).
22369         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22370         Likewise.
22372 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22374         [BZ #18981]
22375         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22376         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22377         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22378         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
22379         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
22380         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
22381         (__scalbn): Use DBL_NARROW_EVAL.
22382         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
22383         (__scalbnf): Use FLT_NARROW_EVAL.
22385 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22387         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
22388         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
22389         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
22390         * stdio-common/printf_fp.c (___printf_fp):
22391         Use signbit to get the sign. Use isinf macro to allow inlining.
22392         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22393         * stdio-common/printf_size.c (__printf_size): Likewise.
22395 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22397         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
22399 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22401         [BZ #18980]
22402         * sysdeps/generic/math_private.h: Include <float.h>.
22403         (math_narrow_eval): New macro.
22404         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
22405         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
22406         math_narrow_eval on overflowing return value.
22407         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
22408         Likewise.
22409         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22410         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
22411         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
22412         Likewise.
22413         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22415 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22417         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
22418         * math/Makefile: Remove isinf_ns.c.
22419         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
22420         * math/multc3.c (__multc3): Likewise.
22421         * math/s_casin.c (__casin): Likewise.
22422         * math/s_casinf.c (__casinf): Likewise.
22423         * math/s_casinl.c (__casinl): Likewise.
22424         * math/s_cproj.c (__cproj): Likewise.
22425         * math/s_cprojf.c (__cprojf): Likewise.
22426         * math/s_cprojl.c (__cprofl): Likewise.
22427         * math/s_ctan.c (__ctan): Likewise.
22428         * math/s_ctanf.c (__ctanf): Likewise.
22429         * math/s_ctanh.c (__ctanh): Likewise.
22430         * math/s_ctanhf.c (__ctanhf): Likewise.
22431         * math/s_ctanhl.c (__ctanhl): Likewise.
22432         * math/s_ctanl.c (__ctanl): Likewise.
22433         * math/w_fmod.c (__fmod): Likewise.
22434         * math/w_fmodf.c (__fmodf): Likewise.
22435         * math/w_fmodl.c (_fmodl): Likewise.
22436         * math/w_remainder.c (__remainder): Likewise.
22437         * math/w_remainderf.c (__remainderf): Likewise.
22438         * math/w_remainderl.c (__remainderl): Likewise.
22439         * math/w_scalb.c (__scalb): Likewise.
22440         * math/w_scalbf.c (__scalbf): Likewise.
22441         * math/w_scalbl.c (__scalbl): Likewise.
22442         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
22443         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
22444         with isinf.
22445         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
22446         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
22447         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
22448         __isinf_nsf with isinf.
22449         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
22450         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
22451         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
22452         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
22453         with isinf.
22454         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
22455         __isinf_nsl with isinf.
22456         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22457         with isinf.
22458         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22459         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22460         __isinf_nsl with isinf.
22461         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22462         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22463         with isinf.
22465 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22467         * resolv/base64.c (rcsid): Remove unused static.
22468         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22469         static.  (tqpi1): Likewise.
22470         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22471         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22472         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22473         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22474         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22475         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22476         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22477         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22478         Likewise.
22480 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22482         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22483         <nptl/pthreadP.h>.
22484         (_longjmp_unwind): Use __libc_ptf_call.
22485         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22487 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22489         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22490         * sysdeps/arm/__longjmp.S: Likewise.
22492 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22494         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22495         Use __builtin_signbit.
22496         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22497         Use __builtin_signbitf.
22498         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22499         Use __builtin_signbitl.
22500         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22501         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22503 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22505         [BZ #15367]
22506         [BZ #17441]
22508         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22509         * math/math.h (fpclassify): Use __builtin_fpclassify when
22510         available.  (signbit): Use __builtin_signbit(f/l).
22511         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22512         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22513         (isinf): Use __builtin_isinf_sign.
22515 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22517         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22518         * benchtests/bench-math-inlines.c: New benchmark.
22519         * benchtests/bench-util.h: New file.
22520         * benchtests/bench-util.c: New file.
22521         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22523 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22525         * elf/tst-dlmopen1.c: Define TEST_SO.
22526         (do_test): Use TEST_SO.
22528         * elf/dl-load.c: Include libc-internal.h.
22529         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22531 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22533         [BZ #17887]
22534         * time/strptime_l.c (__strptime_internal): Make %z accept
22535         [+-]HH:MM time zones.
22537 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22539         [BZ #17886]
22540         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22541         valid time zone.
22543 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22545         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22546         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22547         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22548         (__ASSUME_FDATASYNC): Delete.
22550 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22552         * conform/linknamespace.pl: Require weak undefined symbols to be
22553         in the standard namespace.
22554         (%strong_syms): Rename to %seen_syms.
22555         (%strong_seen): Rename to %seen_where.
22557 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22559         [BZ #18970]
22560         * misc/error.c (error): Replace pthread_setcancelstate with
22561         __pthread_setcancelstate.
22562         (error_at_line): Likewise.
22563         * posix/wordexp.c (parse_comm): Likewise.
22564         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22565         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22566         (__pthread_setcancelstate): This.
22567         (pthread_setcancelstate): Add an alias.
22568         * nptl/nptl-init.c (pthread_functions): Replace
22569         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22570         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22571         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22572         hidden_proto.
22573         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22574         it with hidden_def.
22575         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22576         (pthread_setcancelstate): Renamed to ...
22577         (__pthread_setcancelstate): This.
22578         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22579         __libc_ptf_call with __pthread_setcancelstate.
22581 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22582             Andreas Schwab  <schwab@suse.de>
22584         [BZ #17118]
22585         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22586         result when imaginary part of argument is infinite using sine and
22587         cosine.
22588         * math/s_ctanf.c (__ctanf): Likewise.
22589         * math/s_ctanl.c (__ctanl): Likewise.
22590         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22591         of result when real part of argument is infinite using sine and
22592         cosine.
22593         * math/s_ctanhf.c (__ctanhf): Likewise.
22594         * math/s_ctanhl.c (__ctanhl): Likewise.
22595         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22596         (ctanh_test_data): Add more tests of ctanh.
22598 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22600         [BZ #15384]
22601         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22602         bit-mask as in subtraction.
22603         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22604         Likewise.
22605         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22606         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22607         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22609         [BZ #18951]
22610         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22611         underflow exception for small results.
22612         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22613         Likewise.
22614         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22615         Likewise.
22616         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22617         Likewise.
22618         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22619         Likewise.
22620         * math/auto-libm-test-in: Add more tests of tgamma.
22621         * math/auto-libm-test-out: Regenerated.
22623 2015-09-17  Andreas Schwab  <schwab@suse.de>
22625         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22627 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22629         [BZ #18977]
22630         * math/bits/mathcalls.h
22631         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22632         not declare.
22633         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22634         Likewise.
22635         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22636         Likewise.
22637         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22638         Likewise.
22639         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22640         Likewise.
22641         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22642         Likewise.
22643         * conform/data/math.h-data
22644         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22645         function.
22646         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22647         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22648         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22649         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22650         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22651         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22652         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22653         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22654         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22655         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22656         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22658         [BZ #6803]
22659         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22660         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22661         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22662         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22663         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22664         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22665         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22666         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22667         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22668         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22669         Likewise.
22670         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22671         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22672         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22673         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22674         long_double_symbol calls.
22675         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22676         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22677         strong alias of __ldexpl.
22678         (scalbnl): Define using long_double_symbol.
22679         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22680         Remove alias.
22681         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22682         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22683         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22684         (scalbln_test_data): Add more errno expectations.
22686 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22688         Cache the host port like we cache the task port.  This way we do not
22689         need to call the kernel just to get the port.  Furthermore, we no
22690         longer increase the reference count on every invocation of
22691         `mach_host_self'.
22693         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22694         Protect declarations against the macro expansion.
22695         * mach/mach_init.c (__mach_host_self_): New variable.
22696         (mach_init): Initialize `__mach_host_self_'.
22697         * mach/mach_init.h (__mach_host_self_): New declaration.
22698         (__mach_host_self, mach_host_self): New macros.
22699         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22700         Release reference.
22702 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22704         [BZ #4404]
22705         * po/de.po: Update from Translation Project.
22707         [BZ #16415]
22708         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22709         (__expm1l): Remove code to handle positive infinity and overflow.
22710         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22711         variable.
22712         (__expm1l): Remove code to handle positive infinity and overflow.
22714 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22715             Paul Pluzhnikov  <ppluzhnikov@google.com>
22717         [BZ #18872]
22718         * stdio-common/Makefile (tst-printf-bz18872): New test.
22719         (tst-printf-bz18872-mem.out): Likewise.
22720         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22721         * stdio-common/vfprintf.c: Fix memory leaks.
22723 2015-09-16  Andreas Schwab  <schwab@suse.de>
22725         [BZ #17244]
22726         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22727         Remove extra va_start/va_end calls.
22729         [BZ #17243]
22730         * posix/execl.c (execl): Add missing va_end.
22731         * posix/execle.c (execle): Likewise.
22732         * posix/execlp.c (execlp): Likewise.
22734 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22736         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22737         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22739 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22741         [BZ #18967]
22742         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22743         undefine around includes of <bits/mathcalls.h>.
22744         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22745         not declare function.
22746         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22747         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22748         (scalb): Likewise.
22749         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22750         not define macro.
22751         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22752         variable.
22753         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22754         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22755         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22757         [BZ #18857]
22758         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22759         return non-finite argument without doing ordered comparisons on
22760         it.
22762         [BZ #16296]
22763         * math/fenv.h (fegetround): Use __attribute_pure__.
22764         * include/fenv.h (__fegetround): Likewise.
22766         [BZ #18595]
22767         * math/s_ctan.c (__ctan): Force underflow exception for results
22768         whose real or imaginary part has small absolute value.
22769         * math/s_ctanf.c (__ctanf): Likewise.
22770         * math/s_ctanh.c (__ctanh): Likewise.
22771         * math/s_ctanhf.c (__ctanhf): Likewise.
22772         * math/s_ctanhl.c (__ctanhl): Likewise.
22773         * math/s_ctanl.c (__ctanl): Likewise.
22774         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22775         and ctanh.  Add more tests of ctan and ctanh.
22777         [BZ #15918]
22778         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22779         handling of cases where one argument is an infinity.
22781         [BZ #18875]
22782         [BZ #18966]
22783         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22784         (MO): New macro.
22785         (__ieee754_exp10): For small results, force underflow exception
22786         and remove excess range and precision from return value.
22787         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22788         (MO): New macro.
22789         (__ieee754_exp10f): For small results, force underflow exception
22790         and remove excess range and precision from return value.
22791         * math/auto-libm-test-in: Add more tests of exp10.
22792         * math/auto-libm-test-out: Regenerated.
22794 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22796         [BZ #18875]
22797         [BZ #18961]
22798         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22799         (MO): New macro.
22800         (__ieee754_exp): For small results, force underflow exception and
22801         remove excess range and precision from return value.
22802         (__exp_finite): Likewise.
22803         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22804         (MO): New macro.
22805         (__ieee754_expf): For small results, force underflow exception and
22806         remove excess range and precision from return value.
22807         (__expf_finite): Likewise.
22808         * math/auto-libm-test-in: Add more tests of exp.
22809         * math/auto-libm-test-out: Regenerated.
22811         [BZ #16521]
22812         [BZ #18875]
22813         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22814         small results.
22815         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22816         (MO): New macro.
22817         (__ieee754_exp2): For small results, force underflow exception and
22818         remove excess range and precision from return value.
22819         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22820         (MO): New macro.
22821         (__ieee754_exp2f): For small results, force underflow exception
22822         and remove excess range and precision from return value.
22823         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22824         (MO): New macro.
22825         (__ieee754_exp2l): Force underflow exception for small results.
22826         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22827         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22828         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22829         (MO): New macro.
22830         (__ieee754_exp2l): Force underflow exception for small results.
22831         * math/auto-libm-test-in: Add more tests or exp2.
22832         * math/auto-libm-test-out: Regenerated.
22834 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22836         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22838         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22839         /dev/null.
22841 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22843         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22844         io fs process)): Drop spurious backslash.
22846 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22848         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22849         Use sysinfo system call instead of parsing /proc/meminfo.
22850         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22851         Likewise.
22853 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22855         [BZ #16985]
22856         * programs/localedef.c (main): Display argv[remaining] when
22857         output_path is NULL.
22859 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22861         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22862         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22863         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22864         tanh.
22865         * math/auto-libm-test-out: Regenerated.
22866         * sysdeps/i386/fpu/libm-test-ulps: Update.
22867         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22868         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22871 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22873         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22874         Use 'override' keyword to freeze the value here, preventing
22875         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22877 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22879         [BZ #14912]
22880         * sysdeps/aarch64/bits/atomic.h: Move to ...
22881         * sysdeps/aarch64/atomic-machine.h: ...here.
22882         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22883         _AARCH64_ATOMIC_MACHINE_H.
22884         * sysdeps/alpha/bits/atomic.h: Move to ...
22885         * sysdeps/alpha/atomic-machine.h: ...here.
22886         * sysdeps/arm/bits/atomic.h: Move to ...
22887         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22888         * bits/atomic.h: Move to ...
22889         * sysdeps/generic/atomic-machine.h: ...here.
22890         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22891         * sysdeps/i386/bits/atomic.h: Move to ...
22892         * sysdeps/i386/atomic-machine.h: ...here.
22893         * sysdeps/ia64/bits/atomic.h: Move to ...
22894         * sysdeps/ia64/atomic-machine.h: ...here.
22895         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22896         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22897         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22898         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22899         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22900         * sysdeps/microblaze/bits/atomic.h: Move to ...
22901         * sysdeps/microblaze/atomic-machine.h: ...here.
22902         * sysdeps/mips/bits/atomic.h: Move to ...
22903         * sysdeps/mips/atomic-machine.h: ...here.
22904         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22905         * sysdeps/powerpc/bits/atomic.h: Move to ...
22906         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22907         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22908         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22909         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22910         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22911         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22912         <atomic-machine.h> instead of <bits/atomic.h>.
22913         * sysdeps/s390/bits/atomic.h: Move to ...
22914         * sysdeps/s390/atomic-machine.h: ...here.
22915         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22916         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22917         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22918         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22919         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22920         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22921         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22922         * sysdeps/tile/bits/atomic.h: Move to ...
22923         * sysdeps/tile/atomic-machine.h: ...here.
22924         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22925         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22926         <sysdeps/tile/atomic-machine.h> instead of
22927         <sysdeps/tile/bits/atomic.h>.
22928         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22929         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22930         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22931         <sysdeps/tile/atomic-machine.h> instead of
22932         <sysdeps/tile/bits/atomic.h>.
22933         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22934         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22935         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22936         <sysdeps/arm/atomic-machine.h> instead of
22937         <sysdeps/arm/bits/atomic.h>.
22938         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22939         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22940         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22941         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22942         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22943         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22944         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22945         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22946         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22947         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22948         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22949         * sysdeps/x86_64/bits/atomic.h: Move to ...
22950         * sysdeps/x86_64/atomic-machine.h: ...here.
22951         * include/atomic.h: Include <atomic-machine.h> instead of
22952         <bits/atomic.h>.
22954         * sysdeps/mips/mips32/libm-test-ulps: Update.
22955         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22957         [BZ #18952]
22958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22959         not convert non-integer negative arguments to int to determine the
22960         value of signgam.
22961         * math/auto-libm-test-in: Add more tests of lgamma.
22962         * math/auto-libm-test-out: Regenerated.
22964         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22965         cosh, csqrt, erfc, expm1 and lgamma.
22966         * math/auto-libm-test-out: Regenerated.
22967         * sysdeps/i386/fpu/libm-test-ulps: Update.
22968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22970 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22972         [BZ #2542]
22973         [BZ #2543]
22974         [BZ #2558]
22975         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22976         __lgamma_neg for arguments from -28.0 to -2.0.
22977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22978         __lgamma_negf for arguments from -15.0 to -2.0.
22979         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22980         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22981         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22982         Call __lgamma_negl for arguments from -33.0 to -2.0.
22983         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22984         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22985         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22986         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22987         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22988         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22989         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22990         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22991         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22992         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22993         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22994         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22995         (__lgamma_neg): Likewise.
22996         (__lgamma_negl): Likewise.
22997         (__lgamma_product): Likewise.
22998         (__lgamma_productl): Likewise.
22999         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
23000         * math/auto-libm-test-in: Add more tests of lgamma.
23001         * math/auto-libm-test-out: Regenerated.
23002         * sysdeps/i386/fpu/libm-test-ulps: Update.
23003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23005 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
23007         [BZ #18675]
23008         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
23010 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
23012         [BZ #14912]
23013         * bits/libc-lock.h: Move to ...
23014         * sysdeps/generic/libc-lock.h: ...here.
23015         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23016         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
23017         * sysdeps/mach/hurd/libc-lock.h: ...here.
23018         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23019         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
23020         * sysdeps/mach/bits/libc-lock.h: Move to ...
23021         * sysdeps/mach/libc-lock.h: ...here.
23022         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23023         * sysdeps/nptl/bits/libc-lock.h: Move to ...
23024         * sysdeps/nptl/libc-lock.h: ...here.
23025         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23026         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
23027         * sysdeps/nptl/libc-lockP.h: ...here.
23028         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
23029         * crypt/crypt_util.c: Include <libc-lock.h> instead of
23030         <bits/libc-lock.h>.
23031         * dirent/scandir-tail.c: Likewise.
23032         * dlfcn/dlerror.c: Likewise.
23033         * elf/dl-close.c: Likewise.
23034         * elf/dl-iteratephdr.c: Likewise.
23035         * elf/dl-lookup.c: Likewise.
23036         * elf/dl-open.c: Likewise.
23037         * elf/dl-support.c: Likewise.
23038         * elf/dl-writev.h: Likewise.
23039         * elf/rtld.c: Likewise.
23040         * grp/fgetgrent.c: Likewise.
23041         * gshadow/fgetsgent.c: Likewise.
23042         * gshadow/sgetsgent.c: Likewise.
23043         * iconv/gconv_conf.c: Likewise.
23044         * iconv/gconv_db.c: Likewise.
23045         * iconv/gconv_dl.c: Likewise.
23046         * iconv/gconv_int.h: Likewise.
23047         * iconv/gconv_trans.c: Likewise.
23048         * include/link.h: Likewise.
23049         * inet/getnameinfo.c: Likewise.
23050         * inet/getnetgrent.c: Likewise.
23051         * inet/getnetgrent_r.c: Likewise.
23052         * intl/bindtextdom.c: Likewise.
23053         * intl/dcigettext.c: Likewise.
23054         * intl/finddomain.c: Likewise.
23055         * intl/gettextP.h: Likewise.
23056         * intl/loadmsgcat.c: Likewise.
23057         * intl/localealias.c: Likewise.
23058         * intl/textdomain.c: Likewise.
23059         * libidn/idn-stub.c: Likewise.
23060         * libio/libioP.h: Likewise.
23061         * locale/duplocale.c: Likewise.
23062         * locale/freelocale.c: Likewise.
23063         * locale/newlocale.c: Likewise.
23064         * locale/setlocale.c: Likewise.
23065         * login/getutent_r.c: Likewise.
23066         * login/getutid_r.c: Likewise.
23067         * login/getutline_r.c: Likewise.
23068         * login/utmp-private.h: Likewise.
23069         * login/utmpname.c: Likewise.
23070         * malloc/mtrace.c: Likewise.
23071         * misc/efgcvt.c: Likewise.
23072         * misc/error.c: Likewise.
23073         * misc/fstab.c: Likewise.
23074         * misc/getpass.c: Likewise.
23075         * misc/mntent.c: Likewise.
23076         * misc/syslog.c: Likewise.
23077         * nis/nis_call.c: Likewise.
23078         * nis/nis_callback.c: Likewise.
23079         * nis/nss-default.c: Likewise.
23080         * nis/nss_compat/compat-grp.c: Likewise.
23081         * nis/nss_compat/compat-initgroups.c: Likewise.
23082         * nis/nss_compat/compat-pwd.c: Likewise.
23083         * nis/nss_compat/compat-spwd.c: Likewise.
23084         * nis/nss_nis/nis-alias.c: Likewise.
23085         * nis/nss_nis/nis-ethers.c: Likewise.
23086         * nis/nss_nis/nis-grp.c: Likewise.
23087         * nis/nss_nis/nis-hosts.c: Likewise.
23088         * nis/nss_nis/nis-network.c: Likewise.
23089         * nis/nss_nis/nis-proto.c: Likewise.
23090         * nis/nss_nis/nis-pwd.c: Likewise.
23091         * nis/nss_nis/nis-rpc.c: Likewise.
23092         * nis/nss_nis/nis-service.c: Likewise.
23093         * nis/nss_nis/nis-spwd.c: Likewise.
23094         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23095         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23096         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23097         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23098         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23099         * nis/nss_nisplus/nisplus-network.c: Likewise.
23100         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23101         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23102         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23103         * nis/nss_nisplus/nisplus-service.c: Likewise.
23104         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23105         * nis/ypclnt.c: Likewise.
23106         * nptl/libc_pthread_init.c: Likewise.
23107         * nss/getXXbyYY.c: Likewise.
23108         * nss/getXXent.c: Likewise.
23109         * nss/getXXent_r.c: Likewise.
23110         * nss/nss_db/db-XXX.c: Likewise.
23111         * nss/nss_db/db-netgrp.c: Likewise.
23112         * nss/nss_db/nss_db.h: Likewise.
23113         * nss/nss_files/files-XXX.c: Likewise.
23114         * nss/nss_files/files-alias.c: Likewise.
23115         * nss/nsswitch.c: Likewise.
23116         * posix/regex_internal.h: Likewise.
23117         * posix/wordexp.c: Likewise.
23118         * pwd/fgetpwent.c: Likewise.
23119         * resolv/res_hconf.c: Likewise.
23120         * resolv/res_libc.c: Likewise.
23121         * shadow/fgetspent.c: Likewise.
23122         * shadow/lckpwdf.c: Likewise.
23123         * shadow/sgetspent.c: Likewise.
23124         * socket/opensock.c: Likewise.
23125         * stdio-common/reg-modifier.c: Likewise.
23126         * stdio-common/reg-printf.c: Likewise.
23127         * stdio-common/reg-type.c: Likewise.
23128         * stdio-common/vfprintf.c: Likewise.
23129         * stdio-common/vfscanf.c: Likewise.
23130         * stdlib/abort.c: Likewise.
23131         * stdlib/cxa_atexit.c: Likewise.
23132         * stdlib/fmtmsg.c: Likewise.
23133         * stdlib/random.c: Likewise.
23134         * stdlib/setenv.c: Likewise.
23135         * string/strsignal.c: Likewise.
23136         * sunrpc/auth_none.c: Likewise.
23137         * sunrpc/bindrsvprt.c: Likewise.
23138         * sunrpc/create_xid.c: Likewise.
23139         * sunrpc/key_call.c: Likewise.
23140         * sunrpc/rpc_thread.c: Likewise.
23141         * sysdeps/arm/backtrace.c: Likewise.
23142         * sysdeps/generic/ldsodefs.h: Likewise.
23143         * sysdeps/generic/stdio-lock.h: Likewise.
23144         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23145         * sysdeps/i386/backtrace.c: Likewise.
23146         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23147         * sysdeps/m68k/backtrace.c: Likewise.
23148         * sysdeps/mach/hurd/cthreads.c: Likewise.
23149         * sysdeps/mach/hurd/dirstream.h: Likewise.
23150         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23151         * sysdeps/nptl/malloc-machine.h: Likewise.
23152         * sysdeps/nptl/stdio-lock.h: Likewise.
23153         * sysdeps/posix/dirstream.h: Likewise.
23154         * sysdeps/posix/getaddrinfo.c: Likewise.
23155         * sysdeps/posix/system.c: Likewise.
23156         * sysdeps/pthread/aio_suspend.c: Likewise.
23157         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23158         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23159         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23160         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23161         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23162         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23163         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23164         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23165         * sysdeps/unix/sysv/linux/system.c: Likewise.
23166         * sysdeps/x86_64/backtrace.c: Likewise.
23167         * time/alt_digit.c: Likewise.
23168         * time/era.c: Likewise.
23169         * time/tzset.c: Likewise.
23170         * wcsmbs/wcsmbsload.c: Likewise.
23171         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23172         instead of <bits/libc-lock.h> in comment.
23174 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23176         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23177         Only use .set mips2 if the current ISA is below mips2.
23178         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23179         Likewise.
23180         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23181         mips32r2 if the current ISA is below mips32r2.
23182         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23183         (TLS_IE): Updated to use the TLD_RDHWR macro.
23184         (TLS_LE): Likewise.
23185         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23186         __ASSEMBLER__ condition.
23188 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23190         Fix parallel build of before-compile targets.
23192         * sysdeps/mach/Makefile ($(patsubst
23193         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23194         mach-before-compile target.
23195         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23196         io fs process)): Move rule to dedicated hurd-before-compile target.
23198 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23200         Fix rules generating headers in hurd/ and mach/ when initial make call
23201         has subdir= explicitly set.
23203         * sysdeps/mach/Makefile ($(patsubst
23204         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23205         calling $(MAKE).
23206         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23207         io fs process)): Force subdir to hurd when calling $(MAKE).
23208         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23209         subdir to mach when calling $(MAKE).
23211 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23213         Check sysheaders when looking for Mach and Hurd headers
23215         * sysdeps/mach/configure.ac: Add sysheaders check.
23216         * sysdeps/mach/configure: Regenerate.
23217         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23218         * sysdeps/mach/hurd/configure: Regenerate.
23220 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23222         [BZ #18921]
23223         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23224         Fix inverted sense of test of 'o_directory_works' value.
23225         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23226         Bernhard Voelker <mail@bernhard-voelker.de>.
23228 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23230         [BZ #14912]
23231         * bits/linkmap.h: Move to ...
23232         * sysdeps/generic/linkmap.h: ...here.
23233         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23234         * sysdeps/aarch64/linkmap.h: ...here.
23235         * sysdeps/arm/bits/linkmap.h: Move to ...
23236         * sysdeps/arm/linkmap.h: ...here.
23237         * sysdeps/hppa/bits/linkmap.h: Move to ...
23238         * sysdeps/hppa/linkmap.h: ...here.
23239         * sysdeps/ia64/bits/linkmap.h: Move to ...
23240         * sysdeps/ia64/linkmap.h: ...here.
23241         * sysdeps/mips/bits/linkmap.h: Move to ...
23242         * sysdeps/mips/linkmap.h: ...here.
23243         * sysdeps/s390/bits/linkmap.h: Move to ...
23244         * sysdeps/s390/linkmap.h: ...here.
23245         * sysdeps/sh/bits/linkmap.h: Move to ...
23246         * sysdeps/sh/linkmap.h: ...here.
23247         * sysdeps/x86/bits/linkmap.h: Move to ...
23248         * sysdeps/x86/linkmap.h: ...here.
23249         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23251 2015-09-04  Andreas Schwab  <schwab@suse.de>
23253         [BZ #18635]
23254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23255         (__makecontext): Terminate FDE before return label.
23256         (__novec_makecontext): Likewise.
23258 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23260         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23261         first member of struct sv in syscall macro.
23263 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23265         [BZ #14912]
23266         * bits/stdio-lock.h: Move to ...
23267         * sysdeps/generic/stdio-lock.h: ...here.
23268         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23269         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23270         * sysdeps/nptl/stdio-lock.h: ...here.
23271         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23272         * include/libio.h: Include <stdio-lock.h> instead of
23273         <bits/stdio-lock.h>.
23274         * sysdeps/nptl/fork.c: Likewise.
23275         * sysdeps/pthread/flockfile.c: Likewise.
23276         * sysdeps/pthread/ftrylockfile.c: Likewise.
23277         * sysdeps/pthread/funlockfile.c: Likewise.
23279         [BZ #14912]
23280         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23281         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23282         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23283         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23284         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23285         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23286         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23288 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23290         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23291         (test-xfail-tst-protected1b): New variable.
23293 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23295         [BZ #14912]
23296         * bits/libc-tsd.h: Move to ...
23297         * sysdeps/generic/libc-tsd.h: ...here.
23298         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23299         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23300         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23301         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23302         * include/ctype.h: Include <libc-tsd.h> instead of
23303         <bits/libc-tsd.h>.
23304         * include/rpc/rpc.h: Likewise.
23305         * locale/localeinfo.h: Likewise.
23306         * sunrpc/rpc_thread.c: Likewise.
23307         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23308         * sysdeps/nptl/malloc-machine.h: Likewise.
23310         * Makefile (headers): Remove bits/libc-lock.h.
23311         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23313         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23314         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23315         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23316         <bits/stdio-lock.h>.
23317         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23318         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23320 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23322         [BZ #18757]
23323         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23324         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23325         BZ #18757.
23327 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23329         * malloc/mtrace.pl: Filter out NULL entries.
23331 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23333         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23334         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23335         macro.
23337         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23338         (TCP_CC_INFO): Likewise.
23339         (TCP_SAVE_SYN): Likewise.
23340         (TCP_SAVED_SYN): Likewise.
23342 2015-08-31  Brett Neumeier <brett@neumeier.us>
23344         [BZ #18870]
23345         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23347 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23349         [BZ #18873]
23350         Fix broken overflow check in posix_fallocate
23351         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23352         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23353         Fix parenthesization typo.
23355 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23357         [BZ #18887]
23358         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23359         tst-mntent-blank-passno.
23360         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23361         * misc/tst-mntent-blank-corrupt.c: New test.
23362         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23363         * misc/tst-mntent.c (do_test): ... here.
23365 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23367         [BZ #4404]
23368         * po/de.po: Fix SIGALRM typo.
23370 2015-08-28  James Perkins  <james@loowit.net>
23372         * time/tst-strptime2.c (tests): Replace short list of test
23373         strings for strptime %z specifier with code which exhaustively
23374         tests every combination of sign and 0 to 5 digits. Tests for
23375         rejection of invalid strings.
23377 2015-08-28  James Perkins  <james@loowit.net>
23379         [BZ #16141]
23380         * time/strptime_l.c (__strptime_internal): Fix %z minutes
23381         calculation, removing incorrect decimal time rounding, so that
23382         all minute values result in a valid seconds value.
23383         * time/strptime_l.c (__strptime_internal): Extend %z time zone
23384         offset range limits to UTC-99:59 through UTC+99:59 to parse
23385         current and historical use cases.
23386         * time/tst-strptime2.c (tests): Modify and add tests for the
23387         strptime %z input field descriptor, specifically conversion of
23388         minutes to seconds and validating an offset range of -9959 to
23389         +9959.
23391 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23392             Dmitry V. Levin  <ldv@altlinux.org>
23394         [BZ #18877]
23395         * posix/Makefile (tests): Add tst-mmap-offset.
23396         * posix/tst-mmap.c: New file.
23397         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
23398         offset calculation for negative values.
23400 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23402         * sysdeps/i386/init-arch.h: New file.
23403         * sysdeps/i386/i586/init-arch.h: Likewise.
23404         * sysdeps/i386/i686/init-arch.h: Likewise.
23405         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
23406         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
23407         * sysdeps/x86/cpu-features.h (bit_I586): New.
23408         (bit_I686): Likewise.
23409         (bit_CX8): Likewise.
23410         (bit_CMOV): Likewise.
23411         (index_CX8): Likewise.
23412         (index_CMOV): Likewise.
23413         (index_I586): Likewise.
23414         (index_I686): Likewise.
23415         (reg_CX8): Likewise.
23416         (reg_CMOV): Likewise.
23417         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
23418         available at compile-time.
23419         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
23420         available at compile-time.
23421         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23422         (USE_I686): Likewise.
23424 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23426         * sysdeps/i386/bcopy.S: New file.
23427         * sysdeps/i386/bzero.S: Likewise.
23428         * sysdeps/i386/memcpy.S: Likewise.
23429         * sysdeps/i386/memmove.S: Likewise.
23430         * sysdeps/i386/mempcpy.S: Likewise.
23431         * sysdeps/i386/memset.S: Likewise.
23432         * sysdeps/i386/bzero.c: Removed.
23433         * sysdeps/i386/memset.c: Likewise.
23434         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
23435         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
23436         * sysdeps/i386/i586/memset_chk.S: Likewise.
23437         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
23438         * sysdeps/i386/memcpy_chk.S: Here.
23439         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
23440         * sysdeps/i386/memmove_chk.S: Here.
23441         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
23442         * sysdeps/i386/mempcpy_chk.S: Likewise.
23443         * sysdeps/i386/i686/memset_chk.S: Moved to ...
23444         * sysdeps/i386/memset_chk.S: Likewise.
23446 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
23448         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
23449         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
23450         file, move DIAG_POP_NEEDS_COMMENT to end of file.
23451         * soft-fp/fmadf4.c: Ditto.
23452         * soft-fp/fmatf4.c: Ditto.
23454 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23456         * sysdeps/i386/i586/Implies: Removed.
23457         * sysdeps/i386/i686/Implies: Likewise.
23459 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23461         * sysdeps/i386/i486/strlen.S: Moved to ...
23462         * sysdeps/i386/strlen.S: Here.
23464 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23466         * sysdeps/i386/i486/strcat.S: Moved to ...
23467         * sysdeps/i386/strcat.S: Here.
23469 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23471         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23472         * sysdeps/i386/pthread_spin_trylock.S: Here.
23473         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23474         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23476 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23478         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23479         * sysdeps/i386/string-inlines.c: Here.
23481 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23483         * sysdeps/i386/i486/htonl.S: Moved ...
23484         * sysdeps/i386/htonl.S: here.
23486 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23488         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23489         * sysdeps/i386/bits/atomic.h: Here.
23491 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23493         * sysdeps/i386/i486/Versions: Removed.
23495 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23497         [BZ #2898]
23498         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23499         Based on patch by Aurelien Jarno.
23501 2015-08-26  Stan Shebs  <stanshebs@google.com>
23503         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23504         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23506 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23508         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23509         * sysdeps/powerpc/dl-procinfo.c:
23510         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23511         feature so it shows when LD_SHOW_AUXV=1.
23513 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23515         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23516         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23517         definition.  ISA 2.07B no longer requires full sync.
23519 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23521         [BZ #18863]
23522         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23523         (si_call_addr): Define.
23524         (si_syscall): Define.
23525         (si_arch): Define.
23527 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23529         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23530         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23531         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23532         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23533         (__memset_zero_constant_len_parameter): New.
23534         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23535         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23536         (__memset_zero_constant_len_parameter): Don't define if
23537         __memset_chk or USE_AS_BZERO are defined.
23539         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23540         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23541         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23543         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23544         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23545         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23546         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23547         comments.
23548         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23549         -mno-mmx for $(all-rtld-routines).
23550         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23551         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23552         i386.
23554 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23556         * sysdeps/generic/unwind.h
23557         (_Unwind_Word): Use __mode__(__unwind_word__)
23558         instead of __mode__(__word__).
23559         (_Unwind_Sword): Likewise.
23561         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23562         (MAX_NEEDED_INPUT): New define.
23563         (MAX_NEEDED_OUTPUT): New define.
23565         * NEWS: New item for IBM z13 string optimizations.
23567         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23568         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23569         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23570         * sysdeps/s390/multiarch/Makefile
23571         (sysdep_routines): Add memrchr functions.
23572         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23573         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23575         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23576         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23577         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23578         * sysdeps/s390/multiarch/Makefile
23579         (sysdep_routines): Add wmemcmp functions.
23580         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23581         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23582         * benchtests/bench-wmemcmp.c: New File.
23583         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23585         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23586         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23587         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23588         * sysdeps/s390/multiarch/Makefile
23589         (sysdep_routines): Add wmemset functions.
23590         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23591         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23592         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23593         * string/test-memset.c: Add wmemset support.
23594         * wcsmbs/test-wmemset.c: New File.
23595         * wcsmbs/Makefile (strop-tests): Add wmemset.
23596         * benchtests/bench-memset.c: Add wmemset support.
23597         * benchtests/bench-wmemset.c: New File.
23598         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23600         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23601         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23602         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23603         * sysdeps/s390/multiarch/Makefile
23604         (sysdep_routines): Add memccpy functions.
23605         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23606         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23607         * string/memccpy.c: Use MEMCCPY if defined.
23609         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23610         * sysdeps/s390/multiarch/memchr.c: Likewise.
23611         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23612         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23613         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23614         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23615         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23616         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23617         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23618         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23619         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23620         and rawmemchr functions.
23621         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23622         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23623         and wmemchr.
23624         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23625         * string/test-memchr.c: Add wmemchr support.
23626         * wcsmbs/test-wmemchr.c: New File.
23627         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23628         * benchtests/bench-memchr.c: Add wmemchr support.
23629         * benchtests/bench-wmemchr.c: New File.
23630         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23632         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23633         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23634         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23635         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23636         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23637         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23638         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23639         wcscspn functions.
23640         * sysdeps/s390/multiarch/ifunc-impl-list.c
23641         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23642         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23643         * string/test-strcspn.c: Add wcscspn support.
23644         * wcsmbs/test-wcscspn.c: New File.
23645         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23646         * benchtests/bench-strcspn.c: Add wcscspn support.
23647         * benchtests/bench-wcscspn.c: New File.
23648         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23650         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23651         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23652         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23653         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23654         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23655         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23656         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23657         wcspbrk functions.
23658         * sysdeps/s390/multiarch/ifunc-impl-list.c
23659         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23660         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23661         * string/test-strpbrk.c: Add wcspbrk support.
23662         * wcsmbs/test-wcspbrk.c: New File.
23663         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23664         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23665         * benchtests/bench-wcspbrk.c: New File.
23666         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23668         * sysdeps/s390/multiarch/strspn-c.c: New File.
23669         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23670         * sysdeps/s390/multiarch/strspn.c: Likewise.
23671         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23672         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23673         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23674         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23675         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23676         wcsspn functions.
23677         * sysdeps/s390/multiarch/ifunc-impl-list.c
23678         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23679         * string/test-strspn.c: Add wcsspn support.
23680         * wcsmbs/test-wcsspn.c: New File.
23681         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23682         * benchtests/bench-strspn.c: Add wcsspn support.
23683         * benchtests/bench-wcsspn.c: New File.
23684         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23686         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23687         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23688         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23689         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23690         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23691         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23692         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23693         wcsrchr functions.
23694         * sysdeps/s390/multiarch/ifunc-impl-list.c
23695         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23696         * benchtests/bench-wcsrchr.c: New File.
23697         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23699         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23700         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23701         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23702         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23703         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23704         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23705         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23706         wcschrnul functions.
23707         * sysdeps/s390/multiarch/ifunc-impl-list.c
23708         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23709         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23710         * string/test-strchr.c: Add wcschrnul support.
23711         * wcsmbs/test-wcschrnul.c: New File.
23712         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23713         * benchtests/bench-strchr.c: Add wcschrnul support.
23714         * benchtests/bench-wcschrnul.c: New File.
23715         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23717         * sysdeps/s390/multiarch/strchr-c.c: New File.
23718         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23719         * sysdeps/s390/multiarch/strchr.c: Likewise.
23720         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23721         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23722         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23723         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23724         wcschr functions.
23725         * sysdeps/s390/multiarch/ifunc-impl-list.c
23726         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23727         * string/strchr.c (STRCHR): Define and use macro.
23728         * benchtests/bench-wcschr.c: New File.
23729         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23731         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23732         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23733         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23734         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23735         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23736         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23737         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23738         wcsncmp functions.
23739         * sysdeps/s390/multiarch/ifunc-impl-list.c
23740         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23741         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23742         * benchtests/bench-strncmp.c: Add wcsncmp support.
23743         * benchtests/bench-wcsncmp.c: New File.
23744         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23746         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23747         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23748         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23749         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23750         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23751         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23752         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23753         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23754         wcscmp functions.
23755         * sysdeps/s390/multiarch/ifunc-impl-list.c
23756         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23757         * string/strcmp.c (STRCMP): Define and use macro.
23758         * benchtests/bench-wcscmp.c: New File.
23759         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23760         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23761         instead of _HAVE_STRING_ARCH_memchr.
23763         * sysdeps/s390/multiarch/strncat-c.c: New File.
23764         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23765         * sysdeps/s390/multiarch/strncat.c: Likewise.
23766         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23767         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23768         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23769         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23770         wcsncat functions.
23771         * sysdeps/s390/multiarch/ifunc-impl-list.c
23772         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23773         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23774         * string/test-strncat.c: Add wcsncat support.
23775         * wcsmbs/test-wcsncat.c: New File.
23776         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23777         * benchtests/bench-strncat.c: Add wcsncat support.
23778         * benchtests/bench-wcsncat.c: New File.
23779         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23781         * sysdeps/s390/multiarch/strcat-c.c: New File.
23782         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23783         * sysdeps/s390/multiarch/strcat.c: Likewise.
23784         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23785         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23786         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23787         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23788         wcscat functions.
23789         * sysdeps/s390/multiarch/ifunc-impl-list.c
23790         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23791         * string/strcat.c (STRCAT): Define and use macro.
23792         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23793         * string/test-strcat.c: Add wcscat support.
23794         * wcsmbs/test-wcscat.c: New File.
23795         * wcsmbs/Makefile (strop-tests): Add wcscat.
23796         * benchtests/bench-strcat.c: Add wcscat support.
23797         * benchtests/bench-wcscat.c: New File.
23798         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23800         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23801         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23802         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23803         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23804         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23805         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23806         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23807         wcpncpy functions.
23808         * sysdeps/s390/multiarch/ifunc-impl-list.c
23809         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23810         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23811         * string/test-stpncpy.c: Add wcpncpy support.
23812         * wcsmbs/test-wcpncpy.c: New File.
23813         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23814         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23815         * benchtests/bench-wcpncpy.c: New File.
23816         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23818         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23819         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23820         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23821         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23822         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23823         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23824         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23825         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23826         wcsncpy functions.
23827         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23828         * sysdeps/s390/multiarch/ifunc-impl-list.c
23829         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23830         * string/test-strncpy.c: Add wcsncpy support.
23831         * wcsmbs/test-wcsncpy.c: New File.
23832         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23833         * benchtests/bench-strncpy.c: Add wcsncpy support.
23834         * benchtests/bench-wcsncpy.c: New File.
23835         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23837         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23838         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23839         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23840         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23841         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23842         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23843         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23844         wcpcpy functions.
23845         * string/stpcpy.c: Use STPCPY if defined.
23846         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23847         * sysdeps/s390/multiarch/ifunc-impl-list.c
23848         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23849         * string/test-stpcpy.c: Add wcpcpy support.
23850         * wcsmbs/test-wcpcpy.c: New File.
23851         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23852         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23853         * benchtests/bench-wcpcpy.c: New File.
23854         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23856         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23857         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23858         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23859         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23860         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23861         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23862         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23863         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23864         wcscpy functions.
23865         * sysdeps/s390/multiarch/ifunc-impl-list.c
23866         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23867         * benchtests/bench-wcscpy.c: New File.
23868         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23870         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23871         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23872         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23873         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23874         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23875         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23876         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23877         wcsnlen functions.
23878         * sysdeps/s390/multiarch/ifunc-impl-list.c
23879         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23880         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23881         * string/test-strnlen.c: Add wcsnlen support.
23882         * wcsmbs/test-wcsnlen.c: New File.
23883         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23884         * benchtests/bench-strnlen.c: Add wcsnlen support.
23885         * benchtests/bench-wcsnlen.c: New File.
23886         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23888         * sysdeps/s390/multiarch/Makefile: New File.
23889         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23890         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23891         * sysdeps/s390/multiarch/strlen.c: Likewise.
23892         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23893         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23894         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23895         * string/strlen.c (STRLEN): Define and use macro.
23896         * sysdeps/s390/multiarch/ifunc-impl-list.c
23897         (IFUNC_VX_IMPL): New macro function.
23898         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23899         * benchtests/Makefile (wcsmbs-bench): New variable.
23900         (string-bench-all): Added wcsmbs-bench.
23901         * benchtests/bench-wcslen.c: New File.
23903         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23904         s390_vx_libc_ifunc2): New macro function.
23906         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23907         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23908         assembler support.
23909         * sysdeps/s390/configure: Regenerated.
23911         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23912         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23914         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23915         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23916         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23918         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23919         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23920         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23921         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23922         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23923         (memcmp, bcmp): Use __memcmp_default as alias source.
23924         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23925         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23926         Rename to __memcmp_default.
23927         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23928         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23929         (memcpy): Use __memcpy_default as alias source.
23930         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23931         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23932         Rename to __memcpy_default.
23933         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23934         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23935         (memset): Use __memset_default as alias source.
23936         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23937         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23938         Rename to __memset_default.
23939         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23940         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23941         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23942         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23943         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23944         (memcmp, bcmp): Use __memcmp_default as alias source.
23945         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23946         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23947         Rename to __memcmp_default.
23948         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23949         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23950         (memcpy): Use __memcpy_default as alias source.
23951         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23952         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23953         Rename to __memcpy_default.
23954         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23955         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23956         (memset): Use __memset_default as alias source.
23957         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23958         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23959         Rename to __memset_default.
23960         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23961         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23963         [BZ #18610]
23964         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23965         __ieee_instruction_pointer to __unused.
23966         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23967         __ieee_instruction_pointer.
23968         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23969         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23970         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23971         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23972         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23973         Mark dxc-field as reserved.
23975 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23977         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23978         if the weak reference is not null.
23980 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23982         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23984         [BZ #11214]
23985         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23987 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23989         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23990         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23991         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23992         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23993         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23994         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23995         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23996         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23997         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23998         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23999         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
24000         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
24001         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
24002         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
24003         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
24004         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
24005         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
24006         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
24008 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24010         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
24011         register other than r0 for tabort, it has special meaning.
24012         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
24013         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
24014         transaction before starting syscall.
24016 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24018         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
24020 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24022         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
24024         * sysdeps/x86_64/rtld-memcmp.c: Removed.
24025         * sysdeps/x86_64/rtld-memset.S: Likewise.
24026         * sysdeps/x86_64/rtld-strchr.S: Likewise.
24027         * sysdeps/x86_64/rtld-strlen.S: Likewise.
24028         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
24029         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24031         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
24033 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
24035         * debug/strcpy_chk.c: Improve performance.
24036         * debug/stpcpy_chk.c: Likewise.
24037         * sysdeps/x86_64/strcpy_chk.S: Remove.
24038         * sysdeps/x86_64/stpcpy_chk.S: Remove.
24040         [BZ #18240]
24041         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24043 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24045         [BZ #15128]
24046         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24047         ifuncmain8.
24048         (modules-names): Add ifuncmod8.
24049         ($(objpfx)ifuncmain8): New rule.
24050         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24051         <cpuid.h>.
24052         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24053         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24054         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24055         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24056         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24057         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24058         * sysdeps/x86_64/ifuncmain8.c: New file.
24059         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24060         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24061         Removed.
24062         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24063         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24064         Change rtld_savespace_sse to __glibc_unused2.
24065         (RTLD_CHECK_FOREIGN_CALL): Removed.
24066         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24067         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24068         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24070 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24072         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24074 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24076         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24077         Unconditionally set __fpcr to avoid uninialized warning.
24078         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24080 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24082         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24083         is corrupt.
24085         * malloc/arena.c (arena_get2): Drop unused argument.
24086         (arena_lock): Adjust.
24087         (arena_get_retry): Likewise.
24089 2015-08-24  Andreas Schwab  <schwab@suse.de>
24091         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24092         Don't define.
24093         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24094         (__ASSUME_IPC64): Don't undef.
24095         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24096         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24097         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24098         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24099         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24100         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24101         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24102         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24103         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24104         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24105         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24106         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24107         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24108         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24109         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24110         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24111         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24112         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24113         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24114         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24115         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24117 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24119         * manual/Makefile (install): Only build manual when perl is available.
24121 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24123         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24124         '#undef memcpy' by '#undef memchr'.
24126 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24128         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24129         memchr not point to the internal __GI_memchr implementation.
24131 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24133         * timezone/Makefile (CFLAGS-zdump.c): Remove
24134         -Wno-strict-prototypes.
24135         (CFLAGS-zic.c): Likewise.
24136         (CFLAGS-ialloc.c): Likewise.
24137         (CFLAGS-scheck.c): Likewise.
24139         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24140         -Wno-error=undef.
24142 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24144         * i386/i686/multiarch/strcasestr-c.c: Removed.
24145         * x86_64/multiarch/strcasestr.c: Likewise.
24146         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24147         Remove strcasestr.
24149 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24151         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24153         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24154         variables for high and low parts before possibly modifying them.
24156 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24158         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24159         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24160         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24161         of "multiarch/init-arch.h".
24162         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24163         * sysdeps/x86/init-arch.h: This.
24165 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24167         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24168         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24170 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24172         [BZ #17787]
24173         * manual/macros.texi: Add twoexp macro.
24174         * manual/filesys.texi: Fix exponents.
24175         * manual/llio.texi: Likewise.
24176         * manual/stdio.texi: Likewise.
24178 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24180         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24181         incorrect use.
24183 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24185         [BZ #18370]
24186         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24187         whose real or imaginary part has small absolute value.
24188         * math/s_csqrtf.c (__csqrtf): Likewise.
24189         * math/s_csqrtl.c (__csqrtl): Likewise.
24190         * math/auto-libm-test-in: Add more tests of csqrt.
24191         * math/auto-libm-test-out: Regenerated.
24192         * sysdeps/i386/fpu/libm-test-ulps: Update.
24194 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24196         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24197         __ppc_set_ppr_very_low): New functions.
24198         * manual/platform.texi: Add documentation about
24199         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24201 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24203         * string/stpncpy.c (stpncpy): Improve performance using
24204         __strnlen/memcpy/memset.
24206 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24208         [BZ #18796]
24209         * scripts/test-installation.pl: Don't add -lmvec to build options if
24210         libmvec wasn't built.
24212 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24214         [BZ #14341]
24215         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24216         case when there is a gap between DT_REL and DT_JMPREL sections.
24217         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24218         (LDFLAGS-tst-split-dynreloc): New.
24219         (tst-split-dynreloc-ENV): Likewise.
24220         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24221         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24223 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24225         [BZ #18822]
24226         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24227         attribute_hidden.
24228         (__xstat64_conv): Likewise.
24229         (__xstat32_conv): Likewise.
24231 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24233         [BZ #18822]
24234         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24235         Don't load %ebx when calling __setcontext.  Call __setcontext
24236         with HIDDEN_JUMPTARGET.
24237         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24238         libc_hidden_def.
24240 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24242         * sysdeps/i386/i686/Makefile
24243         [$(subdir) == string] (sysdep_routines): Moved to ...
24244         * sysdeps/i386/Makefile: Here.
24245         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24246         * sysdeps/i386/cacheinfo.c: Here.
24247         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24248         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24249         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24250         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24252 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24254         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24255         __i586__ is defined.
24256         (HAS_I686): Defined to 1 if __i686__ is defined.
24258 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24260         * elf/Makefile [$(have-z-execstack) = yes]
24261         (CPPFLAGS-tst-execstack.c): New variable.
24263         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24264         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24265         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24266         UTMPX || _HAVE_UT_TV].
24267         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24268         UTMPX || _HAVE_UT_TV - 0].
24270 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24272         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24273         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24274         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24276 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24278         * sysdeps/powerpc/dl-procinfo.c:
24279         (_dl_powerpc_cap_flags): Added missing strings for some
24280         hwcap features.
24281         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24283 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24285         Port the 0x7efe...feff pattern to GCC 6.
24286         See Steve Ellcey's bug report in:
24287         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24288         * string/memrchr.c (MEMRCHR):
24289         * string/rawmemchr.c (RAWMEMCHR):
24290         * string/strchr.c (strchr):
24291         * string/strchrnul.c (STRCHRNUL):
24292         Rewrite code to avoid issues with signed shift overflow.
24294 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24296         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24297         whether cpuid is available only if HAS_CPUID is 0.
24298         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24299         (HAS_I586): Likewise.
24300         (HAS_I686): Likewise.
24302 2015-08-18  Zack Weinberg  <zackw@panix.com>
24304         * misc/Versions (libc): Add GLIBC_2.23.
24306 2015-08-18  Alan Modra  <amodra@gmail.com>
24308         [BZ #18421]
24309         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24310         .Lp__global.
24311         (_start): Load %dp via .Lp__global.
24312         [!SHARED]: Use .section .rodata.
24314 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24316         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24317         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24319 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24321         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24322         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24324 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24326         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24327         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24329 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24331         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24332         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24334 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24336         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24337         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24339 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24341         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24342         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24344 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24346         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24348 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24350         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24351         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24352         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24353         (__ASSUME_LWS_CAS): Delete.
24355 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24357         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24358         * sysdeps/hppa/configure: Regenerated.
24359         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24360         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24361         * sysdeps/hppa/nptl/tls.h: Likewise.
24363 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24365         [BZ #18823]
24366         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24367         for scaling up small arguments.
24368         * math/s_csqrtf.c (__csqrtf): Likewise.
24369         * math/s_csqrtl.c (__csqrtl): Likewise.
24370         * math/auto-libm-test-in: Add more tests of csqrt.
24371         * math/auto-libm-test-out: Regenerated.
24373 2015-08-17  Andreas Schwab  <schwab@suse.de>
24375         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24376         version set GLIBC_2.19.
24378 2015-08-16  Zack Weinberg  <zackw@panix.com>
24380         [BZ #18681]
24381         * misc/regexp.h: This interface is no longer supported.
24382         Remove all contents, leaving only an #error directive.
24383         * misc/regexp.c (loc1, loc2, locs, step, advance):
24384         Demote to compatibility symbols.
24386 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
24388         [BZ #18084]
24389         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
24390         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
24391         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24392         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
24393         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
24394         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
24395         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24396         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
24397         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24399 2015-08-15  Zack Weinberg  <zackw@panix.com>
24401         [BZ #18795]
24402         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
24403         buffer length is known to be too large, not if it's known to be
24404         small enough.
24405         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
24406         overflow at runtime, involving a length parameter, twice: once
24407         with a compile-time constant length parameter, once without.
24409 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
24411         [BZ #18824]
24412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
24413         scaling x * y up instead of down.
24414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24416         * math/auto-libm-test-in: Add more tests of fma.
24417         * math/auto-libm-test-out: Regenerated.
24419 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24421         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24423 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24425         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
24426         unnecessary movq.
24427         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
24428         Likewise.
24430 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24432         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24433         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
24434         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
24435         and tgamma.
24436         * math/auto-libm-test-out: Regenerated.
24437         * sysdeps/i386/fpu/libm-test-ulps: Update.
24438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24440         [BZ #16520]
24441         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
24442         (__tanh): Force underflow exception for arguments with small
24443         absolute value.
24444         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
24445         (__tanhf): Force underflow exception for arguments with small
24446         absolute value.
24447         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
24448         (__tanhl): Force underflow exception for arguments with small
24449         absolute value.
24450         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
24451         (__tanhl): Force underflow exception for arguments with small
24452         absolute value.
24453         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
24454         (__tanhl): Force underflow exception for arguments with small
24455         absolute value.
24456         * math/auto-libm-test-in: Add more tests of tanh.
24457         * math/auto-libm-test-out: Regenerated.
24458         * sysdeps/i386/fpu/libm-test-ulps: Update.
24460 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24462         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24463         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24465 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24467         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24468         <cpuid.h>.
24470 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24472         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24473         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24475 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24477         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24478         Remove $(objpfx)init-arch.o.
24479         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24480         init-arch.
24481         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24482         (INIT_ARCH_EXT): Defined as empty.
24483         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24484         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24485         __init_cpu_features call.  Replace HAS_XXX with
24486         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24487         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24488         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24489         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24490         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24491         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24492         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24493         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24494         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24495         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24496         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24497         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24498         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24499         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24500         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24501         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24502         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24503         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24504         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24505         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24506         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24507         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24509         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24510         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24511         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24512         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24513         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24514         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24515         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24518         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24519         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24520         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24521         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24523 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24525         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24526         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24527         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24528         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24529         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24530         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24531         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24532         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24533         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24534         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24535         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24536         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24537         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24538         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24539         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24540         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24541         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24542         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24543         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24544         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24545         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24546         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24547         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24548         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24549         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24550         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24551         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24552         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24553         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24554         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24555         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24556         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24557         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24558         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24559         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24560         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24561         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24562         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24563         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24564         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24565         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24566         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24567         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24569 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24571         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24572         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24573         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24574         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24575         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24576         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24577         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24578         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24579         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24580         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24581         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24582         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24583         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24584         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24585         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24586         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24587         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24588         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24589         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24590         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24592         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24593         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24594         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24595         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24596         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24597         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24598         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24599         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24600         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24601         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24602         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24603         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24604         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24605         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24606         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24607         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24608         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24609         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24610         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24611         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24612         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24613         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24615 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24617         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24618         (dl_platform_init): Call init_cpu_features.
24619         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24620         * sysdeps/i386/i686/cacheinfo.c
24621         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24622         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24623         * sysdeps/i386/i686/multiarch/Versions: Removed.
24624         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24625         Removed.
24626         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24627         * sysdeps/unix/sysv/linux/x86/Makefile
24628         (libpthread-sysdep_routines): Remove init-arch.
24629         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24630         <sysdeps/x86_64/dl-procinfo.c> instead of
24631         sysdeps/generic/dl-procinfo.c>.
24632         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24633         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24634         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24635         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24636         [$(subdir) == elf] (tests-static): Add
24637         tst-get-cpu-features-static.
24638         * sysdeps/x86/Versions: New file.
24639         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24640         * sysdeps/x86/cpu-features.c: Likewise.
24641         * sysdeps/x86/cpu-features.h: Likewise.
24642         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24643         * sysdeps/x86/libc-start.c: Likewise.
24644         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24645         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24646         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24647         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24648         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24649         Assume USE_MULTIARCH is defined and don't check it.
24650         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24651         (is_amd): Likewise.
24652         (max_cpuid): Likewise.
24653         (intel_check_word): Likewise.
24654         (__cache_sysconf): Don't call __init_cpu_features.
24655         (__x86_preferred_memory_instruction): Removed.
24656         (init_cacheinfo): Don't call __init_cpu_features. Replace
24657         __cpu_features with GLRO(dl_x86_cpu_features).
24658         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24659         (dl_platform_init): Call init_cpu_features.
24660         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24661         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24662         * sysdeps/x86_64/multiarch/Versions: Removed.
24663         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24664         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24665         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24666         Removed.
24667         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24669 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24671         [BZ #18820]
24672         * libio/Makefile (test-fmemopen-mem): New test.
24673         * libio/test-fmemopen.c (do_bz18820): New test.
24674         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24675         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24677 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24679         [BZ #16734]
24680         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24681         (FREE_BUF): Delete.
24682         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24683         * libio/genops.c (_IO_setb): Use malloc and free directly.
24684         (_IO_default_doallocate, _IO_default_finish): Likewise.
24685         ( _IO_unbuffer_all): Likewise.
24686         ( libc_freeres_fn): Likewise.
24687         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24688         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24689         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24690         (_IO_wdefault_doallocate): Likewise.
24692 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24694         [BZ #18086]
24695         * sysdeps/posix/nice.c (nice): Restore old errno.
24696         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24698 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24700         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24702 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24704         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24705         __bcopy and add a weak_alias to bcopy.
24706         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24707         for static build.
24709         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24710         cleanup macro usage.
24711         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24712         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24713         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24714         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24715         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24716         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24717         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24718         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24719         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24720         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24722         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24723         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24724         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24725         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24726         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24727         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24728         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24729         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24731         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24732         libc_hidden_def.
24733         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24735         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24736         (sysdep_routines): Add strstr-ppc64.
24737         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24739 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24741         [BZ #18778]
24742         * elf/Makefile (tests): Add Add tst-nodelete2.
24743         (modules-names): Add tst-nodelete2mod.
24744         (tst-nodelete2mod.so-no-z-defs): New.
24745         ($(objpfx)tst-nodelete2): Likewise.
24746         ($(objpfx)tst-nodelete2.out): Likewise.
24747         (LDFLAGS-tst-nodelete2): Likewise.
24748         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24749         out of loop through all loaded libraries.
24750         * elf/tst-nodelete2.c: New file.
24751         * elf/tst-nodelete2mod.c: Likewise.
24752         * elf/tst-znodelete-zlib.cc: Delete.
24754 2015-08-11  Andreas Schwab  <schwab@suse.de>
24756         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24757         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24758         (__openat64_nocancel): Likewise.
24760 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24762         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24763         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24764         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24765         * math/auto-libm-test-out: Regenerated.
24766         * sysdeps/i386/fpu/libm-test-ulps: Update.
24767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24769 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24771         [BZ #18790]
24772         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24773         threshold for returning +/- 1.
24774         * math/auto-libm-test-in: Add more tests of tanh.
24775         * math/auto-libm-test-out: Regenerated.
24776         * sysdeps/i386/fpu/libm-test-ulps: Update.
24778 2015-08-10  Andreas Schwab  <schwab@suse.de>
24780         [BZ #18781]
24781         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24782         MORE_OFLAGS to oflag.
24783         * io/test-lfs.c (do_test): Test openat64.
24785 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24787         [BZ #18789]
24788         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24789         smaller threshold for returning the argument.
24790         * math/auto-libm-test-in: Add more tests of sinh.
24791         * math/auto-libm-test-out: Regenerated.
24792         * sysdeps/i386/fpu/libm-test-ulps: Update.
24794 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24796         [BZ #18674]
24797         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24798         break.
24800 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24802         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24803         (generated): Don't add $(addprefix z.,$(tzfiles)).
24805 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24807         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24808         * scripts/sysd-rules.awk: Likewise.
24810 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24812         * iconvdata/tst-tables.sh: Change echo -n to printf.
24813         * nss/db-Makefile: Likewise.
24814         * posix/tst-getconf.sh: Likewise.
24815         * stdio-common/tst-unbputc.sh: Likewise.
24817 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24819         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24820         MADV_*_PAGES defines behind this feature check.
24822 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24824         [BZ #18480]
24825         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24826         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24827         Define.
24828         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24829         LOAD_REGS_5, LOAD_REGS_6): Update.
24830         (INTERNAL_SYSCALL): Update using new LOAD defines.
24831         (INTERNAL_SYSCALL_NCS): Likewise.
24832         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24834 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24836         [BZ #16734]
24837         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24839 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24841         [BZ #17905]
24842         * catgets/Makefile (tst-catgets-mem): New test.
24843         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24844         * catgets/open_catalog.c (__open_catalog): Likewise.
24845         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24847 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24849         [BZ #18787]
24850         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24851         clobber registers.
24852         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24853         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24854         Cast return to __typeof (oldval).
24856 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24858         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24859         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24860         and delete sys/syscall.h include.
24862 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24864         [BZ #16517]
24865         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24866         (tan): Force underflow exception for arguments with small absolute
24867         value.
24868         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24869         (__kernel_tanf): Force underflow exception for arguments with
24870         small absolute value.
24871         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24872         (__kernel_tanl): Force underflow exception for arguments with
24873         small absolute value.
24874         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24875         (__kernel_tanl): Force underflow exception for arguments with
24876         small absolute value.
24877         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24878         (__kernel_tanl): Force underflow exception for arguments with
24879         small absolute value.
24880         * math/auto-libm-test-in: Add more tests of tan.
24881         * math/auto-libm-test-out: Regenerated.
24883 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24885         Fix sysdeps/i386/fpu/s_scalbn.S build
24887         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24889 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24891         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24893 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24895         Fix gcrt0.o compilation
24897         When static-start-installed-name is different from
24898         start-installed-name, we must not use the shared objects.
24900         * csu/Makefile
24901         (extra-objs): Add gmon-start.o when building shared library and
24902         $(static-start-installed-name) is different from
24903         $(start-installed-name).
24904         $(objpfx)g$(static-start-installed-name): When building shared
24905         library and $(static-start-installed-name) is different from
24906         $(static-start-installed-name), revert to non-shared rule,
24907         i.e. using $(objpfx)% and gmon-start.o.
24909 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24911         [BZ #16519]
24912         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24913         (__ieee754_sinh): Force underflow exception for arguments with
24914         small absolute value.
24915         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24916         (__ieee754_sinhf): Force underflow exception for arguments with
24917         small absolute value.
24918         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24919         (__ieee754_sinhl): Force underflow exception for arguments with
24920         small absolute value.
24921         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24922         (__ieee754_sinhl): Force underflow exception for arguments with
24923         small absolute value.
24924         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24925         (__ieee754_sinhl): Force underflow exception for arguments with
24926         small absolute value.
24927         * math/auto-libm-test-in: Add more tests of sinh.
24928         * math/auto-libm-test-out: Regenerated.
24929         * sysdeps/i386/fpu/libm-test-ulps: Update.
24931 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24933         * libio/oldfileops.c: Include unistd.h.
24935 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24937         * stdlib/isomac.c: Include ctype.h.
24939 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24941         * dirent/tst-seekdir.c (main): Converted to ...
24942         (do_test): ... this.
24943         (TEST_FUNCTION): New macro.
24944         Include test-skeleton.c.
24945         * elf/tst-dlmodcount.c (main): Converted to ...
24946         (do_test): ... this.
24947         (TEST_FUNCTION): New macro.
24948         Include test-skeleton.c.
24949         * elf/tst-order-main.c (main): Converted to ...
24950         (do_test): ... this.
24951         (TEST_FUNCTION): New macro.
24952         Include test-skeleton.c.
24953         * elf/tst-pie2.c (main): Converted to ...
24954         (do_test): ... this.
24955         (TEST_FUNCTION): New macro.
24956         Include test-skeleton.c.
24957         * inet/tst-ether_aton.c (main): Converted to ...
24958         (do_test): ... this.
24959         (TEST_FUNCTION): New macro.
24960         Include test-skeleton.c.
24961         * misc/tst-mntent.c (main): Converted to ...
24962         (do_test): ... this.
24963         (TEST_FUNCTION): New macro.
24964         Include test-skeleton.c.
24965         * misc/tst-tsearch.c (main): Converted to ...
24966         (do_test): ... this.
24967         (TEST_FUNCTION): New macro.
24968         Include test-skeleton.c.
24969         * posix/tst-regexloc.c (main): Converted to ...
24970         (do_test): ... this.
24971         (TEST_FUNCTION): New macro.
24972         Include test-skeleton.c.
24973         * resolv/tst-aton.c (main): Converted to ...
24974         (do_test): ... this.
24975         (TEST_FUNCTION): New macro.
24976         Include test-skeleton.c.
24977         * stdio-common/test-fwrite.c (main): Converted to ...
24978         (do_test): ... this.
24979         (TEST_FUNCTION): New macro.
24980         Include test-skeleton.c.
24981         * stdio-common/tst-ferror.c (main): Converted to ...
24982         (do_test): ... this.
24983         (TEST_FUNCTION): New macro.
24984         Include test-skeleton.c.
24985         * stdio-common/tst-printf.c (main): Converted to ...
24986         (do_test): ... this.
24987         (TEST_FUNCTION): New macro.
24988         Include test-skeleton.c.
24989         * stdio-common/tst-printfsz.c (main): Converted to ...
24990         (do_test): ... this.
24991         (TEST_FUNCTION): New macro.
24992         Include test-skeleton.c.
24993         * stdlib/tst-strtod.c (main): Converted to ...
24994         (do_test): ... this.
24995         (TEST_FUNCTION): New macro.
24996         Include test-skeleton.c.
24997         * string/tst-strlen.c (main): Converted to ...
24998         (do_test): ... this.
24999         (TEST_FUNCTION): New macro.
25000         Include test-skeleton.c.
25001         * string/tst-svc.c (main): Converted to ...
25002         (do_test): ... this.
25003         (TEST_FUNCTION): New macro.
25004         Include test-skeleton.c.
25005         * time/tst-strptime.c (main): Converted to ...
25006         (do_test): ... this.
25007         (TEST_FUNCTION): New macro.
25008         Include test-skeleton.c.
25009         * timezone/tst-timezone.c (main): Converted to ...
25010         (do_test): ... this.
25011         (TEST_FUNCTION): New macro.
25012         Include test-skeleton.c.
25014 2015-08-05  Zack Weinberg  <zackw@panix.com>
25016         * misc/regexp.h: Update comments.
25018 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
25020         [BZ #18635]
25021         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
25022         before return label.
25024 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25026         [BZ #18661]
25027         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
25028         when calling __errno_location.
25029         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
25030         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
25032 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25034         [BZ #18661]
25035         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
25036         (__lll_timedwait_tid): Align stack to 16 bytes when calling
25037         __gettimeofday.
25039 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25041         [BZ #18661]
25042         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25043         (__start_context): Don't use pop to restore %rdi so that stack
25044         is aligned to 16 bytes when calling __setcontext.
25046 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25048         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25049         only for libc.
25050         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25052 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25054         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25055         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25056         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25058 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25060         * string/memccpy.c (memccpy):
25061         Improve performance by using memchr/memcpy/__mempcpy.
25063 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25065         * string/strncpy.c (strncpy):
25066         Improve performance by using __strnlen/memcpy.
25068 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25070         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25071         Optimize to avoid an unnecessary FPCR read.
25073 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25075         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25076         Optimize to reduce FPCR/FPSR accesses.
25078 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25080         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25081         dead->data[category] != NULL.
25083 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25085         [BZ #18647]
25086         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25087         and |x| close to 1, use absolute value of x when computing log.
25088         * math/auto-libm-test-in: Add more tests of pow.
25089         * math/auto-libm-test-out: Regenerated.
25091 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25093         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25094         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25095         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25097 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25099         [BZ #18525]
25100         * locales/km_KH: Remove timezone definition.
25101         * locales/lo_LA: Likewise.
25102         * locales/my_MM: Likewise.
25103         * locales/nan_TW@latin: Likewise.
25104         * locales/th_TH: Likewise.
25105         * locales/uk_UA: Likewise.
25107 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25109         [BZ #18265]
25110         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25111         (wcsncat): Likewise.
25112         (wcscmp): Likewise.
25113         (wcsncmp): Likewise.
25115 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25117         * test-skeleton.c (usage): New function.
25118         (main): Call usage when opt is '?'.
25120 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25122         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25123         before first use.
25125 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25127         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25128         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25129         in there too.
25131 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25133         * version.h (RELEASE): Set to "development".
25134         (VERSION): Set to "2.22.90"
25136         * version.h (RELEASE): Set to "stable".
25137         (VERSION): Set to "2.22"
25138         * include/features.h (__GLIBC_MINOR__): Set to 22.
25140 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25142         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25143         Restructure macro to avoid "value computed is not used" warning.
25144         (atomic_compare_and_exchange_val_acq): Likewise.
25146 2015-08-04  Andreas Schwab  <schwab@suse.de>
25148         [BZ #18635]
25149         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25150         ret.
25151         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25153 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25155         * po/pl.po: Updated translation.
25156         * po/uk.po: Likewise.
25157         * po/fi.po: Likewise.
25158         * po/ko.po: Likewise.
25159         * po/ru.po: Likewise.
25160         * po/vi.po: Likewise.
25162 2015-07-31  Zack Weinberg  <zackw@panix.com>
25164         [BZ #18681]
25165         * regexp.h: Add unconditional #warning stating that this header
25166         will be removed soon.  Revise banner comment to match.
25167         (compile): Consistently use ERROR instead of RETURN to report
25168         errors (partial fix for bz#18681).
25169         * regexp.c: Don't include regexp.h. Remove some unnecessary
25170         declarations.
25172 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25174         * po/libc.pot: Regenerated.
25176 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25178         [BZ #18740]
25179         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25180         float-vlen4-arch-ext-cflags): Removed.
25181         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25182         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25184 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25186         [BZ #14113]
25187         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25188         aligned to __aligned__.
25189         (pthread_cond_t, pthread_rwlock_t): Likewise.
25191 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25193         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25195 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25197         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25198         (struct sigaction): Change sa_flags from a long to an int, and add
25199         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25201 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25203         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25204         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25205         sysdeps/generic/sysdep.h include.
25206         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25207         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25208         sysdeps/hppa/sysdep.h.
25209         (ENTRY, PSEUDO): Undefine before defining.
25211 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25213         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25214         from scratch to use INTERNAL_SYSCALL.
25216 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25218         [BZ #18078]
25219         * scripts/check-localplt.awk: Support alternate relocations.
25220         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25221         sections.
25222         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25223         malloc entries with + REL R_386_GLOB_DAT.
25224         * sysdeps/x86_64/localplt.data: New file.
25226 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25228         [BZ #18731]
25229         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25230         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25231         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25233 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25235         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25237 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25239         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25240         directly in terms of __sync_fetch_and_add and delete (int) cast.
25242 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25244         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25245         the -D_ASM_IA64_CURRENT_H flag.
25247 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25249         [BZ #18641]
25250         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25252 2015-07-27  Andreas Schwab  <schwab@suse.de>
25254         * conform/conformtest.pl (checknamespace): Filter out string
25255         literals while tokenizing.
25257 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25259         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25260         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25261         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25263 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25265         * nptl/tst-join7mod.c: Add #include <string.h>.
25267 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25269         * sysdeps/nios2/libm-test-ulps: Update.
25271 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25273         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25274         Fix order of arguments to the rt_sigprocmask syscall.
25275         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25276         Likewise.
25278 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25280         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25282 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25284         [BZ #18457]
25285         * nptl/Makefile (tests): New test case tst-join7.
25286         (modules-names): New test case module tst-join7mod.
25287         * nptl/tst-join7.c: New file.
25288         * nptl/tst-join7mod.c: New file.
25289         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25290         all translation units in libc.so, libpthread.so and rtld.
25292 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25296 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25299         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25300         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25301         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25302         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25304         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25305         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25306         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25307         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25308         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25309         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25310         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25311         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25312         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25313         implementation.
25315 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25317         [BZ #17711]
25318         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25319         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25320         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25321         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25322         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25323         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25325 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25327         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25328         instead of just saying load lock in the comments.
25330 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25332         * sysdeps/unix/Subdirs: Moved ...
25333         * sysdeps/posix/Subdirs: ... here.
25334         * login/pty.h (struct termios, struct winsize): Add forward decls.
25335         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25336         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25337         * sysdeps/arm/nacl/libc.abilist: Updated.
25338         * sysdeps/nacl/libutil.abilist: New file.
25340         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25341         (SIGWINCH): New macro.
25343         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25344         * sysdeps/arm/nacl/libc.abilist: Add it.
25346 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25348         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25350 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25352         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25353         Swap __glibc_reserved0 and sa_flags order.
25355 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25357         [BZ #18657]
25358         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25359         are pending TLS destructor calls.
25360         * include/link.h (struct link_map): Add concurrency note for
25361         L_TLS_DTOR_COUNT.
25362         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25363         Don't touch the link map flag.  Atomically increment
25364         l_tls_dtor_count.
25365         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25366         Avoid taking the load lock and don't touch the link map flag.
25367         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25368         * stdlib/Makefile (tests): Use it.
25369         * stdlib/tst-tls-atexit.c (do_test): dlopen
25370         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25371         to allow tst-tls-atexit-nodelete test case to use it.
25373 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25375         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25376         to bits/types.h.
25377         (msgqnum_t): New typedef.
25378         (msglen_t): Likewise.
25379         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
25380         and msg_qbytes type to msglen_t.
25382 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25384         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
25385         pad0 to __glibc_reserved0.
25386         (struct stat64): Likewise.
25388 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25390         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25391         Change sa_flags from a long to an int and add __glibc_reserved0 before
25392         it for padding.
25394 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25396         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25397         anonymous by deleting "siginfo" name.
25399 2015-07-21  Roland McGrath  <roland@hack.frob.com>
25401         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
25402         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
25403         rather than __nacl_irt_filename.
25404         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25406         * NEWS: New item for arm-nacl port.
25407         * sysdeps/arm/nacl/libc.abilist: New file.
25408         * sysdeps/nacl/ld.abilist: New file.
25409         * sysdeps/nacl/libBrokenLocale.abilist: New file.
25410         * sysdeps/nacl/libanl.abilist: New file.
25411         * sysdeps/nacl/libcrypt.abilist: New file.
25412         * sysdeps/nacl/libdl.abilist: New file.
25413         * sysdeps/nacl/libm.abilist: New file.
25414         * sysdeps/nacl/libpthread.abilist: New file.
25415         * sysdeps/nacl/libresolv.abilist: New file.
25416         * sysdeps/nacl/librt.abilist: New file.
25418 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
25420         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
25421         __startcontext to initialize the new context.
25422         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
25423         up CFI directive to forbid further backtracing.
25425 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
25427         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
25428         reference.
25429         * charmaps/ANSI_X3.4-1968: Likewise.
25430         * charmaps/BS_4730: Likewise.
25431         * charmaps/BS_VIEWDATA: Likewise.
25432         * charmaps/CP1250: Likewise.
25433         * charmaps/CP1251: Likewise.
25434         * charmaps/CP1252: Likewise.
25435         * charmaps/CP1253: Likewise.
25436         * charmaps/CP1254: Likewise.
25437         * charmaps/CP1255: Likewise.
25438         * charmaps/CP1256: Likewise.
25439         * charmaps/CSN_369103: Likewise.
25440         * charmaps/EBCDIC-DK-NO: Likewise.
25441         * charmaps/GB_1988-80: Likewise.
25442         * charmaps/GREEK-CCITT: Likewise.
25443         * charmaps/GREEK7: Likewise.
25444         * charmaps/INIS-8: Likewise.
25445         * charmaps/ISIRI-3342: Likewise.
25446         * charmaps/ISO_2033-1983: Likewise.
25447         * charmaps/ISO_5427-EXT: Likewise.
25448         * locales/POSIX: Likewise.
25449         * locales/ar_SA: Likewise.
25450         * locales/be_BY: Likewise.
25451         * locales/be_BY@latin: Likewise.
25452         * locales/ca_ES: Likewise.
25453         * locales/cs_CZ: Likewise.
25454         * locales/da_DK: Likewise.
25455         * locales/de_BE: Likewise.
25456         * locales/de_CH: Likewise.
25457         * locales/de_LU: Likewise.
25458         * locales/en_AU: Likewise.
25459         * locales/en_BW: Likewise.
25460         * locales/en_CA: Likewise.
25461         * locales/en_DK: Likewise.
25462         * locales/en_GB: Likewise.
25463         * locales/en_IE: Likewise.
25464         * locales/en_NZ: Likewise.
25465         * locales/en_ZA: Likewise.
25466         * locales/en_ZW: Likewise.
25467         * locales/es_AR: Likewise.
25468         * locales/es_BO: Likewise.
25469         * locales/es_CL: Likewise.
25470         * locales/es_CO: Likewise.
25471         * locales/es_DO: Likewise.
25472         * locales/es_EC: Likewise.
25473         * locales/es_ES: Likewise.
25474         * locales/es_HN: Likewise.
25475         * locales/es_MX: Likewise.
25476         * locales/es_PA: Likewise.
25477         * locales/es_PE: Likewise.
25478         * locales/es_PY: Likewise.
25479         * locales/es_SV: Likewise.
25480         * locales/es_US: Likewise.
25481         * locales/es_UY: Likewise.
25482         * locales/es_VE: Likewise.
25483         * locales/et_EE: Likewise.
25484         * locales/fa_IR: Likewise.
25485         * locales/fo_FO: Likewise.
25486         * locales/fr_CA: Likewise.
25487         * locales/fr_CH: Likewise.
25488         * locales/gv_GB: Likewise.
25489         * locales/he_IL: Likewise.
25490         * locales/hr_HR: Likewise.
25491         * locales/id_ID: Likewise.
25492         * locales/is_IS: Likewise.
25493         * locales/it_CH: Likewise.
25494         * locales/iw_IL: Likewise.
25495         * locales/kl_GL: Likewise.
25496         * locales/ko_KR: Likewise.
25497         * locales/kw_GB: Likewise.
25498         * locales/lg_UG: Likewise.
25499         * locales/lt_LT: Likewise.
25500         * locales/lv_LV: Likewise.
25501         * locales/mi_NZ: Likewise.
25502         * locales/nhn_MX: Likewise.
25503         * locales/nl_BE: Likewise.
25504         * locales/pl_PL: Likewise.
25505         * locales/sk_SK: Likewise.
25506         * locales/sl_SI: Likewise.
25507         * locales/sv_FI: Likewise.
25508         * locales/tl_PH: Likewise.
25509         * locales/tr_TR: Likewise.
25510         * locales/vi_VN: Likewise.
25512 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25514         [BZ #17475]
25515         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25516         of tu_IN and bh_IN.
25518 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25520         [BZ #18694]
25521         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25522         bits/wordsize.h.
25523         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25525 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25527         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25528         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25529         (spawn_thread): New function.
25530         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25531         (do_test): ... here.  Use IS_LOADED to test for its
25532         availability.
25534 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25536         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25538 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25540         [BZ #18696]
25541         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25542         si_addr_bnd.
25543         (si_lower): New.
25544         (si_upper): Likewise.
25546 2015-07-16  David S. Miller  <davem@davemloft.net>
25548         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25550 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25552         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25553         buffer.
25554         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25555         fail output information.
25557 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25560         and strstr-ppc64..
25561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25562         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25563         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25564         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25565         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25567 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25569         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25570         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25571         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25572         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25574 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25576         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25577         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25578         rtld_hidden_proto.
25579         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25581 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25583         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25584         the test can fail.
25586         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25588         [BZ #18676]
25589         * elf/tst-nodelete-opened.c: New test case.
25590         * elf/tst-nodelete-opened-lib.c: New test case module.
25591         * elf/Makefile (tests, modules-names): Use them.
25592         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25593         early.
25595 2015-07-15  David S. Miller  <davem@davemloft.net>
25597         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25598         futex-intenal.h
25599         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25600         * sysdeps/sparc/sparc64/Makefile: Likewise.
25601         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25602         Remove space from macro define.
25603         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25605 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25607         [BZ #17475]
25608         * locale/iso-639.def: Update Bhili and Tulu language codes as
25609         per iso639-3.
25611 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25613         * elf/tst-leaks1.c (main): Converted to ...
25614         (do_test): ... this.
25615         (TEST_FUNCTION): New macro.
25616         Include test-skeleton.c.
25617         * localedata/tst-langinfo.c (main): Converted to ...
25618         (do_test): ... this.
25619         (TEST_FUNCTION): New macro.
25620         Include test-skeleton.c.
25621         * math/test-fpucw.c (main): Converted to ...
25622         (do_test): ... this.
25623         (TEST_FUNCTION): New macro.
25624         Include test-skeleton.c.
25625         * math/test-tgmath.c (main): Converted to ...
25626         (do_test): ... this.
25627         (TEST_FUNCTION): New macro.
25628         Include test-skeleton.c.
25629         * math/test-tgmath2.c (main): Converted to ...
25630         (do_test): ... this.
25631         (TEST_FUNCTION): New macro.
25632         Include test-skeleton.c.
25633         * setjmp/tst-setjmp.c (main): Converted to ...
25634         (do_test): ... this.
25635         (TEST_FUNCTION): New macro.
25636         Include test-skeleton.c.
25637         * stdio-common/tst-sscanf.c (main): Converted to ...
25638         (do_test): ... this.
25639         (TEST_FUNCTION): New macro.
25640         Include test-skeleton.c.
25641         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25642         (do_test): ... this.
25643         (TEST_FUNCTION): New macro.
25644         Include test-skeleton.c.
25646         * elf/tst-audit9.c (main): Converted to ...
25647         (do_test): ... this.
25648         (TEST_FUNCTION): New macro.
25649         Include test-skeleton.c.
25651 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25653         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25655 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25657         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25658         New variable.
25660 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25662         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25664 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25666         * sysdeps/generic/dl-fileid.h: New file.
25667         * sysdeps/posix/dl-fileid.h: New file.
25668         * sysdeps/nacl/dl-fileid.h: New file.
25669         * include/link.h: Include <dl-fileid.h>.
25670         (struct link_map): Replace l_dev and l_ino with l_file_id.
25671         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25672         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25673         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25675 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25677         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25679 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25681         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25682         Add iff $CXX is set.
25683         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25684         Likewise.
25685         (tst-nodelete-zmodiff): Likewise.
25686         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25688 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25690         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25692 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25694         * sysdeps/aarch64/fpu/math_private.h
25695         (define math_opt_barrier): Add AArch64 version.
25696         (math_force_eval): Likewise.
25698 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25700         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25702 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25704         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25705         %ld with %jd and cast to intmax_t.
25706         (do_test_length_zero): Likewise.
25708 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25710         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25712 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25714         * sysdeps/tile/libm-test-ulps: Regenerated.
25716         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25717         Comment out the whole function, not just its body.
25719 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25721         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25722         locks.
25724         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25726 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25728         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25729         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25731 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25733         * sysdeps/nptl/futex-internal.h: New file.
25734         * sysdeps/nacl/futex-internal.h: New file.
25735         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25736         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25737         error checking.
25738         (setxid_unmark_thread): Likewise.
25739         (__nptl_setxid): Likewise.
25740         (__wait_lookup_done): Likewise.
25741         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25742         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25743         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25744         * nptl/pthread_once.c (clear_once_control): Likewise.
25745         (__pthread_once_slow): Likewise.
25746         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25747         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25748         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25749         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25750         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25751         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25752         Likewise.
25753         (__pthread_rwlock_rdlock): Likewise.
25754         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25755         Likewise.
25756         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25757         Likewise.
25758         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25759         Likewise.
25760         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25761         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25762         Likewise.
25763         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25764         __ASSUME_PRIVATE_FUTEX check.
25765         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25766         Check that shared futexes are supported.
25767         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25768         wrappers with error checking.
25769         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25770         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25771         * nptl/pthread_barrierattr_setpshared.c
25772         (pthread_barrierattr_setpshared): Check that shared futexes are
25773         supported.
25774         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25775         Likewise.
25776         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25777         Likewise.
25778         * nptl/sem_init.c (futex_private_if_supported): Remove.
25779         (__new_sem_init): Adapt and check that shared futexes are supported.
25780         * nptl/sem_open.c (sem_open): Likewise.
25781         * nptl/sem_post.c (futex_wake): Remove.
25782         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25783         (do_futex_wait): Use futex wrappers with error checking.
25784         * nptl/sem_wait.c: Include lowlevellock.h.
25785         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25786         Use futex_supports_pshared.
25787         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25788         Use futex wrappers with error checking.
25789         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25790         Likewise.
25791         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25792         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25793         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25794         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25795         (futex_wake): Likewise.
25796         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25797         (do_futex_wait): Use futex wrappers with error checking.
25798         (__new_sem_wait_slow): Update EINTR handling.
25799         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25801 2015-07-09  Martin Sebor  <msebor@redhat.com>
25803         [BZ #18435]
25804         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25805         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25806         * nptl/Makefile (test-xfail-tst-once5): Define.
25808 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25810         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25811         * elf/dl-minimal.c: For readability, reorder some definitions and
25812         introduce more page breaks.  Include <stdio.h>.
25813         (__libc_fatal): New function.
25815         * include/unistd.h: Add rtld_hidden_proto for _exit.
25816         * posix/_exit.c: Add rtld_hidden_def.
25817         * sysdeps/mach/hurd/_exit.c: Likewise.
25818         * sysdeps/nacl/_exit.c: Likewise.
25819         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25820         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25822 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25825         bndmov encoding with zero displacement.
25827 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25828             H.J. Lu  <hongjiu.lu@intel.com>
25830         [BZ #18134]
25831         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25832         * sysdeps/i386/configure: Regenerated.
25833         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25834         (_dl_runtime_profile): Save and restore Intel MPX return bound
25835         registers when calling _dl_call_pltexit.  Add
25836         PRESERVE_BND_REGS_PREFIX before return.
25837         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25838         (LRV_BND1_OFFSET): Likewise.
25839         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25840         lrv_bnd1.
25841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25842         typo in bndmov encoding.
25843         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25844         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25845         branch instructions to preserve bounds.
25847 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25850         [GLIBC_2.22]: Add fmemopen.
25852 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25854         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25855         returns an error, also try to use host port from __mach_host_self for
25856         the __vm_wire call.
25857         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25859 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25861         [BZ #18400]
25862         [BZ #18648]
25863         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25864         Fix pr_uid and pr_gid members.
25865         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25866         definition to elf_greg_t.
25868 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25870         [BZ #18383]
25871         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25872         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25873         * sysdeps/arm/configure: Regenerated.
25874         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25875         (test-xfail-tst-tlsalign-static): Variable removed.
25877         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25878         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25879         rather than explicit 'ln -s'.
25881         * resolv/rpc/netdb.h: New file.
25882         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25884 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25886         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25887         length buffers.
25888         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25889         test-skeleton.c.
25891         [BZ #6544]
25892         [BZ #11216]
25893         [BZ #12836]
25894         [BZ #13151]
25895         [BZ #13152]
25896         [BZ #14292]
25897         * include/stdio.h (fmemopen): Remove hidden prototype.
25898         (__fmemopen): Add new hidden prototype.
25899         * libio/Makefile: Add oldfmemopen object.
25900         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25901         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25902         compliance.
25903         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25904         symbol compatibility.
25905         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25906         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25907         fmemopen.
25908         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25909         on append and read mode.
25910         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25911         fmemopen.
25912         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25913         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25914         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25915         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25916         Likewise.
25917         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25918         [GLIBC_2.22]: Likewise.
25919         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25920         Likewise.
25921         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25922         Likewise.
25923         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25924         [GLIBC_2.22]: Likewise.
25925         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25926         [GLIBC_2.22]: Likewise.
25927         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25928         [GLIBC_2.22]: Likewise.
25929         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25930         [GLIBC_2.22]: Likewise.
25931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25932         [GLIBC_2.22]: Likewise.
25933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25934         [GLIBC_2.22]: Likewise.
25935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25936         [GLIBC_2.22]: Likewise.
25937         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25938         Likewise.
25939         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25940         Likewise.
25941         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25942         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25943         [GLIBC_2.22]: Likewise.
25944         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25945         [GLIBC_2.22]: Likewise.
25946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25947         [GLIBC_2.22]: Likewise.
25948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25949         [GLIBC_2.22]: Likewise.
25950         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25951         Likewise.
25952         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25953         Likewise.
25954         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25955         Likewise.
25956         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25957         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25959 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25961         [BZ #18643]
25962         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25963         IPV6_PATHMTU, and IPV6_DONTFRAG.
25965 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25967         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25968         and _IO_UNBUFFERED.
25969         * libio/oldfileops.c: Likewise.
25970         * libio/wfileops.c: Likewise.
25972 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25974         * nscd/selinux.c: Delete selinux/flask.h include.
25976 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25978         [BZ #18641]
25979         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25980         (putpwent): Likewise.
25981         (getpwnam): Likewise.
25982         (getpwent_r): Likewise.
25983         (getpwuid_r): Likewise.
25984         (getpwnam_r): Likewise.
25985         (fgetpwent_r): Likewise.
25987 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25989         [BZ #18557]
25990         * inet/rcmd.c (__validuser2_sa): Check user first to
25991         short-circuit host check.
25993 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25994             Mikhail Ilin  <m.ilin@samsung.com>
25996         [BZ #17833]
25997         * elf/Makefile (tests): Add tst-nodelete.
25998         (modules-names): Add tst-nodelete-uniquemod.
25999         (tst-nodelete-uniquemod.so-no-z-defs): New.
26000         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
26001         (tst-nodelete-zmod.so-no-z-defs): Likewise.
26002         ($(objpfx)tst-nodelete): Likewise.
26003         ($(objpfx)tst-nodelete.out): Likewise.
26004         (LDFLAGS-tst-nodelete): Likewise.
26005         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
26006         * elf/dl-close.c (_dl_close_worker): Add a parameter to
26007         implement forced object deletion.
26008         (_dl_close): Pass false to _dl_close_worker.
26009         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
26010         * elf/tst-nodelete.cc: New file.
26011         * elf/tst-nodeletelib.cc: Likewise.
26012         * elf/tst-znodeletelib.cc: Likewise.
26013         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
26015 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26017         [BZ #18508]
26018         * stdlib/Makefile ($(objpfx)tst-makecontext3):
26019         Depend on $(libdl).
26020         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
26021         is not called infinitely times.
26022         (backtrace_helper): New function.
26023         (trace_arg): New struct.
26024         (st1): Enlarge stack size.
26025         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26026         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
26027         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26028         Likewise.
26030 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26032         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26034 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26036         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
26037         Include sys/types.h instead of bits/types.h.
26038         Remove inclusion of bits/wordsize.h.
26040 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26042         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26043         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26044         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26045         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26046         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26047         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26049 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26051         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26052         link-defines.sym.
26053         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26054         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26055         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26056         and LR_SIZE.
26057         * sysdeps/i386/link-defines.sym: New file.
26059 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26061         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26062         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26063         ($(objpfx)tst-audit3): New rule.
26064         ($(objpfx)tst-audit3.out): Likewise.
26065         * sysdeps/i386/tst-audit3.c: New file.
26066         * sysdeps/i386/tst-audit3.h: Likewise.
26067         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26068         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26070 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26072         [BZ #18633]
26073         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26074         pointer in C code.
26075         (__strcat_c): Likewise.
26076         (__strcat_g): Likewise.
26078 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26080         [BZ #18592]
26081         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26083 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26085         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26086         New function.  (__ieee754_sqrtf): New function.
26087         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26088         New function.
26089         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26090         New function.
26092 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26094         * sysdeps/ieee754/support.c: Remove unused file.
26096 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26098         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26099         registers instead of d ones so the layout is kernel abi compatible.
26100         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26101         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26102         Likewise.
26104 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26106         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26108 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26110         [BZ #18619]
26111         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26112         and return argument in case of subnormal argument.
26114 2015-07-01  Martin Sebor  <msebor@redhat.com>
26116         [BZ #18435]
26117         * nptl/Makefile: Add tst-once5.cc.
26118         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26119         Remove macro redefinitions.
26120         * nptl/tst-once5.cc: New test.
26122 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26124         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26126         * sysdeps/arm/libm-test-ulps: Regenerated.
26128         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26129         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26131 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26133         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26134         lll_lock_wait_private and lll_futex_wake probes.
26136         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26137         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26138         Likewise.
26139         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26140         atomic_spin_nop.
26141         * sysdeps/x86_64/bits/atomic.h: Likewise.
26142         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26143         to atomic_spin_nop and move ...
26144         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26145         ... here and ...
26146         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26147         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26148         atomic_spin_nop instead of BUSY_WAIT_NOP.
26149         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26150         Likewise.
26151         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26152         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26153         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26154         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26155         instead of atomic_delay.
26157 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26159         [BZ #18613]
26160         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26161         X_ADJ not X when adjusting exponent.
26162         (__ieee754_gamma_r): Do intermediate computations in
26163         round-to-nearest then adjust overflowing and underflowing results
26164         as needed.
26165         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26166         of X_ADJ not X when adjusting exponent.
26167         (__ieee754_gammaf_r): Do intermediate computations in
26168         round-to-nearest then adjust overflowing and underflowing results
26169         as needed.
26170         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26171         log of X_ADJ not X when adjusting exponent.
26172         (__ieee754_gammal_r): Do intermediate computations in
26173         round-to-nearest then adjust overflowing and underflowing results
26174         as needed.  Use 1.0L not 1.0f as numerator of division.
26175         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26176         log of X_ADJ not X when adjusting exponent.
26177         (__ieee754_gammal_r): Do intermediate computations in
26178         round-to-nearest then adjust overflowing and underflowing results
26179         as needed.  Use 1.0L not 1.0f as numerator of division.
26180         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26181         of X_ADJ not X when adjusting exponent.
26182         (__ieee754_gammal_r): Do intermediate computations in
26183         round-to-nearest then adjust overflowing and underflowing results
26184         as needed.  Use 1.0L not 1.0f as numerator of division.
26185         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26186         to auto-libm-test-in.
26187         (tgamma_test): Use ALL_RM_TEST.
26188         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26189         tests of tgamma with spurious-overflow.
26190         * math/auto-libm-test-out: Regenerated.
26191         * math/gen-libm-have-vector-test.sh: Do not check for START.
26192         * sysdeps/i386/fpu/libm-test-ulps: Update.
26193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26195         [BZ #18612]
26196         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26197         arguments, just return 0.5 times the argument, with underflow
26198         forced as needed.
26199         * math/auto-libm-test-in: Add more tests of j1.
26200         * math/auto-libm-test-out: Regenerated.
26202         [BZ #16559]
26203         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26204         (__ieee754_j1): Force underflow exception for small results.
26205         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26206         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26207         (__ieee754_j1f): Force underflow exception for small results.
26208         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26209         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26210         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26211         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26212         (__ieee754_j1l): Force underflow exception for small results.
26213         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26214         * math/auto-libm-test-in: Add more tests of j1 and jn.
26215         * math/auto-libm-test-out: Regenerated.
26217         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26218         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26219         (PF_MPLS): Likewise.
26220         (AF_IB): Likewise.
26221         (AF_MPLS): Likewise.
26222         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26223         value and macro.
26224         (MS_RMT_MASK): Include MS_LAZYTIME.
26226 2015-06-26  Mel Gorman  <mgorman@suse.de>
26228         [BZ #18502]
26229         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26230         already minimal.
26232 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26234         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26235         (DT_MIPS_NUM): Update.
26236         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26237         DT_MIPS_RLD_MAP_REL.
26239 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26241         [BZ #16559]
26242         [BZ #18602]
26243         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26244         round-to-nearest internally then recompute results that
26245         underflowed to zero in the original rounding mode.
26246         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26247         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26249         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26250         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26251         * sysdeps/i386/fpu/libm-test-ulps: Update.
26252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26254 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26256         * NEWS: Fixed description of link with vector math library.
26258 2015-06-25  Andreas Schwab  <schwab@suse.de>
26260         [BZ #18549]
26261         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26262         * libio/test-fmemopen.c (do_test): Add test for it.
26264 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26266         [BZ #17841]
26267         * Makeconfig (no-pie-ldflag): New.
26268         (+link): Set to $(+link-pie) if default to PIE.
26269         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26270         * config.make.in (build-pie-default): New.
26271         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26272         is default.  AC_SUBST.
26273         * configure: Regenerated.
26274         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26276 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26278         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26279         to 'unsigned int'.
26281         * resolv/gai_misc.h (struct waitlist): Change type of field
26282         counterp to 'volatile unsigned int *'.
26283         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26284         FUTEXADDR and OLDVAL.
26285         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26286         Give local variable TOTAL type 'volatile unsigned int'.
26287         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26288         * resolv/gai_suspend.c (gai_suspend):
26289         Give local variable CNTR type 'unsigned int'.
26291         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26292         counterp to 'volatile unsigned int *'.
26293         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26294         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26295         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26296         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26297         Give local variable TOTAL type 'volatile unsigned int'.
26298         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26300 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26302         [BZ #18383]
26303         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26304         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26305         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26306         comment for i386/x86-64.
26307         (test-xfail-tst-tlsalign-extern-static): Removed.
26309 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26311         * math/test-double.h: New file.
26312         * math/test-float.h: Likewise.
26313         * math/test-ldouble.h: Likewise.
26314         * math/test-math-inline.h: Likewise.
26315         * math/test-math-no-inline.h: Likewise.
26316         * math/test-math-scalar.h: Likewise.
26317         * math/test-math-vector.h: Likewise.
26318         * math/test-vec-loop.h: Remove file.  Contents moved into
26319         test-math-vector.h.
26320         * math/libm-test.inc (MATHCONST): Do not document macro.
26321         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26322         and test-math-scalar.h.
26323         (FUNC): Remove macro.
26324         (FUNC_TEST): Likewise.
26325         (FLOAT): Likewise.
26326         (MATHCONST): Likewise.
26327         (PRINTF_EXPR): Likewise.
26328         (PRINTF_XEXPR): Likewise.
26329         (PRINTF_NEXPR): Likewise.
26330         (TEST_DOUBLE): Likewise.
26331         (TEST_MATHVEC): Likewise.
26332         (__NO_MATH_INLINES): Likewise.
26333         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26334         and test-math-scalar.h.
26335         (FUNC): Remove macro.
26336         (FUNC_TEST): Likewise.
26337         (FLOAT): Likewise.
26338         (MATHCONST): Likewise.
26339         (PRINTF_EXPR): Likewise.
26340         (PRINTF_XEXPR): Likewise.
26341         (PRINTF_NEXPR): Likewise.
26342         (TEST_FLOAT): Likewise.
26343         (TEST_MATHVEC): Likewise.
26344         (__NO_MATH_INLINES): Likewise.
26345         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26346         and test-math-scalar.h.
26347         (FUNC): Remove macro.
26348         (FUNC_TEST): Likewise.
26349         (FLOAT): Likewise.
26350         (MATHCONST): Likewise.
26351         (PRINTF_EXPR): Likewise.
26352         (PRINTF_XEXPR): Likewise.
26353         (PRINTF_NEXPR): Likewise.
26354         (TEST_DOUBLE): Likewise.
26355         (TEST_MATHVEC): Likewise.
26356         (TEST_INLINE): Likewise.
26357         (__NO_MATH_INLINES): Likewise.
26358         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26359         test-math-scalar.h.
26360         (FUNC): Remove macro.
26361         (FUNC_TEST): Likewise.
26362         (FLOAT): Likewise.
26363         (MATHCONST): Likewise.
26364         (PRINTF_EXPR): Likewise.
26365         (PRINTF_XEXPR): Likewise.
26366         (PRINTF_NEXPR): Likewise.
26367         (TEST_FLOAT): Likewise.
26368         (TEST_MATHVEC): Likewise.
26369         (TEST_INLINE): Likewise.
26370         (__NO_MATH_INLINES): Likewise.
26371         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
26372         and test-math-scalar.h.
26373         (FUNC): Remove macro.
26374         (FUNC_TEST): Likewise.
26375         (FLOAT): Likewise.
26376         (MATHCONST): Likewise.
26377         (PRINTF_EXPR): Likewise.
26378         (PRINTF_XEXPR): Likewise.
26379         (PRINTF_NEXPR): Likewise.
26380         (TEST_LDOUBLE): Likewise.
26381         (TEST_MATHVEC): Likewise.
26382         (TEST_INLINE): Likewise.
26383         (__NO_MATH_INLINES): Likewise.
26384         * math/test-ldouble.c: Include test-ldouble.h,
26385         test-math-no-inline.h and test-math-scalar.h.
26386         (FUNC): Remove macro.
26387         (FUNC_TEST): Likewise.
26388         (FLOAT): Likewise.
26389         (MATHCONST): Likewise.
26390         (PRINTF_EXPR): Likewise.
26391         (PRINTF_XEXPR): Likewise.
26392         (PRINTF_NEXPR): Likewise.
26393         (TEST_LDOUBLE): Likewise.
26394         (TEST_MATHVEC): Likewise.
26395         (__NO_MATH_INLINES): Likewise.
26396         * math/test-double-vlen2.h: Include test-double.h,
26397         test-math-no-inline.h and test-math-vector.h.
26398         (FLOAT): Remove macro.
26399         (FUNC): Likewise.
26400         (MATHCONST): Likewise.
26401         (PRINTF_EXPR): Likewise.
26402         (PRINTF_XEXPR): Likewise.
26403         (PRINTF_NEXPR): Likewise.
26404         (TEST_DOUBLE): Likewise.
26405         (TEST_MATHVEC): Likewise.
26406         (__NO_MATH_INLINES): Likewise.
26407         (CNCT): Likewise.
26408         (CONCAT): Likewise.
26409         (WRAPPER_NAME): Likewise.
26410         (WRAPPER_DECL): Likewise.
26411         (WRAPPER_DECL_ff): Likewise.
26412         (WRAPPER_DECL_fFF): Likewise.
26413         (VECTOR_WRAPPER): Likewise.
26414         (VECTOR_WRAPPER_ff): Likewise.
26415         (VECTOR_WRAPPER_fFF): Likewise.
26416         (VEC_LEN): New macro.
26417         * math/test-double-vlen4.h: Include test-double.h,
26418         test-math-no-inline.h and test-math-vector.h.
26419         (FLOAT): Remove macro.
26420         (FUNC): Likewise.
26421         (MATHCONST): Likewise.
26422         (PRINTF_EXPR): Likewise.
26423         (PRINTF_XEXPR): Likewise.
26424         (PRINTF_NEXPR): Likewise.
26425         (TEST_DOUBLE): Likewise.
26426         (TEST_MATHVEC): Likewise.
26427         (__NO_MATH_INLINES): Likewise.
26428         (CNCT): Likewise.
26429         (CONCAT): Likewise.
26430         (WRAPPER_NAME): Likewise.
26431         (WRAPPER_DECL): Likewise.
26432         (WRAPPER_DECL_ff): Likewise.
26433         (WRAPPER_DECL_fFF): Likewise.
26434         (VECTOR_WRAPPER): Likewise.
26435         (VECTOR_WRAPPER_ff): Likewise.
26436         (VECTOR_WRAPPER_fFF): Likewise.
26437         (VEC_LEN): New macro.
26438         * math/test-double-vlen8.h: Include test-double.h,
26439         test-math-no-inline.h and test-math-vector.h.
26440         (FLOAT): Remove macro.
26441         (FUNC): Likewise.
26442         (MATHCONST): Likewise.
26443         (PRINTF_EXPR): Likewise.
26444         (PRINTF_XEXPR): Likewise.
26445         (PRINTF_NEXPR): Likewise.
26446         (TEST_DOUBLE): Likewise.
26447         (TEST_MATHVEC): Likewise.
26448         (__NO_MATH_INLINES): Likewise.
26449         (CNCT): Likewise.
26450         (CONCAT): Likewise.
26451         (WRAPPER_NAME): Likewise.
26452         (WRAPPER_DECL): Likewise.
26453         (WRAPPER_DECL_ff): Likewise.
26454         (WRAPPER_DECL_fFF): Likewise.
26455         (VECTOR_WRAPPER): Likewise.
26456         (VECTOR_WRAPPER_ff): Likewise.
26457         (VECTOR_WRAPPER_fFF): Likewise.
26458         (VEC_LEN): New macro.
26459         * math/test-float-vlen4.h: Include test-float.h,
26460         test-math-no-inline.h and test-math-vector.h.
26461         (FLOAT): Remove macro.
26462         (FUNC): Likewise.
26463         (MATHCONST): Likewise.
26464         (PRINTF_EXPR): Likewise.
26465         (PRINTF_XEXPR): Likewise.
26466         (PRINTF_NEXPR): Likewise.
26467         (TEST_FLOAT): Likewise.
26468         (TEST_MATHVEC): Likewise.
26469         (__NO_MATH_INLINES): Likewise.
26470         (CNCT): Likewise.
26471         (CONCAT): Likewise.
26472         (WRAPPER_NAME): Likewise.
26473         (WRAPPER_DECL): Likewise.
26474         (WRAPPER_DECL_ff): Likewise.
26475         (WRAPPER_DECL_fFF): Likewise.
26476         (VECTOR_WRAPPER): Likewise.
26477         (VECTOR_WRAPPER_ff): Likewise.
26478         (VECTOR_WRAPPER_fFF): Likewise.
26479         (VEC_LEN): New macro.
26480         * math/test-float-vlen8.h: Include test-float.h,
26481         test-math-no-inline.h and test-math-vector.h.
26482         (FLOAT): Remove macro.
26483         (FUNC): Likewise.
26484         (MATHCONST): Likewise.
26485         (PRINTF_EXPR): Likewise.
26486         (PRINTF_XEXPR): Likewise.
26487         (PRINTF_NEXPR): Likewise.
26488         (TEST_FLOAT): Likewise.
26489         (TEST_MATHVEC): Likewise.
26490         (__NO_MATH_INLINES): Likewise.
26491         (CNCT): Likewise.
26492         (CONCAT): Likewise.
26493         (WRAPPER_NAME): Likewise.
26494         (WRAPPER_DECL): Likewise.
26495         (WRAPPER_DECL_ff): Likewise.
26496         (WRAPPER_DECL_fFF): Likewise.
26497         (VECTOR_WRAPPER): Likewise.
26498         (VECTOR_WRAPPER_ff): Likewise.
26499         (VECTOR_WRAPPER_fFF): Likewise.
26500         (VEC_LEN): New macro.
26501         * math/test-float-vlen16.h: Include test-float.h,
26502         test-math-no-inline.h and test-math-vector.h.
26503         (FLOAT): Remove macro.
26504         (FUNC): Likewise.
26505         (MATHCONST): Likewise.
26506         (PRINTF_EXPR): Likewise.
26507         (PRINTF_XEXPR): Likewise.
26508         (PRINTF_NEXPR): Likewise.
26509         (TEST_FLOAT): Likewise.
26510         (TEST_MATHVEC): Likewise.
26511         (__NO_MATH_INLINES): Likewise.
26512         (CNCT): Likewise.
26513         (CONCAT): Likewise.
26514         (WRAPPER_NAME): Likewise.
26515         (WRAPPER_DECL): Likewise.
26516         (WRAPPER_DECL_ff): Likewise.
26517         (WRAPPER_DECL_fFF): Likewise.
26518         (VECTOR_WRAPPER): Likewise.
26519         (VECTOR_WRAPPER_ff): Likewise.
26520         (VECTOR_WRAPPER_fFF): Likewise.
26521         (VEC_LEN): New macro.
26522         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26523         test-vec-loop.h.
26524         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26525         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26526         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26527         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26528         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26529         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26530         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26532 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26534         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26535         (__getlogin_r): ... this.
26537 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26539         [BZ #18594]
26540         * math/s_ccosh.c (__ccosh): Compare with least normal value
26541         instead of comparing class with FP_SUBNORMAL.
26542         * math/s_ccoshf.c (__ccoshf): Likewise.
26543         * math/s_ccoshl.c (__ccoshl): Likewise.
26544         * math/s_cexp.c (__cexp): Likewise.
26545         * math/s_cexpf.c (__cexpf): Likewise.
26546         * math/s_cexpl.c (__cexpl): Likewise.
26547         * math/s_csin.c (__csin): Likewise.
26548         * math/s_csinf.c (__csinf): Likewise.
26549         * math/s_csinh.c (__csinh): Likewise.
26550         * math/s_csinhf.c (__csinhf): Likewise.
26551         * math/s_csinhl.c (__csinhl): Likewise.
26552         * math/s_csinl.c (__csinl): Likewise.
26553         * math/s_ctan.c (__ctan): Likewise.
26554         * math/s_ctanf.c (__ctanf): Likewise.
26555         * math/s_ctanh.c (__ctanh): Likewise.
26556         * math/s_ctanhf.c (__ctanhf): Likewise.
26557         * math/s_ctanhl.c (__ctanhl): Likewise.
26558         * math/s_ctanl.c (__ctanl): Likewise.
26559         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26560         csin, csinh, ctan and ctanh.
26561         * math/auto-libm-test-out: Regenerated.
26562         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26563         * sysdeps/i386/fpu/libm-test-ulps: Update.
26564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26566 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26568         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26569         return value is wrong, print the expected value too.
26571 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26573         [BZ #18585]
26574         * elf/readlib.c (is_gdb_python_file): New.
26575         (process_file): Don't issue errors on filenames with -gdb.py
26576         suffix.
26578 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26580         * math/auto-libm-test-in: Add more tests of csin and csinh.
26581         * math/auto-libm-test-out: Regenerated.
26582         * math/libm-test.inc (csin_test_data): Remove tests moved to
26583         auto-libm-test-in.
26584         (csinh_test_data): Likewise.
26586         [BZ #18593]
26587         * math/s_csin.c (__csin): Negate before rather than after possibly
26588         overflowing multiplication.
26589         * math/s_csinf.c (__csinf): Likewise.
26590         * math/s_csinh.c (__csinh): Likewise.
26591         * math/s_csinhf.c (__csinhf): Likewise.
26592         * math/s_csinhl.c (__csinhl): Likewise.
26593         * math/s_csinl.c (__csinl): Likewise.
26594         * math/auto-libm-test-in: Add some tests of csin and csinh.
26595         * math/auto-libm-test-out: Regenerated.
26596         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26597         (csinh_test_data): Likewise.
26598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26600         [BZ #18586]
26601         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26602         underflow exception for small results.
26604 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26607         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26608         variable and included header.
26609         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26610         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26611         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26612         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26613         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26614         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26617         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26618         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26619         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26620         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26621         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26622         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26623         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26624         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26626 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26628         [BZ #16526]
26629         [BZ #16538]
26630         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26631         (__sin): Force underflow exception for arguments with small
26632         absolute value.
26633         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26634         (__kernel_sinf): Force underflow exception for arguments with
26635         small absolute value.
26636         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26637         (__kernel_sincosl): Force underflow exception for arguments with
26638         small absolute value.
26639         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26640         (__kernel_sinl): Force underflow exception for arguments with
26641         small absolute value.
26642         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26643         (__kernel_sincosl): Force underflow exception for arguments with
26644         small absolute value.
26645         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26646         (__kernel_sinl): Force underflow exception for arguments with
26647         small absolute value.
26648         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26649         (__kernel_sinl): Force underflow exception for arguments with
26650         small absolute value.
26651         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26652         (__kernel_sinf): Force underflow exception for arguments with
26653         small absolute value.
26654         * math/auto-libm-test-in: Add more tests of sin and sincos.
26655         * math/auto-libm-test-out: Regenerated.
26657         [BZ #18245]
26658         [BZ #18583]
26659         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26660         (__kernel_standard_l): Use feholdexcept and fesetenv around
26661         conversion to double instead of special-casing overflow and
26662         underflow.
26663         * math/libm-test.inc (fmod_test_data): Add more tests.
26664         (remainder_test_data): Likewise.
26665         (sqrt_test_data): Likewise.
26667 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26669         [BZ #17403]
26670         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26671         atomic_read_barrier, atomic_write_barrier): Define.
26672         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26673         atomic_read_barrier, atomic_write_barrier): Define.
26675 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26677         * math/Makefile [$(PERL) != no]
26678         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26679         dependency on libm-test.stmp below the inclusion of Rules.
26681 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26683         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26684         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26685         and included header.
26686         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26687         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26688         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26689         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26690         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26691         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26692         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26693         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26694         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26695         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26696         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26697         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26698         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26699         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26700         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26701         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26702         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26703         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26704         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26706 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26708         [BZ #18371]
26709         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26710         intermediate but not final result might underflow.
26711         * math/s_csqrtf.c (__csqrtf): Likewise.
26712         * math/s_csqrtl.c (__csqrtl): Likewise.
26713         * math/auto-libm-test-in: Add more tests of csqrt.
26714         * math/auto-libm-test-out: Regenerated.
26715         * sysdeps/i386/fpu/libm-test-ulps: Update.
26717         [BZ #18219]
26718         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26719         threshold on absolute value of exponent for which scaling is used.
26720         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26721         * math/auto-libm-test-in: Add more tests of exp2.
26722         * math/auto-libm-test-out: Regenerated.
26724 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26726         [BZ #17977]
26727         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26728         when initializing interface list, based on the bug analysis
26729         and the patch proposed by Eric Newton.
26730         * resolv/tst-res_hconf_reorder.c: New test.
26731         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26732         tst-res_hconf_reorder.
26733         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26734         and $(shared-thread-library).
26735         (tst-res_hconf_reorder-ENV): New variable.
26737         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26738         in comment.
26740 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26742         [BZ #16353]
26743         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26744         (__expm1): Force underflow exception for arguments with small
26745         absolute value.
26746         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26747         (__expm1f): Force underflow exception for arguments with small
26748         absolute value.
26749         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26750         (__expm1): Force underflow exception for arguments with small
26751         absolute value.
26752         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26753         (__expm1f): Force underflow exception for arguments with small
26754         absolute value.
26755         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26756         Check for small arguments before calling __expm1.
26757         * math/auto-libm-test-in: Do not mark underflow exceptions as
26758         possibly missing for bug 16353.
26759         * math/auto-libm-test-out: Regenerated.
26761 2015-06-22  Andreas Schwab  <schwab@suse.de>
26763         [BZ #18513]
26764         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26765         PTR queries.
26767 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26769         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26771         * string/strcoll_l.c: Remove unused struct element idxnow.
26773 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26775         [BZ #18569]
26776         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26777         underflow and return argument in case of subnormal argument.
26778         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26779         Likewise.
26780         * math/auto-libm-test-in: Add more tests of expm1.
26781         * math/auto-libm-test-out: Regenerated.
26783         [BZ #16361]
26784         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26785         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26786         tiny results.
26787         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26788         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26789         tiny results.
26790         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26791         mark underflow exceptions as possibly missing for bug 16361.
26792         * math/auto-libm-test-out: Regenerated.
26794 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26796         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26797         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26798         Remove variable.
26799         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26800         (test-xfail-XOPEN2K8/utmpx.h/conform).
26802         * conform/conformtest.pl ($xerrors): New variable.
26803         (note_error): New function.
26804         (compiletest): New argument $xfail.  Use not_error.
26805         (runtest): Likewise.
26806         (top level): Handle xfail- lines.  Update calls to compiletest and
26807         runtest.  Handle xfail- and optional- in headers listed with
26808         allow-header.
26809         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26810         (O_EXEC): Likewise.
26811         (O_SEARCH): Likewise.
26812         * conform/data/stropts.h-data (ioctl): Likewise.
26813         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26814         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26815         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26816         (msghdr.msg_controllen): Likewise.
26817         (cmsghdr.cmsg_len): Likewise.
26818         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26819         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26820         variable.
26821         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26822         (test-xfail-XPG4/stropts.h/conform): Likewise.
26823         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26824         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26825         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26826         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26827         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26828         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26829         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26830         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26831         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26832         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26833         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26834         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26835         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26836         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26837         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26838         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26839         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26840         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26841         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26843 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26845         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26846         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26847         definitions for proper unfolding of __MATHDECL_VEC.
26849 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26851         * benchtests/bench-strcoll.c:
26852         Include string.h.
26853         (main): Remove unused variable res.
26855 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26857         * timezone/Makefile (%/UTC %/Universal):
26858         Generate test-result files for UTC and Universal.
26860 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26862         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26864 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26866         [BZ #16350]
26867         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26868         for arguments with small absolute value.
26869         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26870         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26871         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26872         (__asinh): Force underflow exception for arguments with small
26873         absolute value.
26874         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26875         (__asinhf): Force underflow exception for arguments with small
26876         absolute value.
26877         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26878         (__asinhl): Force underflow exception for arguments with small
26879         absolute value.
26880         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26881         (__asinhl): Force underflow exception for arguments with small
26882         absolute value.
26883         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26884         (__asinhl): Force underflow exception for arguments with small
26885         absolute value.
26886         * math/auto-libm-test-in: Do not mark underflow exceptions as
26887         possibly missing for bug 16350.
26888         * math/auto-libm-test-out: Regenerated.
26890         * include/bits/ipc.h: Remove file.
26891         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26892         variable.
26893         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26894         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26895         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26896         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26897         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26898         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26899         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26900         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26901         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26903         * math/auto-libm-test-in: Remove spurious underflow allowance for
26904         tests of cexp.
26905         * math/auto-libm-test-out: Regenerated.
26907         [BZ #18558]
26908         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26909         unconditional definition.
26910         (MCAST_BLOCK_SOURCE): Likewise.
26911         (MCAST_UNBLOCK_SOURCE): Likewise.
26912         (MCAST_LEAVE_GROUP): Likewise.
26913         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26914         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26915         (MCAST_MSFILTER): Likewise.
26916         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26917         Remove variable.
26918         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26919         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26920         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26921         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26922         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26924 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26926         * NEWS: Mention addition of x86_64 vector sincosf.
26927         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26928         * math/test-float-vlen4.h: Likewise.
26929         * math/test-float-vlen8.h: Likewise.
26930         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26931         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26932         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26933         * sysdeps/x86_64/fpu/Versions: New versions added.
26934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26935         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26936         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26938         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26939         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26940         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26941         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26942         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26943         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26944         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26945         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26946         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26947         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26948         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26949         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26950         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26951         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26952         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26953         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26954         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26955         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26956         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26957         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26959         * NEWS: Mention addition of x86_64 vector sincos.
26960         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26961         * math/math.h (__MATHDECL_VEC): New macro.
26962         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26963         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26964         declaration under condition.
26965         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26966         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26967         TEST_VEC_LOOP change.
26968         * math/test-double-vlen4.h: Likewise.
26969         * math/test-double-vlen8.h: Likewise.
26970         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26971         * math/test-float-vlen4.h: Likewise.
26972         * math/test-float-vlen8.h: Likewise.
26973         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26974         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26975         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26976         * sysdeps/x86_64/fpu/Versions: New versions added.
26977         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26978         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26979         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26981         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26982         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26983         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26984         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26985         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26986         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26987         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26988         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26989         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26990         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26991         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26992         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26993         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26994         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26995         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26997         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26998         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26999         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27000         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27002         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27003         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27004         redirections for powf.
27005         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27006         * sysdeps/x86_64/fpu/Versions: New versions added.
27007         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27008         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27009         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27010         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
27011         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
27012         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
27013         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
27014         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
27015         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
27016         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
27017         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
27018         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
27019         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
27020         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
27021         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
27022         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
27023         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
27024         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27026         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27030         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27031         * math/test-float-vlen16.h: Fixed 2 argument macro.
27032         * math/test-float-vlen4.h: Likewise.
27033         * math/test-float-vlen8.h: Likewise.
27034         * NEWS: Mention addition of x86_64 vector powf.
27036 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
27038         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27039         and redefine.
27040         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27041         and redefine.
27042         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27043         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27044         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27046         [BZ #18553]
27047         * resource/getpriority.c (getpriority): Rename to __getpriority
27048         and define as weak alias of __getpriority.
27049         * resource/setpriority.c (setpriority): Rename to __setpriority
27050         and define as weak alias of __setpriority.
27051         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27052         __getpriority and define as weak alias of __getpriority.
27053         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27054         __setpriority and define as weak alias of __setpriority.
27055         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27056         strong name.
27057         (setpriority): Use __setpriority as strong name.
27058         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27059         __getpriority and define as weak alias of __getpriority.
27060         * include/sys/resource.h (__getpriority): Declare.  Use
27061         libc_hidden_proto.
27062         (__setpriority): Likewise.
27063         (getpriority): Don't use libc_hidden_proto.
27064         (setpriority): Likewise.
27065         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27066         getpriority.  Call __setpriority instead of setpriority.
27067         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27068         Remove variable.
27070         [BZ #18547]
27071         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27072         as weak alias of __getttynam.  Use prototype function definition.
27073         Call __setttyent, __getttyent and __endttyent instead of
27074         setttyent, getttyent and endttyent.
27075         (getttyent): Rename to __getttyent and define as weak alias of
27076         __getttyent.  Call __setttyent instead of setttyent.  Call
27077         __fgets_unlocked instead of fgets_unlocked.
27078         (setttyent): Rename to __setttyent and define as weak alias of
27079         __setttyent.
27080         (endttyent): Rename to __endttyent and define as weak alias of
27081         __endttyent.
27082         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27083         (__setttyent): Likewise.
27084         (__endttyent): Likewise.
27085         (getttyent): Don't use libc_hidden_proto.
27086         (setttyent): Likewise.
27087         (endttyent): Likewise.
27088         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27089         __endttyent instead of setttyent, getttyent and endttyent.
27090         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27091         Remove variable.
27093         [BZ #18546]
27094         * socket/recv.c (__recv): Use libc_hidden_def.
27095         * socket/socket.c (__socket): Likewise.
27096         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27097         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27098         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27099         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27100         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27101         libc_hidden_def.
27102         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27103         libc_hidden_weak.
27104         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27105         Use libc_hidden_proto.
27106         (__recv): Likewise.
27107         * socket/Versions (libc): Export __recv and __socket at version
27108         GLIBC_PRIVATE.
27109         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27110         instead of recv.
27111         (init_mq_netlink): Call __socket instead of socket.
27112         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27113         Remove variable.
27115         [BZ #18545]
27116         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27117         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27118         hidden_weak.
27119         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27120         define as alias of __mq_timedsend.  Use hidden_weak.
27121         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27122         __mq_timedsend as strong name.
27123         (mq_timedreceive): Use __mq_timedreceive as strong name.
27124         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27125         (__mq_timedreceive): Likewise.
27126         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27127         __mq_timedreceive instead of mq_timedreceive.
27128         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27129         instead of mq_timedsend.
27130         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27131         Remove variable.
27133         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27134         hidden_def and hidden_weak instead of libc_hidden_def and
27135         libc_hidden_weak.
27136         (top level): Refer to hidden_def in comment.
27137         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27138         macro.  Use it instead of libc_hidden_def.
27139         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27140         specify __GI_* name explicitly.
27141         (mq_timedreceive): Likewise.
27142         (mq_setattr): Likewise.
27144         [BZ #18544]
27145         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27146         __pthread_barrier_init and define as weak alias of
27147         __pthread_barrier_init.
27148         * sysdeps/sparc/nptl/pthread_barrier_init.c
27149         (pthread_barrier_init): Likewise.
27150         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27151         __pthread_barrier_wait and define as weak alias of
27152         __pthread_barrier_wait.
27153         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27154         (pthread_barrier_wait): Likewise.
27155         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27156         (pthread_barrier_wait): Likewise.
27157         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27158         (pthread_barrier_wait): Likewise.
27159         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27160         (pthread_barrier_wait): Likewise.
27161         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27162         __pthread_barrier_wait at version GLIBC_PRIVATE.
27163         * include/pthread.h (__pthread_barrier_init): Declare.
27164         (__pthread_barrier_wait): Likewise.
27165         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27166         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27167         (helper_thread): Likewise.
27168         (init_mq_netlink): Call __pthread_barrier_init instead of
27169         pthread_barrier_init.
27171         [BZ #18542]
27172         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27173         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27174         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27175         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27176         vswscanf.
27177         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27178         Remove variable.
27180         [BZ #18540]
27181         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27182         strong alias of _IO_fflush.  Use libc_hidden_def.
27183         * libio/iofflush_u.c (fflush_unlocked): Rename to
27184         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27185         Use libc_hidden_weak.
27186         * include/stdio.h (__fflush_unlocked): Declare.  Use
27187         libc_hidden_proto.
27188         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27189         fflush_unlocked.
27190         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27191         Remove variable.
27193         [BZ #18539]
27194         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27195         define as weak alias of __addseverity.
27196         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27197         Remove variable.
27198         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27199         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27200         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27202         [BZ #18536]
27203         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27204         (__tfind): Likewise.
27205         (__tdelete): Likewise.
27206         (__twalk): Likewise.
27207         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27208         __twalk to GLIBC_PRIVATE.
27209         * include/search.h (__tsearch): Use libc_hidden_proto.
27210         (__tfind): Likewise.
27211         (__tdelete): Likewise.
27212         (__twalk): Likewise.
27213         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27214         Call __tdelete instead of tdelete.
27215         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27216         tfind.  Call __tsearch instead of tsearch.
27217         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27218         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27219         Remove variable.
27220         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27222         [BZ #18534]
27223         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27224         (dprintf): Define as a weak alias of __dprintf, not a strong
27225         alias.
27226         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27227         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27228         dprintf.
27229         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27230         Remove variable.
27231         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27232         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27234         [BZ #18533]
27235         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27236         not a strong alias.
27237         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27238         Remove variable.
27240         [BZ #18532]
27241         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27242         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27243         (in6addr_loopback): Rename to __in6addr_loopback and define as
27244         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27245         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27246         libc_hidden_proto.
27247         (__in6addr_any): Likewise.
27248         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27249         in6addr_any.
27250         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27251         variable.
27252         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27254 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27256         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27257         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27258         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27259         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27260         redirections for pow.
27261         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27262         * sysdeps/x86_64/fpu/Versions: New versions added.
27263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27264         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27265         build of SSE, AVX2 and AVX512 IFUNC versions.
27266         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27268         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27269         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27270         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27271         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27272         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27273         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27274         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27275         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27276         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27277         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27278         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27279         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27280         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27281         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27282         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27283         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27284         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27285         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27286         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27287         * NEWS: Mention addition of x86_64 vector pow.
27289         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27290         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27291         redirections for expf.
27292         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27293         * sysdeps/x86_64/fpu/Versions: New versions added.
27294         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27295         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27296         build of SSE, AVX2 and AVX512 IFUNC versions.
27297         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27298         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27299         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27300         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27301         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27302         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27303         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27304         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27305         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27306         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27307         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27308         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27309         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27310         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27311         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27312         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27313         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27314         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27315         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27316         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27317         * NEWS: Mention addition of x86_64 vector expf.
27319         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27320         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27321         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27322         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27323         redirections for exp.
27324         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27325         * sysdeps/x86_64/fpu/Versions: New versions added.
27326         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27327         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27328         build of SSE, AVX2 and AVX512 IFUNC versions.
27329         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27331         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27332         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27334         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27335         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27336         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27337         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27338         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27339         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27340         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27341         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27342         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27343         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27344         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27345         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27346         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27347         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27348         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27349         * NEWS: Mention addition of x86_64 vector exp.
27351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27352         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27353         redirections for logf.
27354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27355         * sysdeps/x86_64/fpu/Versions: New versions added.
27356         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27357         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27358         build of SSE, AVX2 and AVX512 IFUNC versions.
27359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27360         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27361         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27362         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27363         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27364         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27365         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27366         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27367         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27368         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27369         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27370         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27371         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27372         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27373         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27374         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27375         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27376         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27377         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27378         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27379         * NEWS: Mention addition of x86_64 vector logf.
27381         * bits/libm-simd-decl-stubs.h: Added stubs for log.
27382         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
27383         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27384         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27385         redirections for log.
27386         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27387         * sysdeps/x86_64/fpu/Versions: New versions added.
27388         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27389         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27390         build of SSE, AVX2 and AVX512 IFUNC versions.
27391         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
27392         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
27393         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
27394         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
27395         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
27396         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
27397         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
27398         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
27399         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
27400         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
27401         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
27402         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
27403         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
27404         test.
27405         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27406         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27408         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27409         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27410         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27411         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27412         * NEWS: Mention addition of x86_64 vector log.
27414 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27416         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
27417         cfi_adjust_cfa_offset argument.
27418         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
27419         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
27421         [BZ #18034]
27422         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
27423         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
27424         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
27425         ordering using ldar.
27426         (_dl_tlsdesc_dynamic): Likewise.
27427         (_dl_tlsdesc_return_lazy): Likewise.
27428         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
27429         relaxed atomics instead of volatile and synchronize with release store.
27430         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
27431         volatile.
27432         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27434 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
27436         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27437         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
27438         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27439         * sysdeps/x86_64/fpu/Versions: New versions added.
27440         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27441         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27442         build of SSE, AVX2 and AVX512 IFUNC versions.
27443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
27444         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
27445         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
27446         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
27447         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
27448         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
27449         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
27450         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
27451         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
27452         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
27453         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
27454         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
27455         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27456         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27457         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27458         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27459         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27460         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27461         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27462         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27463         * NEWS: Mention addition of x86_64 vector sinf.
27465 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27467         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27468         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27469         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27470         Remove variable.
27471         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27472         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27474 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27476         [BZ #18530]
27477         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27478         strong alias of _IO_fputs.  Use libc_hidden_def.
27479         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27480         and define as weak alias of __fputs_unlocked.  Use
27481         libc_hidden_weak.
27482         * include/stdio.h (__fputs_unlocked): Declare.  Use
27483         libc_hidden_proto.
27484         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27485         fputs_unlocked.
27487         [BZ #18529]
27488         * resolv/netdb.h [__USE_POSIX]: Change condition to
27489         [__USE_XOPEN2K].
27490         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27491         not expect.
27492         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27493         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27494         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27495         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27496         [XPG4 || UNIX98] (AI_ALL): Likewise.
27497         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27498         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27499         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27500         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27501         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27502         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27503         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27504         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27505         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27506         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27507         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27508         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27509         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27510         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27511         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27512         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27513         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27514         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27515         [XPG4 || UNIX98] (gai_strerror): Likewise.
27516         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27517         [XPG4 || UNIX98] (getnameinfo): Likewise.
27519         [BZ #18528]
27520         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27521         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27522         __USE_XOPEN2K8].
27523         (getgrent): Likewise.
27524         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27525         expect.
27526         [XPG3 || POSIX2008] (endgrent): Likewise.
27527         [XPG3] (setgrent): Likewise.
27528         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27529         variable.
27530         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27532         [BZ #18527]
27533         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27534         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27535         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27536         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27537         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27538         * include/unistd.h (__getlogin_r): Declare.  Use
27539         libc_hidden_proto.
27540         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27541         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27542         variable.
27543         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27544         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27545         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27547 2015-06-12  Martin Sebor  <msebor@redhat.com>
27549         [BZ #18512]
27550         * Makerules (check-install-supported): New target.
27551         (install): Add check-install-supported as a dependency.
27552         * manual/install.texi (Installing the C Library): Document
27553         that overriding prefix and exec_prefix is not supported.
27554         Mention DESTDIR.
27555         * INSTALL: Regenerate from the above.
27557 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27559         [BZ #18519]
27560         * posix/Versions (libc): Export __libc_pread at version
27561         GLIBC_PRIVATE.
27562         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27563         instead of pread.
27564         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27565         variable.
27567         [BZ #18522]
27568         * misc/efgcvt_r.c
27569         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27570         (cvt_symbol): Use weak_alias instead of strong_alias.
27571         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27572         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27573         Remove variable.
27574         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27575         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27577         [BZ #18520]
27578         * inet/herrno.c (h_errno): Rename to __h_errno.
27579         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27580         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27581         to __h_errno instead of h_errno.
27582         * nptl/herrno.c (h_errno): Rename to __h_errno.
27583         (__h_errno_location): Refer to __h_errno not h_errno.
27584         * resolv/Versions (h_errno): Rename to __h_errno.
27585         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27586         Remove variable.
27587         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27589 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27591         * configure.ac: More strict check for AVX512 assembler support.
27592         * configure: Regenerated.
27594         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27595         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27596         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27597         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27598         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27599         * sysdeps/x86_64/fpu/Versions: New versions added.
27600         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27601         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27602         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27603         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27604         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27605         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27606         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27607         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27608         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27609         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27610         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27611         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27612         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27613         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27614         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27615         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27616         test.
27617         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27619         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27620         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27621         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27622         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27623         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27624         * NEWS: Mention addition of x86_64 vector sin.
27626 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27628         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27629         comment.
27631 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27633         [BZ #18479]
27634         * nptl/pt-interp.c: New file.
27635         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27636         Add pt-interp.
27637         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27638         $(common-objpfx)runtime-linker.h.
27640 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27642         * Makeconfig (+interp): Remove unused variable.
27643         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27644         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27645         $(elf-objpfx)runtime-linker.h.
27646         ($(elf-objpfx)runtime-linker.h): Rename to
27647         $(common-objpfx)runtime-linker.h and move ...
27648         * Makerules [$(build-shared) = yes]: ... here.
27649         * elf/interp.c: Include <runtime-linker.h> instead of
27650         <elf/runtime-linker.h>.
27652 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27654         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27655         (__gettimeofday_syscall): Remove vsyscall fallback.
27656         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27657         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27658         Add syscall fallback function.
27659         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27660         if vDSO is not present.
27661         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27662         fallback function.
27663         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27664         present.
27665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27666         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27668 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27670         [BZ #18497]
27671         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27672         of wcscmp.
27673         (wcscmp): Define as weak alias of WCSCMP.
27674         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27675         wcscoll.
27676         (USE_HIDDEN_DEF): Define.
27677         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27678         __wcscoll.  Don't use libc_hidden_weak.
27679         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27680         wcscmp.
27681         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27682         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27683         __GI_wcscmp.
27684         (weak_alias): Undefine and redefine.
27685         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27686         __wcscmp and define as weak alias of __wcscmp.
27687         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27688         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27689         (__wcscoll): Likewise.
27690         (wcscmp): Don't use libc_hidden_proto.
27691         (wcscoll): Likewise.
27692         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27693         wcscoll.
27694         * posix/regexec.c (check_node_accept_bytes): Likewise.
27695         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27696         variable.
27697         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27698         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27700         [BZ #18507]
27701         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27702         __fstatvfs and define as weak alias of __fstatvfs.  Use
27703         libc_hidden_weak.
27704         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27705         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27706         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27707         Define as alias of __fstatvfs, not fstatvfs.
27708         (fstatvfs64): Likewise.
27709         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27710         Define as alias of __statvfs, not statvfs.
27711         (statvfs64): Likewise.
27712         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27713         Remove variable.
27715 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27718         (HAVE_GETCPU_VSYSCALL): Define.
27719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27720         (HAVE_GETCPU_VSYSCALL): Likewise.
27721         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27722         * sysdeps/unix/sysv/linux/sched_getcpu.c
27723         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27724         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27725         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27726         prototype.
27727         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27728         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27729         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27731         Define.
27732         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27733         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27734         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27735         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27737 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27739         * sysdeps/x86_64/fpu/Makefile: New file.
27740         * sysdeps/x86_64/fpu/Versions: New file.
27741         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27742         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27743         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27744         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27745         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27746         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27747         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27748         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27749         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27750         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27751         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27752         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27753         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27754         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27755         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27756         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27757         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27758         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27759         * sysdeps/x86_64/configure: Regenerated.
27760         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27761         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27762         * manual/install.texi (Configuring and compiling): Document
27763         --disable-mathvec.
27764         * INSTALL: Regenerated.
27765         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27767         * math/Makefile: Added rules for vector tests.
27768         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27769         declaration under condition.
27770         * math/test-double-vlen2.h: New file.
27771         * math/test-double-vlen4.h: New file.
27772         * math/test-double-vlen8.h: New file.
27773         * math/test-vec-loop.h: Added initialization macro.
27774         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27775         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27776         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27777         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27778         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27780         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27781         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27782         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27783         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27784         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27786         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27787         * sysdeps/x86_64/fpu/Versions: New versions added.
27788         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27789         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27790         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27791         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27792         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27793         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27794         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27795         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27796         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27797         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27798         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27799         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27800         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27801         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27802         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27803         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27804         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27805         * NEWS: Mention addition of x86_64 vector cosf.
27807         * math/Makefile: Added CFLAGS for new tests.
27808         * math/test-float-vlen16.h: New file.
27809         * math/test-float-vlen4.h: New file.
27810         * math/test-float-vlen8.h: New file.
27811         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27812         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27814         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27815         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27816         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27817         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27819         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27820         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27821         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27823 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27825         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27826         * locale/programs/ld-ctype.c: Likewise.
27828 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27830         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27831         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27832         bit_ZMM16_31_state): New macro.
27833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27834         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27836 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27838         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27840 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27842         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27844 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27846         [BZ #18498]
27847         * libio/memstream.c (open_memstream): Rename to __open_memstream
27848         and define as weak alias of __open_memstream.
27849         * include/stdio.h (__open_memstream): Declare.  Use
27850         libc_hidden_proto.
27851         (open_memstream): Don't use libc_hidden_proto.
27852         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27853         open_memstream.
27854         * posix/getopt.c (_getopt_internal_r): Likewise.
27855         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27856         variable.
27857         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27858         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27859         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27861         [BZ #18496]
27862         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27863         instead of wcrtomb.
27865         [BZ #18483]
27866         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27867         [__USE_XOPEN2K8].  Remove redundant #endif.
27868         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27869         Remove redundant #if.
27870         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27871         Remove variable.
27872         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27873         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27875         [BZ #18495]
27876         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27877         (__iswlower): Likewise.
27878         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27879         (__iswlower): Likewise.
27880         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27881         instead of towlower.
27882         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27883         instead of iswlower.  Call __towupper instead of towupper.
27884         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27885         instead of iswalnum.
27887 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27889         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27890         errors to stderr.
27892 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27894         [BZ #15661]
27895         [BZ #17322]
27896         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27897         Check for overflow properly.  Check for O_APPEND.  Ignore large
27898         file system block sizes.  Add comments about problems.
27899         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27900         * manual/filesys.texi (Storage Allocation): New node.
27902 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27904         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27905         cancellable syscalls.
27906         (SYS_ify): Add guard to no redefine it.
27907         (INLINE_SYSCALL): Likewise.
27908         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27909         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27910         SYSCALL_CANCEL instead.
27911         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27912         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27913         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27914         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27915         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27916         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27917         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27918         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27919         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27920         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27921         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27922         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27923         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27924         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27925         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27926         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27927         Likewise.
27928         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27929         (__libc_pread64): Likewise.
27930         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27931         (__libc_preadv): Likewise.
27932         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27933         (__libc_readv64): Likewise.
27934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27935         (__libc_pwrite): Likewise.
27936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27937         (__libc_pwrite64): Likewise.
27938         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27939         (__libc_pwritev): Likewise.
27940         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27941         (__libc_pwritev64): Likewise.
27942         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27943         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27944         (sync_file_range): Likewise.
27945         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27946         Likewise.
27947         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27948         Likewise.
27949         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27950         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27951         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27952         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27953         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27954         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27955         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27956         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27958         Likewise.
27959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27960         (__libc_read64): Likewise.
27961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27962         Likewise.
27963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27964         Likewise.
27965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27966         Likewise.
27967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27968         Likewise.
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27970         (__libc_pread64): Likewise.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27972         Likewise.
27973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27974         (__libc_pwrite64): Likewise.
27975         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27976         (sync_file_range): Likewise.
27977         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27978         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27979         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27980         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27981         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27982         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27983         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27984         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27985         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27986         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27987         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27988         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27989         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27990         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27991         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27992         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27993         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27994         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27995         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27996         Likewise.
27997         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27998         Likewise.
27999         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
28000         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
28001         Likewise.
28002         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
28003         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
28004         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
28005         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
28006         Likewise.
28007         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
28008         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
28009         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
28010         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
28011         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
28013 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
28015         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
28016         Include dl-vdso.
28017         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
28018         Use VDSO routines for gettimeofday, clock_gettime if
28019         available.
28020         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
28021         Declare VDSO symbols.
28022         * sysdeps/unix/sysv/linux/arm/sysdep.h:
28023         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
28024         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28025         * sysdeps/unix/sysv/linux/arm/Versions: Add
28026         __vdso_clock_gettime.
28028 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28030         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
28031         be an inline implementation regardless of library is built within.
28032         (open_not_cancel_2): Likewise.
28033         (__read_nocancel): Likewise.
28034         (__write_nocancel): Likewise.
28035         (openat_not_cancel): Likewise.
28036         (openat_not_cancel_3): Likewise.
28037         (openat64_not_cancel): Likewise.
28038         (openat64_not_cancel_3): Likewise.
28039         (__close_nocancel): Likewise.
28040         (pause_not_cancel): Likewise.
28041         (nanosleep_not_cancel): Likewise.
28042         (sigsuspend_not_cancel): Likewise.
28044 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28046         [BZ #14958]
28047         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28048         wake-up.
28049         (__pthread_rwlock_rdlock_slow): Likewise.
28050         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28051         Likewise.
28052         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28053         Likewise.
28054         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28055         * nptl/tst-rwlock16.c: New file.
28056         * nptl/Makefile (tests): Add new test.
28058 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28060         [BZ #18324]
28061         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28062         missing wake-up of readers.
28063         * nptl/tst-rwlock15.c: New file.
28064         * nptl/Makefile (tests): Add new test.
28066 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28068         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28069         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28070         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28071         and __nacl_supply_interface_rtld.
28072         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28073         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28074         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28075         Add __nacl_supply_interface_rtld.
28076         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28078 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28080         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28081         isfinite.
28082         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28083         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28085 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28087         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28088         __signbit* with standard C99 macros.
28089         * math/e_exp10l.c: Likewise.
28090         * math/e_exp2l.c: Likewise.
28091         * math/e_scalb.c: Likewise.
28092         * math/e_scalbf.c: Likewise.
28093         * math/e_scalbl.c: Likewise.
28094         * math/s_ldexp.c: Likewise.
28095         * math/s_ldexpf.c: Likewise.
28096         * math/s_ldexpl.c: Likewise.
28097         * math/w_atan2.c: Likewise.
28098         * math/w_atan2f.c: Likewise.
28099         * math/w_atan2l.c: Likewise.
28100         * math/w_cosh.c: Likewise.
28101         * math/w_coshf.c: Likewise.
28102         * math/w_coshl.c: Likewise.
28103         * math/w_exp10.c: Likewise.
28104         * math/w_exp10f.c: Likewise.
28105         * math/w_exp10l.c: Likewise.
28106         * math/w_exp2.c: Likewise.
28107         * math/w_exp2f.c: Likewise.
28108         * math/w_exp2l.c: Likewise.
28109         * math/w_fmod.c: Likewise.
28110         * math/w_fmodf.c: Likewise.
28111         * math/w_fmodl.c: Likewise.
28112         * math/w_hypot.c: Likewise.
28113         * math/w_hypotf.c: Likewise.
28114         * math/w_hypotl.c: Likewise.
28115         * math/w_jnl.c: Likewise.
28116         * math/w_lgamma.c: Likewise.
28117         * math/w_lgamma_r.c: Likewise.
28118         * math/w_lgammaf.c: Likewise.
28119         * math/w_lgammaf_r.c: Likewise.
28120         * math/w_lgammal.c: Likewise.
28121         * math/w_lgammal_r.c: Likewise.
28122         * math/w_pow.c: Likewise.
28123         * math/w_powf.c: Likewise.
28124         * math/w_powl.c: Likewise.
28125         * math/w_remainder.c: Likewise.
28126         * math/w_remainderf.c: Likewise.
28127         * math/w_remainderl.c: Likewise.
28128         * math/w_scalb.c: Likewise.
28129         * math/w_scalbf.c: Likewise.
28130         * math/w_scalbl.c: Likewise.
28131         * math/w_scalbln.c: Likewise.
28132         * math/w_scalblnf.c: Likewise.
28133         * math/w_scalblnl.c: Likewise.
28134         * math/w_sinh.c: Likewise.
28135         * math/w_sinhf.c: Likewise.
28136         * math/w_sinhl.c: Likewise.
28137         * math/w_tgamma.c: Likewise.
28138         * math/w_tgammaf.c: Likewise.
28139         * math/w_tgammal.c: Likewise.
28140         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28141         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28142         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28143         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28144         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28146         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28147         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28148         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28149         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28150         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28151         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28152         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28153         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28154         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28155         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28156         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28157         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28158         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28159         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28160         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28161         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28162         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28164         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28165         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28166         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28167         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28168         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28169         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28170         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28171         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28172         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28173         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28174         * stdio-common/printf_fp.c: Likewise.
28175         * stdio-common/printf_fphex.c: Likewise.
28176         * stdio-common/printf_size.c: Likewise.
28178 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28180         [BZ #18470]
28181         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28182         strnlen.
28183         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28184         Remove variable.
28185         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28186         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28187         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28188         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28189         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28190         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28191         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28192         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28193         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28194         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28196         [BZ #18468]
28197         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28198         weak alias of __wmemchr.  Use libc_hidden_weak.
28199         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28200         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28201         instead of wmemchr.
28203 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28205         [BZ #18383]
28206         * elf/tst-tlsalign-extern.c: New file.
28207         * elf/tst-tlsalign-extern-static.c: New file.
28208         * elf/tst-tlsalign-vars.c: New file.
28209         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28210         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28211         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28212         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28213         (test-xfail-tst-tlsalign-extern-static): New variable.
28215 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28217         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28218         Use variable name _sc_err instead of err.
28219         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28220         instead of ret.
28221         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28222         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28223         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28224         (INLINE_SYSCALL): Likewise.
28226         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28227         * include/string.h (__strnlen): Use libc_hidden_proto.
28228         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28229         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28230         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28231         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28232         (libc_hidden_def): Undefine and redefine.
28233         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28234         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28235         __GI_strnlen.
28236         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28237         libc_hidden_def.
28238         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28240         [BZ #18469]
28241         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28242         weak alias of __towlower.  Use libc_hidden_weak.
28243         (towupper): Rename to __towupper and define as weak alias of
28244         __towupper.  Use libc_hidden_weak.
28245         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28246         (__towupper): Likewise.
28247         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28248         __towlower instead of towlower.
28250 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28252         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28253         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28255 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28257         * sysdeps/aarch64/libm-test-ulps: Update.
28259 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28261         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28262         Define.
28263         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28265         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28266         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28267         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28268         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28269         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28271 2015-06-01  Martin Sebor  <msebor@redhat.com>
28273         [BZ #18116]
28274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28275         (__setcontext): Use extended four-operand version of mtsf whenever
28276         possible.
28277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28278         (__novec_swapcontext): Likewise.
28280 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28282         * benchtests/scripts/compare_bench.py: New file.
28283         * benchtests/scripts/import_bench.py (mean): New function.
28284         (split_list): Likewise.
28285         (do_for_all_timings): Likewise.
28286         (compress_timings): Likewise.
28288         * benchtests/scripts/import_bench.py: New file.
28289         * benchtests/scripts/validate_benchout.py: Import import_bench
28290         instead of jsonschema.
28291         (validate_bench): Remove function.
28292         (main): Use import_bench.
28294 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28296         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28297         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28299 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28303 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28305         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28306         set THREAD_SELF->tid to a magic value and futex-wake it.
28307         Pass its address to the thread_exit system call.
28308         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28309         bit is clear.
28310         * sysdeps/nacl/lowlevellock.h: New file.
28311         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28313         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28314         Add TIMEOUT to current time, don't subtract it.
28316 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28318         [BZ #2981]
28319         [BZ #18422]
28320         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28321         ($(objpfx)tst-audit2.out): Also depend on
28322         $(objpfx)tst-auditmod9b.so.
28323         * elf/tst-audit2.c: Include <dlfcn.h>.
28324         (calloc_called): New.
28325         (calloc): Allow to be called more than once.
28326         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28328 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28330         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28331         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28333 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28335         * stdlib/monetary.h: Fix comment.
28337 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28339         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28340         Avoid using variables in #defines that might cause shadowing.
28341         (INTERNAL_VSYSCALL_CALL): Likewise.
28343 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28345         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28347         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28348         * nptl/lll_timedlock_wait.c: ... to this new file.
28349         * nptl/Makefile (libpthread-routines): Add it.
28350         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28351         * nptl/lll_timedwait_tid.c: ... to this new file.
28352         * nptl/Makefile (libpthread-routines): Add it.
28353         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28354         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28355         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28356         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28357         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28358         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28359         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28360         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28361         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28362         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28364 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28366         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28367         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28368         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28370         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28372         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28373         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28374         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28375         * sysdeps/unix/sysv/linux/tile/sysdep.h
28376         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28377         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28378         using vDSO syscall macro.
28380 2015-05-26  Andriy Rysin  <arysin@gmail.com>
28382         [BZ #17293]
28383         * uk_UA: Fix sorting order for Ukrainian locale
28385 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
28387         * stdlib/monetary.h: Fix comment.
28389 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28391         [BZ #18234]
28392         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
28393         st_mtim and st_ctim members.
28394         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
28395         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
28396         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
28397         (struct stat64): Likewise.
28398         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
28399         (struct stat64): Likewise.
28400         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
28401         (struct stat64): Likewise.
28403 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28405         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
28406         Define and include sysdep-vdso.h.
28407         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
28408         Likewise.
28409         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
28410         Likewise.
28411         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
28412         Define with VDSO_SYMBOL and use PTR_MANGLE.
28413         (__vdso_clock_gettime): Likewise.
28414         (__vdso_clock_getres): Likewise.
28415         (_libc_vdso_platform_setup): Likewise.
28416         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28417         Likewise.
28418         (_libc_vdso_platform_setup): Likewise.
28419         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
28420         Likewise.
28421         (__vdso_clock_gettime): Likewise.
28422         (__vdso_clock_getres): Likewise.
28423         (__vdso_get_tbfreq): Likewise.
28424         (__vdso_getcpu): Likewise.
28425         (__vdso_time): Likewise.
28426         (__vdso_sigtramp_rt64): Likewise.
28427         (__vdso_signtramp32): Likewise.
28428         (__vdso_sigtramp_rt32): Likewise.
28429         (_libc_vdso_platform_setup): Likewise.
28430         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
28431         Likewise.
28432         (__vdso_clock_gettime): Likewise.
28433         (__vdso_clock_getres): Likewise.
28434         (_libc_vdso_platform_setup): Likewise.
28435         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
28436         Likewise.
28437         (__vdso_clock_gettime): Likewise.
28438         (_libc_vdso_platform_setup): Likewise.
28439         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28440         Likewise.
28441         (__vdso_getcpu): Likewise.
28442         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
28443         Use VDSO_SYMBOL macro to define.
28444         (__vdso_clock_gettime): Likewise.
28445         (__vdso_clock_getres): Likewise.
28446         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
28447         Likewise.
28448         (__vdso_clock_gettime): Likewise.
28449         (__vdso_clock_getres): Likewise.
28450         (__vdso_get_tbfreq): Likewise.
28451         (__vdso_getcpu): Likewise.
28452         (__vdso_time): Likewise.
28453         (__vdso_sigtramp_rt64): Likewise.
28454         (__vdso_signtramp32): Likewise.
28455         (__vdso_sigtramp_rt32): Likewise.
28456         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28457         Likewise.
28458         (__vdso_clock_gettime): Likewise.
28459         (__vdso_clock_getres): Likewise.
28460         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28461         Likewise.
28462         (__vdso_clock_gettime): Likewise.
28463         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28464         Likewise.
28465         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28466         macro.
28467         (INTERNAL_VSYSCALL): Likewise.
28468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28469         Remove macro.
28470         (INTERNAL_VSYSCALL): Likewise.
28471         (INTERNAL_VSYSCALL_NCS): Likewise.
28472         (INTERNAL_VSYSCALL_CALL): New macro.
28473         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28475         Likewise.
28476         (INTERNAL_VSYSCALL): Likewise.
28477         (INTERNAL_VSYSCALL_NCS): Likewise.
28478         (INTERNAL_VSYSCALL_CALL): New macro.
28479         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28481         (INLINE_VSYSCALL): Remove macro.
28482         (INTERNAL_VSYSCALL): Remove macro.
28483         (INTERNAL_VSYSCALL_NCS): Remove macro.
28484         (INTERNAL_VSYSCALL_CALL): New macro.
28485         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28486         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28487         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28488         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28489         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28491         (INLINE_VSYSCALL): Remove macro.
28492         (INTERNAL_VSYSCALL): Likewise.
28493         (INTERNAL_VSYSCALL_NCS): Likewise.
28494         (INTERNAL_VSYSCALL_CALL): New macro.
28495         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28496         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28497         PTR_DEMANGLE on vDSO pointer.
28498         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28499         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28500         macro.
28501         (INTERNAL_SYSCALL): Likewise.
28502         (INTERNAL_VSYSCALL_NCS): Remove macro.
28503         (INTERNAL_VSYSCALL_CALL): New macro.
28504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28505         Remove macro.
28506         (INTERNAL_VSYSCALL): Likewise.
28507         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28508         sysdep-vdso.h instead of libc-vdso.h.
28509         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28510         definition.
28511         (INLINE_VSYSCALL): Likewise.
28512         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28513         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28514         definition.
28515         (INLINE_VSYSCALL): Likewise.
28516         (INTERNAL_VSYSCALL): Likewise.
28517         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28518         * sysdeps/unix/sysv/linux/timespec_get.c
28519         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28520         (timespec_get): Use ANSI prototype.
28521         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28522         and definition for Linux.
28524 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28526         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28527         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28529 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28531         [BZ #2981]
28532         [BZ #18410]
28533         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28534         for missing DT_PLTRELSZ.
28536 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28538         Remove obsolete aliases that broke 'locale -a'
28539         [BZ #18412]
28540         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28541         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28542         breaking some applications that use 'locale -a' output.
28543         Change the encoding of this file from Latin-1 to ASCII to avoid
28544         other potential problems with people grepping this file.
28546 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28548         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28549         -fasynchronous-unwind-tables.
28550         (CFLAGS-sendto.c): Likewise.
28551         (CFLAGS-sendmsg.c): Likewise.
28552         (CFLAGS-connect.c): Likewise.
28553         (CFLAGS-recvmsg.c): Likewise.
28554         (CFLAGS-recvfrom.c): Likewise.
28555         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28556         (SOCKETCALL): New macro: non-cancellable socketcall.
28557         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28558         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28559         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28560         * sysdeps/unix/sysv/linux/accept.c: New file.
28561         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28562         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28563         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28564         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28565         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28566         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28567         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28568         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28569         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28570         * sysdeps/unix/sysv/linux/send.c: Likewise.
28571         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28572         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28573         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28574         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28575         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28576         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28577         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28578         prototype.
28579         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28580         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28581         instead of __internal_xxx function.
28582         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28583         prototype.
28584         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28585         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28586         instead of __internal_xxx function.
28587         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28588         prototype.
28589         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28590         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28591         instead of __internal_xxx function.
28592         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28593         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28594         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28595         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28596         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28597         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28598         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28599         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28600         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28601         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28602         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28603         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28604         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28605         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28606         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28607         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28608         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28609         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28610         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28611         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28614         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28615         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28616         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28617         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28618         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28619         * sysdeps/unix/sysv/linux/send.S: Likewise.
28620         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28621         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28622         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28623         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28624         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28625         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28626         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28627         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28628         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28629         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28630         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28631         socketcall is implemented in GLIBC.
28633 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28635         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28636         (__fma): Ignore uninitialized warnings around packing.
28637         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28638         (__fmaf): Ignore uninitialized warnings around packing.
28639         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28640         (__fmal): Ignore uninitialized warnings around packing.
28642         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28643         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28644         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28645         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28647         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28648         switch statement into default case.
28649         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28651         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28652         a conditional in forcing "inexact".
28653         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28654         Likewise.
28656 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28658         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28659         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28660         for each INTERNAL_SYSCALL use.
28662 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28664         [BZ #438]
28665         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28666         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28667         variable.
28669         [BZ #18444]
28670         * string/basename.c (basename): Rename to __basename and define as
28671         weak alias of __basename.  Use libc_hidden_weak.
28672         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28673         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28674         __basename instead of basename.
28675         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28676         Remove variable.
28677         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28679 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28681         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28682         (_IO_JUMPS_FILE_plus): New.
28683         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28684         _IO_CAST_FIELD_ACCESS.
28685         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28686         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28687         * libio/freopen.c (freopen): Likewise.
28688         * libio/freopen64.c (freopen64): Likewise.
28689         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28690         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28691         * libio/iofwide.c (_IO_fwide): Likewise.
28692         * libio/memstream.c (open_memstream): Likewise.
28693         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28694         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28695         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28697 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28699         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28700         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28701         NADJ.
28702         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28703         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28704         NADJ.
28705         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28706         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28707         NADJ.
28709         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28710         (p == 4) case.
28712         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28713         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28714         Remove variable.
28715         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28716         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28717         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28719 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28721         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28722         Adjust jump table label generation macros.
28724 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28726         * stdio-common/vfprintf.c (vfprintf): Move local variables
28727         args_malloced, specs, specs_malloced, and the code after
28728         do_positional to the printf_positional function.
28729         (printf_positional): New function.
28731 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28733         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28734         function.
28735         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28736         STEP4_TABLE, process_arg): Move macro definitions
28737         out of the vfprintf function.  (Cosmetic change only.)
28739 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28741         * benchtests/Makefile (stdio-common-bench): Define.
28742         (benchset): Add stdio-common-bench.
28743         * sprintf-inputs: New file.
28744         * sprintf-source.c: New file.
28746 2015-05-21  Andreas Schwab  <schwab@suse.de>
28748         [BZ #13028]
28749         [BZ #17053]
28750         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28751         of struct __res_state.
28752         * resolv/res_send.c (__libc_res_nsend): Likewise.
28753         (get_nsaddr): New function.
28754         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28755         statp directly.
28757 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28759         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28760         -D_POSIX_C_SOURCE=199506L.
28762         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28764         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28765         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28766         Do not mention otherwise.
28767         [POSIX] (_XOPEN_VERSION): Do not expect.
28768         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28769         [POSIX] (_POSIX2_C_BIND): Likewise.
28770         [POSIX] (_POSIX2_VERSION): Likewise.
28771         [POSIX] (_XOPEN_XPG2): Likewise.
28772         [POSIX] (_XOPEN_XPG3): Likewise.
28773         [POSIX] (_XOPEN_XPG4): Likewise.
28774         [POSIX] (_XOPEN_UNIX): Likewise.
28775         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28776         [POSIX] (_POSIX_BARRIERS): Likewise.
28777         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28778         [POSIX] (_POSIX_CPUTIME): Likewise.
28779         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28780         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28781         [POSIX] (_POSIX_SHELL): Likewise.
28782         [POSIX] (_POSIX_SPAWN): Likewise.
28783         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28784         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28785         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28786         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28787         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28788         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28789         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28790         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28791         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28792         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28793         [POSIX] (_POSIX2_PBS): Likewise.
28794         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28795         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28796         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28797         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28798         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28799         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28800         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28801         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28802         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28803         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28804         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28805         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28806         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28807         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28808         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28809         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28810         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28811         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28812         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28813         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28814         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28815         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28816         [POSIX] (_SC_2_C_BIND): Likewise.
28817         [POSIX] (_SC_2_C_VERSION): Likewise.
28818         [POSIX] (_SC_2_PBS): Likewise.
28819         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28820         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28821         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28822         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28823         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28824         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28825         [POSIX] (_SC_BARRIERS): Likewise.
28826         [POSIX] (_SC_BASE): Likewise.
28827         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28828         [POSIX] (_SC_DEVICE_IO): Likewise.
28829         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28830         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28831         [POSIX] (_SC_FD_MGMT): Likewise.
28832         [POSIX] (_SC_FIFO): Likewise.
28833         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28834         [POSIX] (_SC_FILE_LOCKING): Likewise.
28835         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28836         [POSIX] (_SC_IOV_MAX): Likewise.
28837         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28838         [POSIX] (_SC_NETWORKING): Likewise.
28839         [POSIX] (_SC_PAGE_SIZE): Likewise.
28840         [POSIX] (_SC_PASS_MAX): Likewise.
28841         [POSIX] (_SC_PIPE): Likewise.
28842         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28843         [POSIX] (_SC_REGEXP): Likewise.
28844         [POSIX] (_SC_SHELL): Likewise.
28845         [POSIX] (_SC_SIGNALS): Likewise.
28846         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28847         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28848         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28849         [POSIX] (_SC_USER_GROUPS): Likewise.
28850         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28851         [POSIX] (_SC_STREAMS): Likewise.
28852         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28853         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28854         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28855         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28856         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28857         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28858         [POSIX] (_PC_FILESIZEBITS): Likewise.
28859         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28860         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28861         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28862         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28863         [POSIX] (uid_t): Likewise.
28864         [POSIX] (gid_t): Likewise.
28865         [POSIX] (off_t): Likewise.
28866         [POSIX] (pid_t): Likewise.
28867         [POSIX] (cuserid): Allow.
28868         (_SC_2_CHAR_TERM): Require constant.
28869         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28870         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28871         variable.
28873 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28875         * sysdeps/nacl/pthread-pids.h: New file.
28876         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28877         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28879         * nptl/pthread-pids.h: New file.
28880         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28881         * nptl/nptl-init.c: Include <pthread-pids.h>.
28882         (__pthread_initialize_minimal_internal):
28883         Call __pthread_initialize_pids instead of set_tid_address syscall.
28885         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28886         * sysdeps/posix/usleep.c: ... here.
28888 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28890         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28891         call_pselect6 object.
28892         [$(subdir) = io]: Remove call_sync_file_range object.
28893         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28894         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28895         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28896         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28898 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28900         * math/s_cproj.c: Add include "math_private.h".
28901         * math/s_cprojf.c: Likewise.
28902         * math/s_cprojl.c: Likewise.
28904 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28906         [BZ #18244]
28907         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28908         high mantissa bit when testing whether P is a NaN.
28909         * math/libm-test.inc (remainder_test_data): Add more tests.
28910         (remquo_test_data): Likewise.
28912         [BZ #18049]
28913         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28914         below -32, return the argument, with underflow if subnormal.
28915         * math/auto-libm-test-in: Add more tests of atanh.
28916         * math/auto-libm-test-out: Regenerated.
28918 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28920         [BZ #18434]
28921         * nptl/tst-sem15.c: New file.
28922         * nptl/Makefile (tests): Add it.
28923         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28924         s/<</>>/ to fix typo in EOVERFLOW check.
28925         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28927 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28929         * manual/strings.texi (envz_remove): Fix typo in safety
28930         annotations.
28932 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28933             Steve Ellcey  <sellcey@imgtec.com>
28935         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28936         in order to avoid strict alias warnings.
28937         (iruserok_af): Ditto for ra.
28939 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28941         [BZ #17581]
28942         * malloc/hooks.c
28943         (magicbyte): Convert to a function and avoid returning 0x01.
28944         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28945         (mem2chunk_check): Fix unsigned comparisons to zero.
28946         Hoist defs of sz and magic.
28948 2015-05-19  Richard Henderson  <rth@redhat.com>
28950         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28952         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28954 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28956         [BZ #16159]
28957         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28958         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28959         (reused_arena): Find a non-corrupt arena.
28960         (heap_trim): Pass arena to unlink.
28961         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28962         malloc_printerr.
28963         (top_check): Likewise.
28964         (free_check): Likewise.
28965         (realloc_check): Likewise.
28966         * malloc/malloc.c (malloc_printerr): Add arena argument.
28967         (unlink): Likewise.
28968         (munmap_chunk): Adjust.
28969         (ARENA_CORRUPTION_BIT): New macro.
28970         (arena_is_corrupt): Likewise.
28971         (set_arena_corrupt): Likewise.
28972         (sysmalloc): Use mmap if there are no usable arenas.
28973         (_int_malloc): Likewise.
28974         (__libc_malloc): Don't fail if arena_get returns NULL.
28975         (_mid_memalign): Likewise.
28976         (__libc_calloc): Likewise.
28977         (__libc_realloc): Adjust for additional argument to
28978         malloc_printerr.
28979         (_int_free): Likewise.
28980         (malloc_consolidate): Likewise.
28981         (_int_realloc): Likewise.
28982         (_int_memalign): Don't touch corrupt arenas.
28983         * malloc/tst-malloc-backtrace.c: New test case.
28985         * Makefile (summarize-tests): Fix return value on success.
28987         * manual/string.texi (Envz Functions): Add envz_remove.
28989 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28991         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28992         (invalid_name): New function, broken out of ...
28993         (__opendirat): ... here.  Call it.
28994         (need_isdir_precheck): New function, broken out of ...
28995         (__opendirat): ... here.  Call it.
28996         Use __fxstatat64, not __xstatat64.
28997         (opendir_oflags): New function, broken out of ...
28998         (__opendirat): ... here.  Call it.
28999         (opendir_tail): New function, broken out of ...
29000         (__opendirat): ... here.  Call it.
29001         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
29002         opendir_tail, rather than punting to __opendirat.
29003         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
29005 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29007         * .gitignore: Ignore generated *.pyc.
29009 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
29011         * include/stdio.h: Define __need_wint_t.
29012         * test-skeleton.c: Avoid `for' loop initial declaration.
29013         * nptl/tst-initializers1.c: Use test-skeleton.c.
29015 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29017         [BZ #18418]
29018         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
29020 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29022         [BZ #16352]
29023         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
29024         (__ieee754_atanh): Force underflow exception for results with
29025         small absolute value.
29026         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
29027         (__ieee754_atanhf): Force underflow exception for results with
29028         small absolute value.
29029         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
29030         (__ieee754_atanh): Force underflow exception for results with
29031         small absolute value.
29032         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
29033         (__ieee754_atanhf): Force underflow exception for results with
29034         small absolute value.
29035         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
29036         (__ieee754_atanhl): Force underflow exception for results with
29037         small absolute value.
29038         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
29039         (__ieee754_atanhl): Force underflow exception for results with
29040         small absolute value.
29041         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29042         (__ieee754_atanhl): Force underflow exception for results with
29043         small absolute value.
29044         * math/auto-libm-test-in: Do not allow missing underflow
29045         exceptions from atanh.
29046         * math/auto-libm-test-out: Regenerated.
29048         [BZ #18221]
29049         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29050         2**-28 as threshold for returning x or +/- 1/x.
29051         * math/auto-libm-test-in: Add more tests of tan.
29052         * math/auto-libm-test-out: Regenerated.
29054         [BZ #18220]
29055         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29056         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29057         * math/auto-libm-test-in: Add another test of lgamma.
29058         * math/auto-libm-test-out: Regenerated.
29060 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29062         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29063         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29064         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29065         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29066         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29067         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29068         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29069         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29071         (log1): Use fabs.  (my_log2): Use fabs.
29072         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29073         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29074         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29075         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29077         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29078         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29079         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29080         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29081         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29082         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29084 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29086         [BZ #18217]
29087         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29088         as threshold for returning 1 - x.
29089         * math/auto-libm-test-in: Add more tests of erfc.
29090         * math/auto-libm-test-out: Regenerated.
29092 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29094         [BZ #18196]
29095         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29096         threshold for large arguments.
29097         * math/auto-libm-test-in: Add another test of atan.
29098         * math/auto-libm-test-out: Regenerated.
29100         [BZ #16339]
29101         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29102         (__log1p): Force underflow exception for results with small
29103         absolute value.
29104         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29105         (__log1pf): Force underflow exception for results with small
29106         absolute value.
29107         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29108         (__log1p): Force underflow exception for results with small
29109         absolute value.
29110         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29111         (__log1pf): Force underflow exception for results with small
29112         absolute value.
29113         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29114         (__log1pl): Force underflow exception for results with small
29115         absolute value.
29116         * math/auto-libm-test-in: Do not allow missing underflow
29117         exceptions from log1p.
29118         * math/auto-libm-test-out: Regenerated.
29120 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29121             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29123         [BZ #16704]
29124         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29126 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29128         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29129         (libmvec): New variable.
29130         * configure.ac: Added option for mathvec build.
29131         * configure: Regenerated.
29132         * mathvec/Depend: New file.
29133         * mathvec/Makefile: New file.
29134         * shlib-versions: Added libmvec.
29135         * math/Makefile: Added rule for libm.so installation.
29137         * bits/math-vector.h: New file.
29138         * bits/libm-simd-decl-stubs.h: New header.
29139         * math/Makefile (headers): Added new header
29140         libm-simd-decl-stubs.h.
29141         * math/math.h (__MATHCALL_VEC): New macro.
29143         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29144         for conditions in testing functions.
29145         * math/Makefile: Added call of libm-have-vector-test.sh.
29146         * math/libm-test.inc (HAVE_VECTOR): New macros.
29148         * math/libm-test.inc: START refactored.
29149         * math/test-double.c (TEST_MATHVEC): Add define.
29150         * math/test-float.c: Likewise.
29151         * math/test-idouble.c: Likewise.
29152         * math/test-ifloat.c: Likewise.
29153         * math/test-ildoubl.c: Likewise.
29154         * math/test-ldouble.c: Likewise.
29155         * sysdeps/generic/math-tests-arch.h
29156         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29157         architecture check.
29159         * math/test-double.c (FUNC_TEST): New macro.
29160         * math/test-float.c: Likewise.
29161         * math/test-idouble.c: Likewise.
29162         * math/test-ifloat.c: Likewise.
29163         * math/test-ildoubl.c: Likewise.
29164         * math/test-ldouble.c: Likewise.
29165         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29167 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29169         * sysdeps/nacl/fdopendir.c: New file.
29171         * dirent/scandir-tail.c: New file.
29172         * dirent/scandir64-tail.c: New file.
29173         * dirent/Makefile (routines): Add them.
29174         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29175         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29176         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29177         [!SCANDIR] (SCANDIR_TAIL): New macro.
29178         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29179         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29180         (SCANDIRAT): Macro removed.
29181         (SCANDIR_TAIL): New macro.
29182         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29183         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29184         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29185         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29186         (READDIR): Macro removed.
29187         (SCANDIR_TAIL): New macro.
29188         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29189         (SCANDIR_TAIL): New macro.
29191         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29192         * dirent/scandir-cancel.c: ... to this new file.
29193         * dirent/Makefile (routines): Add it.
29194         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29195         * sysdeps/unix/sysv/linux/i386/scandir64.c
29196         (SKIP_SCANDIR_CANCEL): Macro removed.
29197         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29199         * dirent/tst-scandir.c: New file.
29200         * dirent/tst-scandir64.c: New file.
29201         * dirent/Makefile (tests): Add them.
29203 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29205         [BZ #18409]
29206         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29208 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29210         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29211         list.
29213 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29215         * benchtests/bench-strcoll.c: New benchmark.
29216         * benchtests/Makefile: Generate locales and run benchmark.
29217         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29218         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29219         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29220         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29221         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29222         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29223         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29224         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29225         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29226         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29227         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29228         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29229         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29230         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29231         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29232         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29233         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29234         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29235         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29236         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29237         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29238         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29239         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29240         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29242 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29244         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29245         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29247 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29249         * posix/uname-values.h: New file.
29250         * posix/uname.c: Include that instead of <config-name.h>.
29251         * sysdeps/nacl/uname-values.h: New file.
29252         * sysdeps/arm/nacl/uname-values.h: New file.
29254 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29256         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29257         splitting into fields.
29259 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29261         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29262         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29263         * locale/localeinfo.h: Add enum collation_encoding_type.
29264         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29265         * programs/ld-collate.c (collate_output): Add encoding type info.
29266         * string/strcoll_l.c (STRDIFF): New function.
29267         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29268         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29270 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29272         [BZ #18397]
29273         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29274         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29275         <fpu_control.h> instead of <math/fpu_control.c>.
29276         * sysdeps/mips/mips32/fpu/Makefile: New file.
29278 2015-05-11  Andreas Schwab  <schwab@suse.de>
29280         [BZ #18007]
29281         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29282         nss_endgrent.
29283         (_nss_compat_endgrent): Call nss_endgrent.
29284         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29285         nss_endpwent.
29286         (_nss_compat_endpwent): Call nss_endpwent.
29287         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29288         needent, call nss_setspent only if non-zero.
29289         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29290         (internal_endspent): Don't call nss_endspent.
29291         (_nss_compat_endspent): Call nss_endspent.
29292         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29293         Remove.  All uses removed.
29294         (internal_setent): Remove parameter stayopen, add parameter
29295         stream.  Use it instead of global variable.
29296         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29297         (internal_endent, internal_getent): Add parameter stream.  Use it
29298         instead of global variable.
29299         (CONCAT(_nss_files_end,ENTNAME))
29300         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29301         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29302         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29303         uses removed.
29304         (internal_setent, internal_endent): Add parameter stream.  Use it
29305         instead of global variable.
29306         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29307         stream.
29308         (get_next_alias): Add parameter stream.
29309         (_nss_files_getaliasent_r): Pass global stream.
29310         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29311         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29312         (_nss_files_gethostbyname4_r): Pass local stream to
29313         internal_setent, internal_getent and internal_endent.  Remove
29314         locking.
29316 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29318         * tst-strfmon1.c (tests): Update expected currency symbol.
29320 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29322         * sysdeps/nacl/gethostname.c: New file.
29324 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29326         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29327         and sinh.
29328         * math/auto-libm-test-out: Regenerated.
29329         * sysdeps/i386/fpu/libm-test-ulps: Update.
29330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29332 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
29334         [BZ #18125]
29335         * stdlib/tst-setcontext3.c: New file.
29336         * stdlib/tst-setcontext3.sh: New file.
29337         * stdlib/Makefile (tests): Add tst-setcontext3.
29338         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29339         to verify test program created output file.
29340         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29341         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29342         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29343         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29345 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29347         [BZ #18383]
29348         * elf/tst-tlsalign.c: New file.
29349         * elf/tst-tlsalign-static.c: New file.
29350         * elf/tst-tlsalign-lib.c: New file.
29351         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29352         (tests-static): Add tst-tlsalign-static.
29353         (modules-names): Add tst-tlsalign-lib.
29354         (test-xfail-tst-tlsalign): New variable.
29355         (test-xfail-tst-tlsalign-static): New variable.
29357         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29358         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29360 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29362         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29363         csqrt, erfc, sin and sincos.
29364         * math/auto-libm-test-out: Regenerated.
29365         * sysdeps/i386/fpu/libm-test-ulps: Update.
29366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29368 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29370         * sysdeps/aarch64/libm-test-ulps: Update.
29372 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29374         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29375         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29376         * math/auto-libm-test-out: Regenerated.
29377         * sysdeps/i386/fpu/libm-test-ulps: Update.
29378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29380 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29382         [BZ #18265]
29383         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
29384         (wcsncpy): Likewise.
29386 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29388         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29389         Assume __ASSUME_FALLOCATE is always true.
29390         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29391         (__posix_fallocate64_l64): Likewise.
29392         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
29393         (posix_fallocate): Likewise.
29394         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
29395         (__posix_fallocate64_l64): Likewise.
29396         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29397         [!__ASSUME_FALLOCATE]: Add comment.
29399 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29401         * sysdeps/unix/sysv/linux/i386/Makefile
29402         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
29403         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
29404         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
29405         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29406         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29407         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29408         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
29410 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
29412         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
29413         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
29414         tgamma.
29415         * math/auto-libm-test-out: Regenerated.
29416         * sysdeps/i386/fpu/libm-test-ulps: Update.
29417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29419 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29421         * math/auto-libm-test-in: Add more tests of tgamma.
29422         * math/auto-libm-test-out: Regenerated.
29423         * sysdeps/i386/fpu/libm-test-ulps: Update.
29424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29426         * math/auto-libm-test-in: Add more tests of tanh.
29427         * math/auto-libm-test-out: Regenerated.
29428         * sysdeps/i386/fpu/libm-test-ulps: Update.
29429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29431         * math/auto-libm-test-in: Add more tests of tan.
29432         * math/auto-libm-test-out: Regenerated.
29433         * sysdeps/i386/fpu/libm-test-ulps: Update.
29434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29436         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
29437         * math/auto-libm-test-out: Regenerated.
29438         * sysdeps/i386/fpu/libm-test-ulps: Update.
29439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29441         * math/auto-libm-test-in: Add another test of pow.
29442         * math/auto-libm-test-out: Regenerated.
29443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29445         * math/auto-libm-test-in: Add more tests of lgamma.
29446         * math/auto-libm-test-out: Regenerated.
29447         * sysdeps/i386/fpu/libm-test-ulps: Update.
29448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29450         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
29451         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29458         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29459         Elf64_Chdr structs and ELFCOMPRESS constants.
29461 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29463         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29464         expm1.
29465         * math/auto-libm-test-out: Regenerated.
29466         * sysdeps/i386/fpu/libm-test-ulps: Update.
29467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29469         * math/auto-libm-test-in: Add more tests of erf and erfc.
29470         * math/auto-libm-test-out: Regenerated.
29471         * sysdeps/i386/fpu/libm-test-ulps: Update.
29472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29474 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29476         * config.h.in (HAVE_AARCH64_BE): Add.
29478 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29480         * math/auto-libm-test-in: Add more tests of csqrt.
29481         * math/auto-libm-test-out: Regenerated.
29482         * sysdeps/i386/fpu/libm-test-ulps: Update.
29483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29485         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29486         * math/auto-libm-test-out: Regenerated.
29487         * sysdeps/i386/fpu/libm-test-ulps: Update.
29488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29490         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29492 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29494         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29495         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29497         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29498         (euidaccess, eaccess): Define as weak aliases.
29500         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29501         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29502         but __suseconds_t is often 'long int' so some sources assume that
29503         type is being used (e.g. they use %ld to print tv_usec).
29505 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29507         [BZ #18007]
29508         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29509         (CVE-2014-8121)
29510         * nss/tst-nss-getpwent.c: New file.
29511         * nss/Makefile (tests): Add new test.
29513 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29515         [BZ #18346]
29516         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29517         exponents less than 48 as cases where high part of mantissa needs
29518         examining to determine whether argument is integral.
29519         * math/libm-test.inc (round_test_data): Add more tests.
29521 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29523         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29525 2015-04-27  David S. Miller  <davem@davemloft.net>
29527         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29528         __tls_get_addr.
29529         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29531 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29533         [BZ#18333]
29534         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29536 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29538         [BZ#18333]
29539         * time/tzset.c (parse_tzname): Return error on memory allocation
29540         failure.
29541         * test-skeleton.c (struct temp_name_list): Change type of name
29542         member to non-const.
29543         (add_temp_file): Create a copy of the file name.
29544         (delete_temp_files): Deallocate memory.
29545         (create_temp_file): Add comment.
29547 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29549         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29550         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29552 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29554         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29555         * sysdeps/arm/configure: Regenerated.
29557 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29559         [BZ #17715]
29560         * time/tzfile.c (__tzfile_read): Check for large values of
29561         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29562         * time/tzset.c (__tzstring_len): New function, based on the old
29563         __tzstring function.
29564         (__tzstring): Call __tzstring_len.
29565         (parse_tzname): New helper function extracted from
29566         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29567         the input string.
29568         (parse_offset): New helper function extracted from
29569         __tzset_parse_tz.  Replace switch with fallthrough with
29570         initialization before sscanf.
29571         (parse_rule): Likewise.
29572         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29573         new-style function definition.
29574         * timezone/Makefile (tests): Add tst-tzset.
29575         (tst-tzset.out): Dependencies on time zone files.
29576         (tst-tzset-ENV): Set TZDIR.
29577         (testdata/XT%): Copy crafted time zone files.
29578         * timezone/README: Mention crafted time zone files.
29579         * timezone/testdata/XT1, timezone/testdata/XT2,
29580         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29581         files.
29582         * timezone/tst-tzset.c: New test.
29584 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29586         * Makeconfig (+gccwarn): Remove -Winline.
29588 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29590         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29592 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29594         * NEWS: Mention sysconf() cache information support for s390.
29595         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29597 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29599         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29600         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29601         (__nearbyint): Likewise.
29602         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29603         (copysignl): Likewise.
29605 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29607         [BZ #18287]
29608         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29609         based on padding.  (CVE-2015-1781)
29611 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29613         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29614         libc-vdso.h.
29615         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29616         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29617         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29618         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29619         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29620         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29622         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29623         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29624         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29625         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29626         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29627         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29628         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29629         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29630         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29631         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29632         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29633         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29634         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29635         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29636         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29637         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29639 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29641         * stdlib/setenv.c (__add_to_environ):
29642         Dump core quickly if setenv (..., NULL, ...) is called.
29643         This time, do it the right way, and pacify GCC with a pragma.
29645 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29647         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29648         IMAP->l_prev cannot be null, and #if out the code for the contrary
29649         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29650         believe that NS (&_dl_ns[NSID]) could point outside the array.
29652         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29653         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29654         before using NSID as an index.
29656 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29658         [BZ #17825]
29659         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29660         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29661         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29663 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29665         Add preliminary port to Google Native Client on ARM.
29666         * abi-tags (.*-.*-nacl.*): New entry.
29667         * sysdeps/arm/nacl: New directory.
29668         * sysdeps/nacl: New directory.
29670 2015-04-16  David S. Miller  <davem@davemloft.net>
29672         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29673         lowlevellock-futex.h
29675 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29677         * sysdeps/tile/configure.ac: New file.
29678         * sysdeps/tile/configure: Regenerated.
29680 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29682         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29683         conditionals for weak_alias and libc_hidden_weak.
29684         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29685         libc_hidden_weak and weak_alias.
29686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29687         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29688         and weak_alias for static one.
29690 2015-04-15  David S. Miller  <davem@davemloft.net>
29692         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29694 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29696         [BZ #18206]
29697         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29698           Use signed comparision instead of substraction to avoid
29699           overflow bug.
29700         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29701           Take the sign of ret.
29702         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29703           Do not expect precise return values. Only the sign matters.
29704         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29705         * wcsmbs/test-wcsncmp.c: New File.
29706         * string/test-strncmp.c: Add wcsncmp support.
29708 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29710         [BZ #6792]
29711         * math/w_log1p.c: New file.
29712         * math/w_log1pf.c: Likewise.
29713         * math/w_log1pl.c: Likewise.
29714         * math/Makefile (libm-calls): Add w_log1p.
29715         * math/s_log1pl.c (log1pl): Remove weak_alias.
29716         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29717         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29718         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29719         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29720         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29721         [NO_LONG_DOUBLE] (log1pl): Likewise.
29722         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29723         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29724         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29725         (log1p): Remove long_double_symbol.
29726         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29727         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29728         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29729         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29730         remove weak_alias for corresponding log1p function.
29731         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29732         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29733         * sysdeps/ia64/fpu/w_log1p.c: New file.
29734         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29735         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29736         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29738 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29740         [BZ #18247]
29741         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29742         decimal exponent by 1.
29743         * stdlib/tst-strtod-round-data: Add more tests.
29744         * stdlib/tst-strtod-round.c (tests): Regenerated.
29746 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29748         * math/auto-libm-test-in: Add more tests of clog and clog10.
29749         * math/auto-libm-test-out: Regenerated.
29750         * sysdeps/i386/fpu/libm-test-ulps: Update.
29751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29753 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29755         * Makeconfig (module-cppflags): Exclude all .v.i files.
29756         (skip-module-cppflags): Variable removed.
29758         * configure.ac (libc_config_ok): Initialize before reading
29759         preconfigure scripts, not after.
29760         * configure: Regenerated.
29762         * test-skeleton.c (TIMEOUT): Move #define to top level.
29763         (main): Grok environment variable TEST_DIRECT.  If set, print
29764         test expectation details into that file and then behave as if
29765         given --direct.
29767 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29769         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29770         warning on 32-bit.
29772 2015-04-08  David S. Miller  <davem@davemloft.net>
29774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29776 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29778         * math/auto-libm-test-in: Add more tests of atanh.
29779         * math/auto-libm-test-out: Regenerated.
29780         * sysdeps/i386/fpu/libm-test-ulps: Update.
29781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29783         * math/auto-libm-test-in: Add more tests of atan.
29784         * math/auto-libm-test-out: Regenerated.
29785         * sysdeps/i386/fpu/libm-test-ulps: Update.
29786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29788 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29790         * elf/pldd.c (main): Rewrite to use struct
29791         scratch_buffer instead of extend_alloca.
29792         * elf/pldd-xx.c (find_maps): Likewise.
29793         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29794         <alloca.h>.
29795         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29796         scratch_buffer instead of extend_alloca.
29797         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29798         grp/compat-initgroups.c.
29799         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29800         Rewrite to use struct scratch_buffer instead of extend_alloca.
29801         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29802         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29804 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29806         * math/auto-libm-test-in: Add more tests of cbrt.
29807         * math/auto-libm-test-out: Regenerated.
29808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29810         * math/auto-libm-test-in: Add more tests of cabs.
29811         * math/auto-libm-test-out: Regenerated.
29812         * sysdeps/i386/fpu/libm-test-ulps: Update.
29813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29815         [BZ #18210]
29816         [BZ #18211]
29817         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29818         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29819         computations.
29820         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29821         clog10.
29822         * math/auto-libm-test-out: Regenerated.
29823         * sysdeps/i386/fpu/libm-test-ulps: Update.
29824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29826         [BZ #18197]
29827         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29828         (atan): Set FE_TONEAREST mode for internal computations.
29829         * math/auto-libm-test-in: Add more tests of atan.
29830         * math/auto-libm-test-out: Regenerated.
29832 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29834         [BZ #17930]
29835         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29837 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29839         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29841 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29843         * include/scratch_buffer.h: New file.
29844         * malloc/scratch_buffer_grow.c: Likewise.
29845         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29846         * malloc/scratch_buffer_set_array_size.c: Likewise.
29847         * malloc/tst-scratch_buffer.c: Likewise.
29848         * malloc/Makefile (routines): Add scratch_buffer_grow.
29849         (tests): Add test case.
29850         * malloc/Versions (GLIBC_PRIVATE): Export
29851         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29852         __libc_scratch_buffer_set_array_size.
29854 2015-04-06  Richard Henderson  <rth@redhat.com>
29856         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29857         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29859         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29860         unsigned int before printing.
29862 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29864         [BZ #17596]
29865         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29866         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29868 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29870         * include/libc-internal.h (libc_max_align_t): Define.
29872 2015-04-02  Andreas Schwab  <schwab@suse.de>
29874         [BZ #16850]
29875         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29877 2015-04-02  Mel Gorman  <mgorman@suse.de>
29879         [BZ #17195]
29880         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29881         as well as the main arena.
29883 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29885         [BZ #18185]
29886         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29887         sharing L2 cache to 2 for Silvermont/Knights Landing.
29889 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29891         [BZ #17711]
29892         * config.make.in (have-protected-data): New.
29893         * configure.ac: Check linker support for protected data symbol.
29894         * configure: Regenerated.
29895         * elf/Makefile (modules-names): Add tst-protected1moda and
29896         tst-protected1modb if $(have-protected-data) is yes.
29897         (tests): Add tst-protected1a and tst-protected1b if
29898         $(have-protected-data) is yes.
29899         ($(objpfx)tst-protected1a): New.
29900         ($(objpfx)tst-protected1b): Likewise.
29901         (tst-protected1modb.so-no-z-defs): Likewise.
29902         * elf/tst-protected1a.c: New file.
29903         * elf/tst-protected1b.c: Likewise.
29904         * elf/tst-protected1mod.h: Likewise.
29905         * elf/tst-protected1moda.c: Likewise.
29906         * elf/tst-protected1modb.c: Likewise.
29908 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29910         [BZ #17711]
29911         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29912         indicates it is called from do_lookup_x on relocation against
29913         protected data, skip the data definion in the executable from
29914         copy reloc.
29915         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29916         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29917         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29918         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29919         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29920         otherwise to 0.
29921         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29922         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29923         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29924         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29925         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29926         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29928 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29930         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29931         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29933 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29935         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29936         THREAD_SETMEM_NC.
29937         * sysdeps/x86_64/nptl/tls.h: Ditto.
29939 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29941         * dlfcn/tststatic.c (main): Converted to ...
29942         (do_test): ... this.
29943         (TEST_FUNCTION): New macro.
29944         Include test-skeleton.c.
29946 2015-03-26  Alan Modra  <amodra@gmail.com>
29948         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29949         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29950         zero for undefined weak.
29951         (elf_machine_plt_conflict): Similarly.
29953 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29955         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29956         atanh.
29957         * math/auto-libm-test-out: Regenerated.
29958         * sysdeps/i386/fpu/libm-test-ulps: Update.
29959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29961         * math/auto-libm-test-in: Add another test of asin.
29962         * math/auto-libm-test-out: Regenerated.
29963         * sysdeps/i386/fpu/libm-test-ulps: Update.
29964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29966         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29967         Remove macro.
29968         (LLL_EBX_REG): Likewise.
29969         (LLL_ENTER_KERNEL): Likewise.
29971         * math/auto-libm-test-in: Add more tests of asin.
29972         * math/auto-libm-test-out: Regenerated.
29973         * sysdeps/i386/fpu/libm-test-ulps: Update.
29974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29976         [BZ #18138]
29977         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29978         libc_do_syscall_args): New structure.
29979         (INTERNAL_SYSCALL_MAIN_0): New macro.
29980         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29981         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29982         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29983         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29984         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29985         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29986         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29987         Replace conditional definitions by conditional definitions of ....
29988         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29989         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29990         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29991         (libpthread-sysdep_routines): Add libc-do-syscall.
29992         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29993         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29994         to __NR_futex not 240.
29996 2015-03-25  Alan Modra  <amodra@gmail.com>
29998         * NEWS: Advertise TLS optimization.
29999         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
30000         (DT_PPC_NUM): Increment.
30001         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
30002         (CHECK_STATIC_TLS): Use here.
30003         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
30004         TLS descriptors.
30005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30006         * sysdeps/powerpc/dl-tls.c: New file.
30007         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
30008         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
30009         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
30010         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
30011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
30012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
30013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
30015 2015-03-25  Alan Modra  <amodra@gmail.com>
30017         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
30018         for overlapping .opd entries" to "support...".
30019         * sysdeps/powerpc/powerpc64/configure: Regenerate
30021 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30023         * math/auto-libm-test-in: Add more tests of acos.
30024         * math/auto-libm-test-out: Regenerated.
30025         * sysdeps/i386/fpu/libm-test-ulps: Update.
30026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30028         * math/auto-libm-test-in: Add more tests of expm1.
30029         * math/auto-libm-test-out: Regenerated.
30030         * sysdeps/i386/fpu/libm-test-ulps: Update.
30031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30033 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
30035         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30036         * math/auto-libm-test-out: Regenerated.
30037         * sysdeps/i386/fpu/libm-test-ulps: Update.
30038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30040         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30043         * math/auto-libm-test-in: Add more tests of log2.
30044         * math/auto-libm-test-out: Regenerated.
30045         * sysdeps/i386/fpu/libm-test-ulps: Update.
30046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30048 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30050         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30051         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30052         _IO_IS_APPENDING bit in READ_WRITE instead.
30054 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30056         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30057         (__determine_cpumask_size): Replace extend_alloca with a
30058         variable-length array.  Do not treat res == 0 as an error.
30060 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30062         [BZ #18100]
30063         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30064         and integer overflow.
30065         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30066         (main): Add integer overflow tests.
30067         * manual/pattern.texi (Calling Wordexp): Document additional use
30068         for WRDE_SYNTAX.
30070 2015-03-23  Alan Modra  <amodra@gmail.com>
30072         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30073         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30074         and false branch of conditional.
30075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30076         Likewise.
30078 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30080         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30081         libc-modules.h
30082         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30083         unused declaration of _hurd_intr_rpc_msg_in_trap.
30084         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30085         defined instead of whether it is non-zero.
30086         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30087         input constraint instead of both input and output constraint.  Use ecx
30088         clobber instead of %ecx.
30089         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30090         mutex_unlock): Use a statement expression instead of an expression list.
30091         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30092         type to vm_size_t instead of vm_address_t.
30093         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30094         defined instead of whether it is non-zero.
30095         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30096         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30097         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30098         comparisons with mapaddr.
30099         * nscd/nscd-client.h: Include <time.h>.
30100         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30101         9th parameter to __vm_region instead of int.
30102         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30103         * scripts/check-local-headers.sh (exclude): Add device/,
30104         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30105         cthreads.h.
30107 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30109         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30110         to account for alignment padding.
30111         * sysdeps/arm/memmove.S: Likewise.
30113 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30115         * sysdeps/unix/sysv/linux/generic/README: New file.
30117 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30119         [BZ #18138]
30120         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30121         (futex_abstimed_wait)
30122         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30123         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30124         of lll_futex_timed_wait.
30126 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30128         [BZ #17542]
30129         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30131 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30133         [BZ #17090]
30134         [BZ #17620]
30135         [BZ #17621]
30136         [BZ #17628]
30137         * NEWS: Update.
30138         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30139         entries with Static TLS too.  Skip entries past the end of the
30140         allocated DTV, from Alan Modra.
30141         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30142         Static TLS DTV entry set up from...
30143         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30144         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30145         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30146         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30147         for Static TLS.
30148         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30149         that the slot we find is associated with the given map before
30150         using its generation count.
30151         * nptl_db/db_info.c: Include ldsodefs.h.
30152         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30153         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30154         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30155         (link_map::l_tls_offset): New struct field.
30156         (dtv_t::counter): Likewise.
30157         (rtld_global): New struct.
30158         (_rtld_global): New rtld variable.
30159         (dl_tls_dtv_slotinfo_list): New rtld global field.
30160         (dtv_slotinfo_list): New struct.
30161         (dtv_slotinfo): Likewise.
30162         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30163         (td_lookup): Rename to...
30164         (td_mod_lookup): ... this.  Use new mod parameter instead of
30165         LIBPTHREAD_SO.
30166         * nptl_db/td_thr_tlsbase.c: Include link.h.
30167         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30168         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30169         addresses even if the DTV is out of date or missing them.
30170         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30171         index zero-length arrays.
30172         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30173         (td_lookup): Make it a macro implemented in terms of...
30174         (td_mod_lookup): ... this declaration.
30175         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30176         (DB_MAIN_VARIABLE): Likewise.
30178 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30180         [BZ #18134]
30181         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30183 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30185         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30187 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30189         [BZ #18128]
30190         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30191         (atomic_add, atomic_increment_and_test)
30192         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30194 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30196         * stdlib/setenv.c (__add_to_environ):
30197         Dump core quickly if setenv (..., NULL, ...) is called.
30199 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30201         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30202         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30203         all the necessary asm magic in one place.
30204         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30205         using those.
30207 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30209         [BZ #14906]
30210         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30211         traced file mtime. Use consistent log message.
30212         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30213         (register_traced_file): Call install_watches. Always set mtime.
30214         (invalidate_cache): Iterate over all trace files. Call install_watches.
30215         (inotify_check_files): Don't inline. Handle watching parent
30216         directories and configuration file movement in and out.
30217         (handle_inotify_events): New function.
30218         (main_loop_poll): Call handle_inotify_events.
30219         (main_loop_epoll): Likewise.
30220         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30221         (struct traced_file): Use array of inotify fds. Add parent directory,
30222         and basename.
30223         (struct database_dyn): Remove unused file_mtime.
30224         (init_traced_file): New inline function.
30225         (define_traced_file): New macro.
30226         * nss/nss_db/db-init.c: Use define_traced_file.
30227         (_nss_db_init): Use init_traced_file.
30228         * nss/nss_files/files-init.c: Use define_traced_file.
30229         (_nss_files_init): Use init_traced_file.
30231 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30233         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30234         [_LIBC]: Do not include <stdlib.h>.
30235         [!_LIBC] (abort): Remove declaration.
30236         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30237         _FP_STATIC_ASSERT instead of conditionally calling abort.
30238         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30239         (_FP_EXTEND_CNAN): Likewise.
30240         (FP_TRUNC): Likewise.
30241         (__FP_CLZ): Likewise.
30242         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30244 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30246         * manual/string.texi (XPG basename): Fix prototype.
30248 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30250         [BZ #18080]
30251         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30252         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30253         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30254         (__setcontext): Likewise.
30255         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30256         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30257         Call rt_sigprocmask syscall one time to set new signal mask
30258         and retrieve the current signal mask instead of two calls.
30259         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30260         (__swapcontext): Likewise.
30261         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30262         * stdlib/tst-setcontext2.c: New file.
30264 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30266         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30268 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30270         [BZ #18093]
30271         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30272         the wrong size.
30274 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30276         [BZ #18043]
30277         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30279 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30281         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30282         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30283         Remove define.
30284         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30285         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30286         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30287         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30288         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30289         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30290         define.
30291         * nptl_db/td_symbol_list.c (td_lookup): Remove
30292         HAVE_ASM_GLOBAL_DOT_NAME code.
30293         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30294         HAVE_ASM_GLOBAL_DOT_NAME check.
30295         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30296         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30297         (DOT_LABEL): Remove define.
30298         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30299         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30300         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30301         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30302         (__TLS_GET_ADDR): Likewise.
30303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30304         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30306 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30308         [BZ #18111]
30309         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30310         (_FPU_SETCW): Initialize cw from fpsr before storing.
30311         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30312         (fesetexceptflag): Rewrite using fpu_control.h.
30313         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30315 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30317         [BZ #18110]
30318         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30319         asms.
30320         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30322 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30324         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30325         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30326         abort.
30327         (_FP_FMA): Likewise.
30328         (_FP_DIV): Likewise.
30330 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30332         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30333         with 0 in that case.
30334         * Makefile (summarize-tests): New canned sequence, factored out of
30335         commands for targets tests and xtests.  Display summary lines that
30336         don't start with PASS: or XFAIL: rather than ones that do start with
30337         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30338         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30339         do start with ERROR: or FAIL:.
30340         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30341         (except for [$(build-shared) = yes]).
30342         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30343         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30344         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30345         * nptl/Makefile: Revert 2015-03-04 changes.
30346         [$(CXX) empty] (tests-unsupported): New variable.
30347         * debug/Makefile: Likewise.
30349         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30350         gnulib file.  Replace __attribute with __attribute__ throughout.
30352 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30354         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30356 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30358         [BZ #18104]
30359         * math/auto-libm-test-in: Add another test of pow.
30360         * math/auto-libm-test-out: Regenerated.
30362 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30364         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30365         $(config-cflags-nofma).
30367 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30369         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30370         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30371         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30372         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30373         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30374         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30375         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30376         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30377         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30378         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
30379         Add comment on closing #endif.
30381 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30383         * posix/wordexp.c (CHAR_IN_SET): New macro.
30384         (parse_param): Use it.
30386 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30388         * sysdeps/powerpc/fpu/libm-test-ulps: update.
30390 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30392         [BZ #18043]
30393         * posix/wordexp.c (parse_param): Fix buffer overflow.
30394         * posix/wordexp-test.c (test_case): Add test case.
30396 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30398         [BZ #18042]
30399         * posix/wordexp.c (parse_backtick): Fix off-by-one.
30400         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
30402 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30404         [BZ #18043]
30405         * posix/wordexp-test.c (test_case): Add test for BZ #18043
30406         (do_bz18043): Delete.
30407         (at_page_end): New.
30408         (testit): Refactor to have words at the edge of unreadable page.
30410 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30412         [BZ #16734]
30413         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
30414         Cleanup read-only streams as well.
30415         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
30417 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30419         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
30420         <bits/libc-lockP.h>
30422 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
30424         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
30425         on [__KERNEL__].
30426         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
30427         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
30428         * soft-fp/op-common.h (_FP_DECL): Likewise.
30430 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
30432         * elf/ifuncdep2.c (global): Replace
30433         __attribute__((visibility("protected"))) with
30434         asm (".protected global").
30435         * elf/ifuncmod1.c (global): Likewise.
30436         * elf/ifuncmod5.c (global): Likewise.
30438 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
30440         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
30441         <asm/sfp-machine.h> instead of <sfp-machine.h>.
30443 2015-03-06  Roland McGrath  <roland@hack.frob.com>
30445         * manual/install.texi (Configuring and compiling):
30446         Document test-wrapper-env-only.
30447         * INSTALL: Regenerated.
30449 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30451         [BZ #18043]
30452         * posix/wordexp.c (parse_param): Fix buffer overflow.
30453         * posix/wordexp-test.c (do_bz18043): Add test case.
30455 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30457         * time/tst-strptime2.c (do_test): Ensure failing tests are
30458         reported correctly.
30459         * time/tst-strptime3.c (do_test): Likewise.
30461 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30463         Fix aio_error thread-safety.
30464         * sysdeps/pthread/aio_error.c: New file
30465         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30466         synchronization.
30468 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30470         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30471         (group_number, vfprintf): Use it.
30472         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30473         (JUMP, REF): Use it.
30474         (WORK_BUFFER_SIZE): New enum constant.
30475         (process_arg, vfprintf): Use it.
30477 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30479         * manual/errno.texi (Error Messages): Complete example function
30480         by adding missing #define.
30481         (program_invocation_name): Add statement indicating GNU
30482         extension and reference which header file declares the variable.
30483         (program_invocation_short_name): Likewise.
30485 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30487         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30488         compatibility note.
30490 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30492         * Makeconfig (test-wrapper-env-only): New variable.
30493         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30494         then use that with $(test-wrapper-env-only) rather than using
30495         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30497 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30499         [BZ #18082]
30500         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30501         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30502         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30503         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30504         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30505         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30506         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30507         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30508         Likewise.
30509         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30510         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30511         Likewise.
30512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30513         Likewise.
30514         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30515         Likewise.
30516         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30517         Likewise.
30518         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30519         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30520         Likewise.
30521         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30522         Likewise.
30523         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30524         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30526 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30528         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30529         (ETH_ALEN): New macro.
30530         (struct ether_addr): Use it for length of ether_addr_octet.
30532         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30533         (setdb): Don't call __nss_configure_lookup for "rpc".
30534         (do_test): Don't call test_rpc.
30535         (output_rpcent, test_rpc): Functions moved ...
30536         * sunrpc/test-rpcent.c: ... to this new file.
30537         * sunrpc/Makefile (tests): Add it.
30539         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30540         __xpg_sigpause.
30541         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30542         * nptl/tst-signal6.c: Likewise.
30543         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30544         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30546         * configure.ac (libc_cv_cxx_link_ok): New check.
30547         Reset CXX to empty if it fails to link.
30548         * configure: Regenerated.
30549         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30550         bug-atexit3-lib only if $(CXX) is nonempty.
30551         * nptl/Makefile (tests): Likewise for tst-cancel24.
30552         (tests, tests-static): Likewise for tst-cancel24-static.
30553         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30554         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30555         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30556         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30558 2015-03-04  Andreas Schwab  <schwab@suse.de>
30560         [BZ #17631]
30561         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30562         for non-GCC compilers.
30563         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30564         Likewise.
30566 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30568         [BZ #17776]
30569         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30570         integer before bitwise and assembly operations.
30571         (feclearexcept): Likewise.
30572         * math/test-fenvinline.c: New file.
30573         * math/Makefile: Add test-fenvinline test.
30575 2015-03-03  Alan Modra  <amodra@gmail.com>
30577         [BZ #16512]
30578         * scripts/localplt.awk: Strip off symbol version.
30579         * NEWS: Mention bug fix.
30581 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30583         * sysdeps/pthread/timer_routines.c
30584         (timer_free_list, thread_free_list, thread_active_list): Make static.
30586 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30588         [BZ #17779]
30589         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30590         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30591         Undefine.
30592         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30593         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30594         Likewise.
30595         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30596         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30597         Likewise.
30599 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30601         [BZ #18036]
30602         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30603         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30605 2015-03-02  Andreas Schwab  <schwab@suse.de>
30607         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30608         variable name.
30610 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30612         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30613         Return error status.
30615 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30617         [BZ #15969]
30618         * locale/findlocale.c (_nl_find_locale): Introduce const
30619         version of loc_name and drop unsafe type casts.
30621 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30623         * dlfcn/tststatic2.c (main): Converted to ...
30624         (do_test): ... this.
30625         (TEST_FUNCTION): New macro.
30626         Include test-skeleton.c.
30628 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30630         [BZ #17711]
30631         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30632         (tests-pie): Add vismain.
30633         (CFLAGS-vismain.c): New.
30634         * elf/vismain.c: Add comments for PIE requirement.
30636 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30638         [BZ #18046]
30639         [BZ #18047]
30640         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30641         0x1p-56L as threshold for just returning the argument.
30642         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30643         0x1p-32L as threshold for just returning the argument.
30644         * math/auto-libm-test-in: Add more tests of atanh.
30645         * math/auto-libm-test-out: Regenerated.
30646         * sysdeps/i386/fpu/libm-test-ulps: Update.
30647         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30649 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30651         * string/bcopy.c (bcopy): Call memmove for performance.
30653 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30655         * string/bzero.c (__bzero): Call memset for performance.
30657 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30659         [BZ #18068]
30660         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30661         to 00100000.
30663 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30665         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30667 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30669         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30670         (__kernel_standard): Use CSTR macro when setting exc.name.
30671         * sysdeps/ieee754/Makefile [$(subdir) = math]
30672         (CFLAGS-k_standard.c): Remove variable.
30674         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30675         setting p and q from "else if" to "else".
30676         (qzero): Likewise.
30677         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30678         (qone): Likewise.
30679         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30680         (qzerof): Likewise.
30681         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30682         (qonef): Likewise.
30683         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30684         (qzero): Likewise.
30685         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30686         (qone): Likewise.
30688         [BZ #18038]
30689         [BZ #18039]
30690         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30691         return pi/2 for arguments below 0x1p-113L.
30692         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30693         return pi/2 for arguments below 0x1p-106L.
30694         * math/auto-libm-test-in: Add more tests of acos.
30695         * math/auto-libm-test-out: Regenerated.
30697         [BZ #16351]
30698         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30699         (MO): New macro.
30700         (__ieee754_asin): Force underflow exception for results with small
30701         absolute value.
30702         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30703         (MO): New macro.
30704         (__ieee754_asinf): Force underflow exception for results with
30705         small absolute value.
30706         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30707         (__ieee754_asin): Force underflow exception for results with small
30708         absolute value.
30709         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30710         (__ieee754_asinf): Force underflow exception for results with
30711         small absolute value.
30712         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30713         (__ieee754_asinl): Force underflow exception for results with
30714         small absolute value.
30715         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30716         (__ieee754_asinl): Force underflow exception for results with
30717         small absolute value.
30718         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30719         (__ieee754_asinl): Force underflow exception for results with
30720         small absolute value.
30721         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30722         Include <math.h>.
30723         * math/auto-libm-test-in: Do not mark underflow exceptions as
30724         possibly missing for bug 16351.
30725         * math/auto-libm-test-out: Regenerated.
30727         [BZ #18030]
30728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30729         of power of 2 down when low part has opposite sign.
30730         * math/libm-test.inc (logb_test_data): Add more tests.
30732 2015-02-26  Andreas Schwab  <schwab@suse.de>
30734         [BZ #18032]
30735         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30736         over collating symbol inside a bracket expression.  Minor cleanup.
30737         * posix/tst-fnmatch3.c (do_test): Add test case.
30739 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30741         [BZ #18029]
30742         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30743         Adjust exponent of power of 2 down when low part has opposite
30744         sign.
30745         * math/libm-test.inc (ilogb_test_data): Add more tests.
30747 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30749         [BZ #15969]
30750         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30751         the previous change.
30753         [BZ #15969]
30754         * locale/findlocale.c (_nl_find_locale): Retry archive search
30755         after alias expansion.
30757 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30759         * iconv/tst-iconv3.c (main): Converted to ...
30760         (do_test): ... this.
30761         (TEST_FUNCTION): New macro.
30762         Include test-skeleton.c.
30764         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30765         (convert): Make function static.
30766         (test_unalign): Likewise.  Add const to argument pointee types.
30767         (main): Replace with static function do_test.
30768         Print "Succeeded." only if RET is zero.
30769         (TEST_FUNCTION): New macro.
30770         Include test-skeleton.c.
30772         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30773         returns a null pointer.
30775 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30777         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30778         to __memcpy_ppc only for static builds.
30780 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30782         [BZ #18020]
30783         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30784         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30785         * math/auto-libm-test-in: Add more tests of asinh.
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-25  Cong Wang  <xiyou.wangcong@gmail.com>
30792         [BZ #15850]
30793         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30794         and ip6_mtuinfo definitions here.
30795         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30796         in this define too.  Update comment.
30798 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30800         * elf/sprof.c (load_shobj): Tweak error message to match others.
30802 2015-02-24  Kevin Easton  <kevin@guarana.org>
30804         [BZ #16145] (partial fix)
30805         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30806         to reduce lock contention.
30808 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30810         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30811         (struct timex): Update time comment.
30812         (ADJ_SETOFFSET): Define.
30814 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30816         [BZ #18019]
30817         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30818         2**56 not 2**28 as threshold for log (2x) formula.
30819         * math/auto-libm-test-in: Add more tests of acosh.
30820         * math/auto-libm-test-out: Regenerated.
30821         * sysdeps/i386/fpu/libm-test-ulps: Update.
30822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30824 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30826         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30827         parenthesis around the buf assignment.
30828         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30830 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30832         [BZ #16783]
30833         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30834         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30835         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30836         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30837         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30838         * math/libm-test.inc (scalb_test_data): Add more tests.
30840 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30842         [BZ #17916]
30843         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30844         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30846 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30848         [BZ #17523]
30849         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30850         * io/bits/fcntl2.h (open): Use it.
30851         (openat): Likewise.
30852         * io/open.c (__libc_open): Likewise.
30853         * io/open64.c (__libc_open64): Likewise.
30854         * io/open64_2.c (__open64_2): Likewise.
30855         * io/open_2.c (__open_2): Likewise.
30856         * io/openat.c (__openat): Likewise.
30857         * io/openat64.c (__openat64): Likewise.
30858         * io/openat64_2.c (__openat64_2): Likewise.
30859         * io/openat_2.c (__openat_2): Likewise.
30860         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30861         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30862         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30863         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30864         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30865         (__open_nocancel): Likewise.
30866         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30867         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30868         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30870 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30872         [BZ #14841]
30873         * resolv/gethnamaddr.c (getanswer): Skip logging if
30874         RES_USE_DNSSEC is set.
30875         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30877 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30879         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30881 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30883         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30884         201304L, for Unicode 7.
30886 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30888         [BZ #17836]
30889         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30890         shared library.  Add gmon-start.os otherwise.
30891         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30892         $(objpfx)gmon-start.os if builing shared library.
30893         ($(objpfx)g$(static-start-installed-name)): Likewise.
30895 2015-02-23  Andreas Schwab  <schwab@suse.de>
30897         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30899 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30901         [BZ #17269]
30902         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30903         (enlarge_userbuf): Likewise.
30905 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30907         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30908         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30909         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30910         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30912 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30914         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30915         expression inside statement expression.
30917 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30919         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30920         <sysdeps/nptl/lowlevellock.h> and remove macros and
30921         functions that are now defined there.
30922         (SYS_futex): Remove.
30923         (lll_compare_and_swap): Remove.
30924         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30926 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30928         [BZ #17999]
30929         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30930         instead of scandirat.
30931         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30932         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30933         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30934         __scandirat.
30935         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30936         (__scandirat): Declare.  Use libc_hidden_proto.
30937         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30938         Remove variable.
30939         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30941 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30943         [BZ #15319]
30944         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30945         (MO): New macro.
30946         (__ieee754_atan2): For results with small absolute value, force
30947         underflow exception and remove excess range and precision from
30948         return value.
30949         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30950         (MO): New macro.
30951         (__ieee754_atan2f): For results with small absolute value, force
30952         underflow exception and remove excess range and precision from
30953         return value.
30954         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30955         (MO): New macro.
30956         (__atan): For results with small absolute value, force underflow
30957         exception and remove excess range and precision from return value.
30958         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30959         (MO): New macro.
30960         (__atanf): For results with small absolute value, force underflow
30961         exception and remove excess range and precision from return value.
30962         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30963         <math.h>.
30964         (__ieee754_atan2): Force underflow exception for results with
30965         small absolute value.
30966         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30967         <math_private.h>.
30968         (atan): Force underflow exception for results with small absolute
30969         value.
30970         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30971         (__atanf): Force underflow exception for results with small
30972         absolute value.
30973         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30974         <math.h>.
30975         (__atanl): Force underflow exception for results with small
30976         absolute value.
30977         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30978         (__atanl): Force underflow exception for results with small
30979         absolute value.
30980         * sysdeps/x86/fpu/bits/mathinline.h
30981         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30982         (__ieee754_atan2): Only define inline for long double.
30983         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30984         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30985         * math/auto-libm-test-in: Do not mark underflow exceptions as
30986         possibly missing for bug 15319.  Add more tests of atan2.
30987         * math/auto-libm-test-out: Regenerated.
30988         * math/libm-test.inc (casin_test_data): Do not mark underflow
30989         exceptions as possibly missing for bug 15319.
30990         (casinh_test_data): Likewise.
30991         * sysdeps/i386/fpu/libm-test-ulps: Update.
30993 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30995         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30996         * sysdeps/mips/bits/endian.h: Fix comments.
30998 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31000         [BZ #17996]
31001         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
31002         (hdestroy_r): Likewise.
31003         (hsearch_r): Likewise.
31004         (__hcreate_r): Declare and use libc_hidden_proto.
31005         (__hdestroy_r): Likewise.
31006         (__hsearch_r): Likewise.
31007         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
31008         (hcreate): Call __hcreate_r instead of hcreate_r.
31009         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
31010         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
31011         as weak alias of __hcreate_r.
31012         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
31013         __hdestroy_r.
31014         (hsearch_r): Rename to __hsearch_r and define as weak alias of
31015         __hsearch_r.
31016         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
31017         Remove variable.
31018         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31019         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31020         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31021         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31023 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31025         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
31026         arena_lock into a single arena_get.
31028 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
31030         * dl-reloc.c: Inlucde libc-internal.h.
31031         (_dl_try_allocate_static_tls): Call ALIGN_UP.
31032         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
31033         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
31034         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
31035         (grow_heap): Likewise.
31036         * malloc/malloc.c: Include libc-internal.h.
31037         (do_check_malloc): Call powerof2.
31038         (sysmalloc): Use pagesize. Call ALIGN_UP.
31039         (systrim): Use pagesize.
31040         (mremap_chunk): Use pagesize. Call ALIGN_UP.
31041         (__libc_valloc): Use pagesize.
31042         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31044 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31046         [BZ #17991]
31047         * include/sys/resource.h (__getrlimit64): Declare.  Use
31048         libc_hidden_proto.
31049         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31050         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31051         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31052         getrlimit64.
31053         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31054         __getrlimit64.
31055         [!getrlimit64] (getrlimit64): Define as weak alias of
31056         __getrlimit64.  Use libc_hidden_weak.
31057         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31058         using __getrlimit64 not __new_getrlimit64.
31059         (__GI_getrlimit64): Likewise.
31060         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31061         Likewise.
31062         (__GI_getrlimit64): Likewise.
31063         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31065         (getrlimit): Add __getrlimit64 alias.
31066         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31067         Likewise.
31068         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31069         Remove variable.
31070         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31071         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31073 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31075         * libio/fileops.c: Add missing sys/mman.h
31076         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31078 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31080         * manual/math.texi (Errors in Math Functions): Clarify goals
31081         regarding inexact and underflow exceptions.
31083 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31085         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31086         * sysdeps/mips/memset.S: Ditto.
31088 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31090         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31092 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31094         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31095         (__v1longjmp): Remove versioned symbol.
31096         (__v1siglongjmp): Remove alias and versioned symbol.
31097         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31098         (__v2siglongjmp): Likewise.
31100 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31102         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31104 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31106         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31108 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31110         [BZ #17987]
31111         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31112         zero result does not depend on the sign resulting from
31113         subtraction.
31114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31115         Likewise.
31116         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31117         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31118         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31119         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31120         * math/libm-test.inc (remquo_test_data): Add more tests.
31122 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31124         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31125         Problem reported by J William Piggott.
31127 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31129         [BZ #17978]
31130         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31131         products 4 * y and 2 * y where those would overflow.
31132         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31133         Likewise.
31134         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31135         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31136         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31137         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31138         * math/libm-test.inc (remquo_test_data): Add more tests.
31140         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31142         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31143         [defined _COMPILING_NEWLIB].
31144         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31145         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31147         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31148         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31150 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31152         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31153         acquired.
31155 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31157         [BZ #17792]
31158         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31159         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31160         HOST_STACK_END_ADDR): Likewise.
31162 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31164         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31165         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31166         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31168 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31170         * sysdeps/generic/c++-types.data: New file.
31171         * sysdeps/generic/ld.abilist: New file.
31172         * sysdeps/generic/libBrokenLocale.abilist: New file.
31173         * sysdeps/generic/libanl.abilist: New file.
31174         * sysdeps/generic/libc.abilist: New file.
31175         * sysdeps/generic/libcrypt.abilist: New file.
31176         * sysdeps/generic/libdl.abilist: New file.
31177         * sysdeps/generic/libm.abilist: New file.
31178         * sysdeps/generic/libpthread.abilist: New file.
31179         * sysdeps/generic/libresolv.abilist: New file.
31180         * sysdeps/generic/librt.abilist: New file.
31182 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31184         [BZ #17569]
31185         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31186         Compute absolute value of x as modified by fmod, not original
31187         value of x.
31188         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31189         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31190         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31191         RUN_TEST_ffI_f1_mod8.
31192         (remquo_test_data): Add more tests.
31194 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31196         * sysdeps/init_array/pt-crti.S: New file.
31198 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31200         [BZ #17967]
31201         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31202         __builtin_fmaf instead of relying on contraction of a * b + c.
31204 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31206         [BZ #17969]
31207         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31208         node.
31210 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31212         [BZ #17964]
31213         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31214         __builtin_fma instead of relying on contraction of a * b + c.
31216 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31218         * Makeconfig (ASFLAGS): Add -Werror=undef.
31219         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31220         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31221         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31223         * Makeconfig (after-link): New variable.
31224         (+link-pie, +link-pie-tests): Use it.
31225         (+link-static, +link-static-tests): Likewise.
31226         (+link, +link-tests): Likewise.
31227         * Makerules (build-module, build-module-asneeded): Likewise.
31228         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31229         Likewise.
31230         * elf/Makefile ($(objpfx)ld.so): Likewise.
31232 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31234         [BZ #17965]
31235         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31236         both struct timeval and struct timespec.
31238 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31240         [BZ #16560]
31241         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31242         and redefine.
31243         (__ieee754_exp2l): Do not multiply small fractional parts by
31244         M_LN2l.
31245         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31246         small argument.
31247         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31248         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31249         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31250         * math/auto-libm-test-in: Add more tests of exp2.
31251         * math/auto-libm-test-out: Regenerated.
31253 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31255         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31256         unaligned path.
31258 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31260         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31261         little endian.
31263 2015-02-12  Andreas Schwab  <schwab@suse.de>
31265         [BZ #15790]
31266         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31267         Filter out elision flags from value returned in kind.
31268         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31269         * nptl/tst-pthread-mutexattr.c: New file.
31271 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31273         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31274         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31275         into gnu-gnu, and update comment to refer to abi-tags.
31277 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31279         [BZ #15467]
31280         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31281         (__sincos): Set errno to EDOM for infinite argument.
31282         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31283         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31284         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31285         (__sincosl): Set errno to EDOM for infinite argument.
31286         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31287         (__sincosl): Set errno to EDOM for infinite argument.
31288         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31289         (__sincosl): Set errno to EDOM for infinite argument.
31290         * math/libm-test.inc (sincos_test_data): Test errno setting.
31292 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31294         * string/strxfrm_l.c: Remove #define STRCMP.
31295         * string/strcoll_l.c: Remove #define STRLEN.
31296         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31297         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31299 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31301         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31302         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31303         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31304         * sysdeps/mips/mips64/Makefile: ... here.
31305         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31306         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31307         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31308         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31309         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31310         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31311         * sysdeps/mips/mips64/n64/Implies: Likewise.
31313 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31315         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31316         <sys/time.h>, <string.h>, and <errno.h>.
31317         (dest_offset, dest_address, value, zero): Remove unused variables.
31318         (ldouble): Remove typedef.
31319         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31320         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31321         1).  Fix code style.
31322         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31323         (check): Function removed.
31324         (CHECK): New macro.
31325         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31326         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31327         Don't call set_sigaction_FP and remove_sigaction_FP here.
31328         (ldouble_test): Just use 'long double' as macro argument, no need for
31329         the 'ldouble' typedef.
31330         (do_test): Set up SIGFPE handler at start, using plain signal rather
31331         than sigaction.  Fix code style.
31333 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31335         [BZ #17949]
31336         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31337         jump label.
31339 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31341         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31342         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31344         * sysdeps/powerpc/configure.ac: Remove file.
31345         * sysdeps/powerpc/configure: Likewise.
31347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31348         [sysdep_routines]: Remove wordcopy-power6 object.
31349         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31350         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31351         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31352         (__memmove_ppc32): Likewise.
31353         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31354         file.
31355         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31356         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31357         Remove preprocessor.
31359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31360         [sysdep_routines]: Remove wide chars objects.
31361         [wcsmbs]: New rule for wide char objects.
31363         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31364         Remove wordcopy-power6 obejct.
31365         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31366         Use local call for wordcopy and memcpy symbols.
31367         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31368         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31369         implementation for loader.
31370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31372         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31373         Remove wordcopy-power7 object.
31374         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31375         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31376         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31377         (_wordcopy_fwd_dest_aligned): Likewise.
31378         (_wordcopy_bwd_aligned): Likewise.
31379         (_wordcopy_bwd_dest_aligned): Likewise.
31381         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
31382         Rewrite to call __memmove_ppc instead of include default
31383         implementation.
31385         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31386         Remove wide chars objects.
31387         [wcsmbs]: New rule for wide char objects.
31389 2015-02-09  Andreas Schwab  <schwab@suse.de>
31391         [BZ #17912]
31392         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31393         in terms of __O_DIRECTORY.
31395 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31397         * time/getdate.c: Include <stdbool.h>.
31398         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
31399         call PTR_MANGLE.
31400         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
31401         PTR_DEMANGLE.
31403 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
31405         Add ersatz _Static_assert on older C hosts
31406         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
31407         pre-C11 C platform that is not known to support _Static_assert.
31409 2015-02-07  Richard Braun  <rbraun@sceen.net>
31411         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
31412         sigstate.
31413         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
31415 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31417         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
31418         priority against unexistent AIO_PRIO_DELTA_MAX.
31419         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
31420         instead of int.
31421         * misc/fchflags.c (fchflags): Likewise.
31422         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
31423         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
31424         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
31425         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
31426         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
31427         Declare macros.
31428         [__USE_MISC] (chflags, fchflags): Declare functions.
31429         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
31430         EINVAL when nfds is greater than FD_SETSIZE.
31431         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
31432         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
31433         45.
31434         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
31435         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
31436         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
31437         MACH_RCV_TIMED_OUT.
31438         * hurd/hurd/signal.h (_hurd_self_sigstate,
31439         _hurd_critical_section_lock, _hurd_critical_section_unlock):
31440         Explicit casts from void *.
31441         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
31442         * abi-tags: Rename gnu-gnu os into gnu.
31444         [BZ #4719]
31445         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
31446         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
31447         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
31448         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
31449         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
31450         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
31452         [BZ #17944]
31453         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
31454         duplicates ADDR->sun_path with sockaddr LEN limitation.
31455         * sysdeps/mach/hurd/connect.c: Include <string.h>
31456         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31457         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31458         * sysdeps/mach/hurd/sendto.c: Likewise.
31459         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31460         implementing it by hand.
31462 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31464         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31465         Use sfi_breg on ldr.
31466         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31467         Likewise.
31469         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31470         it's defined.
31471         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31472         Test SIGSETXID only if it's defined.
31474         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31476         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31477         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31479         * nptl/tst-align2.c: Moved ...
31480         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31481         * nptl/Makefile (tests): Remove tst-align2.
31482         * sysdeps/unix/sysv/linux/Makefile
31483         [$(subdir) = nptl] (tests): Add tst-align-clone.
31484         * nptl/tst-getpid1.c: Moved ...
31485         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31486         * nptl/tst-getpid2.c: Moved ...
31487         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31488         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31489         * sysdeps/unix/sysv/linux/Makefile
31490         [$(subdir) = nptl] (tests): ... here.
31491         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31492         * sysdeps/unix/sysv/linux/Makefile
31493         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31495         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31496         Drop trailing \n from perror argument.  Use return rather than exit.
31498         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31499         on [SA_SIGINFO].
31500         * nptl/tst-cancel21.c (do_test): Likewise.
31501         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31502         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31503         [!SA_SIGINFO]: Make it a stub test.
31505         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31506         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31508         * posix/tst-getlogin.c: Move to ...
31509         * login/tst-getlogin.c: ... here.
31510         * posix/Makefile (tests): Move tst-getlogin to ...
31511         * login/Makefile (tests): ... here.
31513         * libio/tst-atime.c (do_test): Move local variables SV and E
31514         inside [ST_NOATIME] conditional.
31516         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31518         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31520         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31521         (wait_code): New function replaces macro.
31522         Call nanosleep rather than syscall.
31524         * nptl/pt-system.c: Rewritten.  Put everything under
31525         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31526         Use IFUNC to redirect when possible.
31528         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31529         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31530         Use IFUNC to redirect when possible.
31532         * nptl/pt-fork.c: Rewritten.  Put everything under
31533         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31534         Use IFUNC to redirect when possible.
31535         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31537         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31538         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31539         unconditionally nowadays.  This included the only reference to
31540         __vdso_clock_gettime that appears outside libc proper.
31541         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31542         Remove version set (containing only __vdso_clock_gettime).
31543         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31544         Add attribute_hidden.
31545         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31546         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31547         libc_hidden_data_def.
31548         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31549         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31551         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31552         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31553         setrpcent, and getrpcport to ...
31554         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31555         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31556         getrpcbynumber_r, and getrpcent_r to ...
31557         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31558         * inet/getrpcbyname.c: Moved ...
31559         * sunrpc/getrpcbyname.c: ... here.
31560         * inet/getrpcbyname_r.c: Moved ...
31561         * sunrpc/getrpcbyname_r.c: ... here.
31562         * inet/getrpcbynumber.c: Moved ...
31563         * sunrpc/getrpcbynumber.c: ... here.
31564         * inet/getrpcbynumber_r.c: Moved ...
31565         * sunrpc/getrpcbynumber_r.c: ... here.
31566         * inet/getrpcent.c: Moved ...
31567         * sunrpc/getrpcent.c: ... here.
31568         * inet/getrpcent_r.c: Moved ...
31569         * sunrpc/getrpcent_r.c: ... here.
31570         * inet/Makefile (routines): Move those to ...
31571         * sunrpc/Makefile (routines): ... here.
31572         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31573         the $(subdirs) list.
31574         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31575         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31576         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31577         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31579         * elf/Makefile (routines): Include $(all-dl-routines), not just
31580         $(dl-routines).
31581         (rtld-routines): Likewise.  Use = rather than :=.
31582         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31583         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31584         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31585         * sysdeps/arm/Makefile: Likewise.
31586         * sysdeps/i386/Makefile: Likewise.
31587         * sysdeps/x86_64/Makefile: Likewise.
31588         * sysdeps/hppa/Makefile [$(subdir) = elf]
31589         (sysdep_routines, sysdep-rtld-routines): Don't add
31590         $(sysdep-dl-routines) to these.
31591         * sysdeps/ia64/Makefile: Likewise.
31592         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31593         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31594         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31595         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31596         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31597         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31598         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31599         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31600         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31601         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31602         these; sysdep-dl-routines alone is enough.
31604 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31606         [BZ #17932]
31607         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31608         where multiplication results in zero and third argument is finite
31609         and nonzero.
31610         * math/auto-libm-test-in: Add more tests of fma.
31611         * math/auto-libm-test-out: Regenerated.
31613         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31614         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31615         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31616         (_FP_CMP_EQ): Likewise.
31617         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31619         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31620         extra argument CHECK_NAN.  Redefine as wrapper around
31621         _FP_EXTEND_CNAN.
31623 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31625         * version.h (RELEASE): Set to "stable".
31626         (VERSION): Set to "2.21"
31627         * include/features.h (__GLIBC_MINOR__): Set to 21.
31629         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31631 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31632             Paul Eggert  <eggert@cs.ucla.edu>
31634         [BZ #16618]
31635         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31636         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31637         size in bytes. Store needed elements in wpmax. Use needed size
31638         in bytes for extend_alloca.
31640 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31642         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31643         binutls 2.25, and texinfo 5.2.
31644         * INSTALL: Regenerate.
31645         * sysdeps/nios2/configure: Regenerate.
31646         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31647         * manual/contrib.texi: Update.
31648         * po/be.po: Update.
31649         * po/bg.po: Update.
31650         * po/ca.po: Update.
31651         * po/cs.po: Update.
31652         * po/da.po: Update.
31653         * po/de.po: Update.
31654         * po/el.po: Update.
31655         * po/eo.po: Update.
31656         * po/es.po: Update.
31657         * po/fi.po: Update.
31658         * po/fr.po: Update.
31659         * po/gl.po: Update.
31660         * po/hr.po: Update.
31661         * po/hu.po: Update.
31662         * po/ia.po: Update.
31663         * po/id.po: Update.
31664         * po/it.po: Update.
31665         * po/ja.po: Update.
31666         * po/ko.po: Update.
31667         * po/lt.po: Update.
31668         * po/nb.po: Update.
31669         * po/nl.po: Update.
31670         * po/pl.po: Update.
31671         * po/pt_BR.po: Update.
31672         * po/ru.po: Update.
31673         * po/rw.po: Update.
31674         * po/sk.po: Update.
31675         * po/sl.po: Update.
31676         * po/sv.po: Update.
31677         * po/tr.po: Update.
31678         * po/uk.po: Update.
31679         * po/vi.po: Update.
31680         * po/zh_CN.po: Update.
31681         * po/zh_TW.po: Update.
31683         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31684         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31685         * sysdeps/hppa/dl-irel.h: Remove #warning.
31686         * sysdeps/hppa/entry.h: Provide prototype for
31687         __canonicalize_funcptr_for_compare and cast argument.
31688         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31689         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31690         * sysdeps/hppa/sotruss-lib.c: New file.
31691         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31692         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31693         (atomic_compare_and_exchange_bool_acq): Likewise.
31694         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31695         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31697         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31698         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31699         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31701 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31703         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31704         called function in non-PIC case.
31706 2015-01-31  David S. Miller  <davem@davemloft.net>
31708         * sysdeps/sparc/sparc32/bits/atomic.h
31709         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31710         unlock not after it.
31711         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31712         volatile register usage warnings from the compiler.
31714         * sysdeps/sparc/nptl/sem_init.c: Delete.
31715         * sysdeps/sparc/nptl/sem_post.c: Delete.
31716         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31717         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31718         * sysdeps/sparc/sparc32/sem_init.c: New file.
31719         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31720         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31721         padding explicitly initialized.
31722         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31723         padding for in-semaphore spinlock.
31724         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31725         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31726         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31727         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31728         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31729         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31730         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31731         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31732         version.
31733         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31734         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31736 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31738         [BZ #17801]
31739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31740         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31741         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31742         New.
31743         (index_AVX_Fast_Unaligned_Load): Likewise.
31744         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31745         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31746         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31747         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31748         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31749         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31750         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31751         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31752         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31754 2015-01-29  Andreas Schwab  <schwab@suse.de>
31756         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31758 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31760         [BZ #17892]
31761         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31763 2015-01-28  Martin Sebor  <msebor@redhat.com>
31765         * math/README.libm-test: Clarify. Add "How to read the test output."
31767 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31769         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31770         Define to 0.
31772 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31774         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31775         (__HAVE_64B_ATOMICS): Define to 0.
31777 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31779         [BZ #17885]
31780         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31781         value to set as new flag.
31783         [BZ #16576]
31784         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31785         and use _ARCH_PPCSQ instead.
31786         (__ieee754_sqrt): Likewise.
31787         (__ieee754_sqrtf): Likewise.
31788         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31789         _ARCH_PPCSQ is defined.
31790         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31791         fsqrt instruction.
31792         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31793         _ARCH_PPCSQ is defined.
31794         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31795         fsqrts instruction.
31796         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31798 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31800         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31801         bug (GCC BZ #64739).
31803 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31805         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31806         Mark _retval as used.
31807         (lll_futex_wake_unlock): Likewise.
31808         (lll_futex_timed_wait_requeue_pi): Likewise.
31810         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31811         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31812         register variables.
31814         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31815         libm_hidden_def.
31817         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31818         (__bswap_64): Mark as __always_inline.
31820 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31822         [BZ #15378]
31823         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31824         when none of the search directories exist.
31826 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31828         [BZ #17869]
31829         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31830         power8 in .machine directive.
31832         [BZ #17868]
31833         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31834         set dependency from opd value.
31836 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31839         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31840         architecture.
31842 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31844         [BZ #17870]
31845         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31846         with uint64_t.
31847         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31848         (uint64_t) 1.
31849         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31850         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31851         Replace 1UL with (uint64_t) 1.
31852         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31853         int with uint64_t.
31855 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31857         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31858         (if_freenameindex): Likewise.
31860         * resource/getrlimit64.c: Add missing libc_hidden_def.
31862 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31864         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31865         __label__.
31866         (_FP_FMA): Likewise.
31867         (_FP_TO_INT_ROUND): Likewise.
31868         (_FP_FROM_INT): Likewise.
31870 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31872         [BZ #16418]
31873         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31874         Make code racy and cancel safe.
31876 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31878         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31879         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31880         attribution.
31882         * pwd/tst-getpw.c: Rewrite.
31884         [BZ #17702]
31885         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31886         (modules-names): Add moddummy1 and moddummy2.
31887         ($(objpfx)tst-rec-dlopen): Define.
31888         * dlfcn/moddummy1.c: New file.
31889         * dlfcn/moddummy2.c: New file.
31890         * dlfcn/tst-rec-dlopen.c: New file.
31891         * elf/dl-cache.c (_dl_load_cache_lookup):
31892         Return char*. Copy result with alloca/strcpy/strdup.
31893         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31894         returns char*. Free cached. If not saving realname
31895         free cached.
31896         * elf/dl-open.c (dl_open_worker): Do not assert that
31897         _r_debug->r_state is RT_CONSISTENT.
31898         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31899         returns char*.
31901 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31902             Carlos O'Donell  <carlos@redhat.com>
31904         [BZ #12674]
31905         * nptl/sem_waitcommon.c: New file.
31906         * nptl/sem_wait.c: Include sem_waitcommon.c.
31907         (__sem_wait_cleanup, do_futex_wait): Remove.
31908         (__new_sem_wait): Adapt.
31909         (__new_sem_trywait): New function.
31910         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31911         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31912         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31913         (sem_timedwait): Adapt.
31914         * nptl/sem_post.c (__new_sem_post): Adapt.
31915         (futex_wake): New function.
31916         (__old_sem_post): Add release MO fence.
31917         * nptl/sem_open.c (sem_open): Adapt.
31918         * nptl/sem_init.c (__new_sem_init): Adapt.
31919         (futex_private_if_supported): New function.
31920         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31921         (__old_sem_getvalue): Add using previous code.
31922         * sysdeps/nptl/internaltypes.h: Adapt.
31923         * nptl/tst-sem13.c (do_test): Adapt.
31924         * nptl/tst-sem11.c (main): Adapt.
31925         * nptl/sem_trywait.c: Remove.
31926         * nptl/DESIGN-sem.txt: Remove.
31927         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31928         (gen-as-const-headers): Remove structsem.sym.
31929         * nptl/structsem.sym: Remove.
31930         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31931         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31932         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31933         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31934         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31935         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31936         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31937         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31938         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31939         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31940         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31941         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31942         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31943         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31944         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31945         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31946         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31947         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31948         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31949         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31950         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31951         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31953 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31955         * INSTALL: Regenerated.
31957         * po/libc.pot: Regenerated.
31959 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31960             Sandra Loosemore  <sandra@codesourcery.com>
31961             Andrew Jenner  <andrew@codesourcery.com>
31962             Joseph Myers  <joseph@codesourcery.com>
31963             Nathan Sidwell  <nathan@codesourcery.com>
31965         * NEWS: Mention new Nios II port.
31966         * sysdeps/nios2/Implies: New file.
31967         * sysdeps/nios2/Makefile: New file.
31968         * sysdeps/nios2/Subdirs: New file.
31969         * sysdeps/nios2/Versions: New file.
31970         * sysdeps/nios2/__longjmp.S: New file.
31971         * sysdeps/nios2/abort-instr.h: New file.
31972         * sysdeps/nios2/backtrace.c: New file.
31973         * sysdeps/nios2/bits/endian.h: New file.
31974         * sysdeps/nios2/bits/fenv.h: New file.
31975         * sysdeps/nios2/bits/link.h: New file.
31976         * sysdeps/nios2/bits/setjmp.h: New file.
31977         * sysdeps/nios2/bsd-_setjmp.S: New file.
31978         * sysdeps/nios2/bsd-setjmp.S: New file.
31979         * sysdeps/nios2/configure: New generated file.
31980         * sysdeps/nios2/configure.ac: New file.
31981         * sysdeps/nios2/crti.S: New file.
31982         * sysdeps/nios2/crtn.S: New file.
31983         * sysdeps/nios2/dl-init.c: New file.
31984         * sysdeps/nios2/dl-machine.h: New file.
31985         * sysdeps/nios2/dl-sysdep.h: New file.
31986         * sysdeps/nios2/dl-tls.h: New file.
31987         * sysdeps/nios2/dl-trampoline.S: New file.
31988         * sysdeps/nios2/gccframe.h: New file.
31989         * sysdeps/nios2/gmp-mparam.h: New file.
31990         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31991         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31992         * sysdeps/nios2/ldsodefs.h: New file.
31993         * sysdeps/nios2/libc-tls.c: New file.
31994         * sysdeps/nios2/libm-test-ulps: New file.
31995         * sysdeps/nios2/machine-gmon.h: New file.
31996         * sysdeps/nios2/math-tests.h: New file.
31997         * sysdeps/nios2/math_private.h: New file.
31998         * sysdeps/nios2/memusage.h: New file.
31999         * sysdeps/nios2/nptl/Makefile: New file.
32000         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
32001         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
32002         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
32003         * sysdeps/nios2/nptl/pthreaddef.h: New file.
32004         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
32005         * sysdeps/nios2/nptl/tls.h: New file.
32006         * sysdeps/nios2/preconfigure: New file.
32007         * sysdeps/nios2/s_fma.c: New file.
32008         * sysdeps/nios2/s_fmaf.c: New file.
32009         * sysdeps/nios2/setjmp.S: New file.
32010         * sysdeps/nios2/sfp-machine.h: New file.
32011         * sysdeps/nios2/sotruss-lib.c: New file.
32012         * sysdeps/nios2/stackguard-macros.h: New file.
32013         * sysdeps/nios2/stackinfo.h: New file.
32014         * sysdeps/nios2/start.S: New file.
32015         * sysdeps/nios2/sysdep.h: New file.
32016         * sysdeps/nios2/tls-macros.h: New file.
32017         * sysdeps/nios2/tst-audit.h: New file.
32018         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
32019         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
32020         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
32021         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
32022         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
32023         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
32024         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
32025         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
32026         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
32027         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
32028         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
32029         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
32030         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
32031         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
32032         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
32033         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
32034         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
32035         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
32036         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
32037         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
32038         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
32039         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
32040         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
32041         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32042         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32043         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32044         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32045         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32046         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32047         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32048         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32049         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32050         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32051         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32052         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32053         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32054         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32055         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32056         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32057         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32058         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32059         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32060         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32061         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32063 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32065         [BZ #17844]
32066         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32067         (getutent): Use weak_alias in non SHARED case
32068         and default_symbol_version in SHARED case.
32069         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32070         (getutent_r, pututline): Likewise.
32071         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32072         (getutid): Likewise.
32073         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32074         (getutid_r): Likewise.
32075         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32076         (getutline): Likewise.
32077         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32078         (getutline_r): Likewise.
32079         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32080         (updwtmp): Likewise.
32082 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32084         [BZ #17848]
32085         * sysdeps/s390/s390-32/memcmp.S
32086         (memcmp_g5): Rename to __memcmp_g5.
32087         * sysdeps/s390/s390-32/memcpy.S
32088         (memcpy_g5): Rename to __memcpy_g5.
32089         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32090         (memcpy_mvcle) Rename to __memcpy_mvcle.
32091         * sysdeps/s390/s390-32/memset.S
32092         (memset_g5): Rename to __memset_g5.
32093         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32094         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32095         and use prefixed functions.
32096         * sysdeps/s390/s390-32/multiarch/memcmp.S
32097         (memcmp_z196): Rename to __memcmp_z196.
32098         (memcmp_z10): Rename to __memcmp_z10.
32099         (memcmp): Set alias to __memcmp_g5.
32100         (bcmp): Set alias to __memcmp_g5.
32101         * sysdeps/s390/s390-32/multiarch/memcpy.S
32102         (memcpy_z196): Rename to __memcpy_z196.
32103         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32104         (memcpy_z10): Rename to __memcpy_z10.
32105         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32106         (memcpy): Set alias to __memcpy_g5.
32107         * sysdeps/s390/s390-32/multiarch/memset.S
32108         (memset_z196): Rename to __memset_z196.
32109         Jump to __memset_mvcle instead of memset_mvcle.
32110         (memset_z10): Rename to __memset_z10.
32111         Jump to __memset_mvcle instead of memset_mvcle.
32112         (memset_mvcle) Rename to __memset_mvcle.
32113         (memset): Set alias to __memset_g5.
32114         * sysdeps/s390/s390-64/memcmp.S
32115         (memcmp_z900): Rename to __memcmp_z900.
32116         * sysdeps/s390/s390-64/memcpy.S
32117         (memcpy_z900): Rename to __memcpy_z900.
32118         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32119         (memcpy_mvcle) Rename to __memcpy_mvcle.
32120         * sysdeps/s390/s390-64/memset.S
32121         (memset_z900): Rename to __memset_z900.
32122         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32123         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32124         and use prefixed functions.
32125         * sysdeps/s390/s390-64/multiarch/memcmp.S
32126         (memcmp_z196): Rename to __memcmp_z196.
32127         (memcmp_z10): Rename to __memcmp_z10.
32128         (memcmp): Set alias to __memcmp_z900.
32129         (bcmp): Set alias to __memcmp_z900.
32130         * sysdeps/s390/s390-64/multiarch/memcpy.S
32131         (memcpy_z196): Rename to __memcpy_z196.
32132         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32133         (memcpy_z10): Rename to __memcpy_z10.
32134         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32135         (memcpy): Set alias to __memcpy_z900.
32136         * sysdeps/s390/s390-64/multiarch/memset.S
32137         (memset_z196): Rename to __memset_z196.
32138         Jump to __memset_mvcle instead of memset_mvcle.
32139         (memset_z10): Rename to __memset_z10.
32140         Jump to __memset_mvcle instead of memset_mvcle.
32141         (memset_mvcle) Rename to __memset_mvcle.
32142         (memset): Set alias to __memset_z900.
32144 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32146         [BZ #17748]
32147         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32148         __fesetenv instead of fesetenv.
32150 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32152         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32153         macro.
32155 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32157         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32158         regression on LE.
32160         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32161         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32162         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32163         strncmp-power8 object.
32164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32165         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32166         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32167         * NEWS: Update.
32169 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32170             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32172         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32173         trailing byte check.
32175 2015-01-13  David S. Miller  <davem@davemloft.net>
32177         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32179 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32181         * login/logout.c (logout): Use memset rather than bzero.
32182         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32183         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32184         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32185         (_gethtbyaddr): Likewise.
32186         * locale/programs/simple-hash.c (bcopy): Macro removed.
32188 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32191         Add strcmp-power8 object.
32192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32193         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32194         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32195         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32196         __strcmp_power8 implementation.
32197         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32198         * NEWS: Update.
32200         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32201         Add strncpy-power8 and stpncpy-power8 objects.
32202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32203         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32204         implementations.
32205         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32206         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32207         __stpncpy_power8 implementation.
32208         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32209         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32210         __strncpy_power8 implementation.
32211         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32212         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32213         * NEWS: Update.
32215         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32216         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32217         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32220         strncat-power8 object.
32221         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32222         __strcat_power8 implementation.
32223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32224         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32225         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32226         optimized strcat for power8.
32228         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32229         strcpy-power8 and stpcpy-power8 objects.
32230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32231         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32232         implementations.
32233         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32234         multiarch stpcpy implementation for POWER8.
32235         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32236         multiarch strcpy implementation for POWER8.
32237         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32238         __strcpy_power8 function.
32239         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32240         stpcpy for POWER8.
32241         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32242         strcpy for POWER8.
32243         * NEWS: Update.
32245 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32247         [BZ #16009]
32248         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32249         weights and rules. Use do_xfrm_cached if data fits in cache,
32250         do_xfrm otherwise.  Moved former main loop to...
32251         * (do_xfrm_cached): New function.
32252         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32253         find_idx, find_position and stack_push.
32254         * (find_idx): New function.
32255         * (find_position): Likewise.
32256         * localedata/sort-test.sh: Added test run for do_xfrm.
32257         * localedata/xfrm-test.c (main): Added command line option
32258         -nocache to run the test with strings that are too large for
32259         the STRXFRM cache.
32261 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32263         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32264         variable to lll_futex_wake call, not the value itself.
32266 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32268         [BZ #17803]
32269         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32270         twom64.  Adjust value to 0x1p-64L.
32271         (__scalblnl): Only return standard underflowing result for K <=
32272         -64 not K <= -63; adjust exponent for underflowing result by 64
32273         not 63.
32274         * math/libm-test.inc (scalbn_test_data): Add more tests.
32275         (scalbln_test_data): Likewise.
32277         [BZ #17834]
32278         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32279         0x1p63L.
32280         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32281         not HX.
32282         * math/libm-test.inc (scalbn_test_data): Add more tests.
32283         (scalbln_test_data): Likewise.
32285 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32286             Stefani Seibold  <stefani@seibold.net>
32288         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32289         (sysdep_routines): Add dl-vdso here, ...
32290         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32291         (sysdep_routines): ... not here.
32292         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32293         fallback when vDSO is not presented.
32294         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32295         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32296         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32297         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32298         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32299         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32300         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32301         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32302         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32304         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32305         fallback configurable symbol when vDSO is not available.
32306         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32307         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32308         be able to redefine fallback symbol when vDSO is not available.
32309         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32310         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32312 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32314         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32315         (TLS_INIT_TP): Add tm_capable initialization.
32316         (TLS_DEFINE_INIT_TP): Likewise.
32317         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32318         TCB.
32319         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32320         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32321         calculation.
32322         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32323         transactoion is lock elision is built and TCB tm_capable is set.
32324         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32326         (INTERNAL_SYSCALL_NCS): Likewise.
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32328         (INTERNAL_SYSCALL_NCS): Likewise.
32329         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32331         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32332         for powerpc.
32333         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32334         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32335         and remove it for 32 bits case.
32336         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32338         initialization.
32339         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32340         Disable lock elision with rdlocks if elision is not available.
32342         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32343         (sysdep_routines): Add lock elision objects.
32344         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32345         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32346         [pthread_mutex_t] (__elision): Add field.
32347         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32348         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32349         elision definitions for powerpc.
32350         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32351         implementation of lock elision for powerpc.
32352         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32353         implementation of timed lock elision for powerpc.
32354         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32355         implementation of trylock with lock elision for powerpc.
32356         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32357         implementaion of unlock for lock elision for powerpc.
32358         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32359         automatic enable lock elision for mutexes.
32360         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32361         transaction execution definitions for powerpc.
32362         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32363         definitions.
32364         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32365         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32366         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32367         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32368         * NEWS: Update.
32370 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32372         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32373         for #include of <shm-directory.h>.
32375 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32377         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32378         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
32380 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
32382         [BZ #17791]
32383         * NEWS: Mention bug fix.
32384         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
32385         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
32386         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
32388 2015-01-09  Torvald Riegel <triegel@redhat.com>
32390         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
32392 2015-01-09  Torvald Riegel <triegel@redhat.com>
32394         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
32396 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32398         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
32399         pointer and cast to uintptr_t.
32401 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32403         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
32404         removed.
32405         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
32407 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32409         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
32410         of 0.
32412 2015-01-08  Roland McGrath  <roland@hack.frob.com>
32414         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
32415         <nptl/pthreadP.h> instead.
32416         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
32418         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
32419         already defined.
32420         [__SIGRTMIN] (init): Function removed.
32421         [__SIGRTMIN] (initialized): Variable removed.
32422         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
32423         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
32424         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
32425         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
32426         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
32427         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
32428         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
32429         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
32430         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
32431         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32432         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
32433         * sysdeps/nptl/allocrtsig.c: New file.
32434         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
32435         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
32436         * sysdeps/generic/testrtsig.h: File removed.
32438         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
32439         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
32441         * nptl/nptl-init.c (pthread_functions): Conditionalize
32442         .ptr__nptl_setxid initialization on [SIGSETXID].
32444         * sysdeps/nptl/sys/procfs.h: New file.
32445         * nptl_db/Makefile (headers): Add it.
32446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32448         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
32449         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
32450         * nptl/pthread_attr_setaffinity.c: Include it.
32451         * nptl/pthread_setattr_default_np.c: Likewise.
32452         * nptl/check-cpuset.h: New file.
32454 2015-01-08  Richard Henderson  <rth@redhat.com>
32456         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32457         (CFLAGS-tst-execstack-prog.c): Likewise.
32458         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32460 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32461             Sandra Loosemore  <sandra@codesourcery.com>
32462             Andrew Jenner  <andrew@codesourcery.com>
32463             Joseph Myers  <joseph@codesourcery.com>
32464             Nathan Sidwell  <nathan@codesourcery.com>
32466         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32467         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32468         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32469         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32470         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32471         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32472         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32473         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32474         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32475         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32476         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32477         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32478         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32479         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32480         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32481         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32482         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32484 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32486         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32487         timespec struct member in syscall macro.
32488         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32489         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32490         first timeval struct member in syscall macro.
32491         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32493 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32495         [BZ #17748]
32496         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32497         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32498         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32499         __feupdateenv and define as weak alias of __feupdateenv.  Use
32500         libm_hidden_weak.
32501         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32502         libm_hidden_def.
32503         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32504         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32505         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32506         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32507         libm_hidden_def.
32508         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32509         __feupdateenv and define as weak alias of __feupdateenv.  Use
32510         libm_hidden_weak.
32511         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32512         libm_hidden_def.
32513         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32514         __feupdateenv and define as weak alias of __feupdateenv.  Use
32515         libm_hidden_weak.
32516         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32517         libm_hidden_def.
32518         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32519         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32520         (__feupdateenv): Likewise.
32521         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32522         __feupdateenv and define as weak alias of __feupdateenv.  Use
32523         libm_hidden_weak.
32524         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32525         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32526         libm_hidden_def.
32527         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32528         function.
32529         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32530         libm_hidden_def.
32531         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32532         __feupdateenv instead of feupdateenv.
32533         (default_libc_feupdateenv_test): Likewise.
32534         (libc_feresetround_ctx): Likewise.
32536 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32538         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32539         prototype.
32541 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32543         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32544         COLL_SYM in a couple of places to avoid uninitialized variable
32545         wanings on tilegx gcc 4.8.2.
32547 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32549         * sysdeps/aarch64/strcpy.S: New file.
32550         * sysdeps/aarch64/stpcpy.S: New file.
32551         * NEWS: Updated.
32553 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32555         * sysdeps/aarch64/strrchr.S: New file.
32556         * NEWS: Updated.
32558 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32560         [BZ #17658]
32561         * stdlib/setenv.c: Fix memory leak when setting large,
32562         duplicate string.
32564 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32566         [BZ #17273]
32567         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32568         and tabs from buffer before parsing fstab entry.
32569         * misc/tst-mntent.c (main): Add test for mount entry with
32570         trailing spaces and tabs.
32572 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32574         [BZ #17748]
32575         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32576         * math/fesetround.c (fesetround): Rename to __fesetround and
32577         define as weak alias of __fesetround.  Use libm_hidden_weak.
32578         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32579         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32580         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32581         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32582         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32583         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32584         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32585         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32586         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32587         __fesetround_inline.
32588         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32589         __fesetround_inline instead of __fesetround.
32590         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32591         __fesetround and define as weak alias of __fesetround.  Use
32592         libm_hidden_weak.  Call __fesetround_inline instead of
32593         __fesetround.
32594         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32595         __fesetround and define as weak alias of __fesetround.  Use
32596         libm_hidden_weak.
32597         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32598         Likewise.
32599         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32600         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32601         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32602         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32603         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32604         __fesetround and define as weak alias of __fesetround.  Use
32605         libm_hidden_weak.
32606         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32607         __fesetround instead of fesetround.
32608         (default_libc_feholdexcept_setround): Likewise.
32609         (libc_feholdsetround_ctx): Likewise.
32610         (libc_feholdsetround_noex_ctx): Likewise.
32612         [BZ #17748]
32613         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32614         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32615         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32616         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32617         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32618         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32619         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32620         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32621         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32622         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32623         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32624         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32625         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32626         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32627         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32628         libm_hidden_def.
32629         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32630         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32631         Likewise.
32632         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32633         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32634         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32635         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32636         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32637         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32638         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32639         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32640         __fesetenv instead of fesetenv.
32641         (libc_feresetround_noex_ctx): Likewise.
32642         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32643         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32644         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32645         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32646         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32647         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32648         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32649         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32650         (__feupdateenv): Likewise.
32651         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32652         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32653         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32654         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32656 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32658         [BZ #17806]
32659         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32660         addresses have been freed.
32662 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32664         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32665         and nservall.
32667 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32669         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32670         Clean up check_pf allocation pattern. addresses
32672 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32674         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32675         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32676         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32677         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32678         * nptl/pthread_join.c (pthread_join): Likewise.
32679         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32680         * sysdeps/posix/waitid.c (__waitid): Likewise.
32681         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32682         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32683         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32684         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32685         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32686         Likewise.
32687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32688         (__libc_pread64): Likewise.
32689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32690         (__libc_pwrite): Likewise.
32691         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32692         (__libc_pwrite64): Likewsie.
32693         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32694         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32695         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32696         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32697         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32698         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32699         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32701         Likewise.
32702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32703         (__libc_pread64): Likewise.
32704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32705         Likewise.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32707         (__libc_pwrite64): Likewise.
32708         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32709         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32710         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32711         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32712         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32713         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32714         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32715         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32716         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32717         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32718         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32719         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32720         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32721         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32722         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32723         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32724         Likewise.
32726 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32728         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32729         (CFLAGS-test-double.c): Likewise.
32730         (CFLAGS-test-ldouble.c): Likewise.
32731         (CPPFLAGS-test-ifloat.c): Likewise.
32732         (CPPFLAGS-test-idouble.c): Likewise.
32733         (CPPFLAGS-test-ildoubl.c): Likewise.
32734         (CFLAGS-test-test-fenv.c): Remove variable.
32735         (CFLAGS-test-misc.c): Likewise.
32737 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32739         [BZ #17797]
32740         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32741         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32742         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32743         CLOCKS_PER_SEC == 1000000.
32744         * time/clocktest.c (main): Replace %ld with %jd and cast to
32745         intmax_t.
32747 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32749         * sysdeps/generic/unwind-resume.h: New file.
32750         * sysdeps/gnu/unwind-resume.c: Include it.
32751         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32752         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32753         argument list.
32754         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32755         global rather than static.
32756         (_Unwind_Resume): Update user.
32757         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32758         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32759         rather than static.  Add __attribute__ ((cold)).
32760         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32761         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32762         * sysdeps/arm/arm-unwind-resume.S: New file.
32763         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32764         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32765         * sysdeps/arm/Makefile [$(subdir) = csu]
32766         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32767         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32768         Add rt-arm-unwind-resume.
32769         [$(subdir) = nptl]
32770         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32771         Add pt-arm-unwind-resume.
32772         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32773         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32775 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32777         [BZ #17748]
32778         * include/fenv.h (__feholdexcept): Declare.  Use
32779         libm_hidden_proto.
32780         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32781         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32782         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32783         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32784         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32785         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32786         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32787         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32788         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32789         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32790         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32791         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32792         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32793         (feholdexcept): Likewise.
32794         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32795         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32796         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32797         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32798         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32799         __feholdexcept instead of feholdexcept.
32800         (default_libc_feholdexcept_setround): Likewise.
32802 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32804         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32805         to avoid using stl/str to align destination.
32807 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32809         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32811 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32813         [BZ #17796]
32814         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32815         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32816         Define as weak alias not strong alias.
32818 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32820         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32821         bltzal with addiupc.
32822         (RTLD_START): Ditto.
32824 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32826         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32827         for __vdso_* functions in declarations.
32828         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32829         definitions.
32830         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32831         INTERNAL_VSYSCALL): Use struct return types to check for error.
32833         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32834         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32835         function with cast from llround().
32836         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32837         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32838         Define.
32840 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32842         [BZ #17793]
32843         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32844         Define as weak alias not strong alias.
32846         [BZ #17635]
32847         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32848         ...
32849         * ctype/ctype-extn.c: ... here.
32850         (__isblank_l): Move to ...
32851         * ctype/ctype-c99_l.c: ... here.  New file.
32852         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32853         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32854         Remove variable.
32855         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32856         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32857         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32858         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32859         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32861         [BZ #17777]
32862         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32863         (posix_fadvise64): Define as weak alias not strong alias.
32864         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32865         (posix_fallocate64): Likewise.
32866         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32867         Remove variable.
32868         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32869         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32870         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32871         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32872         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32874 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32876         [BZ #16191]
32877         * NEWS: Mention bug fix.
32878         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32879         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32880         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32881         (HOST_STACK_END_ADDR): Likewise.
32883 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32885         [BZ #17748]
32886         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32887         * math/fegetround.c (fegetround): Rename to __fegetround and
32888         define as weak alias of __fegetround.  Use libm_hidden_weak.
32889         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32890         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32891         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32892         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32893         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32894         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32895         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32896         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32897         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32898         Undefine after rather than before function definition; use
32899         parentheses around function name in definition.
32900         (__fegetround): Also undefine macro after function definition.
32901         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32902         __fegetround and define as weak alias of __fegetround.  Use
32903         libm_hidden_weak.  Do not undefine as macro.
32904         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32905         Likewise.
32906         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32907         __fegetround and define as weak alias of __fegetround.  Use
32908         libm_hidden_weak.
32909         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32910         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32911         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32912         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32913         __fegetround and define as weak alias of __fegetround.  Use
32914         libm_hidden_weak.
32915         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32916         __fegetround instead of fegetround.
32918         [BZ #17782]
32919         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32920         Condition macro definition on [__USE_MISC].
32922         [BZ #17781]
32923         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32924         (struct sigaction): Change type of sa_flags field to int.
32926         [BZ #17780]
32927         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32928         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32929         __glibc_reserved0.
32931         * nptl/version.c (banner): Use single year in copyright notice.
32933         * NEWS: Update copyright dates.
32934         * catgets/gencat.c (print_version): Likewise.
32935         * csu/version.c (banner): Likewise.
32936         * debug/catchsegv.sh: Likewise.
32937         * debug/pcprofiledump.c (print_version): Likewise.
32938         * debug/xtrace.sh (do_version): Likewise.
32939         * elf/ldconfig.c (print_version): Likewise.
32940         * elf/ldd.bash.in: Likewise.
32941         * elf/pldd.c (print_version): Likewise.
32942         * elf/sotruss.sh: Likewise.
32943         * elf/sprof.c (print_version): Likewise.
32944         * iconv/iconv_prog.c (print_version): Likewise.
32945         * iconv/iconvconfig.c (print_version): Likewise.
32946         * locale/programs/locale.c (print_version): Likewise.
32947         * locale/programs/localedef.c (print_version): Likewise.
32948         * login/programs/pt_chown.c (print_version): Likewise.
32949         * malloc/memusage.sh (do_version): Likewise.
32950         * malloc/memusagestat.c (print_version): Likewise.
32951         * malloc/mtrace.pl: Likewise.
32952         * manual/libc.texinfo: Likewise.
32953         * nptl/version.c (banner): Likewise.
32954         * nscd/nscd.c (print_version): Likewise.
32955         * nss/getent.c (print_version): Likewise.
32956         * nss/makedb.c (print_version): Likewise.
32957         * posix/getconf.c (main): Likewise.
32958         * scripts/test-installation.pl: Likewise.
32959         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32961 2015-01-02  Will Newton  <will.newton@linaro.org>
32963         * sysdeps/arm/armv7/configure: Removed.
32964         * sysdeps/arm/armv7/configure.ac: Likewise.
32966 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32968         * All files with FSF copyright notices: Update copyright dates
32969         using scripts/update-copyrights.
32970         * intl/plural.c: Regenerated.
32971         * locale/programs/charmap-kw.h: Likewise.
32972         * locale/programs/locfile-kw.h: Likewise.
32974 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32976         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32978 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32980         [BZ #17748]
32981         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32982         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32983         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32984         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32985         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32986         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32987         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32988         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32989         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32990         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32991         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32992         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32993         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32994         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32995         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32996         libm_hidden_def.
32997         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32998         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32999         Likewise.
33000         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33001         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33002         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33003         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33004         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
33005         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33006         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33007         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
33008         __fegetenv instead of fegetenv.
33009         (libc_feholdsetround_noex_ctx): Likewise.
33011 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33013         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
33014         (Elf_MIPS_ABIFlags_v0): New structure.
33015         (EF_MIPS_FP64): Define.
33016         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
33017         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
33018         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
33019         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
33020         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
33021         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
33022         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
33023         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
33024         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
33025         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
33026         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
33027         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
33028         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
33029         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
33030         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
33031         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
33032         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
33033         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
33034         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
33035         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
33036         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
33037         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
33038         field.
33039         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
33040         EF_MIPS_FP64.
33041         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33042         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33043         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33044         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33045         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33046         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33047         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33048         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33049         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33050         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33051         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33052         record the current FP ABI extension.
33053         (mips-mode-switch): Define to show if kernel headers support mode
33054         switching.
33055         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33056         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33057         supported SYSV ABI version to 3.
33058         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33059         feature.
33061 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33062             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33064         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33065         path.
33066         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33068 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33070         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33071         __fegetround and redefine to call __fegetround.  Remove condition
33072         on [!__NO_MATH_INLINES].
33073         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33074         function.
33075         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33076         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33077         Remove macro.
33078         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33079         instead of <fenv_libc.h>.
33080         (__llrintl): Call fegetround instead of __fegetround.
33081         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33082         instead of <fenv_libc.h>.
33083         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33084         (__lrintl): Call fegetround instead of __fegetround.
33085         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33086         instead of <fenv_libc.h>.
33087         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33088         (__rintl): Call fegetround instead of __fegetround.
33090 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33092         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33093         arrays.
33095 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33097         [BZ #17775]
33098         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33099         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33100         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33102 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33104         * sysdeps/i386/tls-macros.h: Include <features.h>.
33105         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33106         (TLS_IE): Likewise.
33107         (TLS_LD): Likewise.
33108         (TLS_GD): Likewise.
33109         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33110         define for GCC >= 5.0.
33112 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33114         * math/test-fenv.c (test_single_exception, set_single_exc,
33115         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33116         feexcp_mask_test, feenable_test, fe_single_test): Add
33117         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33118         case where they are not used.
33119         * math/libm-test.inc: Likewise.
33120         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33121         unused in the absence of FP rounding/exception support.
33122         * stdio-common/tst-printf-round.c: Likewise.
33123         * stdlib/tst-strtod-round.c: Likewise.
33124         * stdlib/tst-strtod-underflow.c: Likewise.
33126 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33128         [BZ #17723]
33129         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33130         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33131         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33132         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33133         libm_hidden_weak.
33134         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33135         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33136         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33137         libm_hidden_def.
33138         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33139         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33140         libm_hidden_weak.
33141         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33142         Likewise.
33143         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33144         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33145         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33146         libm_hidden_weak.
33147         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33148         libm_hidden_def.
33149         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33150         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33151         (__feraiseexcept): Likewise.
33152         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33153         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33154         libm_hidden_weak.
33155         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33156         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33157         libm_hidden_def.
33158         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33159         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33160         Use libm_hidden_def.
33161         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33162         libm_hidden_def.
33163         (feraiseexcept): Define as weak not strong alias.  Use
33164         libm_hidden_weak.
33165         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33166         New inline function.  Factored out of ...
33167         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33168         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33169         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33170         feraiseexcept.
33171         * math/w_acos.c (__acos): Likewise.
33172         * math/w_asin.c (__asin): Likewise.
33173         * math/w_ilogb.c (__ilogb): Likewise.
33174         * math/w_j0.c (y0): Likewise.
33175         * math/w_j1.c (y1): Likewise.
33176         * math/w_jn.c (yn): Likewise.
33177         * math/w_log.c (__log): Likewise.
33178         * math/w_log10.c (__log10): Likewise.
33179         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33180         * sysdeps/aarch64/fpu/math_private.h
33181         (libc_feupdateenv_test_aarch64): Likewise.
33182         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33183         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33184         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33185         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33186         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33187         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33188         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33189         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33190         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33191         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33193 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33195         [BZ #17732]
33196         * io/test-utime.c (main): Replace %ld with %jd and cast to
33197         intmax_t.
33198         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33199         * nptl/tst-mutex5.c: Include <stdint.h>.
33200         (do_test): Replace %ld with %jd and cast to intmax_t.
33201         * posix/tst-regex.c (run_test): Likewise.
33202         (run_test_backwards): Likewise.
33203         * rt/tst-clock.c: Include <stdint.h>.
33204         (clock_test): Replace %ld with %jd and cast to intmax_t.
33205         * rt/tst-cpuclock1.c: Include <stdint.h>.
33206         (do_test): Replace %lu with %ju and cast to uintmax_t.
33207         * rt/tst-cpuclock2.c: Include <stdint.h>.
33208         (do_test): Replace %lu with %ju and cast to uintmax_t.
33209         * rt/tst-mqueue1.c: Include <stdint.h>.
33210         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33211         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33212         intmax_t.
33213         * rt/tst-mqueue4.c (do_test): Likewise.
33214         * rt/tst-timer4.c: Include <stdint.h>.
33215         (check_ts): Replace %ld with %jd and cast to intmax_t.
33216         (do_test): Likewise.
33217         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33218         and cast to intmax_t.
33219         * sysdeps/pthread/tst-timer.c (main): Likewise.
33220         * time/clocktest.c (main): Likewise.
33221         * time/tst-posixtz.c (do_test): Likewise.
33222         * timezone/tst-timezone.c (main): Likewise.
33224 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33225             H.J. Lu  <hongjiu.lu@intel.com>
33227         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33228         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33229         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33230         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33231         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33232         version if bit_Fast_Unaligned_Load is set.
33233         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33234         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33235         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33236         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33237         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33238         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33240         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33241         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33242         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33243         to 4.
33244         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33245         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33246         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33247         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33249 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33251         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33252         instead of #if to avoid a Wundef warning.
33253         * stdlib/tst-limits.c (do_test): Likewise.
33255         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33256         parallel other exception macros.
33257         (fegetenv): Convert from macro to extern inline so that it applies
33258         retroactively to inline functions already seen by the compiler.
33259         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33261         * posix/Makefile (before-compile): Use $(objpfx) for
33262         posix-conf-vars-def.h.
33264 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33266         * posix/getconf.c (main): Use size_t for type of I.
33267         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33268         NSPEC.
33270         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33271         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33272         * posix/posix-envs.def: Likewise.
33273         * sysdeps/posix/sysconf.c: Likewise.
33274         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33275         (specs): Remove array.
33276         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33277         array.
33279         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33280         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33281         (__sysconf): Use CONF_IS_* macros.
33283         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33284         ($(objpfx)posix-conf-vars-def.h): New target.
33285         * posix/posix-conf-vars.list: New file.
33286         * posix/posix-conf-vars.h: New file.
33287         * posix/confstr.c: Include posix-conf-vars.h.
33288         (confstr): Use CONF_IS_* macros.
33289         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33290         CONF_IS_* macros.
33291         * scripts/gen-posix-conf-vars.awk: New file.
33293 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33295         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33296         fegetround): Add no-op macros to avoid linknamespace issues.
33298         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33299         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33301         * sysdeps/unix/sysv/linux/tile/sysdep.h
33302         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33303         assembly-specific section to avoid a redefinition warning.
33305         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33306         long before casting to pointer to avoid a cast warning.
33308 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33310         * sysdeps/tile/tilegx/Implies: New file.
33312 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33314         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33316 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33318         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33320 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33323         not define.
33324         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33325         <kernel-features.h>.
33326         (__utimes) [__NR_utimes]: Make code unconditional.
33327         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33328         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33329         (__ASSUME_UTIMES): Do not undefine.
33330         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33331         (__ASSUME_UTIMES): Likewise.
33332         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33333         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33334         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33335         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33337 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33339         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33341 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33343         [BZ #17747]
33344         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33345         alias to weak alias for j0l, y0l.
33346         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33347         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33349         [BZ #17746]
33350         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33351         conversion.
33353 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33355         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33356         to zero if not already defined.
33358 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33360         [BZ #17724]
33361         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33362         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33363         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33364         (char *) casts added.
33365         * sysdeps/ieee754/k_standardf.c: New file.
33366         * sysdeps/ieee754/k_standardl.c: Likewise.
33367         * math/Makefile (libm-support): Remove k_standard.
33368         (libm-calls): Add k_standard.
33370 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33372         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33373         Optimize to avoid an unnecessary FPCR read.
33375 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33377         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33378         Optimize to reduce FPCR/FPSR accesses.
33380 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33382         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
33383         Call libc_fetestexcept_aarch64.
33385 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33387         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
33388         Call libc_fesetround_aarch64.
33390 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33392         [BZ #17733]
33393         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
33394         (__bind): Do not define as weak alias.
33395         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
33396         define.
33397         (__getsockname): Do not define as weak alias.
33399 2014-12-22  Will Newton  <will.newton@linaro.org>
33401         * manual/install.texi: Document that we require bison 2.7
33402         or above.
33403         * INSTALL: Regenerate.
33404         * configure.ac: Use AC_CHECK_PROG_VER instead of
33405         AC_PATH_PROG when checking for bison and check for
33406         version 2.7 or above.
33407         * configure: Regenerate.
33409 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
33411         [BZ #17745]
33412         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33413         * sysdeps/tile/ffsll.c (ffsll): To here.
33415         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
33417 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33419         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
33420         if not defined.
33421         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
33422         definition.
33423         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33424         hidden ___tls_get_addr.
33425         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33426         hidden __tls_get_addr.
33427         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
33428         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
33429         Likewise.
33431 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33433         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
33434         _dl_init call.
33436 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33438         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
33439         from "call _dl_init@PLT".
33440         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33442 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
33444         * manual/search.texi: (Array Sort Function): Clarify stable sorting
33445         guarantees.
33447 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
33449         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
33451 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33453         [BZ #17744]
33454         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
33455         strnlen.
33457 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33459         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33460         of multu on MIPSr6.
33461         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33462         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33463         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33464         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33465         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33467 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33469         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33470         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33471         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33472         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33473         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33474         mips32r6/mips64r6.
33475         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33477 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33479         * string/strncat.c (STRNCAT): Simplify implementation.
33481 2014-12-19  David S. Miller  <davem@davemloft.net>
33483         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33484         access the quad as both a long double and as a series of 4 words.
33486         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33487         link_map->l_info array access.
33489 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33491         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33493         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33494         * math/atest-exp2.c (TIMEOUT): Likewise.
33495         * math/atest-sincos.c (TIMEOUT): Likewise.
33497 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33499         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33500         -Wno-error with -fno-builtin-lround.
33502 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33504         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33505         Contains futex constants and functions moved over from ...
33506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33507         <lowlevellock-futex.h>.
33508         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33509         (lll_timedwait_tid): Add comments and parentheses around macro
33510         arguments.
33512 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33514         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33515         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33516         (__lll_private_flag): Remove.
33517         (lll_futex_wait): Likewise.
33518         (lll_futex_timed_wait): Likewise.
33519         (lll_futex_wake): Likewise.
33520         (lll_futex_requeue): Likewise.
33521         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33522         (__lll_timedwait_tid): Spell out argument names.
33523         (lll_timedwait_tid): Add comments and parentheses around macro
33524         arguments.
33525         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33526         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33528 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33530         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33531         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33532         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33533         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33534         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33535         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33536         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33537         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33538         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33539         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33540         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33541         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33542         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33543         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33544         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33545         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33546         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33547         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33548         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33550 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33552         * sysdeps/x86_64/x32/Makefile: New file.
33554 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33556         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33557         1L with (mp_limb_t) 1.
33559 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33561         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33562         * nptl/libc_pthread_init.c: ... here.
33563         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33564         * nptl/register-atfork.c: ... here.
33566         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33567         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33568         Use assert_perror to check its return value.
33569         (__gai_create_helper_thread): Likewise.
33571         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33573         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33575 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33577         [BZ #17725]
33578         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33579         __profil_counter.
33580         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33581         Likewise.
33582         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33583         Likewise.
33584         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33585         Likewise.
33586         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33587         (profil_counter): Likewise.
33588         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33589         (profil_counter): Likewise.
33590         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33591         Likewise.
33592         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33593         Likewise.
33594         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33595         (profil_counter): Likewise.
33596         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33597         Likewise.
33598         [!__profil_counter] (profil_counter): Define as weak alias of
33599         __profil_counter.
33600         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33601         (profil_counter): Rename to __profil_counter.
33602         [!__profil_counter] (profil_counter): Define as weak alias of
33603         __profil_counter.
33604         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33605         (profil_counter): Rename to __profil_counter.
33606         [!__profil_counter] (profil_counter): Define as weak alias of
33607         __profil_counter.
33608         * sysdeps/posix/profil.c: Update comment referring to
33609         profil_counter.
33610         (__profil): Use __profil_counter instead of profil_counter.
33611         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33612         __profil_counter.  Use __profil_counter_ushort and
33613         __profil_counter_uint in definitions.
33614         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33615         instead of profil_counter_uint and profil_counter_ushort.
33617         [BZ #17722]
33618         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33619         define as weak alias of __inet_makeaddr.
33620         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33621         as weak alias of __inet_addr.
33622         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33623         as weak alias of __inet_pton.  Use libc_hidden_weak.
33624         * include/arpa/inet.h (__inet_pton): Declare.  Use
33625         libc_hidden_proto.
33626         (inet_makeaddr): Don't use libc_hidden_proto.
33627         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33628         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33629         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33630         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33631         Remove variable.
33632         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33633         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33635 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33637         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33639 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33641         * stdio-common/bug-vfprintf-nargs.c (do_test):
33642         Cast value to intptr_t to avoid format warning
33643         for usage with PRIdPTR printing macro.
33645 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33647         * libio/tst-widetext.c (do_test):
33648         Use format type %td instead of %Zd for ptrdiff_t
33649         in order to avoid format warning.
33651 2014-12-17  Andreas Schwab  <schwab@suse.de>
33653         * nscd/mem.c (gc): Add size_t cast to match printf format.
33655 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33657         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33658         (init): Apply PTR_MANGLE to pointers before storing them.
33659         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33660         before using them.
33662 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33664         [BZ #17719]
33665         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33666         define as weak alias of __memrchr.
33667         (__memrchr): Do not define as strong alias of memrchr.
33668         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33669         Remove variable.
33670         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33671         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33672         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33674         [BZ #17717]
33675         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33676         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33677         (if_indextoname): Rename to __if_indextoname and define as weak
33678         alias of __if_indextoname.  Use libc_hidden_weak.
33679         (if_freenameindex): Rename to __if_freenameindex and define as
33680         weak alias of __if_freenameindex.
33681         (if_nameindex): Rename to __if_nameindex and define as weak alias
33682         of __if_nameindex.
33683         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33684         __if_nametoindex and define as weak alias of __if_nametoindex.
33685         Use libc_hidden_weak.
33686         (if_freenameindex): Rename to __if_freenameindex and define as
33687         weak alias of __if_freenameindex.
33688         (if_nameindex): Rename to __if_nameindex and define as weak alias
33689         of __if_nameindex.
33690         (if_indextoname): Rename to __if_indextoname and define as weak
33691         alias of __if_indextoname.  Use libc_hidden_weak.
33692         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33693         __if_nametoindex and define as weak alias of __if_nametoindex.
33694         Use libc_hidden_weak.
33695         (if_freenameindex): Rename to __if_freenameindex and define as
33696         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33697         (if_nameindex_netlink): Use __if_freenameindex instead of
33698         if_freenameindex.
33699         (if_nameindex): Rename to __if_nameindex and define as weak alias
33700         of __if_nameindex.  Use libc_hidden_weak.
33701         (if_indextoname): Rename to __if_indextoname and define as weak
33702         alias of __if_indextoname.  Use libc_hidden_weak.
33703         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33704         libc_hidden_proto.
33705         [!_ISOMAC] (__if_freenameindex): Likewise.
33706         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33707         if_nametoindex.
33708         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33709         variable.
33710         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33711         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33712         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33713         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33714         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33715         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33716         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33718         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33719         Remove variable.
33720         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33721         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33723 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33725         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33726         subscript above bounds'
33728         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33729         bounds.
33731 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33733         * libio/tst-fopenloc.c: Use test-skeleton.c.
33735         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33736         (entry): Rename to ITEM.
33737         (do_test, comp): Adjust.
33739         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33741 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33743         * string/tester.c: Include <libc-internal.h>.
33744         (test_memset): Ignore -Wmemset-transposed-args.
33746 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33748         * misc/tst-mntent2.c (do_test): Fix warning.
33750 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33752         * elf/tst-unique4lib.cc(a): Mark as used.
33754 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33756         [BZ #17630]
33757         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33758         names.
33760 2014-12-16  Allan McRae  <allan@archlinux.org>
33762         * stdio-common/Makefile (tests): Re-add bug26.
33764 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33766         [BZ #17657]
33767         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33768         static array.
33770 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33772         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33773         (__lll_lock_wait): Likewise.
33774         (__lll_timedlock_wait): Likewise.
33775         (__lll_timedwait_tid): Likewise.
33776         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33777         (__lll_robust_timedlock_wait): Likewise.
33778         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33779         (lll_cond_trylock): Likewise.
33780         (__lll_lock): Likewise.
33781         (__lll_robust_lock): Likewise.
33782         (__lll_cond_lock): Likewise.
33783         (lll_robust_cond_lock): Likewise.
33784         (__lll_timedlock): Likewise.
33785         (__lll_robust_timedlock): Likewise.
33786         (__lll_unlock): Likewise.
33787         (__lll_robust_unlock): Likewise.
33788         (lll_wait_tid): Likewise.
33789         (lll_timedwait_tid): Likewise.
33791 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33793         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33795 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33797         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33799 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33801         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33802         * stdio-common/tst-sprintf.c: Likewise.
33804 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33806         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33808 2014-12-15  Jeff Law  <law@redhat.com>
33810         [BZ #16617]
33811         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33812         on the heap.  (CVE-2012-3406)
33813         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33814         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33815         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33817 2014-12-15  Will Newton  <will.newton@linaro.org>
33819         * manual/install.texi: Bump required version of texinfo
33820         to 4.7 from 4.5.
33821         * INSTALL: Regenerated.
33822         * configure.ac: Check for makeinfo version 4.7 and above.
33823         * configure: Regenerated.
33825 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33827         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33828         PREFIX, string constant to insert between directory and name.
33829         * sysdeps/posix/shm_open.c: Update caller.
33830         * sysdeps/posix/shm_unlink.c: Likewise.
33831         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33832         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33833         (SEM_SHM_PREFIX): New macro.
33834         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33835         [$(have-thread-library) = no].
33836         * nptl/Makefile (libpthread-routines): Add shm-directory.
33837         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33838         * sysdeps/nptl/shm-directory.h: New file.
33839         * sysdeps/posix/shm-directory.c
33840         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33841         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33842         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33843         INTERNAL_SYSCALL.
33844         (__where_is_shmfs): Function removed.
33845         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33846         Variables removed.
33847         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33848         Use SHM_GET_NAME.
33849         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33851         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33852         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33853         unconditional for use inside libpthread.
33854         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33856 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33858         * nptl/pthread_getaffinity.c: New file.
33859         * nptl/pthread_setaffinity.c: New file.
33860         * nptl/pthread_getname.c: New file.
33861         * nptl/pthread_setname.c: New file.
33863         * nptl/pthread_create.c (START_THREAD_DEFN)
33864         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33866 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33867             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33869         * resolv/res_send.c (send_vc): Disable warning resplen may
33870         be used uninitialized.
33872 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33874         * nptl/tst-mutex6.c
33875         (ATTR_NULL): New define checks ATTR against NULL.
33876         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33877         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33879 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33881         [BZ #17581]
33882         * malloc/hooks.c
33883         (mem2mem_check): Revert my previous change.
33884         (malloc_check_get_size): Revert my previous change.
33885         (mem2chunk_check): Revert my previous change.
33887 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33889         * sysdeps/posix/shm-directory.c: New file.
33890         * sysdeps/posix/shm-directory.h: New file.
33891         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33892         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33893         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33894         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33895         Transmute EPERM to EACCES.
33896         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33897         from ...
33898         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33899         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33901 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33903         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33904         pointer and cast to uintptr_t.
33905         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33906         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33907         Add cast to avoid warning.
33908         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33910 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33912         * nptl/semaphore.h: Move to ...
33913         * sysdeps/pthread/semaphore.h: ... here.
33914         * Makefile (installed-headers): Change nptl/semaphore.h to
33915         sysdeps/pthread/semaphore.h.
33917 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33919         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33920         generated error format strings.
33922         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33923         -Wformat-extra-args warnings for scanf formats.
33924         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33925         test of zero-length format (duh).
33926         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33927         corner-case scanf format test.
33928         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33929         generated fprintf format string.
33930         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33931         corner-case sprintf format tests.
33932         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33933         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33934         -Wformat-extra-args warnings throughout.
33935         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33936         (CFLAGS-scanf4.c): Likewise.
33937         (CFLAGS-scanf7.c): Likewise.
33938         (CFLAGS-tst-sprintf.c): Likewise.
33939         (CFLAGS-tst-printf.c): Likewise.
33940         (CFLAGS-tst-printfsz.c): Likewise.
33942 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33944         * include/cpio.h: New file.
33945         * include/fmtmsg.h: Likewise.
33947         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33948         corresponding format argument to size_t.
33949         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33950         arguments.
33951         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33952         corresponding format argument to size_t.
33953         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33954         arguments.
33955         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33956         corresponding format argument to size_t.
33957         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33958         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33959         (CFLAGS-tst-mbswcs2.c): Likewise.
33960         (CFLAGS-tst-mbswcs3.c): Likewise.
33961         (CFLAGS-tst-mbswcs4.c): Likewise.
33962         (CFLAGS-tst-mbswcs5.c): Likewise.
33963         (CFLAGS-tst-trans.c): Likewise.
33965 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33967         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33968         rather than assuming they won't contain any '%'s.
33970 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33972         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33973         inhibit_loop_to_libcall to avoid recursive calls.
33974         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33975         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33977 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33979         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33980         prototype.
33982 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33984         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33985         integer value instead of boolean.
33987 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33989         * malloc/malloc.c: Fix powerof2 check.
33991 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33993         * locale/programs/locfile.h (maybe_swap_uint32):
33994         Remove inline and add unused attribute.
33996 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33998         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33999         Truncating assembler expression to a .long expression.
34001 2014-12-11  Andreas Schwab  <schwab@suse.de>
34003         * elf/rtld.c (struct map_args): Constify str member.
34004         (do_preload): Constify fname argument.
34006 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
34009         constants definition.
34011 2014-12-11  Andreas Schwab  <schwab@suse.de>
34013         [BZ #16657]
34014         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
34015         FORCE_ELISION instead of DO_ELISION.
34016         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
34017         Remove.
34018         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
34019         Likewise.
34021         * iconvdata/gconv-modules: Remove duplicate entry.
34023 2014-12-11  Will Newton  <will.newton@linaro.org>
34025         Merge gettext 0.19.3 into intl/.
34027         This involves a number of cosmetic changes to comments
34028         and ANSI function definitions and prototypes throughout
34029         all the files. The gettext copyright header is used but
34030         with the date ranges taken from the glibc copy.
34032         * NEWS: Add gettext merge to 2.21.
34033         * intl/bindtextdom.c: Switch to gettext copyright.
34034         Use ANSI definitions and prototypes.
34035         Use gl_* locking primitives rather than __libc_* ones.
34036         Use __builtin_expect rather than __glibc_likely/unlikely.
34037         * intl/dcgettext.c: Switch to gettext copyright.
34038         Use ANSI definitions and prototypes.
34039         * intl/dcigettext.c: Switch to gettext copyright.
34040         Use ANSI definitions and prototypes.
34041         (INTDIV0_RAISES_SIGFPE): New define.
34042         Use gl_* locking primitives rather than __libc_* ones.
34043         Include eval-plural.h instead of plural-eval.c.
34044         Use __builtin_expect rather than __glibc_likely/unlikely.
34045         * intl/dcngettext.c: Switch to gettext copyright.
34046         Use ANSI definitions and prototypes.
34047         * intl/dgettext.c: Likewise.
34048         * intl/dngettext.c: Likewise.
34049         * intl/plural-eval.c: Renamed to...
34050         * intl/eval-plural.h: ...this.
34051         * intl/explodename.c: Switch to gettext copyright.
34052         Use ANSI definitions and prototypes.
34053         (_nl_explode_name): Use strchr instead of __rawmemchr.
34054         * intl/finddomain.c: Switch to gettext copyright.
34055         Use ANSI definitions and prototypes.
34056         Use gl_* locking primitives rather than __libc_* ones.
34057         (_nl_find_domain): Use malloc rather than alloca for
34058         allocation of temporary locale name.
34059         * intl/gettext.c: Switch to gettext copyright.
34060         Use ANSI definitions and prototypes.
34061         * intl/gettextP.h: Switch to gettext copyright.
34062         Use ANSI definitions and prototypes.
34063         Use gl_* locking primitives rather than __libc_* ones.
34064         * intl/gmo.h: Switch to gettext copyright.
34065         (struct sysdep_string): Move struct segment_pair outside of
34066         struct definition.
34067         * intl/hash-string.c: Use ANSI definitions and prototypes.
34068         * intl/hash-string.h: Switch to gettext copyright.
34069         Use ANSI definitions and prototypes.
34070         * intl/l10nflist.c: Switch to gettext copyright.
34071         Use ANSI definitions and prototypes.
34072         (_nl_normalize_codeset): Avoid integer overflow.
34073         * intl/loadinfo.h: Switch to gettext copyright.
34074         Use ANSI definitions and prototypes.
34075         (LIBINTL_DLL_EXPORTED): New define.
34076         (PATH_SEPARATOR): New define.
34077         * intl/loadmsgcat.c: Switch to gettext copyright.
34078         * intl/localealias.c: Switch to gettext copyright.
34079         Use ANSI definitions and prototypes.
34080         (_nl_expand_alias): Use PATH_SEPARATOR.
34081         * intl/ngettext.c: Switch to gettext copyright.
34082         Use ANSI definitions and prototypes.
34083         * intl/plural-exp.c: Likewise.
34084         * intl/plural-exp.h: Switch to gettext copyright.
34085         Use ANSI definitions and prototypes.
34086         (struct expression): Move definition of enum operator outside
34087         of struct definition.
34088         * intl/plural.c: Regenerate.
34089         * intl/plural.y: Switch to gettext copyright.
34090         Use ANSI definitions and prototypes.
34091         Port to bison 3.0.
34092         * intl/textdomain.c: Switch to gettext copyright.
34093         Use ANSI definitions and prototypes.
34094         Use gl_* locking primitives rather than __libc_* ones.
34096 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34098         * debug/warning-nop.c: Add used atrribute.
34100 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34102         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34104         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34105         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34106         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34108 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34109             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34111         [BZ #17634]
34112         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34113         Undefine after defining function.  Define as weak alias of
34114         __wcschr.  Use libc_hidden_weak.
34115         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34116         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34117         (libc_hidden_def): Also define __GI___wcschr alias.
34118         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34119         __wcschr and define as weak alias of __wcschr.
34120         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34121         __wcschr.
34122         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34123         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34124         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34125         libc_hidden_weak.  Do not use libc_hidden_def.
34126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34127         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34128         __GI___wcschr alias.
34129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34130         [IS_IN (libc)] (wcschr): Define as macro expanding to
34131         __redirect_wcschr.
34132         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34133         [IS_IN (libc)] (__wcschr_power6): Likewise.
34134         [IS_IN (libc)] (__wcschr_power7): Likewise.
34135         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34136         instead of wcschr.
34137         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34138         __libc_wcschr.
34139         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34140         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34141         __wcschr and define as weak alias of __wcschr.  Use
34142         libc_hidden_builtin_def.
34143         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34144         as weak alias of __wcschr.  Use libc_hidden_weak.
34145         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34146         wcschr.
34147         * time/era.c (_nl_init_era_entries): Likewise.
34148         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34149         variable.
34150         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34151         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34153 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34155         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34156         format for long int variable.
34158 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34160         [BZ #10672]
34161         * manual/search.texi: (Array Sort Function): Remove claim how to make
34162         qsort stable.
34164 2014-12-10  Andreas Schwab  <schwab@suse.de>
34166         [BZ #12847]
34167         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34168         user-controlled locks.
34170 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34172         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34173         register.
34175 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34177         * configure.ac (--disable-werror): New configure option.
34178         (enable_werror): New AC_SUBST.
34179         * configure: Regenerated.
34180         * config.make.in (enable-werror): New variable.
34181         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34182         -Wno-error=undef.
34183         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34184         * manual/install.texi (Configuring and compiling): Document
34185         --disable-werror.
34186         * INSTALL: Regenerated.
34187         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34188         (CFLAGS-tst-chk2.c): Likewise.
34189         (CFLAGS-tst-chk3.c): Likewise.
34190         (CFLAGS-tst-chk4.cc): Likewise.
34191         (CFLAGS-tst-chk5.cc): Likewise.
34192         (CFLAGS-tst-chk6.cc): Likewise.
34193         (CFLAGS-tst-lfschk1.c): Likewise.
34194         (CFLAGS-tst-lfschk2.c): Likewise.
34195         (CFLAGS-tst-lfschk3.c): Likewise.
34196         (CFLAGS-tst-lfschk4.cc): Likewise.
34197         (CFLAGS-tst-lfschk5.cc): Likewise.
34198         (CFLAGS-tst-lfschk6.cc): Likewise.
34200         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34201         (main): Disable -Wdeprecated-declarations around calls to
34202         register_printf_function.
34204         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34205         (do_test): Disable -Wdiv-by-zero around some calls to
34206         fwrite_unlocked and fread_unlocked.
34208         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34209         (DIAG_POP_NEEDS_COMMENT): Likewise.
34210         (_DIAG_STR1): Likewise.
34211         (_DIAG_STR): Likewise.
34212         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34213         * stdio-common/bug21.c: Include <libc-internal.h>.
34214         (do_test): Disable -Wformat around call to sscanf.
34215         * stdio-common/scanf14.c: Include <libc-internal.h>.
34216         (main): Disable -Wformat around some calls to scanf functions.
34218 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34220         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34222 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34224         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34225         stack variable alignment.
34227 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34229         [BZ #17682]
34230         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34231         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34232         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34233         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34234         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34235         __getrlimit instead of getrlimit.
34236         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34237         __gettimeofday instead of gettimeofday.
34238         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34239         Likewise.
34240         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34241         Likewise.
34242         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34243         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34244         Remove variable.
34245         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34246         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34248 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34250         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34251         for wide-character tests.
34253 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34255         * io/openat64.c: #include <libc-internal.h>
34256         (__openat64): Prototypify.  Use ignore_value on MODE.
34257         * io/openat.c: Likewise.
34258         * misc/reboot.c: #include <libc-internal.h>
34259         (reboot): Prototypify.  Use ignore_value on HOWTO.
34260         * misc/ptrace.c: #include <libc-internal.h>
34261         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34263 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34265         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34266         XPG4, UNIX98 and XOPEN2K.
34267         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34268         Remove variable.
34269         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34271 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34273         * libio/fileops.c: Use ISO C style for function definitions.
34274         * libio/iofopen.c: Likewise.
34275         * libio/wfileops.c: Likewise.
34277         [BZ #17653]
34278         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34279         offset on EOF.
34280         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34281         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34282         (fgets_func): Function pointer to fgets and fgetws.
34283         (do_ftell_test): Add test to verify ftell value after read
34284         EOF.
34285         (do_test): Set fgets_func.
34287         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34288         O_TRUNC flag for w and w+ modes.
34289         (do_rewind_test): Likewise.
34290         (do_ftell_test): Likewise.
34291         (do_write_test): Likewise.
34293         [BZ #17647]
34294         * libio/fileops.c (do_ftell): Seek only when there are
34295         unflushed writes.
34296         * libio/wfileops.c (do_ftell_wide): Likewise.
34297         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34298         test case.
34299         (do_one_test): Call it.
34301 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34303         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34304         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34305         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34306         Remove variable.
34307         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34308         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34309         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34311 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34313         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34314         Remove variable.
34315         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34317         [BZ #17668]
34318         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34319         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34320         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34321         __freeifaddrs.  Use libc_hidden_weak.
34322         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34323         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34324         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34325         __freeifaddrs.  Use libc_hidden_weak.
34326         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34327         __getifaddrs and define as weak alias of __getifaddrs.  Use
34328         libc_hidden_weak.
34329         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34330         __freeifaddrs.  Use libc_hidden_weak.
34331         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34332         Remove variable.
34333         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34334         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34336 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34338         [BZ #17601]
34339         * sysdeps/mips/start.S (__start): Use indirect jump to call
34340         __libc_start_main.
34342 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34344         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34346         * nptl/tst-mutex1.c: Include <stdbool.h>.
34347         [!ATTR] (ATTR_NULL): New macro.
34348         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34349         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34350         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34352         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34353         to char *.
34355         [BZ #17665]
34356         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34357         Change conditional to [__USE_MISC].
34359         [BZ #17664]
34360         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34361         fgets_unlocked.
34362         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34363         __fgets_unlocked.
34364         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34365         fgets_unlocked.
34366         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34367         Remove variable.
34368         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34369         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34370         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34371         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34372         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34373         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34374         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34375         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34376         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34378         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
34380 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34382         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34383         Remove strpbrk objects.
34384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34385         (__libc_ifunc_impl_list): Remove strpbrk implementation.
34386         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
34387         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
34388         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
34389         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
34391         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34392         Remove strcspn objects.
34393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34394         (__libc_ifunc_impl_list): Remove strcspn implementation.
34395         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
34396         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
34397         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
34398         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
34400         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34401         Remove strspn objetcs.
34402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34403         (__libc_ifunc_impl_list): Remove strspn implementation.
34404         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
34405         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34406         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
34407         * sysdeps/powerpc/powerpc64/strspn.S: New file.
34409 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
34411         [BZ #17581]
34412         * malloc/hooks.c
34413         (mem2mem_check): Add a terminator to the chain of checking blocks.
34414         (malloc_check_get_size): Use it here.
34415         (mem2chunk_check): Ditto.
34417 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34419         * sysdeps/powerpc/powerpc64/strtok.S: New file.
34420         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
34422 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
34424         * bits/ioctl-types.h: Indent preprocessor directives correctly.
34426         * nptl/nptl-init.c: Include libc-internal.h.
34427         (__pthread_initialize_minimal_internal): Use ROUND_UP.
34429         * elf/ldconfig.c (search_dir): Expand comment.
34431 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
34433         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
34434         variable.
34435         (linknamespace-symlist-stdlibs-tests): Likewise.
34436         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
34437         instead of $(objpfx)symlist-stdlibs.
34438         (linknamespace-libs-isoc): New variable.
34439         (linknamespace-libs): Use $(linknamespace-libs-isoc).
34440         (linknamespace-libs-ISO): New variable.
34441         (linknamespace-libs-ISO99): Likewise.
34442         (linknamespace-libs-ISO11): Likewise.
34443         (linknamespace-libs-XPG3): Likewise.
34444         (linknamespace-libs-XPG4): Likewise.
34445         (linknamespace-libs-POSIX): Likewise.
34446         (linknamespace-libs-UNIX98): Likewise.
34447         (linknamespace-libs-XOPEN2K): Likewise.
34448         (linknamespace-libs-POSIX2008): Likewise.
34449         (linknamespace-libs-XOPEN2K8): Likewise.
34450         ($(objpfx)symlist-stdlibs): Replace by
34451         $(linknamespace-symlist-stdlibs-tests).  Use
34452         $(linknamespace-libs-$*) as set of libraries.
34453         ($(linknamespace-header-tests)): Update dependencies.  Use
34454         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
34455         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34456         * conform/linknamespace.pl: Remove comment about considering
34457         definitions of symbols from irrelevant libraries.
34459 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34461         [BZ #13862]
34462         * elf/dl-tls.c: Include <atomic.h>.
34463         (oom): Remove #ifdef SHARED/#endif.
34464         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34465         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34466         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34467         big enough.
34468         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34469         * nptl/Makefile (tests): Add tst-stack4.
34470         (modules-names): Add tst-stack4mod.
34471         ($(objpfx)tst-stack4): New.
34472         (tst-stack4mod.sos): Likewise.
34473         ($(objpfx)tst-stack4.out): Likewise.
34474         ($(tst-stack4mod.sos)): Likewise.
34475         (clean): Likewise.
34476         * nptl/tst-stack4.c: New file.
34477         * nptl/tst-stack4mod.c: Likewise.
34479 2014-11-27  J. Brown  <jb999@gmx.de>
34481         * sysdeps/x86/bits/string.h: Add recent CPUs.
34483 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34485         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34486         sigblock.
34488         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34489         feof.
34491         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34492         variable.
34494 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34496         * nscd/connections.c: Include libc-internal.h because of macro
34497         usage ignore_value.
34499 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34501         * string/bits/string3.h (__warn_memset_zero_len): Don't
34502         declare for gcc newer than 5.0.
34503         (memset): Don't test for zero-length __LEN for gcc newer than
34504         5.0.
34506 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34508         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34509         size_t for %zu format.
34511         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34512         difference, not %ju.
34514 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34516         * include/libc-internal.h (ignore_value): New macro.
34517         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34518         with ignore_value.
34520         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34521         definition.
34523         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34524         pthread_cleanup_push to void *.
34526         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34527         Undefine.
34529         [BZ #16619]
34530         [BZ #16740]
34531         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34532         instead of 1L << 52.
34534         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34535         * libio/bug-rewind2.c (do_test): Likewise.
34537         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34538         * debug/test-strcpy_chk-ifunc.c: Likewise.
34539         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34540         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34541         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34542         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34543         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34544         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34545         * Rules [$(multi-arch) = no] (tests): Do not filter out
34546         $(tests-ifunc).
34547         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34548         * debug/Makefile (tests-ifunc): Remove variable.
34549         (tests): Do not add $(tests-ifunc).
34550         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34551         (tests): Do not add $(tests-ifunc).
34552         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34553         [TEST_IFUNC]: Remove conditionals.
34554         * string/test-string.h (TEST_IFUNC): Remove macro.
34555         [TEST_IFUNC]: Remove conditionals.
34557         * string/test-strchr.c [!WIDE] (L): New macro.
34558         [WIDE] (L): Likewise.
34559         (check1): Use CHAR instead of char.  Use L on string and character
34560         constants.
34562 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34564         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34565         tests.
34566         * sysdeps/powerpc/bits/atomic.h
34567         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34568         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34569         (atomic_exchange_and_add_acq): Likewise.
34570         (atomic_exchange_and_add_rel): Likewise.
34571         * sysdeps/powerpc/powerpc32/bits/atomic.h
34572         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34573         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34574         * sysdeps/powerpc/powerpc64/bits/atomic.h
34575         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34576         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34578 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34580         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34581         Change synchronization of __sched_fifo_min_prio and
34582         __sched_fifo_max_prio.
34583         * nptl/pthread_mutexattr_getprioceiling.c
34584         (pthread_mutexattr_getprioceiling): Likewise.
34585         * nptl/pthread_mutexattr_setprioceiling.c
34586         (pthread_mutexattr_setprioceiling): Likewise.
34587         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34588         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34589         Likewise.
34591 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34593         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34594         void.
34596 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34598         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34599         third argument const.
34601 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34603         fnmatch: work around GCC compiler warning bug with uninit var
34604         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34605         This works around a bug with x86-64 GCC 4.9.2 and earlier
34606         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34607         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34608         used uninitialized in this function [-Wmaybe-uninitialized]".
34610 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34612         * posix/bug-regex31.c (main): Return RES not 0.
34614 2014-11-25  Anton Blanchard <anton@samba.org>
34616         * sysdeps/powerpc/bits/atomic.h
34617         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34619 2014-11-24  Sterling Augustine  <saugustine@google.com>
34621         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34623 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34625         [BZ #17608]
34626         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34628 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34630         [BZ #17633]
34631         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34632         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34633         variable.
34634         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34635         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34637 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34639         * string/strncpy.c (strncpy): Improve performance by using memset.
34641 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34643         * string/strcpy.c (strcpy):
34644         Improve performance by using strlen and memcpy.
34646 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34648         * string/strcoll_l.c (get_next_seq): __always_inline.
34649         * string/strcoll_l.c (do_compare): __always_inline.
34651 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34653         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34654         defined.
34655         * include/mqueue.h: Likewise.
34656         * include/stdlib.h: Likewise.
34658         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34659         (get_null_defines): Adjust.
34660         * sunrpc/Makefile: Adjust comment.
34661         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34662         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34663         (CFLAGS-interp.c): Likewise.
34664         (CFLAGS-ldconfig.c): Likewise.
34665         (CPPFLAGS-.os): Likewise.
34666         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34667         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34668         * extra-modules.mk (extra-modules.mk): Likewise.
34669         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34670         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34671         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34672         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34673         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34674         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34675         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34676         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34677         * iconvdata/Makefile (CPPFLAGS): Likewise.
34678         (cpp-srcs-left): Add libof for all iconvdata routines.
34679         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34680         * include/assert.h: Likewise.
34681         * include/ctype.h: Likewise.
34682         * include/errno.h: Likewise.
34683         * include/libc-symbols.h: Likewise.
34684         * include/math.h: Likewise.
34685         * include/netdb.h: Likewise.
34686         * include/resolv.h: Likewise.
34687         * include/stdio.h: Likewise.
34688         * include/stdlib.h: Likewise.
34689         * include/string.h: Likewise.
34690         * include/sys/stat.h: Likewise.
34691         * include/wctype.h: Likewise.
34692         * intl/l10nflist.c: Likewise.
34693         * libidn/idn-stub.c: Likewise.
34694         * libio/libioP.h: Likewise.
34695         * nptl/libc_multiple_threads.c: Likewise.
34696         * nptl/pthreadP.h: Likewise.
34697         * posix/regex_internal.h: Likewise.
34698         * resolv/res_hconf.c: Likewise.
34699         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34700         * sysdeps/arm/memmove.S: Likewise.
34701         * sysdeps/arm/sysdep.h: Likewise.
34702         * sysdeps/generic/_itoa.h: Likewise.
34703         * sysdeps/generic/symbol-hacks.h: Likewise.
34704         * sysdeps/gnu/errlist.awk: Likewise.
34705         * sysdeps/gnu/errlist.c: Likewise.
34706         * sysdeps/i386/i586/memcpy.S: Likewise.
34707         * sysdeps/i386/i586/memset.S: Likewise.
34708         * sysdeps/i386/i686/memcpy.S: Likewise.
34709         * sysdeps/i386/i686/memmove.S: Likewise.
34710         * sysdeps/i386/i686/mempcpy.S: Likewise.
34711         * sysdeps/i386/i686/memset.S: Likewise.
34712         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34713         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34714         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34715         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34716         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34717         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34718         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34719         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34720         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34721         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34722         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34723         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34724         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34725         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34726         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34727         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34728         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34729         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34730         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34731         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34732         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34733         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34734         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34735         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34736         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34737         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34738         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34739         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34740         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34741         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34742         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34743         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34744         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34745         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34746         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34748         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34749         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34750         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34751         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34752         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34753         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34754         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34755         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34756         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34757         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34758         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34759         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34760         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34761         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34762         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34763         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34764         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34765         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34766         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34767         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34768         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34769         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34770         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34771         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34772         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34773         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34774         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34775         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34776         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34777         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34778         * sysdeps/posix/closedir.c: Likewise.
34779         * sysdeps/posix/opendir.c: Likewise.
34780         * sysdeps/posix/readdir.c: Likewise.
34781         * sysdeps/posix/rewinddir.c: Likewise.
34782         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34783         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34784         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34785         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34786         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34787         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34788         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34789         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34790         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34793         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34794         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34795         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34796         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34797         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34798         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34799         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34800         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34801         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34802         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34803         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34804         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34805         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34806         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34807         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34808         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34809         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34810         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34817         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34818         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34819         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34820         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34821         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34822         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34823         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34824         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34825         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34826         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34827         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34828         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34829         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34830         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34831         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34832         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34833         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34835         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34836         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34837         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34838         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34839         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34840         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34841         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34842         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34843         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34844         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34845         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34846         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34847         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34848         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34849         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34850         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34851         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34852         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34853         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34854         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34855         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34856         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34857         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34858         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34859         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34860         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34861         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34862         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34863         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34864         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34865         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34866         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34867         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34868         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34869         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34870         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34871         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34872         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34873         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34874         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34875         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34876         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34877         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34878         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34880         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34881         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34882         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34883         * sysdeps/unix/alpha/sysdep.S: Likewise.
34884         * sysdeps/unix/alpha/sysdep.h: Likewise.
34885         * sysdeps/unix/make-syscalls.sh: Likewise.
34886         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34888         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34889         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34890         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34891         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34892         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34893         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34894         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34895         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34896         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34897         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34898         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34899         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34900         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34901         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34902         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34903         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34904         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34905         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34906         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34907         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34908         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34909         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34910         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34911         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34912         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34915         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34916         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34919         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34920         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34921         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34922         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34923         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34924         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34925         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34926         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34927         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34928         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34929         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34930         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34932         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34933         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34934         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34935         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34936         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34937         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34938         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34939         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34940         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34941         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34942         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34944         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34945         * sysdeps/x86_64/memcpy.S: Likewise.
34946         * sysdeps/x86_64/memmove.c: Likewise.
34947         * sysdeps/x86_64/memset.S: Likewise.
34948         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34949         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34950         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34951         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34952         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34953         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34954         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34955         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34956         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34957         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34958         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34959         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34960         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34961         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34962         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34963         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34964         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34965         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34966         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34967         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34968         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34969         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34970         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34971         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34972         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34973         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34974         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34975         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34976         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34977         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34978         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34979         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34980         * sysdeps/x86_64/strcmp.S: Likewise.
34982         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34984         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34985         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34986         * elf/rtld-Rules: Likewise.
34987         * elf/setup-vdso.h: Likewise.
34988         * include/assert.h: Likewise.
34989         * include/bits/stdlib-float.h: Likewise.
34990         * include/errno.h: Likewise.
34991         * include/sys/stat.h: Likewise.
34992         * include/unistd.h: Likewise.
34993         * sysdeps/aarch64/setjmp.S: Likewise.
34994         * sysdeps/alpha/setjmp.S: Likewise.
34995         * sysdeps/arm/__longjmp.S: Likewise.
34996         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34997         * sysdeps/arm/setjmp.S: Likewise.
34998         * sysdeps/arm/sysdep.h: Likewise.
34999         * sysdeps/generic/_itoa.h: Likewise.
35000         * sysdeps/generic/dl-sysdep.h: Likewise.
35001         * sysdeps/generic/ldsodefs.h: Likewise.
35002         * sysdeps/i386/dl-tls.h: Likewise.
35003         * sysdeps/i386/setjmp.S: Likewise.
35004         * sysdeps/m68k/setjmp.c: Likewise.
35005         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
35006         * sysdeps/mach/hurd/opendir.c: Likewise.
35007         * sysdeps/posix/getcwd.c: Likewise.
35008         * sysdeps/posix/opendir.c: Likewise.
35009         * sysdeps/posix/profil.c: Likewise.
35010         * sysdeps/powerpc/dl-procinfo.h: Likewise.
35011         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35012         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35013         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35014         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35015         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
35016         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35017         * sysdeps/s390/dl-tls.h: Likewise.
35018         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35019         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35020         * sysdeps/sh/sh3/setjmp.S: Likewise.
35021         * sysdeps/sh/sh4/setjmp.S: Likewise.
35022         * sysdeps/unix/alpha/sysdep.h: Likewise.
35023         * sysdeps/unix/arm/sysdep.S: Likewise.
35024         * sysdeps/unix/i386/sysdep.S: Likewise.
35025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35026         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35027         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35028         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35029         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35030         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35031         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35032         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35033         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35034         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35035         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
35036         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35037         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35040         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35043         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35044         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35048         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35049         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35052         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35053         * sysdeps/x86_64/setjmp.S: Likewise.
35055         * include/math.h: Use IS_IN instead of IS_IN_libm.
35056         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35057         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35058         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35059         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35060         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35061         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35062         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35063         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35065         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35066         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35067         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35068         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35069         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35070         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35071         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35072         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35073         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35074         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35075         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35076         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35077         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35078         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35079         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35080         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35081         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35082         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35083         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35084         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35085         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35086         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35087         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35088         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35090         Likewise.
35091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35092         Likewise.
35093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35094         Likewise.
35095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35096         Likewise.
35097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35098         Likewise.
35099         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35100         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35101         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35102         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35103         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35104         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35110         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35111         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35112         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35113         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35114         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35115         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35116         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35117         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35118         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35119         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35120         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35121         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35122         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35123         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35125         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35127         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35128         * nptl/pthreadP.h: Likewise.
35129         * nptl_db/structs.def: Likewise.
35130         * sysdeps/arm/sysdep.h: Likewise.
35131         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35132         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35133         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35134         * sysdeps/unix/alpha/sysdep.h: Likewise.
35135         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35137         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35138         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35139         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35140         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35141         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35142         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35143         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35144         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35145         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35146         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35147         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35148         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35153         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35156         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35157         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35158         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35159         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35160         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35162         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35163         * nptl/pthreadP.h: Likewise.
35164         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35165         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35166         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35167         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35168         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35169         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35170         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35171         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35172         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35173         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35174         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35175         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35177         Likewise.
35178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35179         Likewise.
35180         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35181         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35182         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35183         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35185         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35186         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35187         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35189         * dlfcn/dladdr.c: Use IS_IN.
35190         * dlfcn/dladdr1.c: Likewise.
35191         * dlfcn/dlclose.c: Likewise.
35192         * dlfcn/dlerror.c: Likewise.
35193         * dlfcn/dlinfo.c: Likewise.
35194         * dlfcn/dlmopen.c: Likewise.
35195         * dlfcn/dlopen.c: Likewise.
35196         * dlfcn/dlsym.c: Likewise.
35197         * dlfcn/dlvsym.c: Likewise.
35199         * include/ifaddrs.h: Use IS_IN.
35200         * inet/check_pf.c: Likewise.
35201         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35202         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35204         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35205         IS_IN_ldconfig.
35206         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35207         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35209         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35210         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35211         IS_IN (libc).
35213         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35215         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35216         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35217         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35218         * include/libc-symbols.h (IS_IN_LIB): New macro.
35219         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35220         * include/netdb.h: Likewise.
35221         * include/stap-probe.h: Remove all uses of IN_LIB.
35223         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35224         instead of IN_MODULE.
35225         * include/libc-symbols.h (IN_MODULE): Define using
35226         MODULE_NAME.
35227         (PASTE_NAME, PASTE_NAME1): New macros.
35228         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35229         of IN_LIB.
35230         (STAP_PROBE_ASM): Likewise.
35232 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35234         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35235         __mach_init in dlopened libc.
35237 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35239         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35240         * sysdeps/arm/preconfigure: Regenerate.
35242 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35244         * nptl/pthread_create.c (__pthread_create_2_1): Set
35245         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35246         when copying values from IATTR into PD.
35248 2014-11-21  Will Newton  <will.newton@linaro.org>
35249             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35251         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35252         Refactor inline-asm.  Also add comment.
35254         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35255         ElfW macro instead of hardcoded Elf64 types.
35256         (la_aarch64_gnu_pltenter): Likewise.
35257         * sysdeps/aarch64/dl-machine.h
35258         (elf_machine_runtime_setup): Use ElfW(Addr).
35260         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35261         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35262         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35263         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35264         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35265         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35266         (R_AARCH64_TLS_DTPMOD): This.
35267         (R_AARCH64_TLS_DTPREL64): Rename to ...
35268         (R_AARCH64_TLS_DTPREL): This.
35269         (R_AARCH64_TLS_TPREL64): Rename to ...
35270         (R_AARCH64_TLS_TPREL): This.
35271         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35272         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35273         R_AARCH64_TLS_TPREL64.
35274         (elf_machine_rela): Likewise.
35276 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35278         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35279         by setting it to 0.  64b atomics are not supported currently.
35281 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35283         [BZ #16469]
35284         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35285         search domain names.
35287 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35289         [BZ #16469]
35290         * NEWS: Update.
35291         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35292         trailing dot.
35293         * posix/tst-getaddrinfo5.c: New.
35294         * posix/Makefile (tests): Add it.
35296 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35298         [BZ #14498]
35299         * NEWS: Fixed.
35300         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35301         after parsing line but before break_if_match.
35302         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35303         if there is a protocol mismatch.
35305 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35307         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35308         because the potential race is on the user-supplied stream.
35310 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35312         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35313         string literal if not passed a buffer.
35314         * manual/job.texi (ctermid): Update reasoning, note deviation
35315         from posix, suggest mtasurace when not passed a buffer, for
35316         future non-preliminary safety notes.
35318 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35320         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35321         of not passing it a buffer.
35322         Reported by Peng Haitao.
35324 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35326         * manual/Makefile ($(objpfx)stamp-summary): Require
35327         check-safety.sh to pass.
35328         * manual/check-safety.sh: Wish for verification that every
35329         @deftypefn and @deftypefun is followed by a @safety remark.
35331 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35333         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35335         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35336         PTHREAD_CANCEL_ASYNCHRONOUS.
35337         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35338         send SIGCANCEL.
35340         * nptl/default-sched.h: New file.
35341         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35342         * nptl/pthread_create.c: Include it.
35343         (__pthread_create_2_1): Use collect_default_sched instead of making
35344         Linux syscalls here directly.
35346 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35348         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35349         __pthread_once): Use C11 atomics.
35351 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35353         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35355 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35357         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35358         atomic_thread_fence_acquire, atomic_thread_fence_release,
35359         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35360         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35361         atomic_compare_exchange_weak_relaxed,
35362         atomic_compare_exchange_weak_acquire,
35363         atomic_compare_exchange_weak_release,
35364         atomic_exchange_acquire, atomic_exchange_release,
35365         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35366         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35367         atomic_fetch_and_acquire,
35368         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35370 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35372         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35373         USE_ATOMIC_COMPILER_BUILTINS): Define.
35374         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35376         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35378         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
35379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35380         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
35381         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35382         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
35383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35384         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
35385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35386         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
35387         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35388         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35389         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35390         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35391         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35392         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35393         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35394         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
35395         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35396         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35397         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35398         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
35399         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35400         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35401         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35402         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
35403         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35404         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
35405         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35406         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
35407         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35408         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35409         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35410         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
35411         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35412         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
35413         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35415 2014-11-19  Roland McGrath  <roland@hack.frob.com>
35417         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
35418         the sched_priority value here.  It was already checked when the user
35419         called pthread_attr_setschedparam.
35421         * nptl/tst-bad-schedattr.c: New file.
35422         * nptl/Makefile (tests): Add it.
35424 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
35425             Florian Weimer  <fweimer@redhat.com>
35426             Joseph Myers  <joseph@codesourcery.com>
35427             Adam Conrad  <adconrad@0c3.net>
35428             Andreas Schwab  <schwab@suse.de>
35429             Brooks  <bmoses@google.com>
35431         [BZ #17625]
35432         * wordexp-test.c (__dso_handle): Add prototype.
35433         (__register_atfork): Likewise.
35434         (__app_register_atfork): New function.
35435         (registered_forks): New global.
35436         (register_fork): New function.
35437         (test_case): Add 3 new tests for WRDE_CMDSUB.
35438         (main): Call __app_register_atfork.
35439         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
35440         fork count is non-zero fail the test.
35441         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
35442         is set.
35443         (parse_dollars): Remove check for WRDE_NOCMD.
35444         (parse_dquote): Likewise.
35446 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35448         * Makeconfig (built-modules): List non-library modules to be
35449         built.
35450         (module-cppflags): Include libc-modules.h for
35451         everything except shlib-versions.v.i.
35452         (CPPFLAGS): Use it.
35453         (before-compile): Add libc-modules.h.
35454         ($(common-objpfx)libc-modules.h,
35455         $(common-objpfx)libc-modules.stmp): New targets.
35456         (common-generated): Add libc-modules.h and libc-modules.stmp.
35457         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35458         * include/libc-symbols.h: Don't include libc-modules.h.
35459         * include/libc-modules.h: Remove file.
35460         * scripts/gen-libc-modules.awk: New script to generate
35461         libc-modules.h.
35462         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35463         Depend on libc-modules.stmp.
35465         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35467         * Makeconfig (in-module): Get value of libof set for the
35468         translation unit.
35469         (CPPFLAGS): Use $(in-module).
35470         * Makerules: Don't suffix routine names for nonlib.
35471         * include/libc-modules.h: New file.
35472         * include/libc-symbols.h: Include libc-modules.h
35473         (IS_IN): New macro to replace IS_IN_* macros.
35474         * elf/Makefile: Set libof-* for each routine.
35475         * elf/rtld-Rules: Likewise.
35476         * extra-modules.mk: Likewise.
35477         * iconv/Makefile: Likewise.
35478         * iconvdata/Makefile: Likewise.
35479         * locale/Makefile: Likewise.
35480         * malloc/Makefile: Likewise.
35481         * nss/Makefile: Likewise.
35482         * sysdeps/gnu/Makefile: Likewise.
35483         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35484         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35485         * sysdeps/s390/s390-64/Makefile: Likewise.
35486         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35487         CPPFLAGS for nscd instead of nonlib.
35489 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35491         * nptl/createthread.c: New file.
35493         * nptl/createthread.c: Moved ...
35494         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35496         * nptl/createthread.c: Add proper top-line comment.
35497         (do_clone): Folded into ...
35498         (create_thread): ... here.  Take new arguments STOPPED_START and
35499         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35500         increment __nptl_threads, do event-reporting logic, do
35501         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35502         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35503         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35504         just send SIGCANCEL.
35505         * nptl/pthread_create.c: Forward-declare create_thread before
35506         including createthread.c.
35507         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35508         declaration, and new macro START_THREAD_SELF to replace argument.
35509         Remove return statement.
35510         (report_thread_creation): New function.
35511         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35512         synchronization logic, and __nptl_nthreads increment here, around
35513         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35514         PD->parent_cancelhandling here, before create_thread.  When
35515         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35516         __deallocate_stack, and ENOMEM translation here.
35518 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35520         [BZ #17616]
35521         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35522         (mptwo): Rename to __mptwo.
35523         (__inv): Use __mptwo instead of mptwo.
35524         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35525         (mptwo): Rename to __mptwo.
35526         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35527         of mpone and __mptwo instead of mptwo.
35528         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35529         instead of mpone.
35530         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35531         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35532         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35533         of mpone and __mptwo instead of mptwo.
35534         (__mpranred): Use __mpone instead of mpone.
35535         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35536         variable.
35537         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35538         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35539         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35540         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35541         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35542         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35543         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35544         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35545         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35546         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35547         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35548         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35549         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35550         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35551         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35552         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35553         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35554         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35555         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35557 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35559         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35560         replace BSD Handler xref with BSD Signal Handling.
35562 2014-11-17  Richard Henderson  <rth@redhat.com>
35564         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35565         (_FP_PACK_RAW_2): Remove.
35566         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35567         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35568         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35569         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35570         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35571         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35572         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35573         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35574         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35575         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35576         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35577         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35578         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35579         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35580         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35581         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35583 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35585         * signal/signal.h [__USE_MISC]
35586         (struct sigvec): Remove type.
35587         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35588         (sigvec): Remove declaration.
35589         * sysdeps/posix/sigvec.c: Moved ...
35590         * signal/sigvec.c: ... here, replacing old file.
35591         (struct sigvec): New type, copied from old signal.h definition.
35592         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35593         (__sigvec): Convert definition to prototype.
35594         (sigvec): Replace weak_alias with compat_symbol.
35595         * signal/Versions (libc: GLIBC_2.21): New version set.
35596         * include/signal.h: Remove __sigvec declaration.
35597         * sysdeps/unix/bsd/sigvec.c: Remove file.
35598         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35599         * manual/signal.texi (BSD Handler): Remove subsection.
35600         Move siginterrupt up to ...
35601         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35602         (Blocking in BSD): Fold subsection into its parent.
35603         * NEWS: Mention sigvec removal.
35605 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35607         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35608         (DLA_FMS): Make definition conditional only on [__FMA4__].
35609         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35610         definition.
35612         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35613         Make definition conditional only on [PROF].
35614         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35615         definition.
35616         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35617         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35619         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35620         !__GNUC__].
35621         * include/signal.h (__sigpause): Move declaration above call to
35622         libc_hidden_proto.
35623         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35624         variable.
35625         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35626         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35628 2014-11-14  David S. Miller  <davem@davemloft.net>
35630         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35631         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35633 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35635         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35636         * configure: Regenerated.
35637         * manual/install.texi (Tools for Compilation): Document a
35638         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35639         compiler verified to work.
35640         * INSTALL: Regenerated.
35642         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35643         redeclare with asm name.
35644         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35645         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35646         including <string.h>.
35647         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35648         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35649         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35650         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35651         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35652         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35653         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35655 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35657         * stdlib/strtol.c (__strtol): Use prototype definition.
35659         [BZ #17594]
35660         * stdlib/strtol.c (SYM__): New macro.
35661         (SYM__1): Likewise.
35662         (__strtol): Likewise.
35663         (strtol): Rename to __strtol and define as weak alias of
35664         __strtol.  Use libc_hidden_weak.
35666 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35668         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35669         Use numbered labels in inline assembly.
35671 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35673         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35674         Add setjmp LIBC_PROBE.
35675         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35676         Likewise.
35677         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35678         Add longjmp, longjmp_target LIBC_PROBE.
35679         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35680         Likewise.
35682 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35684         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35685         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35686         to get rid of unused variable warning.
35688 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35690         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35691         Check for unwind_backtrace ==  NULL only in SHARED case.
35692         (__backchain_backtrace): Compile only in SHARED case.
35693         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35694         Likewise.
35695         (__backchain_backtrace): Declare as static.
35697 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35699         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35700         (__libc_multiple_threads_ptr): Variable moved ...
35701         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35703 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35705         * conform/GlibcConform.pm: New file.
35706         * conform/conformtest.pl: Use GlibcConform module.
35707         * conform/linknamespace.pl: New file.
35708         * conform/list-header-symbols.pl: Likewise.
35709         * conform/Makefile (linknamespace-symlists-base): New variable.
35710         (linknamespace-symlists-tests): Likewise.
35711         (linknamespace-header-base): Likewise.
35712         (linknamespace-header-tests): Likewise.
35713         (tests-special): Add new tests.
35714         ($(linknamespace-symlists-tests)): New rule.
35715         (linknamespace-libs): New variable.
35716         ($(objpfx)symlist-stdlibs): New rule.
35717         ($(linknamespace-header-tests)): Likewise.
35718         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35719         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35720         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35721         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35722         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35723         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35724         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35725         (test-xfail-ISO/math.h/linknamespace): Likewise.
35726         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35727         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35728         (test-xfail-ISO/time.h/linknamespace): Likewise.
35729         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35730         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35731         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35732         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35733         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35734         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35735         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35736         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35737         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35738         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35739         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35740         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35741         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35742         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35743         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35744         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35745         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35746         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35747         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35748         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35749         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35750         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35751         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35752         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35753         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35754         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35755         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35756         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35757         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35758         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35759         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35760         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35761         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35762         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35763         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35764         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35765         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35766         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35767         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35768         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35769         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35770         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35771         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35772         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35773         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35774         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35775         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35776         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35777         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35778         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35779         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35780         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35781         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35782         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35783         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35784         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35785         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35786         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35787         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35788         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35789         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35790         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35791         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35792         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35793         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35794         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35795         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35796         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35797         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35798         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35799         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35800         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35801         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35802         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35803         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35804         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35805         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35806         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35807         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35808         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35809         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35810         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35811         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35812         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35813         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35814         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35815         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35816         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35817         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35818         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35819         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35820         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35821         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35822         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35823         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35824         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35825         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35826         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35827         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35828         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35829         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35830         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35831         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35832         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35833         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35834         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35835         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35836         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35837         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35838         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35839         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35840         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35841         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35842         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35843         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35844         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35845         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35846         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35847         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35848         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35849         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35850         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35851         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35852         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35853         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35854         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35855         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35856         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35857         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35858         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35859         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35860         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35861         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35862         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35863         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35864         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35865         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35866         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35867         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35868         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35869         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35870         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35871         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35872         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35873         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35874         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35875         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35876         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35877         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35878         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35880         [BZ #17589]
35881         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35882         of fgets_unlocked.
35884         [BZ #17585]
35885         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35886         (memmem): Rename to __memmem and define as weak alias of
35887         __memmem.  Use libc_hidden_weak.
35888         (__memmem): Use libc_hidden_def.
35889         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35890         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35891         memmem.
35893         [BZ #17582]
35894         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35895         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35896         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35897         and define as weak alias of __fgets_unlocked.  Use
35898         libc_hidden_weak.
35899         (__fgets_unlocked): Use libc_hidden_def.
35900         * include/stdio.h (__fgets_unlocked): Declare.  Use
35901         libc_hidden_proto.
35902         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35903         __fgets_unlocked instead of fgets_unlocked.
35904         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35905         (GET_NPROCS_CONF_PARSER): Likewise.
35906         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35907         (GET_NPROCS_CONF_PARSER): Likewise.
35909         [BZ #17574]
35910         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35911         weak alias of __wmemset.  Use libc_hidden_weak.
35912         (__wmemset): Use libc_hidden_def.
35913         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35914         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35915         of wmemset.
35917         [BZ #17573]
35918         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35919         with asm name __mempcpy.
35920         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35922         [BZ #17572]
35923         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35924         and define as weak alias of __rawmemchr.
35925         (__rawmemchr): Do not define as strong alias of rawmemchr.
35927         [BZ #17571]
35928         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35929         alias of __qsort_r.
35930         (qsort): Call __qsort_r instead of qsort_r.
35931         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35932         (__qsort_r): Declare.  Call libc_hidden_proto.
35933         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35934         instead of qsort_r.
35935         * nscd/gai.c (__qsort_r): Define to qsort_r.
35936         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35937         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35938         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35940         [BZ #17570]
35941         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35942         define as weak alias of __malloc_info.
35944         [BZ #17584]
35945         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35946         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35947         (__rewinddir): Use libc_hidden_def.
35948         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35949         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35950         (__rewinddir): Use libc_hidden_def.
35951         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35952         weak alias of __rewinddir.  Don't use libc_hidden_def.
35953         (__rewinddir): Use libc_hidden_def.
35954         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35955         (__rewinddir): Use libc_hidden_proto.
35956         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35957         rewinddir.
35958         (__getcwd): Use __rewinddir instead of rewinddir.
35960         [BZ #17583]
35961         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35962         alias of __fileno.  Use libc_hidden_weak.
35963         (__fileno): Use libc_hidden_def.
35964         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35965         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35966         alias of __ftello.
35967         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35968         __ftello.
35969         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35970         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35971         libc_hidden_def.
35972         (fread_unlocked): Don't use libc_hidden_ver.
35973         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35974         and define as weak alias of __fread_unlocked.  Don't use
35975         libc_hidden_def.
35976         (__fread_unlocked): Use libc_hidden_def.
35977         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35978         (ftello): Don't use libc_hidden_proto.
35979         (__ftello): Declare.  Use libc_hidden_proto.
35980         (fread_unlocked): Don't use libc_hidden_proto.
35981         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35982         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35983         and __ftello instead of fileno, fread_unlocked and ftello.
35985 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35987         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35988         GOT12.
35989         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35990         Likewise.
35991         (_dl_start_user): Likewise.
35992         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35994 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35995             Siddhesh Poyarekar  <siddhesh@redhat.com>
35997         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35998         Move argv and envp down instead of moving argc up.
35999         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
36001 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
36003         [BZ #17506]
36004         * test-skeleton.c (main): Return successful if one of
36005         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
36006         * string/tst-strcoll-overflow.c: Define expected status.
36008 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
36010         [BZ #17475]
36011         * locale/iso-639.def: Define Bhili and Tulu language codes.
36013 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
36015         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
36017 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
36019         [BZ #17555]
36020         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
36022 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36024         * configure.ac: Updated check of minimal required version to
36025         2.22.
36026         * manual/install.texi (Tools for Compilation): Updated version
36027         number.
36028         * configure: Regenerated.
36029         * INSTALL: Likewise.
36031 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
36033         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
36034         __tls_get_addr.
36036 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
36038         * include/sys/wait.h (__libc_waitpid): Remove declaration.
36039         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
36040         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36041         libc_hidden_weak.
36042         (waitpid): Define as alias of __waitpid.
36043         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36044         __waitpid.
36045         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36046         libc_hidden_weak.
36047         (waitpid): Define as alias of __waitpid.
36048         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36049         __libc_waitpid alias.
36050         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36051         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36052         Likewise.
36053         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36054         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36055         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36056         alias.
36057         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36058         __waitpid.
36059         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36060         libc_hidden_weak.
36061         (waitpid): Define as alias of __waitpid.
36063 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36065         * manual/llio.texi: Add comment that write safety has been
36066         fixed in Linux.
36068         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36069         (localplt-build-dso): Add elf/ld.so.
36070         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36071         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36072         and free for ld.so.
36073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36074         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36076         Likewise.
36077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36078         Likewise.
36079         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36080         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36081         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36082         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36083         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36084         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36085         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36086         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36087         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36088         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36089         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36091 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36093         [BZ #14132]
36094         * include/libc-symbols.h (INTUSE): Remove macro.
36095         (INTDEF): Likewise.
36096         (INTVARDEF): Likewise.
36097         (_INTVARDEF): Likewise.
36098         (INTDEF2): Likewise.
36099         (INTVARDEF2): Likewise.
36100         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36101         rtld_hidden_def instead of INTVARDEF.
36102         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36103         (_dl_starting_up_internal): Remove declaration.
36104         (_dl_starting_up): Use rtld_hidden_proto.
36105         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36106         declaration.
36107         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36108         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36109         _dl_starting_up.
36110         * elf/dl-writev.h (_dl_writev): Likewise.
36111         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36112         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36113         _dl_starting_up_internal.
36115 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36117         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36118         test-skeleton.c.
36120 2014-11-05  Will Newton  <will.newton@linaro.org>
36122         * benchtests/Makefile: (bench-malloc): Add malloc thread
36123         scalability benchmark.
36124         * benchtests/bench-malloc-threads.c: New file.
36126 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36128         * sysdeps/aarch64/strchrnul.S: New file.
36130 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36132         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36133         definition.
36134         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36135         Likewise.
36136         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36137         Likewise.
36138         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36139         Likewise.
36140         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36141         Likewise.
36142         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36143         Likewise.
36145 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36147         * catgets/test-gencat.c: Use test-skeleton.c.
36148         * catgets/tst-catgets.c: Likewise.
36149         * csu/tst-empty.c: Likewise.
36150         * elf/tst-audit2.c: Likewise.
36151         * elf/tst-global1.c: Likewise.
36152         * elf/tst-pathopt.c: Likewise.
36153         * elf/tst-piemod1.c: Likewise.
36154         * elf/tst-tls10.c: Likewise.
36155         * elf/tst-tls11.c: Likewise.
36156         * elf/tst-tls12.c: Likewise.
36157         * gnulib/tst-gcc.c: Likewise.
36158         * iconvdata/tst-e2big.c: Likewise.
36159         * iconvdata/tst-loading.c: Likewise.
36160         * iconv/tst-iconv1.c: Likewise.
36161         * iconv/tst-iconv2.c: Likewise.
36162         * inet/test-inet6_opt.c: Likewise.
36163         * inet/tst-gethnm.c: Likewise.
36164         * inet/tst-network.c: Likewise.
36165         * inet/tst-ntoa.c: Likewise.
36166         * intl/tst-codeset.c: Likewise.
36167         * intl/tst-gettext2.c: Likewise.
36168         * intl/tst-gettext3.c: Likewise.
36169         * intl/tst-ngettext.c: Likewise.
36170         * intl/tst-translit.c: Likewise.
36171         * io/test-stat.c: Likewise.
36172         * libio/test-fmemopen.c: Likewise.
36173         * libio/tst-freopen.c: Likewise.
36174         * libio/tst-sscanf.c: Likewise.
36175         * libio/tst-ungetwc1.c: Likewise.
36176         * libio/tst-ungetwc2.c: Likewise.
36177         * libio/tst-widetext.c: Likewise.
36178         * localedata/tst-ctype.c: Likewise.
36179         * localedata/tst-digits.c: Likewise.
36180         * localedata/tst-leaks.c: Likewise.
36181         * localedata/tst-mbswcs1.c: Likewise.
36182         * localedata/tst-mbswcs2.c: Likewise.
36183         * localedata/tst-mbswcs3.c: Likewise.
36184         * localedata/tst-mbswcs4.c: Likewise.
36185         * localedata/tst-mbswcs5.c: Likewise.
36186         * localedata/tst-setlocale.c: Likewise.
36187         * localedata/tst-trans.c: Likewise.
36188         * localedata/tst-wctype.c: Likewise.
36189         * localedata/tst-xlocale1.c: Likewise.
36190         * login/tst-grantpt.c: Likewise.
36191         * malloc/tst-calloc.c: Likewise.
36192         * malloc/tst-malloc.c: Likewise.
36193         * malloc/tst-mallocstate.c: Likewise.
36194         * malloc/tst-mcheck.c: Likewise.
36195         * malloc/tst-mtrace.c: Likewise.
36196         * malloc/tst-obstack.c: Likewise.
36197         * math/atest-exp2.c: Likewise.
36198         * math/atest-exp.c: Likewise.
36199         * math/atest-sincos.c: Likewise.
36200         * math/test-matherr.c: Likewise.
36201         * math/test-misc.c: Likewise.
36202         * math/test-powl.c: Likewise.
36203         * math/tst-definitions.c: Likewise.
36204         * misc/tst-dirname.c: Likewise.
36205         * misc/tst-efgcvt.c: Likewise.
36206         * misc/tst-fdset.c: Likewise.
36207         * misc/tst-hsearch.c: Likewise.
36208         * misc/tst-mntent2.c: Likewise.
36209         * nptl/tst-sem7.c: Likewise.
36210         * nptl/tst-sem8.c: Likewise.
36211         * nptl/tst-sem9.c: Likewise.
36212         * nss/test-netdb.c: Likewise.
36213         * posix/tst-fnmatch.c: Likewise.
36214         * posix/tst-getlogin.c: Likewise.
36215         * posix/tst-gnuglob.c: Likewise.
36216         * posix/tst-mmap.c: Likewise.
36217         * pwd/tst-getpw.c: Likewise.
36218         * resolv/tst-inet_ntop.c: Likewise.
36219         * rt/tst-timer.c: Likewise.
36220         * stdio-common/test-fseek.c: Likewise.
36221         * stdio-common/test-popen.c: Likewise.
36222         * stdio-common/test-vfprintf.c: Likewise.
36223         * stdio-common/tst-cookie.c: Likewise.
36224         * stdio-common/tst-fileno.c: Likewise.
36225         * stdio-common/tst-gets.c: Likewise.
36226         * stdio-common/tst-obprintf.c: Likewise.
36227         * stdio-common/tst-perror.c: Likewise.
36228         * stdio-common/tst-sprintf2.c: Likewise.
36229         * stdio-common/tst-sprintf3.c: Likewise.
36230         * stdio-common/tst-sprintf.c: Likewise.
36231         * stdio-common/tst-swprintf.c: Likewise.
36232         * stdio-common/tst-tmpnam.c: Likewise.
36233         * stdio-common/tst-unbputc.c: Likewise.
36234         * stdio-common/tst-wc-printf.c: Likewise.
36235         * stdlib/tst-environ.c: Likewise.
36236         * stdlib/tst-fmtmsg.c: Likewise.
36237         * stdlib/tst-limits.c: Likewise.
36238         * stdlib/tst-rand48-2.c: Likewise.
36239         * stdlib/tst-rand48.c: Likewise.
36240         * stdlib/tst-random2.c: Likewise.
36241         * stdlib/tst-random.c: Likewise.
36242         * stdlib/tst-strtol.c: Likewise.
36243         * stdlib/tst-strtoll.c: Likewise.
36244         * stdlib/tst-tls-atexit.c: Likewise.
36245         * stdlib/tst-xpg-basename.c: Likewise.
36246         * string/test-ffs.c: Likewise.
36247         * string/tst-bswap.c: Likewise.
36248         * string/tst-inlcall.c: Likewise.
36249         * string/tst-strtok.c: Likewise.
36250         * string/tst-strxfrm.c: Likewise.
36251         * sysdeps/x86_64/tst-audit10.c: Likewise.
36252         * sysdeps/x86_64/tst-audit3.c: Likewise.
36253         * sysdeps/x86_64/tst-audit4.c: Likewise.
36254         * sysdeps/x86_64/tst-audit5.c: Likewise.
36255         * time/tst-ftime_l.c: Likewise.
36256         * time/tst-getdate.c: Likewise.
36257         * time/tst-mktime3.c: Likewise.
36258         * time/tst-mktime.c: Likewise.
36259         * time/tst-posixtz.c: Likewise.
36260         * time/tst-strptime2.c: Likewise.
36261         * time/tst-strptime3.c: Likewise.
36262         * wcsmbs/tst-btowc.c: Likewise.
36263         * wcsmbs/tst-mbrtowc.c: Likewise.
36264         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36265         * wcsmbs/tst-wchar-h.c: Likewise.
36266         * wcsmbs/tst-wcpncpy.c: Likewise.
36267         * wcsmbs/tst-wcrtomb.c: Likewise.
36268         * wcsmbs/tst-wcsnlen.c: Likewise.
36269         * wcsmbs/tst-wcstof.c: Likewise.
36271 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36273         [BZ #14132]
36274         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36275         INTDEF.
36276         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36277         declaration.
36278         (_dl_mcount): Use rtld_hidden_proto.
36279         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36280         _dl_mcount.
36281         * elf/rtld.c (_rtld_global_ro): Likewise.
36283         [BZ #14132]
36284         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36285         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36286         of _dl_init_internal.
36287         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36288         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36289         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36290         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36291         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36292         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36293         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36294         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36295         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36296         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36297         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36298         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36299         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36300         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36301         * sysdeps/tile/dl-start.S (_start): Likewise.
36302         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36303         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36305         [BZ #14132]
36306         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36307         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36308         (rtld_progname): Make macro definition unconditional.
36309         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36310         INTDEF.
36311         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36312         (dl_main): Likewise.
36313         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36314         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36315         instead of _dl_argv_internal.
36316         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36317         __GI__dl_argv instead of INTUSE(_dl_argv).
36318         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36319         __GI__dl_argv instead of _dl_argv_internal.
36321         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36322         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36323         macro.
36324         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36325         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36326         New macro.
36327         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36328         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36329         macro.
36330         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36331         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36333 2014-11-04  Andreas Schwab  <schwab@suse.de>
36335         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36337 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36339         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36340         mtvsrd instruction in binary form.
36342 2014-11-03  Andreas Schwab  <schwab@suse.de>
36344         [BZ #17522]
36345         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36346         for less than MB_LEN_MAX use a local buffer of that size.
36347         * libio/tst-fputws.c: New file.
36348         * libio/Makefile (tests): Add tst-fputws.
36350 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36352         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36353         the size of the fpu_fr.fpu_dregs[] array.
36355 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36357         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36358         (__nanosleep): Do not define as alias.
36359         (nanosleep): Define as alias of __nanosleep.
36360         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36361         __libc_nanosleep name.
36363 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36365         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36366         install.texi in comment.
36368 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36370         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36371         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36372         ... add here and use lwsync or sync ...
36373         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36374         ... and add here using lwsync.
36376 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36378         * elf/dl-machine-reject-phdr.h: New file.
36379         * elf/dl-load.c: #include that.
36380         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
36381         if that returned true.
36383 2014-10-31  Roland McGrath  <roland@hack.frob.com>
36385         [BZ #17496]
36386         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
36387         gen-as-const-headers chunk.  Add a big scare comment after the last
36388         safe place to touch before-compile.
36390 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36392         * manual/install.texi (Tools for Compilation): Update autoconf
36393         version requirements.
36394         * INSTALL: Regenerated.
36396         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
36397         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
36398         (__libc_pselect): Likewise.
36400         [BZ #14138]
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
36402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36406 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36408         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
36409         correct barrier instruction.
36410         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
36411         Likewise.
36412         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
36413         Likewise.
36415 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36417         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
36418         after defining inlines.  Instead, just use parens to defeat macro
36419         expansion of __isctype in its declaration.
36421 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36423         * include/sys/uio.h (__libc_readv): Remove declaration.
36424         (__libc_writev): Likewise.
36425         * misc/readv.c (__libc_readv): Rename to __readv.
36426         (__readv): Do not define as alias.
36427         (readv): Define as alias of __readv.
36428         * misc/writev.c (__libc_writev): Rename to __writev.
36429         (__writev): Do not define as alias.
36430         (writev): Define as alias of __writev.
36431         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
36432         (__readv): Do not define as alias.
36433         (readv): Define unconditionally as alias of __readv.
36434         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
36435         (__writev): Do not define as alias.
36436         (writev): Define unconditionally as alias of __writev.
36437         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
36438         name.
36439         (writev): Do not define __libc_writev name.
36441 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36443         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
36444         (convert_charseq): New function, broken out of ...
36445         (use_from_charmap): ... here.  Call it.
36446         (use_to_charmap): Use convert_charseq and free instead of duplicating
36447         its code with a variable-length stack struct.
36449 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36451         * include/fcntl.h (__libc_creat): Remove declaration.
36452         * io/creat.c (__libc_creat): Rename to creat.
36453         (creat): Do not define as alias.
36454         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
36455         of creat instead of __libc_creat.
36456         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36457         to creat.
36458         (creat): Do not define as alias.
36459         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36460         __libc_creat.
36461         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36462         __libc_creat name.
36463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36464         Likewise.
36466 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36468         * manual/llio.texi: Add comments discussing why write() may be
36469         considered MT-unsafe on Linux.
36471 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36473         * dl-load.c (local_strdup): Remove.
36474         (expand_dynamic_string_token): Use __strdup.
36475         (decompose_rpath): Likewise.
36476         (_dl_map_object): Likewise.
36478 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36480         [BZ #14132]
36481         * sysdeps/generic/unwind-dw2-fde.c
36482         (__register_frame_info_bases_internal): Do not declare.
36483         (__register_frame_info_table_bases_internal): Likewise.
36484         (__deregister_frame_info_bases_internal): Likewise.
36485         (__register_frame_info_bases): Declare and use hidden_proto before
36486         definition.  Use hidden_def instead of INTDEF.
36487         (__register_frame_info_table_bases): Likewise.
36488         (__deregister_frame_info_bases): Likewise.
36489         (__register_frame_info): Do not use INTUSE.
36490         (__register_frame): Likewise.
36491         (__register_frame_info_table): Likewise.
36492         (__register_frame_table): Likewise.
36493         (__deregister_frame_info): Likewise.
36494         (__deregister_frame): Likewise.
36496 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36498         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36499         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36500         not undefine.
36501         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36502         Likewise.
36503         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36504         Likewise.
36506 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36508         [BZ #14138]
36509         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36510         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36511         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36512         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36513         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36514         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36515         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36516         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36517         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36518         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36519         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36520         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36521         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36522         syscall.
36523         (setfsuid): Likewise.
36524         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36525         (setfsuid): Likewise.
36526         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36527         (setfsuid): Likewise.
36528         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36529         Likewise.
36530         (setfsuid): Likewise.
36531         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36532         (setfsuid): Likewise.
36533         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36534         Likewise.
36535         (setfsuid): Likewise.
36537 2014-10-27  Andreas Schwab  <schwab@suse.de>
36539         [BZ #17501]
36540         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36541         check for Slow_SSE4_2 feature bit.
36542         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36543         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36544         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36545         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36547 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36549         * configure.ac: Validate compiler version with a empirical test of
36550         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36551         $CC -v output.
36552         * configure: Regenerated.
36554         * inet/htons.c (htons): Prototypify.
36555         * inet/htonl.c (htonl): Likewise.
36557 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36559         * string/strncat.c (strncat): Improve performance by using strlen.
36561 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36563         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36565 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36567         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36568         Call libc_fetestexcept_aarch64.
36570 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36572         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36573         Call libc_feholdexcept_aarch64.
36575 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36577         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36578         Call get_rounding_mode.
36580 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36582         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36583         Simplify logic.
36585 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36587         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36588         Simplify logic.
36590 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36592         [BZ #14138]
36593         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36594         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36595         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36596         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36597         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36598         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36599         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36600         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36601         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36602         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36603         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36604         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36605         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36606         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36607         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36608         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36609         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36610         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36611         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36612         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36613         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36614         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36615         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36616         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36617         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36618         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36619         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36620         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36621         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36622         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36623         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36624         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36625         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36626         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36627         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36628         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36629         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36630         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36631         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36632         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36633         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36634         syscall.
36635         (geteuid): Likewise.
36636         (getgid): Likewise.
36637         (getuid): Likewise.
36638         (getresgid): Likewise.
36639         (getresuid): Likewise.
36640         (getgroups): Likewise.
36641         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36642         (geteuid): Likewise.
36643         (getgid): Likewise.
36644         (getuid): Likewise.
36645         (getresgid): Likewise.
36646         (getresuid): Likewise.
36647         (getgroups): Likewise.
36648         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36649         (geteuid): Likewise.
36650         (getgid): Likewise.
36651         (getuid): Likewise.
36652         (getresgid): Likewise.
36653         (getresuid): Likewise.
36654         (getgroups): Likewise.
36655         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36656         Likewise.
36657         (geteuid): Likewise.
36658         (getgid): Likewise.
36659         (getuid): Likewise.
36660         (getresgid): Likewise.
36661         (getresuid): Likewise.
36662         (getgroups): Likewise.
36663         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36664         (geteuid): Likewise.
36665         (getgid): Likewise.
36666         (getuid): Likewise.
36667         (getresgid): Likewise.
36668         (getresuid): Likewise.
36669         (getgroups): Likewise.
36670         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36671         Likewise.
36672         (geteuid): Likewise.
36673         (getgid): Likewise.
36674         (getuid): Likewise.
36675         (getgroups): Likewise.
36677         [BZ #14138]
36678         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36679         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36680         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36681         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36682         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36683         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36684         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36685         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36686         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36687         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36688         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36689         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36690         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36691         __chown.
36692         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36693         (lchown): Likewise.
36694         (fchown): Likewise.
36695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36696         Likewise.
36697         (lchown): Likewise.
36698         (fchown): Likewise.
36699         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36700         (lchown): Likewise.
36701         (fchown): Likewise.
36702         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36703         Likewise.
36704         (lchown): Likewise.
36705         (fchown): Likewise.
36707 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36709         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36710         Simplify logic.
36712 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36714         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36715         Cleanup logic.
36717 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36719         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36720         Remove unused include.
36722 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36724         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36725         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36726         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36727         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36729 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36730             Helge Deller <deller@gmx.de>
36732         [BZ #17508]
36733         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36734         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36735         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36737 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36739         [BZ #14132]
36740         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36741         Remove macro definition.
36742         (__ashrdi3_v_glibc20): Likewise.
36743         (__lshrdi3_v_glibc20): Likewise.
36744         (__cmpdi2_v_glibc20): Likewise.
36745         (__ucmpdi2_v_glibc20): Likewise.
36746         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36747         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36748         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36749         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36750         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36751         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36753 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36755         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36756         old GNU extension [0] syntax.
36757         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36758         alloca rather than an array member with variable length.
36759         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36760         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36761         (parse_opt): ... here.  Likewise use alloca there.
36762         Validate the -i argument before checking for rootness.
36763         (send_shutdown): New function, broken out of ...
36764         (parse_opt): ... here.
36766 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36768         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36769         macro to get at the _rt_local_ro field.
36770         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36771         ([PIC] case) or _dl_hwcap ([!PIC] case).
36772         * sysdeps/arm/setjmp.S: Likewise.
36774         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36775         * sysdeps/arm/configure.ac: New check to define it.
36776         * sysdeps/arm/configure: Regenerated.
36777         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36778         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36779         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36780         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36781         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36782         Use move/movt pair instead of a load.
36783         (LDST_GLOBAL): Macro removed.
36784         (LDR_GLOBAL): New macro replaces it.
36785         (LDR_HIDDEN): New macro.
36786         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36787         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36789         * setjmp/tst-setjmp-static.c: New file.
36790         * setjmp/Makefile (tests): Add it.
36791         (tests-static): New variable.
36793 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36795         [BZ #17485]
36796         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36798 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36800         [BZ #14132]
36801         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36803 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36805         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36807 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36809         * io/fts.c (dirent_not_directory): New function.
36810         (fts_build): Call it.
36812 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36814         * nptl/version.c (__nptl_main): Use normal __write rather than
36815         INTERNAL_SYSCALL.
36816         (banner): Update copyright years.
36818         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36819         gettimeofday.
36820         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36821         * nptl/pthread_cond_timedwait.c: Likewise.
36822         * nptl/pthread_mutex_timedlock.c: Likewise.
36823         * nptl/sem_timedwait.c: Likewise.
36825         * sysdeps/nptl/bits/libc-lock.h
36826         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36827         (__libc_lock_init_recursive): Return void, not 0.
36828         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36829         (__libc_rwlock_init): Likewise.
36830         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36832 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36834         [BZ #15215]
36835         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36836         (__pthread_once_slow): ... here.
36837         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36838         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36840 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36842         [BZ #15215]
36843         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36844         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36845         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36846         * nptl/pthread_once.c (__pthread_once): Likewise.
36847         Update comments.
36849 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36851         [BZ #14138]
36852         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36853         name.
36854         (writev): Use __libc_writev as strong name.
36855         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36856         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36858 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36860         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36862         * sysdeps/i386/nptl/tls.h
36863         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36864         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36865         New macros.
36866         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36867         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36868         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36869         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36870         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36871         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36873         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36874         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36875         on [__NR_futex].
36876         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36877         broken out of ...
36878         (__pthread_mutex_init): ... here.  Call it.
36879         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36880         Conditionalize PI cases on [__NR_futex].
36881         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36882         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36883         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36885         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36886         conditional on [SIGSETXID].
36887         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36888         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36889         is defined.  Likewise for SIGSETXID.
36890         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36891         Conditionalize definitions on [SIGSETXID].
36892         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36893         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36894         unblocking on [SIGCANCEL].
36896         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36897         [__NR_set_robust_list].
36899 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36901         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36902         (do_compare): Likewise.
36904 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36906         [BZ #15884]
36907         * string/strcoll_l.c: Don't include stdio.h.
36908         (coll_seq): Remove members idxarr and rulearr.
36909         (get_next_seq_cached): Remove function.
36910         (get_next_seq): Likewise.
36911         (get_next_seq_nocache): Rename to get_next_seq.
36912         (do_compare): Remove function.
36913         (do_compare_nocache): Rename to do_compare.
36914         (STRCOLL): Remove weight and rules cache.
36916 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36918         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36919         * sysdeps/arm/sfp-machine.h: ... to here.
36920         * sysdeps/arm/Implies: Remove arm/soft-fp.
36922 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36924         * conform/data/sys/utsname.h-data (*_t): Allow.
36925         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36926         [POSIX] (WEXITED): Do not expect constant.
36927         [POSIX] (WSTOPPED): Likewise.
36928         [POSIX] (WNOHANG): Likewise.
36929         [POSIX] (WNOWAIT): Likewise.
36930         [POSIX] (siginfo_t): Do not expect type or elements.
36931         [POSIX] (pid_t): Do not expect type.
36932         [POSIX] (signal.h): Do not allow header.
36933         [POSIX] (sys/resource.h): Likewise.
36934         [POSIX] (si_*): Do not allow pattern.
36935         [POSIX] (W*): Likewise.
36936         [POSIX] (P_*): Likewise.
36937         [POSIX] (BUS_*): Likewise.
36938         [POSIX] (CLD_*): Likewise.
36939         [POSIX] (FPE_*): Likewise.
36940         [POSIX] (ILL_*): Likewise.
36941         [POSIX] (POLL_*): Likewise.
36942         [POSIX] (SEGV_*): Likewise.
36943         [POSIX] (SI_*): Likewise.
36944         [POSIX] (TRAP_*): Likewise.
36945         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36946         variable.
36948 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36950         [BZ #12926]
36951         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36952         infinite loop when __recvmsg returns 0.
36954 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36956         * CANCEL-FCT-WAIVE: Remove file.
36957         * CANCEL-FILE-WAIVE: Likewise.
36959         [BZ #14132]
36960         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36961         instead of INTVARDEF.
36962         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36963         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36964         rtld_hidden_data_def instead of INTVARDEF.
36965         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36966         * elf/dl-deps.c (expand_dst): Likewise.
36967         * elf/dl-load.c (_dl_dst_count): Likewise.
36968         (_dl_dst_substitute): Likewise.
36969         (decompose_rpath): Likewise.
36970         (_dl_init_paths): Likewise.
36971         (open_path): Likewise.
36972         (_dl_map_object): Likewise.
36973         * elf/rtld.c (dl_main): Likewise.
36974         (process_dl_audit): Likewise.
36975         (process_envvars): Likewise.
36976         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36977         Remove declaration.
36978         (__libc_enable_secure): Use rtld_hidden_proto.
36980 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36982         * elf/dl-load.c
36983         (add_path): New function broken out of _dl_rtld_di_serinfo.
36984         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36986 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36988         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36989         parentheses around macro arguments.
36990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36993         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36995         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36996         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36997         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
37000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
37001         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
37002         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
37003         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
37004         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
37005         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
37006         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
37007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
37008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
37009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
37010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
37011         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
37012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
37013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37015         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
37016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
37017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
37018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
37019         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
37020         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
37021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
37022         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
37023         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
37024         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
37025         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
37026         Likewise.
37027         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
37028         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37029         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37030         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
37031         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
37032         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
37033         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
37034         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
37035         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
37036         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
37037         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
37038         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
37039         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
37040         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
37041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37043         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37044         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37045         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37047         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37048         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37049         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37050         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37051         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37052         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37053         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37054         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37055         (_FP_FRAC_SRS_1): Likewise.
37056         (_FP_FRAC_CLZ_1): Likewise.
37057         (_FP_MUL_MEAT_1_imm): Likewise.
37058         (_FP_MUL_MEAT_1_wide): Likewise.
37059         (_FP_MUL_MEAT_1_hard): Likewise.
37060         (_FP_SQRT_MEAT_1): Likewise.
37061         (_FP_FRAC_ASSEMBLE_1): Likewise.
37062         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37063         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37064         (__FP_CLZ_2): Likewise.
37065         (_FP_MUL_MEAT_2_wide): Likewise.
37066         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37067         (_FP_MUL_MEAT_2_gmp): Likewise.
37068         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37069         (_FP_SQRT_MEAT_2): Likewise.
37070         (_FP_FRAC_ASSEMBLE_2): Likewise.
37071         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37072         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37073         (_FP_FRAC_CLZ_4): Likewise.
37074         (_FP_MUL_MEAT_4_wide): Likewise.
37075         (_FP_MUL_MEAT_4_gmp): Likewise.
37076         (_FP_SQRT_MEAT_4): Likewise.
37077         (_FP_FRAC_ASSEMBLE_4): Likewise.
37078         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37079         * soft-fp/op-common.h (_FP_CMP): Likewise.
37080         (_FP_CMP_EQ): Likewise.
37081         (_FP_CMP_UNORD): Likewise.
37082         (_FP_TO_INT): Likewise.
37083         (_FP_FROM_INT): Likewise.
37084         [!__FP_CLZ] (__FP_CLZ): Likewise.
37085         (_FP_DIV_HELP_imm): Likewise.
37086         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37087         Likewise.
37088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37091         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37092         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37093         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37094         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37095         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37096         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37097         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37098         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37099         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37100         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37101         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37102         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37103         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37104         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37109         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37110         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37111         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37112         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37113         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37114         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37115         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37116         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37117         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37118         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37119         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37120         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37121         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37122         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37123         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37124         (FP_UNPACK_RAW_SP): Likewise.
37125         (FP_PACK_RAW_S): Likewise.
37126         (FP_PACK_RAW_SP): Likewise.
37127         (FP_UNPACK_S): Likewise.
37128         (FP_UNPACK_SP): Likewise.
37129         (FP_UNPACK_SEMIRAW_S): Likewise.
37130         (FP_UNPACK_SEMIRAW_SP): Likewise.
37131         (FP_PACK_S): Likewise.
37132         (FP_PACK_SP): Likewise.
37133         (FP_PACK_SEMIRAW_S): Likewise.
37134         (FP_PACK_SEMIRAW_SP): Likewise.
37135         (_FP_SQRT_MEAT_S): Likewise.
37136         (FP_CMP_S): Likewise.
37137         (FP_CMP_EQ_S): Likewise.
37138         (FP_CMP_UNORD_S): Likewise.
37139         (FP_TO_INT_S): Likewise.
37140         (FP_FROM_INT_S): Likewise.
37142         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37144         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37145         (FP_EX_INVALID_IMZ): Likewise.
37146         (FP_EX_INVALID_IMZ_FMA): Likewise.
37147         (FP_EX_INVALID_ISI): Likewise.
37148         (FP_EX_INVALID_ZDZ): Likewise.
37149         (FP_EX_INVALID_IDI): Likewise.
37150         (FP_EX_INVALID_SQRT): Likewise.
37151         (FP_EX_INVALID_CVI): Likewise.
37152         (FP_EX_INVALID_VC): Likewise.
37153         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37154         "invalid" exceptions.
37155         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37156         (_FP_ADD_INTERNAL): Likewise.
37157         (_FP_MUL): Likewise.
37158         (_FP_FMA): Likewise.
37159         (_FP_DIV): Likewise.
37160         (_FP_CMP_CHECK_NAN): Likewise.
37161         (_FP_SQRT): Likewise.
37162         (_FP_TO_INT): Likewise.
37163         (FP_EXTEND): Likewise.
37165 2014-10-09  Allan McRae  <allan@archlinux.org>
37167         * po/fr.po: Update French translation from translation project.
37169 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37171         [BZ #14132]
37172         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37173         of INTDEF.
37174         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37175         (__cxa_atexit): Use libc_hidden_proto.
37176         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37178         [BZ #14132]
37179         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37180         declaration.
37181         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37182         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37183         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37184         [!_ISOMAC] (__iswctype_internal): Likewise.
37185         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37186         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37187         alias.
37188         (fcntl): Remove __fcntl_internal alias.
37189         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37190         __connect_internal alias.
37191         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37192         Likewise.
37194         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37195         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37196         FP_DENORM_ZERO.
37197         (_FP_CHECK_FLUSH_ZERO): New macro.
37198         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37199         (_FP_CMP): Likewise.
37200         (_FP_CMP_EQ): Likewise.
37201         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37202         FP_DENORM_ZERO.
37203         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37204         (FP_TRUNC): Likewise.
37206         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37207         treated as invalid conversion, not as normal exponent.
37209         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37210         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37211         (_FP_CMP_EQ): Likewise.
37212         (_FP_CMP_UNORD): Likewise.
37213         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37214         (FP_CMP_EQ_D): Likewise.
37215         (FP_CMP_UNORD_D): Likewise.
37216         * soft-fp/extended.h (FP_CMP_E): Likewise.
37217         (FP_CMP_EQ_E): Likewise.
37218         (FP_CMP_UNORD_E): Likewise.
37219         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37220         (FP_CMP_EQ_Q): Likewise.
37221         (FP_CMP_UNORD_Q): Likewise.
37222         * soft-fp/single.h (FP_CMP_S): Likewise.
37223         (FP_CMP_EQ_S): Likewise.
37224         (FP_CMP_UNORD_S): Likewise.
37225         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37226         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37227         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37228         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37229         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37230         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37231         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37232         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37233         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37234         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37235         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37236         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37237         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37238         to FP_CMP_Q.
37239         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37240         FP_CMP_Q.
37241         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37242         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37243         FP_CMP_EQ_Q.
37244         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37245         FP_CMP_Q.
37246         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37247         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37248         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37249         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37250         FP_CMP_EQ_Q.
37251         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37252         FP_CMP_Q.
37253         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37254         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37255         FP_CMP_EQ_Q.
37256         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37257         FP_CMP_Q.
37258         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37259         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37260         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37261         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37262         FP_CMP_EQ_Q.
37264         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37265         a subnormal result, set the underflow exception if trapping on
37266         underflow is enabled.
37267         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37268         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37269         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37270         redefine to 0.
37271         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37272         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37273         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37274         * soft-fp/extendxftf2.c (__extendxftf2): Use
37275         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37277         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37278         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37279         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37280         FP_HANDLE_EXCEPTIONS.
37281         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37282         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37283         FP_HANDLE_EXCEPTIONS.
37284         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37285         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37286         FP_HANDLE_EXCEPTIONS.
37287         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37288         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37289         FP_HANDLE_EXCEPTIONS.
37291 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37293         [BZ #14132]
37294         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37295         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37296         use INTUSE.
37297         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37298         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37299         Remove alias.
37300         (__adjtimex): Define using libc_hidden_ver.
37301         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37302         Remove declaration.
37303         (ntp_gettime): Call __adjtimex directly.
37304         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37305         Remove declaration.
37306         (ntp_gettimex): Call __adjtimex directly.
37307         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37308         __adjtimex_internal alias.
37310 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37312         [BZ #17460]
37313         * nscd/nscd.c (more_help): Rewrite list of tables collection
37314         using xstrdup and asprintf.
37316         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37318 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37319             Roland McGrath  <roland@hack.frob.com>
37321         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37322         (do_lookup_unique): ... local function 'enter' here; update callers.
37324 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37326         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37327         compat_symbol calls on [SHARED].
37328         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37329         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37330         Remove.
37331         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37332         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37333         (oldsetrlimit): Remove.
37334         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37336         (lchown): New syscall entry.
37337         (oldsetrlimit): Remove.
37338         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37339         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37340         (oldsetrlimit): Remove.
37341         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37343         [BZ #14138]
37344         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37345         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37346         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37347         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37348         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37349         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37350         (fchown): Likewise.
37351         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37352         (fchown): Likewise.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37354         Likewise.
37356 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37358         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37359         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37360         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37361         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37362         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37363         Likewise.
37364         (__old_sem_post): Likewise.
37366 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37368         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37369         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37370         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37371         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37372         Use INLINE_VSYSCALL macro.
37373         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37374         __vdso_clock_gettime.
37375         * sysdeps/unix/sysv/linux/tile/init-first.c
37376         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37377         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37378         __vdso_clock_gettime.
37380         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
37381         to set up frame more cleanly.
37383         * sysdeps/tile/memcmp.c: New file.
37385         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
37387         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
37388         * sysdeps/tile/tilegx/strcasestr.c: New file.
37389         * sysdeps/tile/tilegx/strnlen.c: New file.
37390         * sysdeps/tile/tilegx/strstr.c: New file.
37392         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
37394 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
37396         * nptl/tst-setuid3.c: Write errors to stdout.
37398 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37400         * elf/dl-deps.c
37401         (preload): New functions broken out of _dl_map_object_deps.
37402         (_dl_map_object_deps):  Remove a nested function. Update call sites.
37404 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
37406         [BZ #14138]
37407         * sysdeps/unix/sysv/linux/execve.c: Remove file.
37408         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
37410 2014-10-01  Steve Ellcey  <sellcey@mips.com>
37412         * sysdeps/mips/strcmp.S: New.
37414 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
37416         [BZ #14138]
37417         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
37418         (linkat): Likewise.
37419         (mkdirat): Likewise.
37420         (readlinkat): Likewise.
37421         (renameat): Likewise.
37422         (symlinkat): Likewise.
37423         (unlinkat): Likewise.
37424         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
37425         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37426         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
37427         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
37428         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
37429         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
37430         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
37432 2014-09-30  Will Newton  <will.newton@linaro.org>
37434         * math/math.h: Define long double math functions if
37435         _LIBC_TEST is defined.
37436         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
37438         * localedata/Makefile: Move assignment to tests-special
37439         into an ifdef testing run-built-tests.
37440         * timezone/Makefile: Likewise.
37442 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
37444         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
37445         with $(BASH) not $(SHELL).
37447 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
37448             Matthew LeGendre  <legendre1@llnl.gov>
37450         [BZ #17411]
37451         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
37452         l_reloc_result.
37454 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37456         * stdio-common/printf_fp.c
37457         (hack_digit): New function, broken out of ...
37458         (__printf_fp): ... local function here.  Update call sites.
37459         hack_digit now takes an additional parameter that is a pointer
37460         to a struct of the referenced locals.  Those locals moved inside
37461         the struct and references updated.
37463 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37465         * aclocal.m4: Require autoconf 2.69.
37466         * configure: Regenerated.
37467         * sysdeps/aarch64/configure: Likewise.
37468         * sysdeps/alpha/configure: Likewise.
37469         * sysdeps/arm/armv7/configure: Likewise.
37470         * sysdeps/arm/configure: Likewise.
37471         * sysdeps/ia64/configure: Likewise.
37472         * sysdeps/mach/configure: Likewise.
37473         * sysdeps/mips/configure: Likewise.
37474         * sysdeps/s390/configure: Likewise.
37475         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37478         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37479         file.
37480         * sysdeps/ia64/configure.ac: Likewise.
37482 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37485         specify symbol version for ld.so.  Do not include entry for
37486         libpthread.
37487         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37488         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37489         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37491         [BZ #14171]
37492         * Makeconfig [$(build-shared) = yes]
37493         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37494         makefiles.
37495         [$(build-shared) = yes && $(soversions.mk-done) = t]
37496         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37497         [$(build-shared) = yes && $(soversions.mk-done) = t]
37498         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37499         to Makerules.
37500         [$(build-shared) = yes && $(soversions.mk-done) = t]
37501         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37502         here.
37503         [$(build-shared) = yes && $(soversions.mk-done) = t]
37504         (common-generated): Don't append gnu/lib-names.h and
37505         gnu/lib-names.stmp here.
37506         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37507         (lib-names-h-abi): New variable.
37508         [$(build-shared) = yes && $(soversions.mk-done) = t]
37509         (lib-names-stmp-abi): Likewise.
37510         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37511         abi-variants] (before-compile): Append
37512         $(common-objpfx)$(lib-names-h-abi).
37513         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37514         abi-variants] (common-generated): Append gnu/lib-names.h.
37515         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37516         abi-variants] (install-others-nosubdir): Depend on
37517         $(inst_includedir)/$(lib-names-h-abi).
37518         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37519         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37520         [$(build-shared) = yes && $(soversions.mk-done) = t]
37521         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37522         [$(build-shared) = yes && $(soversions.mk-done) = t]
37523         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37524         [$(build-shared) = yes && $(soversions.mk-done) = t]
37525         (common-generated): Append $(lib-names-h-abi) and
37526         $(lib-names-stmp-abi).
37527         * scripts/lib-names.awk: Do not handle multi being set.
37528         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37529         Remove variable.
37530         (abi-lp64_be-ld-soname): Likewise.
37531         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37532         Likewise.
37533         (abi-hard-ld-soname): Likewise.
37534         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37535         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37536         Remove variable.
37537         (abi-o32_hard-ld-soname): Likewise.
37538         (abi-o32_soft_2008-ld-soname): Likewise.
37539         (abi-o32_hard_2008-ld-soname): Likewise.
37540         (abi-n32_soft-ld-soname): Likewise.
37541         (abi-n32_hard-ld-soname): Likewise.
37542         (abi-n32_soft_2008-ld-soname): Likewise.
37543         (abi-n32_hard_2008-ld-soname): Likewise.
37544         (abi-n64_soft-ld-soname): Likewise.
37545         (abi-n64_hard-ld-soname): Likewise.
37546         (abi-n64_soft_2008-ld-soname): Likewise.
37547         (abi-n64_hard_2008-ld-soname): Likewise.
37548         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37549         Likewise.
37550         (abi-64-v2-ld-soname): Likewise.
37551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37552         ld.so entries.
37553         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37554         variable.
37555         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37556         entry.
37557         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37558         variable.
37559         (abi-64-ld-soname): Likewise.
37560         (abi-x32-ld-soname): Likewise.
37561         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37562         entry.
37563         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37565 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37567         [BZ #14138]
37568         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37569         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37570         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37571         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37572         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37573         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37574         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37575         syscall entry for GLIBC_2.2 symbol version.
37576         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37577         Likewise.
37578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37579         (setrlimit): Likewise.
37580         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37581         Likewise.
37583 2014-09-23  Will Newton  <will.newton@linaro.org>
37585         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37586         _LINUX_ARM_SYSDEP_H include guard too.
37587         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37588         define.
37590 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37592         * sysdeps/unix/sysv/linux/eventfd.c:
37593         Make first argument unsigned.
37594         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37595         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37597 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37599         [BZ #16852]
37600         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37601         * socket/sys/socket.h: Likewise.
37602         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37604 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37606         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37608 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37610         * time/tst-ftime.c: New test.
37611         * time/Makefile (tests): Add tst-ftime.
37613 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37615         * soft-fp/extended.h: Fix comment formatting.
37616         * soft-fp/op-1.h: Likewise.
37617         * soft-fp/op-2.h: Likewise.
37618         * soft-fp/op-4.h: Likewise.
37619         * soft-fp/op-8.h: Likewise.
37620         * soft-fp/op-common.h: Likewise.
37621         * soft-fp/soft-fp.h: Likewise.
37623         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37625 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37627         [BZ #6652]
37628         * Makeconfig (soversions-default-setname): Remove variable.
37629         ($(common-objpfx)soversions.i): Don't pass default_setname to
37630         soversions.awk.
37631         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37632         oldest_abi to abi-versions.awk.
37633         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37634         * config.make.in (oldest-abi): Remove variable.
37635         * configure.ac (--enable-oldest-abi): Remove configure option.
37636         * configure: Regenerated.
37637         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37638         text.
37639         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37640         * scripts/soversions.awk: Do not handle default_setname variable.
37641         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37642         variable.
37643         * sysdeps/mach/hurd/configure: Regenerated.
37644         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37645         variable.
37646         * sysdeps/unix/sysv/linux/configure: Regenerated.
37648 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37650         * elf/Makefile (CFLAGS-interp.c): Remove.
37651         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37652         path string.
37653         * elf/interp.c: Include generated runtime-linker.h
37655         * Makerules (lib%.so): Don't include $(+interp) in
37656         prerequisites.
37657         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37658         * dlfcn/eval.c: Remove file.
37660         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37661         macros.
37663         [BZ #17266]
37664         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37665         4.2 and newer.
37667         [BZ #17370]
37668         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37670 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37671             Jakub Jelinek  <jakub@redhat.com>
37673         [BZ #17266]
37674         * libio/stdio.h: Check definition of __fortify_function
37675         instead of __extern_always_inline to include bits/stdio2.h.
37676         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37677         check if __extern_always_inline is defined.
37678         [__USE_MISC || __USE_XOPEN]: Likewise.
37679         [__USE_ISOC99] Likewise.
37680         * misc/sys/cdefs.h (__fortify_function): Define only if
37681         __extern_always_inline is defined.
37682         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37683         __extern_always_inline and __extern_inline only for g++-4.3
37684         and newer or a compatible gcc.
37686 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37688         [BZ #17371]
37689         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37690         last change to handle zero prefix length.
37692 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37694         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37695         _SC_REGEX_VERSION.
37697         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37698         _POSIX_RAW_SOCKETS.
37700 2014-09-13  Allan McRae  <allan@archlinux.org>
37702         * po/ru.po: Update Russian translation from translation project.
37704 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37706         * locale/programs/locale.c (show_locale_vars): Inline local function
37707         into its sole call site.  Clean up some style nits.
37708         (print_item): New function, broken out of ...
37709         (show_info): ... local function here.  Clean up style nits.
37711         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37712         out of ...
37713         (set_class_defaults): ... local function set_default here.
37714         Define set_default as a macro locally to pass constant parameters.
37715         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37716         rather than a shared local.
37718         * stdlib/rpmatch.c (try): New function, broken out of ...
37719         (rpmatch): ... local function here.  Also, prototypify definition.
37721 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37723         * scripts/soversions.awk: Do not handle configuration names.
37724         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37725         vendor and os variables to soversions.awk.
37726         * configure.ac: Do not modify gnu-* host_os.
37727         * configure: Regenerated
37728         * shlib-versions: Remove first column with configuration names.
37729         * nptl/shlib-versions: Likewise.
37730         * nptl_db/shlib-versions: Likewise.
37731         * sysdeps/hppa/shlib-versions: Likewise.
37732         * sysdeps/m68k/shlib-versions: Likewise.
37733         * sysdeps/mach/hurd/shlib-versions: Likewise.
37734         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37735         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37736         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37737         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37738         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37739         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37740         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37741         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37743         Likewise.
37744         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37745         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37746         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37747         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37748         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37749         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37750         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37751         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37754         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37756         Regenerated.
37757         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37759         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37761         * shlib-versions: Remove OS-specific entries.  Moved to files in
37762         sysdeps.
37763         * sysdeps/mach/hurd/shlib-versions: New file.
37764         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37766         * nptl/shlib-versions: Remove architecture-specific entries.
37767         Moved to files in sysdeps.
37768         * shlib-versions: Likewise.
37769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37770         file.
37771         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37772         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37773         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37774         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37776         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37777         (UDP_NO_CHECK6_RX): Likewise.
37779 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37781         * sysdeps/posix/sysconf.c (__sysconf): Spell
37782         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37784 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37786         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37787         loading.
37788         * iconv/Versions (__gconv_transliterate): Export for use from
37789         gconv modules.
37790         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37791         (struct __gconv_trans_data, __gconv_trans_fct,
37792         __gconv_trans_context_fct, __gconv_trans_query_fct,
37793         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37794         definitions.
37795         (struct __gconv_step_data): Remove __trans member.
37796         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37797         longer hidden.  Remove unused trans_data argument.
37798         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37799         (__gconv_translit_find): Remove declaration.
37800         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37801         prototype.
37802         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37803         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37804         trans_data argument.  Add hidden definition.
37805         (__gconv_translit_find): Remove.
37806         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37807         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37808         * iconv/skeleton.c: Remove transliteration initialization.
37809         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37810         __gconv_step_data initialization.
37811         * libio/iofwide.c (__libio_translit_): Remove.
37812         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37813         * wcsmbs/btowc.c (__btowc): Likewise.
37814         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37815         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37816         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37817         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37818         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37819         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37820         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37821         * wcsmbs/wctob.c (wctob): Likewise.
37823 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37825         [BZ #16194]
37826         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37827         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37828         register usage.
37829         * sysdeps/x86/Makefile: Adjust.
37831 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37832             Roland McGrath  <roland@hack.frob.com>
37834         * locale/weight.h: Add include guard.
37835         (findidx): Make static rather than auto; take new parameters
37836         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37837         * locale/weightwc.h: Likewise.
37838         * posix/fnmatch_loop.c
37839         (FCT): Change type of EXTRA from int32_t to wint_t.
37840         Don't include either header inside the function.
37841         Call FINDIDX rather than findidx, and pass new arguments.
37842         #undef FINDIDX at the end of the file.
37843         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37844         FINDIDX before including fnmatch_loop.c for the non-wide version.
37845         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37846         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37847         for the wide version.
37848         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37849         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37850         Pass new arguments to findidx.
37851         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37852         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37853         Don't #include it inside the function.  Pass new arguments to findidx.
37854         * posix/regex_internal.h
37855         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37856         (re_string_elem_size_at): Don't #include it inside the function.
37857         Pass new arguments to findidx.
37858         * string/strcoll_l.c: #include WEIGHT_H at top level.
37859         (get_next_seq): Don't #include it inside the function.
37860         Pass new arguments to findidx.
37861         (get_next_seq_nocache): Likewise.
37862         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37863         (STRXFRM): Don't #include it inside the function.
37864         Pass new arguments to findidx.
37866 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37868         [BZ #17344]
37869         * malloc/malloc.c (unlink): Turn asserts into a call to
37870         malloc_printerr.
37872 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37874         [BZ #17370]
37875         * libio/wfileops (do_ftell_wide): Free OUT.
37877 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37879         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37881 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37883         [BZ #17363]
37884         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37885         group if the current group is empty.
37887 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37889         * benchtests/bench-memset.c (test_main): Add more test from size
37890         from 32 to 512 bytes.
37891         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37892         Add POWER8 memset object.
37893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37894         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37895         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37896         implementation.
37897         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37898         Likewise.
37899         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37900         multiarch POWER8 memset optimization.
37901         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37902         POWER8 memset optimization.
37904         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37905         Remove bzero multiarch objects.
37906         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37907         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37908         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37909         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37910         Remove define.
37911         [__bzero]: Redefine to specific name.
37912         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37913         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37914         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37915         define.
37916         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37917         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37919 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37921         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37922         warnings into errors.
37924         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37925         __cxa_thread_atexit_impl prototype.
37927 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37929         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37930         Fix capitalization of error message.
37932 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37934         * sysdeps/mips/preconfigure: Modify ABI tests.
37936 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37938         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37940 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37941             Carlos O'Donell  <carlos@systemhalted.org>
37943         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37944         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37945         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37946         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37947         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37948         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37949         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37950         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37951         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37952         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37953         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37954         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37955         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37956         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37957         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37958         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37959         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37960         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37961         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37962         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37963         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37964         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37965         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37966         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37967         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37968         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37969         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37970         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37971         Deconditionalize the code that was previously under [RESET_PID].
37972         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37973         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37974         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37975         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37976         include sysdep.h.
37978 2014-09-08  Allan McRae  <allan@archlinux.org>
37980         * version.h (RELEASE): Set to "development".
37981         (VERSION): Set to "2.20.90"
37983 2014-09-07  Allan McRae  <allan@archlinux.org
37985         * version.h (RELEASE): Set to "stable".
37986         (VERSION): Set to "2.20"
37987         * include/features.h (__GLIBC_MINOR__): Set to 20.
37989         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37990         Liebler.
37992         * po/ko.po: Update Korean translation from translation project.
37994 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37996         [BZ #17354]
37997         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37998         macro for handling signed relocations.
38000 2014-09-03  Florian Weimer  <fweimer@redhat.com>
38002         [BZ #17325]
38003         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
38004         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
38005         assert.
38006         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
38007         * iconvdata/ibm935.c (BODY): Likewise.
38008         * iconvdata/ibm937.c (BODY): Likewise.
38009         * iconvdata/ibm939.c (BODY): Likewise.
38010         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
38011         assert.
38012         * iconvdata/Makefile (iconv-test.out): Pass module list to test
38013         script.
38014         * iconvdata/run-iconv-test.sh: New test loop for checking for
38015         decoder crashers.
38017 2014-09-02  Khem Raj  <raj.khem@gmail.com>
38019         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
38020         libm_hidden_ver.
38022 2014-09-01  Allan McRae  <allan@archlinux.org>
38024         * po/eo.po: Update Esperanto translation from translation project.
38026         * po/ca.po: Update Catalan translation from translation project.
38028 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38030         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
38031         __proc_dostop call.
38033 2014-08-27  Mark Wielaard  <mjw@redhat.com>
38035         [BZ #17319]
38036         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
38037         to call set_thread_area instead of hand written asm.
38038         (__NR_set_thread_area): Removed define.
38039         (TLS_FLAG_WRITABLE): Likewise.
38040         (__ASSUME_SET_THREAD_AREA): Remove check.
38041         (TLS_EBX_ARG): Remove define.
38042         (TLS_LOAD_EBX): Likewise.
38044 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38046         Simplify atomicity of socket creation in bind.
38048         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38049         looking up the name after linking the file.
38051 2014-08-27  Allan McRae  <allan@archlinux.org>
38053         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38055 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38057         [BZ #17187]
38058         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38059         trans_compare, open_translit, __gconv_translit_find):
38060         Remove module loading code.
38062 2014-08-26  Allan McRae  <allan@archlinux.org>
38064         * po/vi.po: Update Vietnamese translation from translation project.
38066         * po/uk.po: Update Ukrainian translation from translation project.
38068         * po/fr.po: Update French translation from translation project.
38070         * po/ru.po: Update Russian translation from translation project.
38072         * po/pl.po: Update Polish translation from translation project.
38074         * po/cs.po: Update Czech translation from translation project.
38076         * po/de.po: Update German translation from translation project.
38078         * po/bg.po: Update Bulgarian translation from translation project.
38080         * po/sv.po: Update Sweedish translation from translation project.
38082         * po/nl.po: Update Dutch translation from translation project.
38084         * po/es.po: Update Spanish translation from translation project.
38086 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38088         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38090         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38091         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38092         (CPPFLAGS-iconvconfig): Likewise.
38093         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38095         * include/libc-symbols.h: Remove unnecessary check for
38096         NOT_IN_libc.
38097         * nptl/pthreadP.h: Likewise.
38098         * sysdeps/aarch64/setjmp.S: Likewise.
38099         * sysdeps/alpha/setjmp.S: Likewise.
38100         * sysdeps/arm/sysdep.h: Likewise.
38101         * sysdeps/i386/setjmp.S: Likewise.
38102         * sysdeps/m68k/setjmp.c: Likewise.
38103         * sysdeps/posix/getcwd.c: Likewise.
38104         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38105         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38106         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38107         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38108         * sysdeps/sh/sh3/setjmp.S: Likewise.
38109         * sysdeps/sh/sh4/setjmp.S: Likewise.
38110         * sysdeps/unix/alpha/sysdep.h: Likewise.
38111         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38112         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38113         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38114         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38119         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38122         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38124         * sysdeps/x86_64/setjmp.S: Likewise.
38126 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38128         [BZ #17263]
38129         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38130         <stdint.h>.
38131         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38132         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38134 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38136         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38138         [BZ #17262]
38139         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38140         and __x86_64__ when disabling x87 inline functions.
38142 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38144         [BZ #17259]
38145         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38146         asm statement with __cpuid_count.
38148 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38150         * configure.ac: Change __ehdr_start code to dereference the struct.
38151         Run readelf on the output to look for relocations.
38152         * configure: Regenerated.
38154 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38156         [BZ #17261]
38157         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38158         value to 0.
38159         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38161 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38163         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38165 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38167         [BZ #16892]
38168         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38169         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38171 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38173         * malloc/malloc.c: Fix typo in comment.
38175 2014-08-09  Allan McRae  <allan@archlinux.org>
38177         * Regenerate libc.po.
38179 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38181         * intl/tst-gettext2.sh: Check every lang file for creation.
38183 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38185         * sysdeps/aarch64/fpu/math_private.h
38186         (libc_feholdsetround_noex_aarch64_ctx): New function.
38188 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38190         * sysdeps/arm/armv6/strcpy.S (strcpy):
38191         Fix performance issue in misaligned cases.
38193 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38195         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38196         Move definition from termios.h.
38197         (struct termio): Likewise.
38198         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38199         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38200         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38201         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38202         Likewise.
38203         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38204         Move definition to ioctl-types.h
38205         (struct termio): Likewise.
38206         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38207         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38208         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38209         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38210         Likewise.
38212 2014-08-05  Richard Henderson  <rth@redhat.com>
38214         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38215         exceptions.
38216         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38217         Add fraiseexcpt.
38218         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38219         Use __feraiseexcept.
38220         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38221         Protect libm symbols with IS_IN_libm.
38223         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38225 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38227         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38229 2014-08-04  Will Newton  <will.newton@linaro.org>
38231         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38232         file.
38234 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38236         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38237         variants for each function.
38239 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38241         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38242         appended ...
38243         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38244         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38245         appended ...
38246         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38247         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38248         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38249         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38250         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38251         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38252         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38253         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38254         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38255         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38256         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38257         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38258         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38259         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38260         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38261         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38262         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38263         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38264         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38265         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38266         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38267         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38268         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38269         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38270         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38271         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38272         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38273         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38274         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38275         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38276         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38277         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38278         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38279         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38280         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38281         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38282         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38283         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38284         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38285         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38286         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38288         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38290         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38291         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38292         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38293         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38294         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38295         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38296         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38297         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38298         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38299         Update #include.
38300         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38301         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38303 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38305         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38306         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38307         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38308         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38309         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38310         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38312 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38314         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38315         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38316         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38317         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38319 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38321         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38322         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38323         (__libc_vfork): Define function under this name.
38324         (__vfork): Define as an alias.
38325         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38326         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38328 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38330         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38331         that was previously under [RESET_PID].
38332         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38334 2014-08-04  Andreas Schwab  <schwab@suse.de>
38336         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38338 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38340         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38341         (main): Likewise.
38343 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38345         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38347 2014-08-01  Richard Henderon  <rth@redhat.com>
38349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38350         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38351         typo in exact zero test.
38352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38353         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38354         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38356 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38358         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38359         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38360         * sysdeps/arm/sysdep.h: ... here.
38361         [!__ASSEMBLER__]: Include <stdint.h>.
38363 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38365         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38366         (HAVE_WCTYPE_H): Likewise.
38367         (HAVE_ISWCTYPE): Likewise.
38368         (ENABLE_NLS): Likewise.
38369         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38370         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38372         * posix/regex_internal.c: Check if DEBUG is defined and is
38373         set.
38375         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38376         (HAVE_MBSRTOWCS): Likewise.
38377         * posix/fnmatch.c: Include string.h unconditionally.
38379 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38381         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
38382         reversal.
38384 2014-07-31  Roland McGrath  <roland@hack.frob.com>
38386         * sysdeps/generic/safe-fatal.h: New file.
38387         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
38388         * nptl/forward.c: Include it.
38389         (__pthread_unwind): Use __safe_fatal as default action, rather
38390         than a bogus use of INTERNAL_SYSCALL that could never work.
38392         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38393         * configure.ac (libc_cv_builtin_trap): New test.
38394         * configure: Regenerated.
38395         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
38396         (ABORT_INSTRUCTION): Define using __builtin_trap.
38398         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
38399         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38400         * sysdeps/nptl/nptl-signals.h: New file.
38401         * nptl/pthreadP.h: Include <nptl-signals.h>.
38403 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38405         * sysdeps/s390/s390-64/utf16-utf32-z9.c
38406         (ONE_DIRECTION): Define.
38407         * sysdeps/s390/s390-64/utf8-utf16-z9.c
38408         (ONE_DIRECTION): Define.
38409         * sysdeps/s390/s390-64/utf8-utf32-z9.c
38410         (ONE_DIRECTION): Define.
38412 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38414         * sysdeps/s390/Makefile: Delete file.
38415         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38416         * sysdeps/s390/__longjmp.c: Delete file.
38417         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
38418         Remove fields __flags and __reserved.
38419         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
38420         and add versioning.
38421         * sysdeps/s390/rtld-__longjmp.c: Delete file.
38422         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
38423         * sysdeps/s390/rtld-setjmp.S: Likewise.
38424         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
38425         * sysdeps/s390/s390-32/__longjmp.c: ... here.
38426         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38427         * sysdeps/s390/s390-32/setjmp.S: ... here.
38428         Add versioning.
38429         (__sigsetjmp): Remove setting __flags field.
38430         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
38431         * sysdeps/s390/s390-64/__longjmp.c: ... here.
38432         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38433         * sysdeps/s390/s390-64/setjmp.S: ... here.
38434         Add versioning.
38435         (__sigsetjmp): Remove setting __flags field.
38436         * sysdeps/s390/setjmp.S: Delete file.
38437         * sysdeps/s390/sigjmp.c: Likewise.
38438         * sysdeps/s390/v1-longjmp.c: Likewise.
38439         * sysdeps/s390/v1-setjmp.h: Likewise.
38440         * sysdeps/s390/v1-sigjmp.c: Likewise.
38441         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
38442         Remove v1-longjmp_chk.
38443         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
38444         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
38445         Include debug/longjmp_chk.c and add versioning.
38446         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
38447         Include nptl/pt-longjmp.c and add versioning.
38448         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
38449         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
38450         Include __longjmp.c.
38451         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38452         Move to ...
38453         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
38454         (__getcontext): Remove setting __flags field.
38455         Add versioning.
38456         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38457         Don't restore upper high grps.
38458         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38459         Likewise.
38460         (__swapcontext): Remove setting uc_flags field.
38461         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38462         Delete file.
38463         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38464         Include __longjmp.c.
38465         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38466         Move to ...
38467         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38468         (__getcontext): Remove setting __flags field.
38469         Add versioning.
38470         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38471         (__swapcontext): Remove setting uc_flags field.
38472         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38473         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38474         Remove fields uc_high_gprs and __reserved.
38475         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38476         New file with reverted content.
38477         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38478         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38479         Regenerated.
38480         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38481         Regenerated.
38483 2014-07-31  Andreas Schwab  <schwab@suse.de>
38485         * config.h.in (HAVE_IFUNC): Define to 0.
38486         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38487         definedness.
38489 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38492         memmove-avx-unaligned, memcpy-avx-unaligned and
38493         mempcpy-avx-unaligned.
38494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38495         Add tests for AVX memcpy functions.
38496         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38497         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38498         memcpy_chk.
38499         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38500         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38501         memmove_chk.
38502         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38503         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38504         mempcpy_chk.
38505         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38506         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38507         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38509 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38511         [BZ #17213]
38512         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38513         powerpc64le.
38515 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38517         [BZ #16839]
38518         * manual/llio.texi: Add section about open file description locks.
38519         * manual/examples/ofdlocks.c: Example of open file description
38520         lock usage.
38521         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38522         F_OFD_SETLK, and F_OFD_SETLKW.
38524 2014-07-23  Allan McRae  <allan@archlinux.org>
38526         * po/es.po: Update Spanish translation from translation project.
38528 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38530         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38532 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38534         [BZ #17078]
38535         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38536         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38537         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38539 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38541         [BZ #17088]
38542         * math/fesetenv.c (__fesetenv)
38543         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38544         * math/feupdateenv.c (__feupdateenv)
38545         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38547         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38548         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38549         (__ASSUME_SOCKETCALL): Do not define.
38551         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38552         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38553         (__ASSUME_SOCKETCALL): Do not define.
38554         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38555         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38556         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38557         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38558         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38559         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38561         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38563         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38564         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38565         (__ASSUME_SOCKETCALL): Do not define.
38566         (__ASSUME_IPC64): Define unconditionally.
38567         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38568         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38569         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38570         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38571         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38572         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38573         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38574         Likewise.
38576         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38577         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38578         (__ASSUME_SOCKETCALL): Do not define.
38579         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38580         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38581         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38582         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38583         (__ASSUME_REQUEUE_PI): Define unconditionally.
38584         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38585         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38586         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38587         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38588         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38589         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38591         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38592         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38593         (__ASSUME_SOCKETCALL): Do not define.
38594         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38595         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38596         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38597         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38598         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38599         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38601         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38602         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38603         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38604         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38605         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38606         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38607         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38608         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38609         (__ASSUME_GETCPU_SYSCALL): Likewise.
38611         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38612         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38613         cases for individual architectures.
38614         * sysdeps/gnu/configure: Regenerated.
38615         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38616         LIBC_SLIBDIR_RTLDDIR.
38617         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38618         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38619         LIBC_SLIBDIR_RTLDDIR.
38620         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38622         LIBC_SLIBDIR_RTLDDIR.
38623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38624         Regenerated.
38625         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38626         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38627         file.
38628         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38629         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38630         file.
38631         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38632         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38633         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38634         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38636         * sysdeps/aarch64/shlib-versions: Move to ...
38637         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38638         * sysdeps/alpha/shlib-versions: Move to ...
38639         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38640         * sysdeps/arm/shlib-versions: Move to ...
38641         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38642         * sysdeps/hppa/shlib-versions: Move all contents except for
38643         libgcc_s entry to ...
38644         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38645         entry from ...
38646         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38647         * sysdeps/ia64/shlib-versions: Move to ...
38648         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38649         entry from ...
38650         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38651         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38652         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38653         * sysdeps/microblaze/shlib-versions: Move to ...
38654         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38655         * sysdeps/mips/shlib-versions: Move to ...
38656         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38657         entry from ...
38658         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38659         * sysdeps/tile/shlib-versions: Move to ...
38660         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38661         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38662         from ...
38663         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38664         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38665         entry from ...
38666         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38668 2014-07-17  Will Newton  <will.newton@linaro.org>
38670         * sysdeps/arm/bits/atomic.h
38671         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38672         (__arch_compare_and_exchange_bool_16_int): Likewise.
38673         (__arch_compare_and_exchange_bool_64_int): Likewise.
38675         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38676         into an #else block.
38678 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38680         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38681         just Linux configurations.  Test empirically that the compiler sets
38682         __ARM_EABI__, rather than using the tuple to decide.
38683         * sysdeps/arm/preconfigure: Regenerated.
38684         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38685         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38686         contents appended ...
38687         * sysdeps/arm/configure.ac: ... here.
38688         * sysdeps/arm/configure: Regenerated.
38690 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38692         * nptl/pthread_kill.c: New file.
38693         * nptl/pthread_sigmask.c: New file.
38694         * nptl/pthread_sigqueue.c: New file.
38696         * sysdeps/nptl/lowlevellock.h: New file.
38697         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38698         * sysdeps/nptl/lowlevellock-futex.h: New file.
38700         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38701         Remove dead declarations.
38703 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38705         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38706         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38707         config-cflags-avx2.
38708         * sysdeps/x86_64/configure.ac: Likewise.
38709         * sysdeps/i386/configure: Regenerated.
38710         * sysdeps/x86_64/configure: Likewise.
38711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38712         memset-avx2 only if config-cflags-avx2 is yes.
38713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38714         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38715         defined.
38716         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38717         only if HAVE_AVX2_SUPPORT is defined.
38718         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38720 2014-07-14  Alan Modra  <amodra@gmail.com>
38722         [BZ #17153]
38723         * elf/elf.h (DT_PPC64_NUM): Correct value.
38724         * NEWS: Add to fixed bug list.
38726 2014-07-13  Jim Meyering  <meyering@fb.com>
38728         [BZ 17150]
38729         regex: don't deref NULL upon heap allocation failure
38730         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38731         failure in one more place.
38732         To trigger the segfault, configure grep -with-included-regex,
38733         build it, and run these commands:
38734         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38736 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38738         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38740 2014-07-11  Richard Henderson  <rth@redhat.com>
38742         * sysdeps/aarch64/libm-test-ulps: Update.
38744 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38746         [BZ #17135]
38747         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38748         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38749         (__nptl_setxid): Initialize error member.  Call
38750         __nptl_setxid_error.
38751         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38752         * nptl/descr.h (struct xid_command): Add error member.
38753         * nptl/tst-setuid3.c: New file.
38754         * nptl/Makefile (tests): Add it.
38756 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38759         New define.
38760         (__lll_trylock): Use __lll_base_trylock.
38761         (__lll_cond_trylock): Likewise.
38763 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38765         * nptl/pthread_create.c (start_thread): Use atomic_or and
38766         lll_futex_wake directly rather than lll_robust_dead.
38767         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38768         (lll_robust_dead): Macro removed.
38769         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38770         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38771         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38772         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38773         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38774         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38775         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38776         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38777         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38778         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38779         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38780         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38781         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38782         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38783         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38785         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38786         Use atomic_compare_and_exchange_val_acq directly rather than
38787         lll_robust_trylock.
38788         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38789         (__lll_robust_trylock, lll_robust_trylock): Removed.
38790         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38791         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38792         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38793         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38794         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38795         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38796         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38797         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38798         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38799         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38800         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38801         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38802         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38803         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38805 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38807         * manual/locale.texi (Locale Names): New section documenting
38808         locale name syntax.  Adjust menu and node chaining accordingly.
38809         (Choosing Locale): Reference Locale Names, Locale Categories.
38810         Mention setting LC_ALL=C.  Reflect that name syntax is now
38811         documented.
38812         (Locale Categories): New section title.  Reference Locale Names.
38813         LC_ALL is an environment variable, but not a category.
38814         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38815         description, now in Locale Name.  Reference that section.  Locale
38816         name syntax is now documented.
38818 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38820         [BZ #17137]
38821         * locale/findlocale.c (name_present, valid_locale_name): New
38822         functions.
38823         (_nl_find_locale): Use the loc_name variable to store name
38824         candidates.  Call name_present and valid_locale_name to check and
38825         validate locale names.  Return an error if the locale is invalid.
38827 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38829         * locale/setlocale.c (setlocale): Use strdup for allocating
38830         composite name copy.
38832 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38834         Sync up with gnulib.
38835         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38836         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38837         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38838         and _GL_ARG_NONNULL.
38839         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38840         [!_LIBC]: Include code for Windows and Cygwin.
38841         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38842         Include prototype for int strerror_r.
38843         [!_LIBC] (is_open): New function.
38844         (flush_stdout): New function.
38845         (print_errno_message): Use it.
38846         (error): Likewise.
38847         (error_at_line): Likewise.
38848         (error_tail) Add function attribute macros.  Use
38849         __builtin_expect.
38851         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38853         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38855         * io/ftw.c: Include sys/param.h unconditionally.
38857         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38859         [BZ #17125]
38860         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38861         libc_freeres_ptr.
38862         (freecache): New function to free CACHE on exit.
38864         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38865         initialization.
38867 2014-07-09  David S. Miller  <davem@davemloft.net>
38869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38871         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38872         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38873         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38874         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38875         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38876         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38877         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38878         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38879         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38880         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38881         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38882         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38883         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38885 2014-07-09  Andreas Schwab  <schwab@suse.de>
38887         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38888         output.
38889         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38890         (do_test): Likewise.
38892         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38894 2014-07-09  Will Newton  <will.newton@linaro.org>
38896         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38897         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38898         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38899         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38900         * sysdeps/hppa/start.S (_start): Likewise.
38902 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38904         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38906         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38907         defined.
38909 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38911         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38912         after checking that it is non-NULL.
38914         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38916 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38918         * sysdeps/powerpc/memmove.c: Remove file.
38919         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38920         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38921         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38922         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38923         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38924         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38925         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38926         string memmove instead of removed powerpc one.
38928         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38929         [weak_alias]: Fix compiler warning due trailing data.
38930         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38931         [weak_alias]: Likewise.
38932         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38933         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38936         (__libc_ifunc_impl_list): Add memmove functions.
38938 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38940         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38941         Remove code.
38942         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38943         Likewise.
38944         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38945         Likewise.
38946         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38947         Likewise.
38948         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38949         Likewise.
38950         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38951         Likewise.
38952         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38953         Likewise.
38954         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38955         Likewise.
38956         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38957         Likewise.
38958         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38959         Likewise.
38960         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38961         Likewise.
38962         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38963         Likewise.
38964         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38965         Likewise.
38966         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38967         Likewise.
38968         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38969         Likewise.
38970         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38971         Likewise.
38972         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38973         Likewise.
38975 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38977         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38978         to avoid alignment traps in non-cacheable memory.
38979         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38982         multiarch objects.
38983         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38984         file: multiarch power7 memmove.
38985         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38986         multiarch default memmove.
38987         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38988         multiarch memove for powerpc32/power4.
38990         * string/bcopy.c: Use full path to include memmove.c.
38991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38992         multiarch objects.
38993         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38994         bcopy for powerpc64.
38995         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38996         bcopy for powerpc64.
38997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38998         and memmove implementations.
38999         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
39000         optimized multiarch memmove for POWER7/powerpc64.
39001         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
39002         default multiarch memmove for powerpc64.
39003         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
39004         multiarch for powerpc64.
39005         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
39006         for POWER7/powerpc64.
39007         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
39008         memmove for POWER7/powerpc64.
39010         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
39011         glibc default one.
39013         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
39014         __ELF_NATIVE_CLASS equal to 64.
39016 2014-07-07  Roland McGrath  <roland@hack.frob.com>
39018         * sysdeps/nptl/lowlevellock.h: File removed.
39020         * NEWS: NPTL is no longer an add-on!
39021         * nptl/internaltypes.h: Moved ...
39022         * sysdeps/nptl/internaltypes.h: ... here.
39023         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
39024         * sysdeps/nptl/fork.c: Likewise.
39025         * sysdeps/nptl/gai_misc.h: Likewise.
39026         * sysdeps/nptl/librt-cancellation.c: Likewise.
39027         * sysdeps/nptl/jmp-unwind.c: Likewise.
39028         * sysdeps/nptl/setxid.h: Likewise.
39029         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
39030         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
39031         * sysdeps/unix/sysv/linux/arm/Implies: New file.
39032         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
39033         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
39034         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
39035         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
39036         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
39037         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
39038         * sysdeps/unix/sysv/linux/mips/Implies: New file.
39039         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
39040         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
39041         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39042         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39043         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39044         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39045         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39046         * nptl/Makeconfig: Moved ...
39047         * sysdeps/nptl/Makeconfig: ... here.
39048         * nptl/configure: File removed.
39049         * nptl/ANNOUNCE: File removed.
39050         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39051         * sysdeps/unix/sysv/linux/configure: Regenerated.
39053         * nptl/Makefile (routines): Add libc_pthread_init,
39054         libc_multiple_threads, register-atfork and unregister-atfork.
39055         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39056         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39057         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39058         pthread-pi-defines.sym, structsem.sym.
39059         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39060         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39061         [$(subdir) = nptl] (tests): Add tst-setgetname.
39062         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39063         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39064         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39065         [!LIBC_SIGACTION]: Remove aliases.
39066         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39067         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39068         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39069         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39070         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39071         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39072         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39073         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39075         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39076         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39077         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39078         __libc_allocate_rtsig_private.
39079         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39080         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39081         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39082         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39083         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39084         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39085         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39086         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39087         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39088         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39089         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39090         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39091         * nptl/internaltypes.h: ... here.
39092         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39093         * sysdeps/nptl/jmp-unwind.c: ... here.
39094         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39095         * nptl/libc-lowlevellock.c: ... here.
39096         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39097         * nptl/libc_multiple_threads.c: ... here.
39098         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39099         * nptl/libc_pthread_init.c: ... here.
39100         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39101         * nptl/lowlevelbarrier.sym: ... here.
39102         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39103         * nptl/lowlevelcond.sym: ... here.
39104         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39105         * nptl/lowlevellock.c: ... here.
39106         * nptl/lowlevellock.h: Moved ...
39107         * sysdeps/nptl/lowlevellock.h: ... here.
39108         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39109         * nptl/lowlevelrobustlock.c: ... here.
39110         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39111         * nptl/lowlevelrobustlock.sym: ... here.
39112         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39113         * nptl/lowlevelrwlock.sym: ... here.
39114         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39115         * nptl/pt-fork.c: ... here.
39116         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39117         * nptl/pthread-pi-defines.sym: ... here.
39118         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39119         * nptl/pthread_attr_getaffinity.c: ... here.
39120         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39121         * nptl/pthread_attr_setaffinity.c: ... here.
39122         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39123         * nptl/pthread_mutex_cond_lock.c: ... here.
39124         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39125         Update #include.
39126         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39127         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39128         * nptl/pthread_once.c: ... here, replacing old file.
39129         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39130         * nptl/pthread_yield.c: ... here.
39131         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39132         * nptl/register-atfork.c: ... here.
39133         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39134         * nptl/sem_post.c: ... here.
39135         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39136         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39137         * nptl/sem_timedwait.c: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39139         * nptl/sem_trywait.c: ... here.
39140         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39141         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39142         * nptl/sem_wait.c: ... here.
39143         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39144         * nptl/structsem.sym: ... here.
39145         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39146         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39147         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39148         * nptl/unregister-atfork.c: ... here.
39149         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39150         * nptl/unwindbuf.sym: ... here.
39151         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39152         * sysdeps/nptl/fork.c: ... here.
39153         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39154         * sysdeps/nptl/fork.h: ... here.
39155         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39156         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39157         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39158         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39159         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39160         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39161         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39162         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39163         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39164         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39165         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39166         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39167         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39168         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39169         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39170         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39171         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39172         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39173         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39174         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39175         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39176         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39177         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39178         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39179         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39180         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39181         * sysdeps/unix/sysv/linux/raise.c: ... here.
39182         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39183         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39184         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39185         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39186         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39187         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39188         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39189         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39190         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39191         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39192         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39193         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39194         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39195         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39196         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39198 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39200         * sysdeps/generic/memcopy.h: Add comment for
39201         MEMCPY_OK_FOR_FWD_MEMMOVE.
39203 2014-07-04  Will Newton  <will.newton@linaro.org>
39205         * string/memchr.c: Merge from gnulib.
39206         [_LIBC]: Remove conditionals.
39207         (__ptr_t): Remove define.
39208         (LONG_MAX_32_BITS): Likewise.
39209         (LONG_MAX): Likewise.
39210         (MEMCHR): Use ANSI prototype and optimize algorithm.
39212         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39214 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39216         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39217         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39219         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39220         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39221         in a bare environment with no <stdlib.h> installed.
39222         * sysdeps/nptl/configure: Regenerated.
39224         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39226         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39227         AC_EGREP_CPP for kernel header checks, so they only succeed if
39228         including <linux/version.h> actually works right.
39229         * sysdeps/unix/sysv/linux/configure: Regenerated.
39231         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39232         value so it's not diagnosed as unused.
39234         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39235         thing) with "ifeq ($(subdir),rt)".
39237 2014-07-03  Richard Henderson  <rth@redhat.com>
39239         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39240         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39241         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39243         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39244         (math_force_eval): New.
39246         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39247         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39249         * sysdeps/alpha/fpu/s_round.c: Remove file.
39250         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39252         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39253         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39254         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39255         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39256         (_dl_start, print_statistics): Likewise.
39257         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39258         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39260         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39261         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39262         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39263         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39264         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39265         (HP_SMALL_TIMING_AVAIL): Define.
39266         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39267         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39268         (HP_SMALL_TIMING_AVAIL): Define.
39269         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39270         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39272         * sysdeps/aarch64/hp-timing.h: New file.
39274         * sysdeps/generic/hp-timing.h: Remove dead comment.
39275         * sysdeps/generic/hp-timing-common.h: New file.
39276         * sysdeps/alpha/hp-timing.h: Include it.
39277         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39278         * sysdeps/i386/i686/hp-timing.h: Likewise.
39279         * sysdeps/ia64/hp-timing.h: Likewise.
39280         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39281         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39282         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39283         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39284         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39285         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39286         (hp_timing_t): New.
39288         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39289         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39290         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39291         * elf/rtld.c (_dl_start_final): Likewise.
39292         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39293         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39294         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39295         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39296         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39297         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39298         (HP_TIMING_DIFF_INIT): Remove.
39299         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39300         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39301         (HP_TIMING_DIFF_INIT): Remove.
39302         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39303         * sysdeps/i386/i686/hp-timing.c: Remove file.
39304         * sysdeps/x86_64/hp-timing.c: Remove file.
39305         * sysdeps/ia64/hp-timing.c: Remove file.
39306         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39307         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39308         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39309         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39311         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39312         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39313         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39314         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39316         (HP_TIMING_ACCUM): Remove.
39317         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39318         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39319         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39321         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39322         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39323         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39324         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39325         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39326         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39327         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39328         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39330         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39332 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39334         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39336 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39338         Sync up with gettext.
39339         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39340         [_MSC_VER]: Include malloc.h
39341         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39342         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39343         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39344         TEMP_FAILURE_RETRY.  Cast return of alloca.
39345         [!_LIBC] Call gl_rwlock_init.
39346         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39348 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39350         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39351         before checking its value.
39353 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39355         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39357         * debug/memcpy_chk.c: Don't include pagecopy.h.
39358         * debug/mempcpy_chk.c: Likewise.
39359         * string/memcpy.c: Likewise.
39360         * string/memmove.c: Likewise.
39361         * sysdeps/powerpc/memmove.c: Likewise.
39362         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39363         definition of PAGE_COPY_FWD_MAYBE here...
39364         * sysdeps/generic/pagecopy.h: ... from here.
39365         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39367 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39368             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39370         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39372         optimizations.
39373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39374         (__libc_ifunc_impl_list): Likewise.
39375         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39376         multiarch strcat for PPC64.
39377         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39378         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
39380 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39382         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
39384 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39386         * intl/loadmsgcat.c: Remove declaration of
39387         get_sysdep_segment_value.
39388         (get_sysdep_segment_value): Use ISO C style.
39389         (_nl_load_domain): Use ISO C style.  Get rid of redundant
39390         semicolon.  Fix typo and formatting in comment.
39391         (_nl_unload_domain): Use ISO C style.
39393         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
39395 2014-07-02  Will Newton  <will.newton@linaro.org>
39397         * malloc/obstack.c: Merge from gnulib master.
39398         [HAVE_CONFIG_H]: Remove conditional code.
39399         [!_LIBC]: Include config.h.
39400         [!ELIDE_CODE]: Don't include inttypes.h, include
39401         stdint.h unconditionally.
39402         (print_and_abort): Mark as _Noreturn.
39403         (_obstack_allocated_p): Mark as __attribute_pure__.
39404         (obstack_free): Rename to __obstack_free.
39405         [!__attribute__]: Remove conditional code.
39406         * malloc/obstack.h: Merge from gnulib master.
39407         [__cplusplus]: Move conditional down.
39408         [!__attribute_pure__]: Define __attribute_pure__ here
39409         if it is not already defined.
39410         (_obstack_memory_used): Mark as __attribute_pure__.
39411         [!__obstack_free]: Define as obstack_free.
39412         [__GNUC__]: Remove check for ancient NeXT gcc.
39414 2014-07-02  Will Newton  <will.newton@linaro.org>
39415             Paul Eggert  <eggert@cs.ucla.edu>
39417         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39419 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39421         * resolv/gethnamaddr.c: Add comment warning that the file is
39422         not maintained.
39424 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
39426         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
39427         entries.
39429         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
39430         entry for aio_cancel and aio_cancel64.
39431         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
39432         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
39433         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
39434         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
39435         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
39436         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
39437         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
39438         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
39439         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
39440         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
39441         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
39442         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
39443         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
39445 2014-07-01  Roland McGrath  <roland@hack.frob.com>
39447         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
39448         * nptl/pthread_mutex_lock.c: Likewise.
39449         * nptl/pthread_mutex_timedlock.c: Likewise.
39450         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
39452 2014-07-01  Richard henderson  <rth@redhat.com>
39454         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
39455         (__isnan, __isnanl): Remove.
39456         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39458         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39460 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39462         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39464 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39466         * resolv/nss_dns/dns-host.c (getanswer_r)
39467         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39469 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39471         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39472         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39473         undefine.
39474         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39475         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39477 2014-07-01  Roland McGrath <roland@hack.frob.com>
39479         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39480         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39482         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39483         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39485         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39486         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39487         ... here.
39488         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39489         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39491         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39492         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39493         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39494         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39496         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39497         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39498         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39499         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39500         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39501         Moved ...
39502         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39503         ... here.
39504         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39505         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39506         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39507         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39508         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39509         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39510         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39511         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39512         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39513         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39514         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39515         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39516         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39517         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39518         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39519         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39520         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39521         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39522         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39523         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39524         ... here.
39525         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39526         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39527         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39528         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39529         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39530         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39531         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39532         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39534 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39536         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39537         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39538         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39539         Add sysdep.
39541 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39545 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39547         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39548         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39550         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39552         * sysdeps/arm/libm-test-ulps: Regenerated.
39554 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39555             Roland McGrath <roland@hack.frob.com>
39557         * test-skeleton.c (signal_handler): Kill the whole process group
39558         before killing the child individually.
39559         (main): Report any failure on `setpgid'.
39561 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39563         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39564         from _TLS_H to _ARM_NPTL_TLS_H.
39565         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39566         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39568 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39570         [BZ #16539]
39571         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39572         (__expm1l): Return argument unchanged when small but not
39573         subnormal.
39575         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39576         include macro name.
39577         (_FP_UNPACK_RAW_1_P): Likewise.
39578         (_FP_PACK_RAW_1): Likewise.
39579         (_FP_PACK_RAW_1_P): Likewise.
39580         (_FP_MUL_MEAT_1_wide): Likewise.
39581         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39582         (_FP_MUL_MEAT_1_hard): Likewise.
39583         (_FP_DIV_MEAT_1_imm): Likewise.
39584         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39585         (_FP_DIV_MEAT_1_udiv): Likewise.
39586         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39587         (_FP_UNPACK_RAW_2): Likewise.
39588         (_FP_UNPACK_RAW_2_P): Likewise.
39589         (_FP_PACK_RAW_2): Likewise.
39590         (_FP_PACK_RAW_2_P): Likewise.
39591         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39592         (_FP_MUL_MEAT_2_wide): Likewise.
39593         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39594         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39595         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39596         (_FP_MUL_MEAT_2_gmp): Likewise.
39597         (_FP_DIV_MEAT_2_udiv): Likewise.
39598         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39599         (_FP_FRAC_SRL_4): Likewise.
39600         (_FP_FRAC_SRST_4): Likewise.
39601         (_FP_FRAC_SRS_4): Likewise.
39602         (_FP_UNPACK_RAW_4): Likewise.
39603         (_FP_UNPACK_RAW_4_P): Likewise.
39604         (_FP_PACK_RAW_4): Likewise.
39605         (_FP_PACK_RAW_4_P): Likewise.
39606         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39607         (_FP_MUL_MEAT_4_wide): Likewise.
39608         (_FP_MUL_MEAT_4_gmp): Likewise.
39609         (umul_ppppmnnn): Likewise.
39610         (_FP_DIV_MEAT_4_udiv): Likewise.
39611         (__FP_FRAC_ADD_4): Likewise.
39612         (__FP_FRAC_SUB_3): Likewise.
39613         (__FP_FRAC_SUB_4): Likewise.
39614         (__FP_FRAC_DEC_3): Likewise.
39615         (__FP_FRAC_DEC_4): Likewise.
39616         (__FP_FRAC_ADDI_4): Likewise.
39617         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39618         (_FP_FRAC_SRL_8): Likewise.
39619         (_FP_FRAC_SRS_8): Likewise.
39621         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39622         include macro name.
39623         (FP_UNPACK_RAW_EP): Likewise.
39624         (FP_PACK_RAW_E): Likewise.
39625         (FP_PACK_RAW_EP): Likewise.
39626         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39627         (_FP_ISSIGNAN): Likewise.
39628         (_FP_ADD_INTERNAL): Likewise.
39629         (_FP_FMA): Likewise.
39630         (_FP_CMP): Likewise.
39631         (_FP_SQRT): Likewise.
39632         (_FP_TO_INT): Likewise.
39633         (_FP_FROM_INT): Likewise.
39634         (FP_EXTEND): Likewise.
39635         (_FP_DIV_MEAT_N_loop): Likewise.
39637 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39639         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39640         throughout.
39642 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39644         [BZ #17097]
39645         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39646         result with correct sign in case of exponents that produce
39647         overflow except for X very close to 1.
39649 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39651         mktime: merge #if/#ifdef usage from glibc
39652         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39653         as that works with both Glibc's and Gnulib's style.
39654         See thread starting at Siddhesh Poyarekar's bug report at:
39655         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39657 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39659         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39660         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39661         * sysdeps/tile/tilegx/memmove.c: Remove file.
39663 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39665         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39666         abi-name definition.
39667         * scripts/soversions.awk: Do not handle or generate ABI lines.
39668         * shlib-versions: Remove ABI entries.
39669         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39670         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39672 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39675         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39676         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39677         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39679         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39681         Moved ...
39682         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39683         ... here.
39684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39685         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39686         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39687         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39689         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39691         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39693         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39695         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39697         Moved ...
39698         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39699         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39700         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39701         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39702         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39703         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39704         Moved ...
39705         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39706         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39707         Moved ...
39708         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39710         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39712         Moved ...
39713         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39715         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39716         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39717         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39718         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39719         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39720         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39721         Moved ...
39722         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39724         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39725         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39726         Moved ...
39727         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39728         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39729         Moved ...
39730         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39732         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39734         Moved ...
39735         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39736         ... here.
39737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39738         Identical file removed.
39739         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39740         Moved ...
39741         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39742         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39743         Identical file removed.
39744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39745         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39746         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39747         Moved ...
39748         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39749         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39750         Identical file removed.
39751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39752         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39753         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39754         Identical file removed.
39755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39756         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39757         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39758         Identical file removed.
39759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39760         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39761         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39762         Identical file removed.
39763         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39764         Moved ...
39765         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39766         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39767         Identical file removed.
39768         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39769         Moved ...
39770         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39771         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39772         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39774         Identical file removed.
39775         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39776         Moved ...
39777         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39778         ... here.
39779         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39780         Identical file removed.
39781         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39782         Moved ...
39783         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39784         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39785         Identical file removed.
39786         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39787         Moved ...
39788         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39789         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39790         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39791         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39792         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39793         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39794         Moved ...
39795         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39796         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39797         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39799         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39800         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39801         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39802         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39803         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39805 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39807         [BZ #17092]
39808         * nscd/nscd.c (monitor_child): Return exit status of child
39809         instead of return value from wait syscall.
39811 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39813         * configure.ac (libc_commonpagesize): Remove variable.
39814         (libc_relro_required): Likewise.
39815         (libc_cv_z_relro): Remove configure test.
39816         * configure: Regenerated.
39817         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39818         variable.
39819         (libc_relro_required): Likewise.
39820         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39821         (libc_relro_required): Likewise.
39822         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39823         (libc_relro_required): Likewise.
39824         * sysdeps/arm/preconfigure: Regenerated.
39825         * sysdeps/ia64/preconfigure: Remove file.
39826         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39827         variable.
39828         (libc_relro_required): Likewise.
39830         [BZ #16561]
39831         [BZ #16562]
39832         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39833         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39834         recompute overflowing results in original rounding mode.
39835         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39836         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39837         recompute overflowing results in original rounding mode.
39838         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39839         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39840         recompute overflowing results in original rounding mode.
39841         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39842         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39843         recompute overflowing results in original rounding mode.
39844         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39845         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39846         recompute overflowing results in original rounding mode.
39847         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39848         (libc_feholdsetround_ctx): New macro.
39849         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39850         * sysdeps/i386/fpu/libm-test-ulps: Update.
39851         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39853 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39855         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39856         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39857         corresponding .cpsetup call.
39859 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39861         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39862         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39863         * sysdeps/arm/Makefile [$(subdir) = csu]
39864         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39865         (static-only-routines): Add aeabi_read_tp here.
39866         (shared-only-routines): Add libc-aeabi_read_tp here.
39867         (CFLAGS-libc-start.c): Add -fexceptions here.
39868         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39869         (sysdep_routines, static-only-routines, shared-only-routines):
39870         Don't add to these here.
39871         (CFLAGS-libc-start.c): Likewise.
39873         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39874         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39875         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39876         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39877         * sysdeps/arm/Makefile [$(subdir) = rt]
39878         (librt-sysdep_routines, librt-shared-only-routines):
39879         Append rt-aeabi_unwind_cpp_pr1 here.
39880         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39881         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39882         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39883         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39884         Append nptl-aeabi_unwind_cpp_pr1 here.
39885         (tests): Filter out tst-cleanupx4 here.
39886         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39887         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39888         Don't do those here.
39890 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39892         * scripts/list-sources.sh: Do not handle ports specially.
39894 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39896         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39897         * sysdeps/arm/feupdateenv.c: Likewise.
39899         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39901 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39903         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39904         trailing whitespace removed.
39905         * scripts/config.guess: Update to version 2014-03-23.
39906         * scripts/config.sub: Update to version 2014-05-01
39907         * scripts/install-sh: Update to version 2013-12-25.23.
39908         * scripts/move-if-change: Update from gnulib.
39910 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39912         * debug/memmove_chk.c: Remove pagecopy.h include.
39914 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39916         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39917         identical to gnulib mktime.
39919 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39921         * configure.ac: Do not test for machine being rs6000.  Do not test
39922         for powerpc*-*soft.
39923         * configure: Regenerated.
39925         [BZ #11505]
39926         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39927         test.
39928         * configure: Regenerated.
39929         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39930         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39931         Remove configure test.
39932         * sysdeps/arm/configure: Regenerated.
39933         * sysdeps/nptl/configure.ac: Do not check
39934         libc_cv_asm_cfi_directives.
39935         * sysdeps/nptl/configure: Regenerated.
39936         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39937         * sysdeps/x86_64/nptl/configure: Remove generated file.
39938         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39939         unconditional.
39940         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39942 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39944         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39945         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39946         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39947         it is defined.
39949         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39950         instead of whether it is defined.
39951         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39952         * sysdeps/hppa/dl-machine.h: Likewise.
39953         * sysdeps/ia64/dl-machine.h: Likewise.
39954         * sysdeps/m68k/dl-machine.h: Likewise.
39955         * sysdeps/microblaze/dl-machine.h: Likewise.
39956         * sysdeps/mips/dl-machine.: Likewise.
39957         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39958         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39959         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39960         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39961         * sysdeps/sh/dl-machine.h: Likewise.
39962         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39963         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39964         * sysdeps/tile/dl-machine.h: Likewise.
39965         * sysdeps/x86_64/dl-machine.h: Likewise.
39967         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39968         code.
39969         (verify_persistent_db): Likewise.
39971 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39974         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39976         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39978         Moved ...
39979         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39980         ... here.
39981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39982         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39984         Identical file removed.
39985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39986         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39988         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39990         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39992         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39994         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39996         Moved ...
39997         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39999         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
40000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
40001         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
40002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40003         Moved ...
40004         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
40005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
40006         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
40007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
40008         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
40009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40010         Identical file removed.
40011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
40012         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
40013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
40014         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
40015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40016         Moved ...
40017         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
40018         ... here.
40019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
40020         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
40021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
40022         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
40023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
40024         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
40025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
40026         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
40027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
40028         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
40029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40030         Moved ...
40031         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
40032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
40033         Moved ...
40034         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
40035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
40036         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
40037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40038         Moved ...
40039         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
40040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
40041         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40043         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40044         folded into ...
40045         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40046         * sysdeps/unix/sysv/linux/s390/Versions
40047         (libpthread: GLIBC_2.19): New version set.
40048         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40049         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40050         (librt: GLIBC_2.3.3): New version set.
40051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40052         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40053         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40054         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40055         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40056         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40057         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40058         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40059         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40060         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40061         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40062         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40063         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40064         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40065         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40066         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40067         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40068         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40069         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40070         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40071         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40072         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40073         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40074         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40075         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40076         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40077         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40078         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40079         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40080         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40081         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40082         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40087         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40088         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40089         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40090         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40091         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40092         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40093         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40094         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40095         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40097         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40098         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40099         (__libc_vfork): Define the function under this name.
40100         [!NOT_IN_libc] (__vfork): Make this an alias.
40101         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40102         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40103         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40104         (__libc_vfork): Define the function under this name.
40105         [!NOT_IN_libc] (__vfork): Make this an alias.
40106         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40107         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40108         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40110         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40111         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40113         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40114         code that was previously under [RESET_PID].
40115         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40116         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40119         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40120         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40121         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40122         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40123         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40124         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40125         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40126         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40127         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40128         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40129         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40130         Moved ...
40131         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40132         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40133         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40134         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40135         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40136         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40137         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40138         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40139         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40140         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40141         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40142         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40143         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40144         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40145         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40146         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40147         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40148         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40149         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40150         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40151         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40152         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40153         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40154         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40155         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40156         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40157         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40158         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40159         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40161 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40163         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40164         that was previously under [RESET_PID].
40165         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40167 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40169         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40170         not undefine and redefine.
40171         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40172         [O_CLOEXEC]: Make code unconditional.
40173         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40174         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40175         <kernel-features.h>.
40176         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40177         conditional variable definition.
40178         (shm_open) [O_CLOEXEC]: Make code unconditional.
40179         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40180         code.
40182         * configure.ac (USE_REGPARMS): Don't define here.
40183         * configure: Regenerated.
40184         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40185         * sysdeps/i386/configure: Regenerated.
40187         * nptl/createthread.c: Don't include kernel-features.h.
40188         * nptl/pthread_cancel.c: Likewise.
40189         * nptl/pthread_condattr_setclock.c: Likewise.
40190         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40191         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40192         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40193         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40194         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40195         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40196         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40199         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40200         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40201         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40202         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40203         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40204         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40205         * nscd/gai.c: Likewise.
40206         * nss/nss_db/db-open.c: Likewise.
40207         * sysdeps/generic/ldsodefs.h: Likewise.
40208         * sysdeps/sh/nptl/tls.h: Likewise.
40209         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40210         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40211         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40212         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40213         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40214         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40215         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40216         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40217         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40218         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40219         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40220         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40221         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40222         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40223         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40224         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40225         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40226         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40227         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40228         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40231         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40232         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40234         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40235         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40236         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40237         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40238         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40239         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40240         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40241         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40242         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40243         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40244         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40245         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40246         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40247         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40248         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40249         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40250         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40251         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40252         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40253         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40254         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40255         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40256         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40257         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40258         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40259         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40260         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40261         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40262         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40263         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40264         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40265         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40266         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40289         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40290         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40291         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40292         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40293         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40294         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40295         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40296         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40297         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40298         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40299         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40300         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40301         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40302         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40303         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40304         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40305         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40306         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40307         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40308         * sysdeps/unix/sysv/linux/system.c: Likewise.
40309         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40310         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40311         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40312         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40313         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40314         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40315         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40317         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40318         * configure: Regenerated.
40319         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40321         * configure.ac (base_machine): Do not set specially for particular
40322         machines here.
40323         * configure: Regenerated.
40324         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40325         settings from configure.ac.
40326         * sysdeps/i386/preconfigure: New file.
40327         * sysdeps/s390/preconfigure: Likewise.
40328         * sysdeps/sh/preconfigure: Likewise.
40329         * sysdeps/sparc/preconfigure: Likewise.
40331 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40333         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40334         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40335         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40336         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40337         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40338         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40339         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40340         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40341         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40342         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40343         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40344         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40345         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40346         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40347         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40348         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40350         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40351         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40353         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40354         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40355         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40356         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40357         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40358         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40359         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40360         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40361         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40362         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40363         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40364         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40365         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40366         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40367         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40368         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40369         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40370         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40371         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40372         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40373         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40374         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40375         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40376         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40377         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40378         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
40379         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
40380         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
40381         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
40382         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
40383         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
40384         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
40385         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
40386         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
40387         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
40388         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
40389         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
40390         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
40392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
40393         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
40394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
40395         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
40396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40397         Moved ...
40398         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
40399         ... here.
40400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
40401         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
40402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
40403         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
40404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
40405         Moved ...
40406         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
40407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
40408         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
40409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
40410         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
40411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
40412         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
40413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40414         Moved ...
40415         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
40416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40417         Moved ...
40418         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
40419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
40420         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
40421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40422         Moved ...
40423         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
40424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
40425         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
40426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
40427         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
40428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40429         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
40430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
40431         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
40432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40433         Moved ...
40434         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
40435         ... here.
40436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
40437         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
40438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
40439         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
40440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
40441         Moved ...
40442         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
40443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
40444         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
40445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
40446         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
40447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
40448         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
40449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40450         Moved ...
40451         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
40452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40453         Moved ...
40454         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
40455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40456         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40458         Moved ...
40459         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40461         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40463         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40465 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40467         * timezone/checktab.awk: Update from tzcode 2014e.
40468         * timezone/private.h: Likewise.
40469         * timezone/tzfile.h: Likewise.
40470         * timezone/zdump.c: Likewise.
40471         * timezone/zic.c: Likewise.
40473         * sysdeps/unix/sysv/linux/kernel-features.h
40474         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40475         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40476         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40477         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40478         Remove conditional code.
40480 2014-06-25  Will Newton  <will.newton@linaro.org>
40482         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40483         (_dl_arm_cap_flags): Add HWCAP2 values.
40484         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40485         (_DL_HWCAP_COUNT): Increase to 37.
40486         (_DL_HWCAP_LAST): New define.
40487         (_DL_HWCAP2_LAST): New define.
40488         (_dl_procinfo): Add support for printing
40489         AT_HWCAP2 entries.
40490         (_dl_string_hwcap): Use _dl_hwcap_string.
40492 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40496 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40498         * README: Do not mention ports directory.
40500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40501         Remove macro.
40502         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40503         <kernel-features.h>.
40504         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40505         conditional variable definition.
40506         (__futimes): Update comment.
40507         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40508         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40510         [BZ #16560]
40511         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40512         arguments close to 0.
40513         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40514         Likewise.
40515         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40516         Likewise.
40517         * math/auto-libm-test-in: Add more tests of exp10.
40518         * math/auto-libm-test-out: Regenerated.
40519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40521         * sysdeps/unix/sysv/linux/kernel-features.h
40522         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40523         * sysdeps/unix/sysv/linux/readv.c: Do not include
40524         <kernel-features.h>.
40525         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40526         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40527         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40528         unconditional.
40529         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40530         conditional code.
40531         * sysdeps/unix/sysv/linux/writev.c: Do not include
40532         <kernel-features.h>.
40533         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40534         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40535         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40536         unconditional.
40537         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40538         conditional code.
40540 2014-06-25  Will Newton  <will.newton@linaro.org>
40542         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40543         comment changes throughout the file.  Remove checks
40544         for HAVE_*_H definitions that are not required.
40545         (__gen_tempname): Call abort if an unknown kind value is
40546         passed.
40548 2014-06-25  Andreas Schwab  <schwab@suse.de>
40550         [BZ #17086]
40551         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40552         scalbln, scalblnf, scalblnl in libc.
40554 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40556         [BZ #17086]
40557         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40558         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40559         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40561 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40563         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40564         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40565         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40566         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40567         Update #include.
40568         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40569         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40570         Update #include.
40571         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40572         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40573         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40574         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40575         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40576         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40577         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40578         * sysdeps/x86/bits/semaphore.h: ... here.
40579         * sysdeps/x86/nptl/elide.h: Moved ...
40580         * sysdeps/x86/elide.h: ... here.
40581         * sysdeps/x86_64/nptl/Implies: File removed.
40582         * sysdeps/i386/nptl/Implies: File removed.
40584 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40586         [BZ #16539]
40587         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40588         return the argument for normal arguments with exponent below -64.
40589         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40590         Likewise.
40591         * math/auto-libm-test-in: Add another test of expm1.
40592         * math/auto-libm-test-out: Regenerated.
40594         [BZ #16287]
40595         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40596         calling __erfcl for arguments at least 16.
40597         * math/auto-libm-test-in: Add more tests of erf.
40598         * math/auto-libm-test-out: Regenerated.
40600         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40601         individual architectures.
40602         * sysdeps/unix/sysv/linux/configure: Regenerated.
40603         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40604         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40605         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40606         (ldd_rewrite_script): Define variable.
40607         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40609         file.
40610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40611         generated file.
40612         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40613         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40614         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40615         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40616         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40617         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40618         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40619         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40621 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40623         [BZ #17084]
40624         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40625         Rename member __data.d to __data.__elision_data.
40627 2014-06-24  Wilco  <wdijkstr@arm.com>
40629         * NEWS: Add 16918 to fixed bug list.
40631 2014-06-24  Wilco  <wdijkstr@arm.com>
40633         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40635 2014-06-24  Wilco  <wdijkstr@arm.com>
40637         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40638         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40639         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40640         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40641         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40642         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40643         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40644         Use _FPU_MASK_RM.
40646 2014-06-24  Wilco  <wdijkstr@arm.com>
40648         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40650 2014-06-24  Wilco  <wdijkstr@arm.com>
40652         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40653         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40654         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40655         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40657 2014-06-24  Wilco  <wdijkstr@arm.com>
40659         [BZ #16918]
40660         * sysdeps/arm/feupdateenv.c (feupdateenv):
40661         Rewrite to reduce FPSCR accesses and fix return value.
40663 2014-06-24  Wilco  <wdijkstr@arm.com>
40665         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40666         Optimize to avoid unnecessary FPSCR writes.
40667         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40668         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40669         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40670         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40672 2014-06-24  Wilco  <wdijkstr@arm.com>
40674         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40675         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40676         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40677         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40678         Call libc_fetestexcept_vfp.
40679         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40680         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40681         __SOFTFP__ ifdef so that they can be built for softfp.
40683 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40685         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40686         argument type signed char.
40688         * Makerules (check-abi): Dump diff of symlist if the test
40689         fails.
40691 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40693         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40694         using abort.
40696         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40697         Remove unused variable ST.
40699 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40701         [BZ #16354]
40702         [BZ #17061]
40703         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40704         small arguments before calling __expm1.
40705         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40706         small arguments before calling __expm1f.
40707         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40708         small arguments before calling __expm1l.
40709         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40710         Likewise.
40711         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40712         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40713         spurious underflow for some cosh tests.
40714         * math/auto-libm-test-out: Regenerated.
40715         * sysdeps/i386/fpu/libm-test-ulps: Update.
40717         [BZ #17050]
40718         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40719         (__ieee754_y1): Set errno if return value overflows.
40720         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40721         (__ieee754_y1f): Set errno if return value overflows.
40722         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40723         (__ieee754_y1l): Set errno if return value overflows.
40724         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40725         (__ieee754_y1l): Set errno if return value overflows.
40726         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40727         * math/auto-libm-test-out: Regenerated.
40729         * math/gen-auto-libm-tests.c: Document use of
40730         ignore-zero-inf-sign.
40731         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40732         (input_flags): Add ignore-zero-inf-sign.
40733         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40734         * math/gen-libm-test.pl (generate_testfile): Handle
40735         ignore-zero-inf-sign.
40736         * math/auto-libm-test-in: Mark some cpow tests with
40737         ignore-zero-inf-sign and some with xfail-rounding.
40738         * math/auto-libm-test-out: Regenerated.
40739         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40740         * sysdeps/i386/fpu/libm-test-ulps: Update.
40741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40743         [BZ #16315]
40744         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40745         overflowing or underflowing operations take place with sign of
40746         result.
40747         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40748         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40749         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40750         (__ieee754_pow): Recompute overflowing and underflowing results in
40751         original rounding mode.
40752         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40753         (__powl_helper): Allow negative argument X and scale negated value
40754         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40755         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40756         overflowing or underflowing operations take place with sign of
40757         result.
40758         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40759         Include <math.h>.
40760         * math/auto-libm-test-in: Add more tests of pow.
40761         * math/auto-libm-test-out: Regenerated.
40762         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40763         (pow_tonearest_test_data): Remove.
40764         (pow_test_tonearest): Likewise.
40765         (pow_towardzero_test_data): Likewise.
40766         (pow_test_towardzero): Likewise.
40767         (pow_downward_test_data): Likewise.
40768         (pow_test_downward): Likewise.
40769         (pow_upward_test_data): Likewise.
40770         (pow_test_upward): Likewise.
40771         (main): Don't call removed functions.
40772         * sysdeps/i386/fpu/libm-test-ulps: Update.
40773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40775 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40778         Moved ...
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40781         Moved ...
40782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40784         Moved ...
40785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40787         Moved ...
40788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40790         File removed.
40791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40792         File removed.
40793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40794         File removed.
40795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40796         File removed.
40797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40798         File removed.
40799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40800         File removed.
40801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40802         File removed.
40803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40804         File removed.
40805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40806         File removed.
40807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40808         File removed.
40809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40810         File removed.
40811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40812         File removed.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40814         Moved ...
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40817         Moved ...
40818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40819         ... here.
40820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40821         Moved ...
40822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40824         Moved ...
40825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40827         Moved ...
40828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40830         Moved ...
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40833         Moved ...
40834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40836         Moved ...
40837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40839         Moved ...
40840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40843         ... here.
40844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40845         Moved ...
40846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40848         Moved ...
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40850         ... here.
40851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40852         Moved ...
40853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40854         ... here.
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40856         Moved ...
40857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40858         ... here.
40859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40860         Moved ...
40861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40863         Moved ...
40864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40868         Moved ...
40869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40870         ... here.
40871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40872         Moved ...
40873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40874         ... here.
40875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40876         Moved ...
40877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40879         Moved ...
40880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40882         Moved ...
40883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40885         Moved ...
40886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40888         Moved ...
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40890         ... here.
40891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40892         Moved ...
40893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40895         Moved ...
40896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40898         Moved ...
40899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40901         Moved ...
40902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40906         Moved ...
40907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40909         Moved ...
40910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40912         Moved ...
40913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40914         ... here.
40915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40916         Moved ...
40917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40918         ... here.
40919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40920         Moved ...
40921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40922         ... here.
40923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40924         Moved ...
40925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40927         Moved ...
40928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40930         Moved ...
40931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40933         Moved ...
40934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40935         ... here.
40936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40937         Moved ...
40938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40939         ... here.
40940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40941         Moved ...
40942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40943         ... here.
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40945         Moved ...
40946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40948         Moved ...
40949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40951 2014-06-23  Will Newton  <will.newton@linaro.org>
40952             Wilco  <wdijkstr@arm.com>
40954         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40955         implementation.  Include get-rounding-mode.h.
40956         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40957         [!libc_feholdsetround_noex_ctx]: Define
40958         libc_feholdsetround_noex_ctx.
40959         [!libc_feholdsetround_noexf_ctx]: Define
40960         libc_feholdsetround_noexf_ctx.
40961         [!libc_feholdsetround_noexl_ctx]: Define
40962         libc_feholdsetround_noexl_ctx.
40963         (libc_feholdsetround_ctx): New function.
40964         (libc_feresetround_ctx): New function.
40965         (libc_feholdsetround_noex_ctx): New function.
40966         (libc_feresetround_noex_ctx): New function.
40968 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40970         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40971         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40972         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40973         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40974         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40975         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40977         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40978         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40979         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40980         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40981         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40982         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40983         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40984         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40985         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40986         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40987         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40988         Moved ...
40989         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40990         ... here.
40991         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40992         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40993         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40994         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40995         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40996         Moved ...
40997         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40998         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40999         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
41000         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
41001         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
41002         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
41003         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
41004         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
41005         Moved ...
41006         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
41007         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
41008         Moved ...
41009         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
41010         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
41011         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
41012         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
41013         Moved ...
41014         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
41015         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
41016         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
41017         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
41018         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
41019         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
41020         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
41021         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
41022         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
41023         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
41024         Moved ...
41025         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
41026         ... here.
41027         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
41028         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
41029         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
41030         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
41031         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
41032         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
41033         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
41034         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
41035         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
41036         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
41037         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
41038         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
41039         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
41040         Moved ...
41041         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41042         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41043         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41044         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41045         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41046         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41047         Moved ...
41048         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41049         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41050         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41051         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41052         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41054         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41055         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41056         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41057         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41058         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41059         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41060         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41061         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41062         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41063         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41064         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41065         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41066         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41067         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41068         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41069         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41070         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41071         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41072         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41073         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41074         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41075         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41076         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41077         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41078         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41079         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41080         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41081         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41083 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41085         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41086         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41087         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41088         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41089         (IPV6_PMTUDISC_INTERFACE): Likewise.
41090         (IPV6_PMTUDISC_OMIT): Likewise.
41092 2014-06-23  Andreas Schwab  <schwab@suse.de>
41094         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41095         Remove unused errout label.
41097 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41099         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41100         macro: hardware supports Vector Crypto instructions.
41102 2014-06-23  Will Newton  <will.newton@linaro.org>
41104         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41105         rather than __builtin_expect.
41107         * elf/dl-lookup.c (undefined_msg): Remove variable.
41108         (_dl_lookup_symbol_x): Replace undefined_msg with string
41109         literal.
41111         * elf/dl-lookup.c (do_lookup_unique): New function.
41112         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41113         to a separate function.
41115 2014-06-23  Andreas Schwab  <schwab@suse.de>
41117         [BZ #17079]
41118         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41119         before reading the next line.
41121 2014-06-23  Will Newton  <will.newton@linaro.org>
41123         * test-skeleton.c (signal_handler): Use printf and %m
41124         rather than perror.  Use printf rather than fprintf to
41125         stderr.  Use puts rather than fputs to stderr.
41126         (main): Likewise.
41128 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41130         * nscd/nscd.c (thread_info_t): Remove typedef.
41131         (thread_info): Remove variable.
41133 2014-06-21  Allan McRae  <allan@archlinux.org>
41135         * NEWS: Mention CVE-2014-4043.
41137 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41139         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41140         * nptl/smp.h: ... here.
41142         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41144         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41145         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41146         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41147         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41149         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41150         * nptl/stack-aliasing.h: New file.
41151         * sysdeps/i386/i686/stack-aliasing.h: New file.
41152         * sysdeps/i386/i686/nptl/Makefile: File removed.
41153         * sysdeps/x86_64/stack-aliasing.h: New file.
41154         * sysdeps/x86_64/nptl/Makefile
41155         (CFLAGS-pthread_create.c): Variable removed.
41157         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41158         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41159         old file.
41160         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41161         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41162         old file.
41164 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41166         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41167         (__ASSUME_SIGFRAME_V2): Remove macro.
41168         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41169         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41170         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41171         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41172         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41173         Declare as function.  Remove conditional macro definitions.
41174         (__default_rt_sa_restorer): Likewise.
41175         (__default_sa_restorer_v1): Remove declaration.
41176         (__default_sa_restorer_v2): Likewise.
41177         (__default_rt_sa_restorer_v1): Likewise.
41178         (__default_rt_sa_restorer_v2): Likewise.
41179         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41180         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41181         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41183 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41185         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41186         (libpthread-routines): Add sysdep.
41187         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41188         * sysdeps/unix/sysv/linux/sparc/Versions
41189         (libpthread: GLIBC_2.3.3): New version set.
41190         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41191         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41192         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41193         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41194         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41195         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41196         Moved ...
41197         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41198         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41199         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41200         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41201         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41202         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41203         * sysdeps/sparc/nptl/sem_init.c: ... here.
41204         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41205         * sysdeps/sparc/nptl/sem_post.c: ... here.
41206         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41207         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41208         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41209         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41210         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41211         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41212         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41213         (libpthread-routines): Add cpu_relax.
41214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41215         File removed.
41216         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41217         (librt: GLIBC_2.3.3): New version set.
41218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41219         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41220         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41221         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41224         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41226         Moved ...
41227         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41229         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41231         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41233         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41235         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41237         Moved ...
41238         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41239         Update #include.
41240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41241         Moved ...
41242         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41243         Update #include.
41244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41245         Moved ...
41246         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41247         Update #include.
41248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41249         Moved ...
41250         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41251         Update #include.
41252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41253         Moved ...
41254         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41255         Update #include.
41256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41257         Moved ...
41258         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41259         Update #include.
41260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41261         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41265         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41267         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41269         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41271         Moved ...
41272         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41274         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41276         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41278 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41280         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41281         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41282         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41283         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41284         * nscd/nscd.c: Likewise.
41285         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41286         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41287         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41288         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41290         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41291         <kernel-features.h>.
41292         (init_mq_netlink): Remove conditional have_sock_cloexec
41293         definitions.  Remove code conditional on have_sock_cloexec < 0.
41294         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41295         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41296         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41297         <kernel-features.h>.
41298         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41299         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41301 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41304         Add tests for memset_chk and memset.
41306         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41307         with AVX2_Usable.
41309 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41311         [BZ #16046]
41312         * elf/tst-dl-iter-static.c: New file.
41313         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41315         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41316         error.
41318 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41320         * sysdeps/unix/sysv/linux/kernel-features.h
41321         (__ASSUME_F_GETOWN_EX): Remove macro.
41322         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41323         <kernel-features.h>.
41324         (miss_F_GETOWN_EX): Remove variable or macro.
41325         (do_fcntl): Do not check miss_F_GETOWN_EX.
41326         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41329         Remove macro.
41330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41331         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41332         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41334         * sysdeps/unix/sysv/linux/kernel-features.h
41335         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41336         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41337         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41338         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41340 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41342         [BZ #17075]
41343         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41344         Fix calculation of the symbol's value.
41345         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41346         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41347         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41348         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41349         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41350         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41351         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41352         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41353         (modules-names): Add `tst-armtlsdescmod',
41354         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41355         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41356         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41357         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41358         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41359         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41360         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41361         ($(objpfx)tst-armtlsdescloc): New dependency.
41362         ($(objpfx)tst-armtlsdescextnow): Likewise.
41363         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41364         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41365         TLS scheme support.
41366         * sysdeps/arm/configure: Regenerate.
41368 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41370         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41371         (__atfct_seterrno_2): Likewise.
41372         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41373         <kernel-features.h>.
41374         (__ASSUME_ATFCTS): Do not undefine and redefine.
41375         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41376         (__have_atfcts): Remove conditional definition.
41377         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41378         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
41379         unreachable if [__ASSUME_ATFCTS].
41380         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
41381         not undefine and redefine.
41382         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
41383         <kernel-features.h>.
41384         (faccessat) [__NR_faccessat]: Make code unconditional.
41385         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
41386         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
41387         <kernel-features.h>.
41388         (fchmodat) [__NR_fchmodat]: Make code unconditional.
41389         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41390         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
41391         <kernel-features.h>.
41392         (fchownat) [__NR_fchownat]: Make code unconditional.
41393         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
41394         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
41395         <kernel-features.h>.
41396         (futimesat) [__NR_futimesat]: Make code unconditional.
41397         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
41398         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41399         <kernel-features.h>.
41400         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41401         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41402         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41403         <kernel-features.h>.
41404         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
41405         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41406         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
41407         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41408         <kernel-features.h>.
41409         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
41410         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41411         * sysdeps/unix/sysv/linux/linkat.c: Do not include
41412         <kernel-features.h>.
41413         (linkat) [__NR_linkat]: Make code unconditional.
41414         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41415         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
41416         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
41417         <kernel-features.h>.
41418         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
41419         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41420         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
41421         <kernel-features.h>.
41422         (mkdirat) [__NR_mkdirat]: Make code unconditional.
41423         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
41424         * sysdeps/unix/sysv/linux/openat.c: Do not include
41425         <kernel-features.h>.
41426         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
41427         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
41428         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
41429         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
41430         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
41431         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
41432         <kernel-features.h>.
41433         (readlinkat) [__NR_readlinkat]: Make code unconditional.
41434         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
41435         result of INLINE_SYSCALL directly, not via int variable.
41436         * sysdeps/unix/sysv/linux/renameat.c: Do not include
41437         <kernel-features.h>.
41438         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
41439         (renameat) [__NR_renameat]: Make code unconditional.
41440         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
41441         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
41442         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
41443         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
41444         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
41445         (__ASSUME_ATFCTS): Do not undefine and redefine.
41446         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
41447         <kernel-features.h>.
41448         (symlinkat) [__NR_symlinkat]: Make code unconditional.
41449         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41450         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
41451         <kernel-features.h>.
41452         (unlinkat) [__NR_unlinkat]: Make code unconditional.
41453         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41454         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
41455         (__ASSUME_ATFCTS): Do not undefine and redefine.
41456         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41457         <kernel-features.h>.
41458         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41459         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41460         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41461         <kernel-features.h>.
41462         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41463         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41465 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41467         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41469 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41471         [BZ #17069]
41472         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41473         constructed tree before returning error.
41474         * posix/bug-regexp36.c: Expand test case.
41476 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41478         [BZ #6803]
41479         * math/libm-test.inc (scalbln_test_date):
41480         Add errno expectations.
41481         * math/w_scalblnf.c: New File.
41482         Add wrapper which checks for setting errno to ERANGE.
41483         Add weak_alias for corresponding scalbln function.
41484         * math/w_scalbln.c: Likewise.
41485         * math/w_scalblnl.c: Likewise.
41486         * math/Makefile (libm-calls): Add w_scalbln.
41487         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41488         Remove weak_alias for corresponding scalbln function.
41489         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41491         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41492         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41493         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41494         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41495         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41496         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41497         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41498         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41499         Remove long_double_symbol for scalblnl function in libm, libc.
41500         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41501         Add wrapper which checks for setting errno to ERANGE.
41502         Add long_double_symbol for scalblnl function in libm, libc.
41503         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41504         Remove long_double_symbol for scalblnl in libm.
41505         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41506         Add wrapper which checks for setting errno to ERANGE.
41507         Add long_double_symbol for scalblnl function in libm.
41508         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41509         Do not use wrapper because of own implementation.
41511 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41513         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41514         3 bytes for __pad1 for x32.
41515         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41517 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41518             H.J. Lu  <hongjiu.lu@intel.com>
41520         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41521         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41522         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41523         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41524         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41526 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41528         [BZ #17069]
41529         * posix/regcomp.c (parse_expression): Deallocate partially
41530         constructed tree before returning error.
41531         * posix/Makefile.c (tests): Add bug-regex36.
41532         (generated): Add bug-regex36.mtrace.
41533         (tests-special): Add $(objpfx)bug-regex36-mem.out
41534         (bug-regex36-ENV): New variable.
41535         ($(objpfx)bug-regex36-mem.out): New rule.
41536         * posix/bug-regex36.c: New file.
41538 2014-06-19  Will Newton  <will.newton@linaro.org>
41540         * malloc/malloc.c (systrim): If extra is zero then return
41541         early.
41543 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41545         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41547 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41549         * sysdeps/aarch64/strchr.S: New file.
41551 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41553         [BZ #17022]
41554         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41555         from arguments -2 or below.
41556         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41557         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41559 2014-06-18  Andreas Schwab  <schwab@suse.de>
41561         [BZ #17062]
41562         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41563         of a bracket expr not to run off the end of the string.
41564         * posix/Makefile (tests): Add tst-fnmatch3.
41565         * posix/tst-fnmatch3.c: New file.
41567 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41569         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41570         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41571         [$(cross-compiling) = no]: Likewise.
41572         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41573         [$(cross-compiling) = no]: Likewise.
41575 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41577         [BZ #17031]
41578         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41579         double, adjusted for any remainder from the high double.
41580         * math/libm-test.inc (nearbyint): Add tests.
41581         (rint): Likewise.
41583 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41585         * nptl/sysdeps/powerpc/Makefile: Moved ...
41586         * sysdeps/powerpc/nptl/Makefile: ... here.
41587         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41588         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41589         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41590         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41591         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41592         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41593         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41594         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41595         * nptl/sysdeps/powerpc/tls.h: Moved ...
41596         * sysdeps/powerpc/nptl/tls.h: ... here.
41598 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41600         [BZ #16681]
41601         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41602         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41603         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41604         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41605         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41606         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41607         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41608         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41609         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41611 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41613         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41615 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41617         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41618         defined operator.
41620         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41621         $TIMEOUTFACTOR.
41623 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41625         [BZ #17058]
41626         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41627         non-executed part of the test.
41629 2014-06-16  Andreas Schwab  <schwab@suse.de>
41631         * string/bits/string2.h (strdup, strndup): Update feature guard.
41633 2014-06-14  David S. Miller  <davem@davemloft.net>
41635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41637 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41639         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41640         that was previously under [RESET_PID].
41641         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41643         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41644         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41645         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41646         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41647         (__libc_vfork): New strong alias.
41648         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41650 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41652         * sysdeps/generic/elide.h: New file.
41654 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41656         * Makefile (installed-headers): Adjust path of pthread.h header.
41658 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41660         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41661         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41662         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41663         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41665         * nptl/sysdeps/s390/Makefile: Moved ...
41666         * sysdeps/s390/nptl/Makefile: ... here.
41667         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41668         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41669         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41670         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41671         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41672         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41673         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41674         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41675         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41676         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41677         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41678         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41679         * nptl/sysdeps/s390/tls.h: Moved ...
41680         * sysdeps/s390/nptl/tls.h: ... here.
41682         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41683         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41685 2014-06-13  David S. Miller  <davem@davemloft.net>
41687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41690         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41694         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41695         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41696         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41697         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41698         Remove RESET_PID cpp guards.
41699         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41700         Remove RESET_PID cpp guards.
41701         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41703 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41705         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41706         __sp to uintptr_t.
41708 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41710         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41711         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41712         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41713         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41714         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41715         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41716         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41717         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41718         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41719         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41720         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41721         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41722         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41723         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41724         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41725         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41726         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41727         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41728         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41729         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41731         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41732         (pthread_rwlock_rdlock): Add elision.
41733         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41734         (pthread_rwlock_wrlock): Add elision.
41735         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41736         (pthread_rwlock_trywrlock): Add elision.
41737         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41738         (pthread_rwlock_tryrdlock): Add elision.
41739         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41740         (pthread_rwlock_tryrdlock): Add elision unlock.
41741         * nptl/sysdeps/pthread/pthread.h:
41742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41743         (PTHREAD_RWLOCK_INITIALIZER,
41744         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41745         Handle new elision field.
41746         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41747         * sysdeps/arm/nptl/bits/pthreadtypes.h
41748         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41749         * sysdeps/sh/nptl/bits/pthreadtypes.h
41750         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41751         * sysdeps/tile/nptl/bits/pthreadtypes.h
41752         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41753         * sysdeps/a/nptl/bits/pthreadtypes.h
41754         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41755         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41756         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41757         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41758         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41759         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41760         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41761         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41762         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41763         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41764         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41765         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41766         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41767         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41768         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41769         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41770         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41771         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41772         (elision_init): Set try_xbegin to zero when no RTM.
41773         * sysdeps/x86/nptl/bits/pthreadtypes.h
41774         (pthread_rwlock_t): Change __pad1 to __rwelision.
41775         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41777 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41779         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41780         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41781         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41782         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41784 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41786         [BZ #16996]
41787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41788         that the cached result has been set before returning it.
41790 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41792         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41793         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41794         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41795         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41796         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41797         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41799         * nptl/sysdeps/sparc/Makefile: Moved ...
41800         * sysdeps/sparc/nptl/Makefile: ... here.
41801         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41802         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41803         * nptl/sysdeps/sparc/tls.h: Moved ...
41804         * sysdeps/sparc/nptl/tls.h: ... here.
41805         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41806         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41807         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41808         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41809         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41810         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41811         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41812         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41813         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41814         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41815         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41816         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41817         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41818         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41819         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41820         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41821         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41822         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41823         Update #include.
41824         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41825         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41826         Update #include.
41827         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41828         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41829         Update #include.
41830         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41831         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41832         Update #include.
41834         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41836         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41837         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41839         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41840         (struct list_links): Type removed.
41841         (struct thread_node, struct timer_node): Replace struct list_links
41842         with struct list_head.
41843         (list_unlink_ip): Likewise.
41844         * sysdeps/pthread/timer_routines.c
41845         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41846         (list_append, list_insbefore): Likewise.
41847         (list_init): Function removed.
41848         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41849         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41850         * sysdeps/pthread/Makefile: ... here, new file.
41852         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41853         * sysdeps/nptl/Implies: ... here.
41854         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41855         * nptl/sysdeps/pthread/list.h: Moved ...
41856         * include/list.h: ... here.
41857         * nptl/sysdeps/pthread/createthread.c: Moved ...
41858         * nptl/createthread.c: ... here.
41859         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41860         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41861         * nptl/pt-longjmp.c: ... here.
41862         * nptl/sysdeps/pthread/Makefile: Moved ...
41863         * sysdeps/nptl/Makefile: ... here.
41864         * nptl/sysdeps/pthread/Subdirs: Moved ...
41865         * sysdeps/nptl/Subdirs: ... here.
41866         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41867         * sysdeps/nptl/aio_misc.h: ... here.
41868         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41869         * sysdeps/nptl/bits/libc-lock.h: ... here.
41870         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41871         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41872         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41873         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41874         * nptl/sysdeps/pthread/configure: Moved ...
41875         * sysdeps/nptl/configure: ... here.
41876         * nptl/sysdeps/pthread/configure.ac: Moved ...
41877         * sysdeps/nptl/configure.ac: ... here.
41878         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41879         * sysdeps/nptl/gai_misc.h: ... here.
41880         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41881         * sysdeps/nptl/librt-cancellation.c: ... here.
41882         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41883         * sysdeps/nptl/malloc-machine.h: ... here.
41884         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41885         * sysdeps/nptl/pthread-functions.h: ... here.
41886         * nptl/sysdeps/pthread/pthread.h: Moved ...
41887         * sysdeps/nptl/pthread.h: ... here.
41888         * nptl/sysdeps/pthread/setxid.h: Moved ...
41889         * sysdeps/nptl/setxid.h: ... here.
41890         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41891         * sysdeps/nptl/sigfillset.c: ... here.
41892         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41893         * sysdeps/nptl/tcb-offsets.h: ... here.
41894         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41895         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41896         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41897         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41898         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41899         * sysdeps/pthread/allocalim.h: ... here.
41900         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41901         * sysdeps/pthread/bits/sigthread.h: ... here.
41902         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41903         * sysdeps/pthread/flockfile.c: ... here.
41904         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41905         * sysdeps/pthread/ftrylockfile.c: ... here.
41906         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41907         * sysdeps/pthread/funlockfile.c: ... here.
41908         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41909         * sysdeps/pthread/posix-timer.h: ... here.
41910         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41911         * sysdeps/pthread/timer_create.c: ... here.
41912         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41913         * sysdeps/pthread/timer_delete.c: ... here.
41914         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41915         * sysdeps/pthread/timer_getoverr.c: ... here.
41916         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41917         * sysdeps/pthread/timer_gettime.c: ... here.
41918         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41919         * sysdeps/pthread/timer_routines.c: ... here.
41920         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41921         * sysdeps/pthread/timer_settime.c: ... here.
41922         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41923         * sysdeps/pthread/tst-timer.c: ... here.
41924         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41925         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41927         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41928         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41930         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41931         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41932         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41933         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41934         Update #include target.
41935         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41936         * sysdeps/i386/i686/nptl/Makefile: ... here.
41937         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41938         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41939         Update #include target.
41940         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41941         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41942         * nptl/sysdeps/i386/Makefile: Moved ...
41943         * sysdeps/i386/nptl/Makefile: ... here.
41944         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41945         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41946         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41947         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41948         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41949         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41950         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41951         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41952         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41953         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41954         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41955         * nptl/sysdeps/i386/tls.h: Moved ...
41956         * sysdeps/i386/nptl/tls.h: ... here.
41958         * sysdeps/sh/Makefile [$(subdir) = csu]
41959         (gen-as-const-headers): Add tcb-offsets.sym.
41960         * nptl/sysdeps/sh/Makefile: File removed.
41961         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41962         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41963         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41964         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41965         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41966         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41967         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41968         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41969         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41970         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41971         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41972         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41973         * nptl/sysdeps/sh/tls.h: Moved ...
41974         * sysdeps/sh/nptl/tls.h: ... here.
41975         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41976         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41977         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41978         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41979         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41980         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41981         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41982         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41983         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41984         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41985         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41986         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41987         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41988         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41989         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41990         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41991         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41992         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41993         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41994         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41995         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41996         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41997         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41998         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41999         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
42000         Moved ...
42001         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
42002         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
42003         Moved ...
42004         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
42005         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
42006         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
42007         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
42008         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
42009         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
42010         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
42011         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
42012         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
42013         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
42014         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
42015         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
42016         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
42017         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
42018         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
42019         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
42020         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
42021         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
42022         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
42024 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42026         * posix/spawn_faction_addopen.c: Include string.h.
42028 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42030         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
42031         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
42032         * nptl/sysdeps/x86_64/Makefile: Moved ...
42033         * sysdeps/x86_64/nptl/Makefile: ... here.
42034         * nptl/sysdeps/x86_64/configure: Moved ...
42035         * sysdeps/x86_64/nptl/configure: ... here.
42036         * nptl/sysdeps/x86_64/configure.ac: Moved ...
42037         * sysdeps/x86_64/nptl/configure.ac: ... here.
42038         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
42039         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
42040         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
42041         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42042         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42043         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42044         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42045         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42046         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42047         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42048         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42049         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42050         * nptl/sysdeps/x86_64/tls.h: Moved ...
42051         * sysdeps/x86_64/nptl/tls.h: ... here.
42052         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42053         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42054         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42055         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42057         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42059 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42063 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42065         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42066         type.
42067         [POSIX] (off_t): Likewise.
42068         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42069         [POSIX] (S_ISBLK): Require macro.
42070         [POSIX] (S_ISCHR): Likewise.
42071         [POSIX] (S_ISDIR): Likewise.
42072         [POSIX] (S_ISFIFO): Likewise.
42073         [POSIX] (S_ISREG): Likewise.
42074         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42075         optional-macro.
42076         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42077         type.
42078         [POSIX] (time_t): Likewise.
42079         [POSIX] (timer_t): Likewise.
42081 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42083         [BZ #17048]
42084         * posix/spawn_int.h (struct __spawn_action): Make the path string
42085         non-const to support deallocation.
42086         * posix/spawn_faction_addopen.c
42087         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42088         * posix/spawn_faction_destroy.c
42089         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42090         path in all spawn_do_open actions.
42091         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42092         posix_spawn_file_actions_addopen.
42094 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42096         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42097         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42098         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42099         conditional code always true.
42100         (__libc_vfork): New alias.
42102 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42104         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42105         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42107         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42109         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42110         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42112         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42113         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42115         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42116         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42118 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42120         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42121         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42122         multiarch strcmp for PPC64.
42123         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42124         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42126         multiarch optimizations.
42127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42128         (__libc_ifunc_impl_list): Likewise.
42130 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42132         * benchtests/scripts/validate_benchout.py: New script.
42133         * benchtests/Makefile (bench-func): Call it.
42134         * benchtests/scripts/benchout.schema.json: New file.
42136 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42138         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42139         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42140         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42141         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42142         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42143         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42144         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42145         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42146         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42147         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42148         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42149         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42150         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42151         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42152         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42153         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42155         Moved ...
42156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42157         ... here.
42158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42159         Moved ...
42160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42162         Moved ...
42163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42164         ... here.
42165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42166         Moved ...
42167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42168         ... here.
42169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42170         Moved ...
42171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42173         Moved ...
42174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42175         ... here.
42176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42177         Moved ...
42178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42179         ... here.
42180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42181         Moved ...
42182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42184         Moved ...
42185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42186         ... here.
42187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42188         Moved ...
42189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42190         ... here.
42191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42192         Moved ...
42193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42194         ... here.
42195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42196         Moved ...
42197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42199         Moved ...
42200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42201         ... here.
42202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42203         Moved ...
42204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42205         ... here.
42206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42207         Moved ...
42208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42209         ... here.
42210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42211         Moved ...
42212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42214         Moved ...
42215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42216         ... here.
42217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42218         Moved ...
42219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42220         ... here.
42221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42222         Moved ...
42223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42225         Moved ...
42226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42227         ... here.
42228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42229         Moved ...
42230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42232         Moved ...
42233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42235         Moved ...
42236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42237         ... here.
42238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42239         Moved ...
42240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42241         ... here.
42242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42243         Moved ...
42244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42245         ... here.
42246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42247         Moved ...
42248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42250         Moved ...
42251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42252         ... here.
42253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42254         Moved ...
42255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42256         ... here.
42257         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42258         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42259         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42260         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42262         Moved ...
42263         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42264         ... here.
42265         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42266         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42267         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42268         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42269         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42270         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42271         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42272         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42273         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42274         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42275         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42276         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42277         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42278         Moved ...
42279         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42280         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42281         Moved ...
42282         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42283         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42284         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42285         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42286         Moved ...
42287         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42288         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42289         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42290         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42291         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42292         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42293         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42295 2014-06-10  Wilco  <wdijkstr@arm.com>
42297         * math/test-fenv-return.c: New file.
42298         * math/Makefile: Add new test test-fenv-return.
42300 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42302         [BZ #17042]
42303         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42304         when x - 1 is zero.
42305         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42306         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42307         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42308         0.0L for an argument of 1.0L.
42309         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42310         Likewise.
42311         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42312         value when x - 1 is zero.
42313         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42314         * sysdeps/i386/fpu/libm-test-ulps: Update.
42315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42317 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42319         [BZ #15119]
42320         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42322 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42324         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42325         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42327 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42329         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42330         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42332         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42333         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42335         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42336         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42338         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42339         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42341         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42342         if not already defined.
42343         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42344         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42345         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42346         (TLS_INIT_TP): Use it.
42347         (TLS_DEFINE_INIT_TP): New macro.
42348         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42350 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42352         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42353         constant.
42354         [POSIX] (IXANY): Likewise.
42355         [POSIX] (OLCUC): Likewise.
42356         [POSIX || POSIX2008] (CBAUD): Do not allow.
42357         [POSIX || POSIX2008] (DEFECHO): Likewise.
42358         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42359         [POSIX || POSIX2008] (ECHOKE): Likewise.
42360         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42361         [POSIX || POSIX2008] (EXTA): Likewise.
42362         [POSIX || POSIX2008] (EXTB): Likewise.
42363         [POSIX || POSIX2008] (FLUSHO): Likewise.
42364         [POSIX || POSIX2008] (LOBLK): Likewise.
42365         [POSIX || POSIX2008] (PENDIN): Likewise.
42366         [POSIX || POSIX2008] (SWTCH): Likewise.
42367         [POSIX || POSIX2008] (VDISCARD): Likewise.
42368         [POSIX || POSIX2008] (VDSUSP): Likewise.
42369         [POSIX || POSIX2008] (VLNEXT): Likewise.
42370         [POSIX || POSIX2008] (VREPRINT): Likewise.
42371         [POSIX || POSIX2008] (VSTATUS): Likewise.
42372         [POSIX || POSIX2008] (VWERASE): Likewise.
42373         (B*): Change to B[0123456789]*.
42374         * conform/data/time.h-data [POSIX || UNIX98]
42375         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42376         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42377         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42378         [POSIX] (tm_*): Do not allow.
42380 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
42382         * Makefile (install): Don't set LANGUAGE.
42383         * Makefile.in (install): Likewise.
42384         * assert/Makefile (test-assert-ENV): Remove variable.
42385         (test-assert-perr-ENV): Likewise.
42386         * elf/Makefile (neededtest4-ENV): Likewise.
42387         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42388         [$(cross-compiling) = no]: Don't set LANGUAGE.
42389         * io/ftwtest-sh (LANG): Remove variable.
42390         * libio/Makefile (tst-widetext-ENV): Likewise.
42391         * manual/install.texi (Running make install): Don't refer to
42392         environment settings for make install.
42393         * INSTALL: Regenerated.
42394         * nptl/tst-tls6.sh: Don't set LANG.
42395         * posix/globtest.sh (LANG): Remove variable.
42396         * string/Makefile (tester-ENV): Likewise.
42397         (inl-tester-ENV): Likewise.
42398         (noinl-tester-ENV): Likewise.
42399         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42400         [$(cross-compiling) = no]: Don't set LANGUAGE.
42401         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
42402         without explicit environment settings.
42404 2014-06-06  Roland McGrath  <roland@hack.frob.com>
42406         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
42407         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
42408         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
42409         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
42411 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
42413         * crypt/crypt-private.h [DOS]: Add some includes taken from the
42414         other files in the crypt directory.
42415         * crypt/crypt.c: Remove duplicate includes.
42416         * crypt/crypt-entry.c: Likewise.
42417         * crypt/crypt_util.c: Likewise.
42419 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
42421         * Makeconfig (run-program-env): New variable.
42422         (run-program-prefix-before-env): Likewise.
42423         (run-program-prefix-after-env): Likewise.
42424         (run-program-prefix): Define in terms of new variables.
42425         (built-program-cmd-before-env): New variable.
42426         (built-program-cmd-after-env): Likewise.
42427         (built-program-cmd): Define in terms of new variables.
42428         (test-program-prefix-before-env): New variable.
42429         (test-program-prefix-after-env): Likewise.
42430         (test-program-prefix): Define in terms of new variables.
42431         (test-program-cmd-before-env): New variable.
42432         (test-program-cmd-after-env): Likewise.
42433         (test-program-cmd): Define in terms of new variables.
42434         * Rules (make-test-out): Use $(run-program-env).
42435         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
42436         (help): Do not mention environment variables.  Mention
42437         --timeoutfactor option.
42438         (timeoutfactor): New variable.
42439         (blacklist_exports): Remove function.
42440         (exports): Remove variable.
42441         (command): Do not include ${exports}.
42442         * manual/install.texi (Configuring and compiling): Do not mention
42443         test wrappers preserving environment variables.  Mention that last
42444         assignment to a variable must take precedence.
42445         * INSTALL: Regenerated.
42446         * benchtests/Makefile (run-bench): Use $(run-program-env).
42447         * catgets/Makefile ($(objpfx)test1.cat): Use
42448         $(built-program-cmd-before-env), $(run-program-env) and
42449         $(built-program-cmd-after-env).
42450         ($(objpfx)test2.cat): Do not specify environment variables
42451         explicitly.
42452         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
42453         $(run-program-env) and $(built-program-cmd-after-env).
42454         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
42455         $(run-program-env) and $(test-program-cmd-after-env).
42456         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42457         explicitly.
42458         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42459         run_program_env and test_program_cmd_after_env arguments.
42460         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42461         * elf/tst-pathopt.sh: Use run_program_env argument.
42462         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42463         $(test-wrapper-env) and $(run-program-env).
42464         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42465         run_program_env arguments.
42466         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42467         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42468         $(test-program-prefix-before-env), $(run-program-env) and
42469         $(test-program-prefix-after-env).
42470         ($(objpfx)tst-gettext2.out): Likewise.
42471         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42472         run_program_env and test_program_prefix_after_env arguments.
42473         * intl/tst-gettext2.sh: Likewise.
42474         * intl/tst-gettext4.sh: Do not set environment variables
42475         explicitly.
42476         * intl/tst-gettext6.sh: Likewise.
42477         * intl/tst-translit.sh: Likewise.
42478         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42479         $(test-program-prefix-before-env), $(run-program-env) and
42480         $(test-program-prefix-after-env).
42481         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42482         run_program_env and test_program_prefix_after_env arguments.
42483         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42484         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42485         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42486         explicitly with each use of ${test_wrapper_env}.
42487         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42488         $(test-program-prefix-before-env), $(run-program-env) and
42489         $(test-program-prefix-after-env).
42490         * posix/tst-getconf.sh: Do not set environment variables
42491         explicitly.
42492         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42493         run_program_env and test_program_prefix_after_env arguments.
42494         * stdio-common/tst-printf.sh: Do not set environment variables
42495         explicitly.
42496         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42497         $(test-program-prefix-before-env), $(run-program-env) and
42498         $(test-program-prefix-after-env).
42499         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42500         run_program_env and test_program_prefix_after_env arguments.
42501         Split $test calls into $test_pre and $test.
42502         * timezone/Makefile (build-testdata): Use
42503         $(built-program-cmd-before-env), $(run-program-env) and
42504         $(built-program-cmd-after-env).
42506 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42508         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42509         strlen for non SHARED builds.
42511 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42513         * nptl/allocatestack.c (check_list): Inlined function...
42514         (__reclaim_stacks): ... here.
42516 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42518         [BZ #15698]
42519         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42520         memory overrun.
42522 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42524         * Rules (make-test-out): Include
42525         LOCPATH=$(common-objpfx)localedata in default environment.
42526         * debug/Makefile (tst-chk1-ENV): Remove variable.
42527         (tst-chk2-ENV): Likewise.
42528         (tst-chk3-ENV): Likewise.
42529         (tst-chk4-ENV): Likewise.
42530         (tst-chk5-ENV): Likewise.
42531         (tst-chk6-ENV): Likewise.
42532         (tst-lfschk1-ENV): Likewise.
42533         (tst-lfschk2-ENV): Likewise.
42534         (tst-lfschk3-ENV): Likewise.
42535         (tst-lfschk4-ENV): Likewise.
42536         (tst-lfschk5-ENV): Likewise.
42537         (tst-lfschk6-ENV): Likewise.
42538         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42539         (tst-iconv7-ENV): Likewise.
42540         * intl/Makefile (LOCPATH-ENV): Likewise.
42541         (tst-codeset-ENV): Likewise.
42542         (tst-gettext3-ENV): Likewise.
42543         (tst-gettext5-ENV): Likewise.
42544         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42545         (tst-fopenloc-ENV): Likewise.
42546         (tst-fgetws-ENV): Remove variable.
42547         (tst-ungetwc1-ENV): Likewise.
42548         (tst-ungetwc2-ENV): Likewise.
42549         (bug-ungetwc2-ENV): Likewise.
42550         (tst-swscanf-ENV): Likewise.
42551         (bug-ftell-ENV): Likewise.
42552         (tst-fgetwc-ENV): Likewise.
42553         (tst-fseek-ENV): Likewise.
42554         (tst-ftell-partial-wide-ENV): Likewise.
42555         (tst-ftell-active-handler-ENV): Likewise.
42556         (tst-ftell-append-ENV): Likewise.
42557         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42558         (tst-regexloc-ENV): Likewise.
42559         (bug-regex1-ENV): Likewise.
42560         (tst-regex-ENV): Likewise.
42561         (tst-regex2-ENV): Likewise.
42562         (bug-regex5-ENV): Likewise.
42563         (bug-regex6-ENV): Likewise.
42564         (bug-regex17-ENV): Likewise.
42565         (bug-regex18-ENV): Likewise.
42566         (bug-regex19-ENV): Likewise.
42567         (bug-regex20-ENV): Likewise.
42568         (bug-regex22-ENV): Likewise.
42569         (bug-regex23-ENV): Likewise.
42570         (bug-regex25-ENV): Likewise.
42571         (bug-regex26-ENV): Likewise.
42572         (bug-regex30-ENV): Likewise.
42573         (bug-regex32-ENV): Likewise.
42574         (bug-regex33-ENV): Likewise.
42575         (bug-regex34-ENV): Likewise.
42576         (bug-regex35-ENV): Likewise.
42577         (tst-rxspencer-ENV): Likewise.
42578         (tst-rxspencer-no-utf8-ENV): Likewise.
42579         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42580         (tst-sscanf-ENV): Likewise.
42581         (tst-swprintf-ENV): Likewise.
42582         (tst-swscanf-ENV): Likewise.
42583         (test-vfprintf-ENV): Likewise.
42584         (scanf13-ENV): Likewise.
42585         (bug14-ENV): Likewise.
42586         (tst-grouping-ENV): Likewise.
42587         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42588         (tst-strtod3-ENV): Likewise.
42589         (tst-strtod4-ENV): Likewise.
42590         (tst-strtod5-ENV): Likewise.
42591         (testmb2-ENV): Likewise./
42592         * string/Makefile (tst-strxfrm-ENV): Likewise.
42593         (tst-strxfrm2-ENV): Likewise.
42594         (bug-strcoll1-ENV): Likewise.
42595         (test-strcasecmp-ENV): Likewise.
42596         (test-strncasecmp-ENV): Likewise.
42597         * time/Makefile (tst-strptime-ENV): Likewise.
42598         (tst-ftime_l-ENV): Likewise.
42599         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42600         (tst-mbrtowc-ENV): Likewise.
42601         (tst-wcrtomb-ENV): Likewise.
42602         (tst-mbrtowc2-ENV): Likewise.
42603         (tst-c16c32-1-ENV): Likewise.
42604         (tst-mbsnrtowcs-ENV): Likewise.
42606 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42608         * manual/resource.texi (How to get information about the memory
42609         subsystem?): Fix typo.
42610         Reported by Peon de la Parra Ivan <peon@keba.com>
42612 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42614         [BZ #16882]
42615         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42616         (pthread_spin_lock): Branch out of spin loop to proper location.
42617         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42618         (pthread_spin_lock): Likewise.
42620         * nptl/tst-spin4.c: New test.
42621         * nptl/Makefile (tests): Add tst-spin4.
42623 2014-06-03  Andreas Schwab  <schwab@suse.de>
42625         [BZ #15946]
42626         * resolv/res_send.c (send_dg): Reload file descriptor after
42627         calling reopen.
42629 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42631         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42633 2014-06-03  Richard Henderson  <rth@redhat.com>
42635         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42636         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42637         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42638         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42639         in the SAVE_PID block.
42640         (__libc_vfork): New alias.
42641         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42643         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42644         child in registers, not on the stack.  Remove RESET_PID conditionals.
42645         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42647 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42649         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42651 2014-06-03  Wilco  <wdijkstr@arm.com>
42653         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42654         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42655         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42656         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42657         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42658         Likewise.
42660 2014-06-03  Wilco  <wdijkstr@arm.com>
42662         * sysdeps/aarch64/fpu/math_private.h
42663         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42664         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42665         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42666         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42667         Fix declarations.
42669 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42671         * crypt/crypt-private.h: Include ufc-crypt.h.
42672         (__b64_from_24bit): Declare extern.
42673         * crypt/crypt_util.c(__b64_from_24bit): New function.
42674         (b64t): New static const variable.
42675         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42676         (b64t): Remove variable.
42677         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42678         * crypt/sha256-crypt.c: Include crypt-private.h.
42679         (b64t): Remove variable.
42680         (__sha256_crypt_r): Remove b64_from_24bit and replace
42681         with __b64_from_24bit.
42682         * crypt/sha512-crypt.c: Likewise.
42684 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42686         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42687         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42688         Label the code __libc_vfork rather than __vfork.
42689         [!NOT_IN_libc] (vfork): Define as weak alias.
42690         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42691         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42692         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42694 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42696         * malloc/malloc.c (malloc_info): Fix format specifier for
42697         n_mmaps.
42699 2014-06-02  Wilco  <wdijkstr@arm.com>
42701         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42702         FPCR write.
42704 2014-06-02  Wilco  <wdijkstr@arm.com>
42706         [BZ #17009]
42707         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42708         Rewrite to reduce FPCR/FPSR accesses.
42710 2014-06-01  David S. Miller  <davem@davemloft.net>
42712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42714 2014-05-31  David S. Miller  <davem@davemloft.net>
42716         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42717         to occur in round to nearest mode when |x| >= 2.0
42719 2014-05-30  Richard Henderson  <rth@twiddle.net>
42721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42722         (PSEUDO_RET_NOERRNO): Remove.
42723         (ret): Don't redefine.
42724         (ret_NOERRNO): Define in terms of ret.
42725         (ret_ERRVAL): Likewise.
42727         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42728         use of PSEUDO_RET; perform the error check directly.
42730 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42732         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42733         with __int128_t.
42735 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42737         * malloc/malloc (malloc_info): Fix formatting.
42739 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42740             Roland McGrath  <roland@hack.frob.com>
42742         * malloc/malloc (malloc_info): Also print mmapped statistics.
42744 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42746         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42747         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42749 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42751         * malloc/malloc.c (malloc_info): Inline mi_arena.
42753 2014-05-29  Richard Henderson  <rth@twiddle.net>
42755         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42756         Remove comma before expanding ASM_ARGS_##nr.
42757         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42758         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42759         of ASM_ARGS_##nr.
42760         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42761         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42762         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42763         (ASM_ARGS_1): Add leading comma.
42765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42766         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42767         to __errno_location.
42768         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42769         Remove the expected plt for __errno_location.
42771         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42772         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42773         call to __read_tp.
42775         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42776         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42777         it and break it down.
42778         (DOCARGS_0, DOCARGS_1): Do nothing.
42779         (DOCARGS_2): Update to store into the new stack frame.
42780         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42781         (UNDOCARGS_1): Update to restore from the new stack frame.
42782         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42783         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42785         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42786         (SINGLE_THREAD_P): New parameter for result regno.
42787         (PSEUDO): Update to match; use cbz instead of beq.
42789         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42790         Use ENTRY to define the _nocancel entry point.  Share the syscall
42791         and syscall error check paths with the cancel path.
42792         (PSEUDO_END): New.
42794         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42795         whitespace; tabs before and after asm mnemonics.
42797 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42799         [BZ #15132]
42800         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42801         Call fstat64 or stat64 internally, depending on arguments passed.
42802         Replace stat buffer argument with file descriptor argument.
42803         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42804         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42805         Pass fd to __internal_statvfs instead of calling fstat64.
42806         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42807         Pass fd to __internal_statvfs64 instead of calling fstat64.
42808         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42809         Pass -1 to __internal_statvfs instead of calling stat64.
42810         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42811         Pass -1 to __internal_statvfs64 instead of calling stat64.
42813 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42815         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42816         that was previously under [RESET_PID].
42817         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42819         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42820         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42822 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42824         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42826         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42827         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42829 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42831         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42833 2014-05-27  Andreas Schwab  <schwab@suse.de>
42835         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42836         TLS_INIT_TP macro.
42837         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42838         * elf/rtld.c (init_tls, dl_main): Likewise.
42839         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42840         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42841         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42842         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42843         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42844         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42845         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42846         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42847         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42848         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42849         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42850         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42851         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42852         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42853         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42854         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42855         * sysdeps/generic/tls.h: Update description.
42857 2014-05-27  Will Newton  <will.newton@linaro.org>
42859         [BZ #16990]
42860         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42861         and restore r2 rather than just restoring.
42863 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42865         [BZ #16724]
42866         * libio/tst-ftell-append.c: New test case.
42867         * libio/Makefile (tests): Add test case.
42868         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42869         append mode.
42870         * libio/wfileops.c (do_ftell_wide): Likewise.
42872 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42876         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42877         ...
42878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42880         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42881         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42882         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42883         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42884         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42885         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42887         Moved ...
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42890         Moved ...
42891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42892         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42893         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42894         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42895         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42896         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42897         ...
42898         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42899         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42900         Moved ...
42901         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42902         here.
42903         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42904         ...
42905         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42906         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42907         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42909         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42910         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42911         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42912         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42915         merge into ...
42916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42918         ...
42919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42921         ...
42922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42924         Moved ...
42925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42926         here.
42927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42928         Moved ...
42929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42930         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42931         Moved ...
42932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42935         conditional [RESET_PID].
42936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42937         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42938         removed.
42939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42940         removed.
42942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42943         <tcb-offsets.h>.
42944         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42945         (__libc_vfork): New strong alias.
42946         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42947         removed.
42948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42949         Removed.
42951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42952         <tcb-offsets.h>.
42953         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42954         (__libc_vfork): New strong alias.
42955         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42956         removed.
42957         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42958         removed.
42960 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42962         * malloc/malloc.c (mi_arena): New function.
42963         (malloc_info): Remove nested function mi_arena. Call non-nosted
42964         function mi_arena.
42966 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42968         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42969         by insrwi.
42970         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42971         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42972         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42973         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42974         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42975         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42976         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42978 2014-05-26  Andreas Schwab  <schwab@suse.de>
42980         [BZ #16984]
42981         * locale/programs/repertoire.c (repertoire_read): Add slash
42982         between I18NPATH element and file name.
42983         * locale/programs/locfile.c (locfile_read): Likewise.
42985 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42987         * nptl/pthread_mutexattr_settype.c
42988         (__pthread_mutexattr_settype):
42989         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42991 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42993         * nptl/tst-mutex5 (do_test):
42994         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42996 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42998         * benchtests/README: Document 'init' directive.
42999         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
43000         BENCH_INIT.
43001         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
43002         (parse_file): Recognize 'init' directive.
43004 2014-05-26  Kyle McMartin  <kyle@redhat.com>
43006         [BZ #16796]
43007         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
43008         alignment of struct pthread.
43010 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43012         [BZ #16878]
43013         * nscd/netgroupcache.c (addgetnetgrentX): Look for
43014         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43015         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
43016         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43018 2014-05-25  Richard Henderson  <rth@twiddle.net>
43020         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43021         (SINGLE_THREAD_P_PIC): Remove.
43022         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
43023         (SINGLE_THREAD_P_PIC): Remove.
43025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
43026         branch to syscall error ...
43027         (PSEUDO): ... here.
43028         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
43029         from __local_syscall_error to .Lsyscall_error.
43030         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
43031         (SYSCALL_ERROR): Update label name.
43033         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43034         Do not use DOARGS/UNDOARGS.
43035         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
43036         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
43037         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
43038         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
43039         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
43041         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43042         block comment.
43044         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43045         define if !NOT_IN_libc.
43046         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43047         define with non-default symbol versions.
43049 2014-05-23  Richard Henderson  <rth@twiddle.net>
43051         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43052         (vfork, __vfork): Define via compat_symbol.
43054         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43055         [!HAVE_IFUNC] (vfork_compat): Remove.
43056         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43058 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43060         [BZ #16978]
43061         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43062         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43063         variable.
43065 2014-05-23  Richard Henderson  <rth@twiddle.net>
43067         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43068         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43069         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43070         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43072         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43073         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43074         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43075         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43076         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43077         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43078         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43079         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43080         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43081         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43082         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43083         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43084         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43085         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43086         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43087         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43088         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43089         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43090         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43091         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43092         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43093         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43094         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43095         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43096         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43097         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43098         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43099         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43100         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43101         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43102         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43103         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43104         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43105         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43106         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43107         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43108         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43109         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43110         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43111         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43112         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43113         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43114         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43115         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43116         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43117         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43118         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43119         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43121         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43122         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43123         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43124         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43125         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43126         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43127         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43129         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43130         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43131         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43132         before exiting on error.
43133         (__libc_vfork): New strong alias.
43134         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43135         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43137         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43138         that was previously under [RESET_PID].
43139         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43141         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43143 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43145         [BZ #16977]
43146         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43147         value when x - 1 is zero.
43148         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43149         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43150         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43151         0.0L for an argument of 1.0L.
43152         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43153         Likewise.
43154         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43155         value when x - 1 is zero.
43156         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43157         * sysdeps/i386/fpu/libm-test-ulps: Update.
43158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43160 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43162         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43163         alphasort and versionsort.
43165 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43167         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43168         macro.
43169         [copysignf]: Likewise.
43171 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43173         * crypt/md5-crypt.c: Fix formatting.
43175 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43177         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43178         (b64_from_24bit): New function.
43180 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43182         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43183         libc_hidden_builtin_def to ifunc.
43184         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43185         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43187 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43189         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43190         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43192 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43194         * nscd/Depend (linuxthreads): Remove.
43195         (nptl): Add.
43196         * resolv/Depend (linuxthreads): Remove.
43197         * rt/Depend (linuxthreads): Remove.
43199         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43200         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43201         $(common-objpfx)elf/.
43202         (link-libc-before-gnulib): Likewise.
43203         (elfobjdir): Remove variable.
43204         * Makefile (install): Use $(elf-objpfx) instead of
43205         $(common-objpfx)elf/.
43206         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43207         $(elfobjdir)/.
43208         (link-libc-deps): Likewise.
43209         ($(common-objpfx)libc.so): Likewise.
43210         ($(common-objpfx)linkobj/libc.so): Likewise.
43211         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43212         instead of $(common-objpfx)elf/.
43213         (symbolic-link-list): Likewise.
43214         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43215         [$(cross-compiling) = no]: Likewise.
43216         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43217         $(elfobjdir)/.
43218         (static-gnulib-arch): Likewise.
43219         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43220         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43221         $(common-objpfx)elf/.
43223 2014-05-21  Richard Henderson  <rth@redhat.com>
43225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43226         (SINGLE_THREAD_P): Use the correct width load.  Fold
43227         into the ldr offset.
43229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43230         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43232 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43234         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43235         (libgcc_s_resume): Use __attribute_used__.
43236         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43237         Likewise.
43239 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43241         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43242         optimization when used with float constants.
43244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43246 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43248         [BZ #16915]
43249         * locale/nl_langinfo_l.c: Make direct reference to every
43250         _nl_current_CATEGORY symbol.
43251         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43252         (tests-static): Add tst-langinfo-static.
43253         (tests-special): Add tst-langinfo-static.out.
43254         ($(objpfx)tst-langinfo.out): Redirect output.
43255         ($(objpfx)tst-langinfo-static.out): New.
43256         * localedata/tst-langinfo.sh: Send output to stdout.
43257         * localedata/tst-langinfo-static.c: New file.
43259         [BZ #16965]
43260         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43261         when the shift amount is modulo the limb size.
43263 2014-05-20  Richard Henderson  <rth@redhat.com>
43265         [BZ #16967]
43266         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43267         Change type of sa_flags from unsigned int to int.
43269         [BZ #16966]
43270         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43272         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43274 2014-05-20  Will Newton  <will.newton@linaro.org>
43276         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43277         Test the return value of the system call in the nocancel case.
43279 2014-05-20  Will Newton  <will.newton@linaro.org>
43280             Yvan Roux  <yvan.roux@linaro.org>
43282         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43283         #include of asm/ptrace.h.
43284         (PTRACE_GET_THREAD_AREA): Remove #undef.
43285         (PTRACE_GETHBPREGS): Likewise.
43286         (PTRACE_SETHBPREGS): Likewise.
43287         (struct user_regs_struct): New structure.
43288         (struct user_fpsimd_struct): New structure.
43289         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43290         #include of asm/ptrace.h and second #include of sys/user.h.
43291         (PTRACE_GET_THREAD_AREA): Remove #undef.
43292         (PTRACE_GETHBPREGS): Likewise.
43293         (PTRACE_SETHBPREGS): Likewise.
43294         (ELF_NGREG): Use new struct user_regs_struct.
43295         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43297 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43299         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43300         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43302 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43304         [BZ #16958]
43305         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43306         membar to avoid block loads/stores to overlap previous stores.
43308 2014-05-17  Richard Henderson  <rth@redhat.com>
43310         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43311         Create the __##syscall_name##_nocancel entry point.
43312         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43313         Remove; let the sysdep-cancel.h code create it.
43315 2014-05-17  David S. Miller  <davem@davemloft.net>
43317         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43318         Protect with __USE_GNU.
43319         (TIOCSET_TEMPT): Likewise.
43320         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43321         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43322         these are already provided in bits/ioctl-types.h
43324 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43326         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43327         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43329         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43330         Use wait4 regardless of [__NR_waitpid].
43332 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43334         PR libgcc/60166
43335         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43336         (_FP_NANSIGN_Q): Set the quiet bit.
43338 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43340         * benchtests/Makefile
43341         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43342         not $(common-objpfx)math/libm.so.
43343         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43344         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43345         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43346         $(common-objpfx)dlfcn/libdl.so.
43347         ($(objpfx)tst-audit8): Depend on $(libm), not
43348         $(common-objpfx)math/libm.so.
43349         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43350         not $(common-objpfx)dlfcn/libdl.so.
43351         * math/Makefile
43352         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43353         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43354         [$(build-shared) = yes].
43355         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43356         $(common-objpfx)nptl/libpthread.so.
43357         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43358         $(common-objpfx)math/libm.so$(libm.so-version) or
43359         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43360         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43361         $(common-objpfx)dlfcn/libdl.so.
43362         * setjmp/Makefile (link-libm): Remove variable.
43363         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43364         * stdio-common/Makefile (link-libm): Remove variable.
43365         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43366         * stdlib/Makefile (link-libm): Remove variable.
43367         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43368         ($(objpfx)tst-strtod-round): Likewise.
43369         ($(objpfx)tst-tininess): Likewise.
43370         ($(objpfx)tst-strtod-underflow): Likewise.
43371         ($(objpfx)tst-strtod6): Likewise.
43372         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43373         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43374         $(common-objpfx)dlfcn/libdl.so.
43376 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43378         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
43379         BSD terminal modes definitions.
43381 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43383         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
43384         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
43386         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
43387         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
43388         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
43389         Don't do #include_next.
43390         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
43391         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
43392         Don't do #include_next.
43393         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
43394         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
43395         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
43396         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
43398 2014-05-16  Allan McRae  <allan@archlinux.org>
43400         * po/sv.po: Update Swedish translation from translation project.
43402         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
43403         in sed expression.
43405 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
43407         [BZ #16917]
43408         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
43409         errno if the TIOCGPTN ioctl fails with an error different than
43410         EINVAL.
43411         * login/tst-ptsname.c: New file.
43412         * login/Makefile (tests): Add tst-ptsname.
43414         [BZ #16943]
43415         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
43416         and prlimit64.
43418 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43420         [BZ #16849]
43421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
43422         herrno to return EAI_AGAIN.
43424 2014-05-14  Roland McGrath  <roland@hack.frob.com>
43426         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43427         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
43428         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
43429         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
43430         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
43431         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
43432         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
43433         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
43434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
43435         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
43436         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
43437         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
43438         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
43439         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
43440         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
43441         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43442         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
43443         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
43444         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
43445         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
43446         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
43447         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
43448         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
43449         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
43450         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
43451         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
43452         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
43453         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
43454         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
43455         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43457         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43459         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43461         Moved ...
43462         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43464         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43466         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43468         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43470         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43472         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43474         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43476         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43478         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43480         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43482         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43484         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43486         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43488         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43490         Moved ...
43491         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43493         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43495         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43497         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43499         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43501         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43503         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43505         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43507         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43509         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43511         Moved ...
43512         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43514         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43516         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43517         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43518         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43519         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43520         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43521         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43522         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43523         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43524         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43525         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43526         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43527         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43528         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43529         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43530         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43531         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43532         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43533         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43534         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43535         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43536         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43537         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43538         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43539         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43540         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43541         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43542         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43543         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43544         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43545         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43546         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43548         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43549         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43551         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43552         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43553         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43554         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43555         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43557         Moved ...
43558         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43559         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43560         Moved ...
43561         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43562         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43563         Moved ...
43564         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43565         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43566         Moved ...
43567         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43568         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43569         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43570         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43571         Moved ...
43572         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43573         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43574         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43575         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43576         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43577         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43578         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43579         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43580         Moved ...
43581         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43582         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43583         Moved ...
43584         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43585         ... here.
43586         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43587         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43588         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43589         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43590         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43591         Moved ...
43592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43593         ... here.
43594         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43595         Moved ...
43596         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43597         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43598         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43599         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43600         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43601         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43602         Moved ...
43603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43604         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43605         Moved ...
43606         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43607         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43608         Moved ...
43609         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43610         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43611         Moved ...
43612         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43613         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43614         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43615         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43616         Moved ...
43617         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43618         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43619         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43620         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43621         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43622         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43623         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43624         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43625         Moved ...
43626         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43627         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43628         Moved ...
43629         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43630         ... here.
43631         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43632         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43633         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43634         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43635         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43636         Moved ...
43637         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43638         ... here.
43639         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43640         Moved ...
43641         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43642         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43643         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43644         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43645         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43646         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43647         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43648         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43649         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43651         Moved ...
43652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43653         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43654         Moved ...
43655         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43656         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43657         Moved ...
43658         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43659         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43660         Moved ...
43661         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43662         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43663         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43664         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43665         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43666         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43667         Moved ...
43668         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43669         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43670         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43671         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43673         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43674         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43675         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43676         Moved ...
43677         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43678         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43679         Moved ...
43680         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43681         ... here.
43682         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43683         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43684         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43685         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43686         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43687         Moved ...
43688         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43689         ... here.
43690         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43691         Moved ...
43692         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43693         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43694         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43695         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43696         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43697         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43698         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43699         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43700         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43701         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43702         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43704         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43705         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43707         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43708         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43710         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43711         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43712         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43713         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43714         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43715         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43716         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43717         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43718         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43719         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43720         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43721         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43722         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43723         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43724         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43725         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43726         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43727         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43728         Moved ...
43729         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43731         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43732         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43733         Moved ...
43734         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43735         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43736         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43737         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43738         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43739         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43740         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43741         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43742         Moved ...
43743         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43744         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43745         Moved ...
43746         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43747         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43748         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43749         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43750         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43751         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43752         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43753         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43754         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43755         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43756         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43757         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43758         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43759         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43760         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43761         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43762         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43764         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43765         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43766         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43767         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43768         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43770         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43771         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43772         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43773         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43774         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43775         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43776         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43777         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43778         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43779         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43781         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43782         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43784         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43785         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43786         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43787         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43788         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43789         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43790         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43791         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43792         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43793         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43794         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43795         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43796         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43797         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43799         Update #include.
43800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43801         Likewise.
43802         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43803         Likewise.
43804         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43805         Likewise.
43806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43807         Likewise.
43808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43809         Likewise.
43810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43811         Likewise.
43812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43813         Likewise.
43814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43815         Likewise.
43816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43817         Likewise.
43818         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43819         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43820         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43821         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43822         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43823         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43824         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43825         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43826         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43827         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43828         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43829         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43830         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43831         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43832         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43834         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43835         that was previously under [RESET_PID].
43836         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43837         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43838         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43840         * sysdeps/i386/nptl/Implies: New file.
43841         * sysdeps/x86_64/nptl/Implies: New file.
43842         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43843         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43844         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43845         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43847         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43848         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43849         (__libc_vfork): New strong alias.
43850         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43851         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43853         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43854         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43855         (__libc_vfork): New strong alias.
43856         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43857         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43859         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43860         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43861         (__libc_vfork): New strong alias.
43862         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43863         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43864         * nptl/pt-vfork.c: New file.
43865         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43866         (libpthread: GLIBC_2.20): New version set (empty).
43868 2014-05-14  Will Newton  <will.newton@linaro.org>
43870         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43871         rather than #if.
43873 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43875         [BZ #16564]
43876         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43877         arguments with exponent 65 or above.
43878         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43879         arguments 0x1p113L or above.
43880         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43881         to arguments 0x1p107L or above.
43882         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43883         positive arguments with exponent 65 or above.
43884         * math/auto-libm-test-in: Add more tests of log1p.
43885         * math/auto-libm-test-out: Regenerated.
43887         [BZ #16928]
43888         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43889         non-finite arguments is +0.
43890         * math/s_cacosf.c (__cacosf): Likewise.
43891         * math/s_cacosl.c (__cacosl): Likewise.
43892         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43893         * sysdeps/i386/fpu/libm-test-ulps: Update.
43894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43896         [BZ #16927]
43897         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43898         value.
43899         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43900         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43901         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43902         for explicit high bit of mantissa when testing for argument equal
43903         to 1.
43904         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43905         * sysdeps/i386/fpu/libm-test-ulps: Update.
43906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43908         [BZ #16516]
43909         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43910         (__erf): Scale by 16 instead of 8 in potentially underflowing
43911         case.  Ensure exception if result actually underflows.
43912         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43913         (__erff): Scale by 16 instead of 8 in potentially underflowing
43914         case.  Ensure exception if result actually underflows.
43915         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43916         (efx8): Remove variable.
43917         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43918         case.  Ensure exception if result actually underflows.
43919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43920         (efx8): Remove variable.
43921         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43922         case.  Ensure exception if result actually underflows.
43923         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43924         (efx8): Remove variable.
43925         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43926         case.  Ensure exception if result actually underflows.
43927         * math/auto-libm-test-in: Add more tests of erf.
43928         * math/auto-libm-test-out: Regenerated.
43930 2014-05-14  Andreas Schwab  <schwab@suse.de>
43932         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43933         Remove code conditionalized on USE___THREAD.
43935         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43936         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43937         not definedness.
43939 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43941         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43942         Define unconditionally.
43943         (__ASSUME_O_CLOEXEC): Likewise.
43944         (__ASSUME_SOCK_CLOEXEC): Likewise.
43945         (__ASSUME_IN_NONBLOCK): Likewise.
43946         (__ASSUME_PIPE2): Likewise.
43947         (__ASSUME_EVENTFD2): Likewise.
43948         (__ASSUME_SIGNALFD4): Likewise.
43949         (__ASSUME_DUP3): Likewise.
43950         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43951         (__ASSUME_DUP3): Do not define.
43952         (__ASSUME_EVENTFD2): Likewise.
43953         (__ASSUME_IN_NONBLOCK): Likewise.
43954         (__ASSUME_O_CLOEXEC): Likewise.
43955         (__ASSUME_PIPE2): Likewise.
43956         (__ASSUME_SIGNALFD4): Likewise.
43957         (__ASSUME_SOCK_CLOEXEC): Likewise.
43958         (__ASSUME_UTIMES): Undefine.
43959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43960         (__ASSUME_UTIMES): Do not define.
43961         (__ASSUME_O_CLOEXEC): Likewise.
43962         (__ASSUME_SOCK_CLOEXEC): Likewise.
43963         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43964         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43965         0x020621].
43966         (__ASSUME_PIPE2): Likewise.
43967         (__ASSUME_EVENTFD2): Likewise.
43968         (__ASSUME_SIGNALFD4): Likewise.
43969         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43970         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43971         Do not define.
43972         (__ASSUME_EVENTFD2): Likewise.
43973         (__ASSUME_SIGNALFD4): Likewise.
43974         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43975         (__ASSUME_32BITUIDS): Likewise.
43976         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43977         (__ASSUME_IPC64): Likewise.
43978         (__ASSUME_ST_INO_64_BIT): Likewise.
43979         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43980         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43981         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43982         (__ASSUME_UTIMES): Do not define.
43983         (__ASSUME_PSELECT): Likewise.
43984         (__ASSUME_PPOLL): Likewise.
43985         (__ASSUME_O_CLOEXEC): Likewise.
43986         (__ASSUME_SOCK_CLOEXEC): Likewise.
43987         (__ASSUME_IN_NONBLOCK): Likewise.
43988         (__ASSUME_PIPE2): Likewise.
43989         (__ASSUME_EVENTFD2): Likewise.
43990         (__ASSUME_SIGNALFD4): Likewise.
43991         (__ASSUME_DUP3): Likewise.
43992         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43993         (__ASSUME_UTIMES): Likewise.
43994         (__ASSUME_O_CLOEXEC): Likewise.
43995         (__ASSUME_SOCK_CLOEXEC): Likewise.
43996         (__ASSUME_IN_NONBLOCK): Likewise.
43997         (__ASSUME_PIPE2): Likewise.
43998         (__ASSUME_EVENTFD2): Likewise.
43999         (__ASSUME_SIGNALFD4): Likewise.
44000         (__ASSUME_DUP3): Likewise.
44001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44002         (__ASSUME_UTIMES): Likewise.
44003         (__ASSUME_O_CLOEXEC): Likewise.
44004         (__ASSUME_SOCK_CLOEXEC): Likewise.
44005         (__ASSUME_IN_NONBLOCK): Likewise.
44006         (__ASSUME_PIPE2): Likewise.
44007         (__ASSUME_EVENTFD2): Likewise.
44008         (__ASSUME_SIGNALFD4): Likewise.
44009         (__ASSUME_DUP3): Likewise.
44010         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
44011         Likewise.
44012         (__ASSUME_UTIMES): Likewise.
44013         (__ASSUME_EVENTFD2): Likewise.
44014         (__ASSUME_SIGNALFD4): Likewise.
44015         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44016         (__ASSUME_O_CLOEXEC): Likewise.
44017         (__ASSUME_SOCK_CLOEXEC): Likewise.
44018         (__ASSUME_IN_NONBLOCK): Likewise.
44019         (__ASSUME_PIPE2): Likewise.
44020         (__ASSUME_EVENTFD2): Likewise.
44021         (__ASSUME_SIGNALFD4): Likewise.
44022         (__ASSUME_DUP3): Likewise.
44023         (__ASSUME_UTIMES): Undefine.
44025         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
44026         feclearexcept.  Remove symbol versioning code.
44027         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
44028         symbol versioning code.
44029         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
44030         symbol versioning code.
44031         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
44032         feupdateenv.  Remove symbol versioning code.
44033         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
44034         fegetexceptflag.  Remove symbol versioning code.
44035         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
44036         fesetexceptflag.  Remove symbol versioning code.
44037         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
44038         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
44039         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
44040         (__posix_fadvise64_l32): Remove prototype.
44041         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44042         code.
44044 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44046         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44047         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44048         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44049         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44051 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44053         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44054         current working directory
44056 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44058         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44059         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44060         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44061         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44062         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44063         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44064         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44065         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44066         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44067         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44068         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44069         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44070         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44071         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44072         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44073         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44074         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44075         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44076         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44077         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44078         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44079         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44080         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44081         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44082         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44083         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44084         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44085         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44086         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44087         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44088         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44089         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44090         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44091         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44092         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44093         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44094         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44095         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44096         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44097         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44098         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44099         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44101         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44102         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44104         * sysdeps/unix/sysv/linux/arm/Makefile
44105         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44106         Add rt-aeabi_unwind_cpp_pr1.
44107         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44108         Add nptl-aeabi_unwind_cpp_pr1.
44109         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44110         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44111         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44112         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44113         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44114         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44116         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44117         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44118         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44119         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44121         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44122         Deconditionalize the code that was previously under [RESET_PID].
44123         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44125         * sysdeps/generic/exit-thread.h: New file.
44126         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44127         * include/unistd.h (__exit_thread): Remove declaration.
44128         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44129         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44130         * csu/libc-start.c: Include <exit-thread.h>.
44131         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44132         * nptl/pthread_create.c: Include <exit-thread.h>.
44133         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44134         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44135         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44136         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44137         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44138         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44139         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44140         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44141         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44142         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44143         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44144         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44145         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44146         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44147         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44148         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44149         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44151 2014-05-13  Andreas Schwab  <schwab@suse.de>
44153         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44155 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44157         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44158         (__ASSUME_UTIMES): Do not condition on kernel version.
44159         (__ASSUME_PSELECT): Define unconditionally.
44160         (__ASSUME_PPOLL): Likewise.
44161         (__ASSUME_ATFCTS): Likewise.
44162         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44163         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44164         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44165         (__ASSUME_UTIMENSAT): Define unconditionally.
44166         (__ASSUME_PRIVATE_FUTEX): Likewise.
44167         (__ASSUME_FALLOCATE): Likewise.
44168         (__ASSUME_O_CLOEXEC): Likewise.
44169         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44170         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44171         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44172         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44173         (__ASSUME_IN_NONBLOCK): Likewise.
44174         (__ASSUME_PIPE2): Likewise.
44175         (__ASSUME_EVENTFD2): Likewise.
44176         (__ASSUME_SIGNALFD4): Likewise.
44177         (__ASSUME_DUP3): Likewise.
44178         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44179         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44180         (__ASSUME_AT_RANDOM): Likewise.
44181         (__ASSUME_PREADV): Likewise.
44182         (__ASSUME_PWRITEV): Likewise.
44183         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44184         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44185         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44186         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44187         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44188         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44189         (__ASSUME_O_CLOEXEC): Define unconditionally.
44190         (__ASSUME_PSELECT): Do not undefine conditionally.
44191         (__ASSUME_PPOLL): Likewise.
44192         (__ASSUME_ATFCTS): Likewise.
44193         (__ASSUME_SET_ROBUST_LIST): Likewise.
44194         (__ASSUME_UTIMENSAT): Likewise.
44195         (__ASSUME_FDATASYNC): Define unconditionally.
44196         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44197         (__ASSUME_SIGFRAME_V2): Likewise.
44198         )__ASSUME_EVENTFD2): Likewise.
44199         (__ASSUME_SIGNALFD4): Likewise.
44200         (__ASSUME_PSELECT): Do not undefine conditionally.
44201         (__ASSUME_PPOLL): Likewise.
44202         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44203         (__ASSUME_PSELECT): Define unconditionally.
44204         (__ASSUME_PPOLL): Likewise.
44205         (__ASSUME_O_CLOEXEC): Likewise.
44206         (__ASSUME_SOCK_CLOEXEC): Likewise.
44207         (__ASSUME_IN_NONBLOCK): Likewise.
44208         (__ASSUME_PIPE2): Likewise.
44209         (__ASSUME_EVENTFD2): Likewise.
44210         (__ASSUME_SIGNALFD4): Likewise.
44211         (__ASSUME_DUP3): Likewise.
44212         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44213         (__ASSUME_O_CLOEXEC): Likewise.
44214         (__ASSUME_SOCK_CLOEXEC): Likewise.
44215         (__ASSUME_IN_NONBLOCK): Likewise.
44216         (__ASSUME_PIPE2): Likewise.
44217         (__ASSUME_EVENTFD2): Likewise.
44218         (__ASSUME_SIGNALFD4): Likewise.
44219         (__ASSUME_DUP3): Likewise.
44220         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44221         (__ASSUME_EVENTFD2): Likewise.
44222         (__ASSUME_SIGNALFD4): Likewise.
44223         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44225 2014-05-12  Andreas Schwab  <schwab@suse.de>
44227         [BZ #16932]
44228         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44229         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44230         than maximum RPC packet size.
44231         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44232         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44233         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44234         (_nss_nis_getservbyport_r): Likewise.
44236 2014-05-12  Will Newton  <will.newton@linaro.org>
44238         * malloc/Makefile (tests): Add tst-mallopt.
44239         * malloc/tst-mallopt.c: New file.
44241 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44243         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44244         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44246 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44248         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44249         (tst-tlsmod6.so): Likewise.
44251 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44253         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44255 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44257         [BZ #16064]
44258         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44259         and <dl-procinfo.h>.
44260         (__fegetenv): Save SSE state in envp->__eip if supported.
44261         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44262         envp->__eip if supported.
44263         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44264         and <dl-procinfo.h>.
44265         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44266         __data_offset and __data_selector in environment to 0.  Set SSE
44267         state if supported.
44268         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44269         test-fenv-sse.
44270         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44271         -mfpmath=sse.
44272         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44274 2014-05-09  Will Newton  <will.newton@linaro.org>
44276         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44277         and libc_relro_required for ARM.
44278         * sysdeps/arm/preconfigure: Regenerate.
44280 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44281             Stefan Liebler  <stli@linux.vnet.ibm.com>
44283         * config.make.in (enable-lock-elision): New Makefile variable.
44284         * configure.ac: Likewise.
44285         * configure: Regenerate.
44286         * sysdeps/s390/configure.ac:
44287         Add check for gcc transactions support.
44288         * sysdeps/s390/configure: Regenerate.
44289         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44290         Build elision files if enabled.
44291         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44292         Add lock elision support for s390.
44293         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44294         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44295         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44296         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44297         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44298         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44299         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44300         Likewise.
44301         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44302         Likewise.
44303         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44304         Likewise.
44305         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44306         Likewise.
44307         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44308         (__lll_timedlock_elision, __lll_lock_elision)
44309         (__lll_unlock_elision, __lll_trylock_elision)
44310         (lll_timedlock_elision, lll_lock_elision)
44311         (lll_unlock_elision, lll_trylock_elision): Add.
44312         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44313         (pthread_mutex_t): Add lock elision support for s390.
44315 2014-05-14  Wilco  <wdijkstr@arm.com>
44317         * sysdeps/arm/fclrexcpt.c: Cleanup.
44318         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44319         * sysdeps/arm/feenablxcpt.c: Cleanup.
44320         * sysdeps/arm/fegetenv.c: Cleanup.
44321         * sysdeps/arm/fegetexcept.c: Cleanup.
44322         * sysdeps/arm/fegetround.c: Cleanup.
44323         * sysdeps/arm/feholdexcpt.c: Cleanup.
44324         * sysdeps/arm/fesetenv.c: Cleanup.
44325         * sysdeps/arm/fesetround.c: Cleanup.
44326         * sysdeps/arm/feupdateenv.c: Cleanup.
44327         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44328         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44329         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44330         * sysdeps/arm/ftestexcept.c: Cleanup.
44331         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44332         * sysdeps/arm/setfpucw.c: Cleanup.
44334 2014-05-09  Will Newton  <will.newton@linaro.org>
44336         * sysdeps/arm/armv7/strcmp.S: New file.
44337         * NEWS: Mention addition of ARMv7 optimized strcmp.
44339 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44341         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44342         look for %.ac rather than %.in.
44344         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44345         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44346         * sysdeps/mach/hurd/configure: Regenerated.
44347         * sysdeps/unix/sysv/linux/configure: Regenerated.
44349         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44351 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44353         [BZ# 16922]
44354         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44355         (LONG_SUB): Ditto.
44356         (PTR_SUB): Ditto.
44358 2014-05-07  Andreas Schwab  <schwab@suse.de>
44360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44361         when skipping over non-matching result from nscd.
44363 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44365         [BZ #16876]
44366         * nptl/sockperf.c (client): Check socket return value.
44368         [BZ #16877]
44369         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44370         nscd security class.
44372 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44374         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44375         * sysdeps/arm/unwind.h: ... here.
44377 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
44379         [BZ# 16916]
44380         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
44381         Define.
44383 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44385         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
44386         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
44387         multiarch strncpy for PPC64.
44388         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
44389         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
44391         multiarch optimizations.
44392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44393         (__libc_ifunc_impl_list): Likewise.
44394         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
44395         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
44396         multiarch stpncpy for PPC64.
44397         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
44398         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
44400 2014-05-06  Andreas Schwab  <schwab@suse.de>
44402         [BZ #16912]
44403         * gmon/mcount.c (_MCOUNT_DECL): Use
44404         atomic_compare_and_exchange_bool_acq instead of
44405         catomic_compare_and_exchange_bool_acq.
44407 2014-05-05  Roland McGrath  <roland@hack.frob.com>
44409         * elf/Makefile (others, install-bin): Remove pldd.
44410         (pldd-modules): Variable removed.
44411         ($(objpfx)pldd): Target removed.
44412         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
44413         (others, install-bin): Append pldd here.
44414         ($(objpfx)pldd): New target.
44416         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
44417         to 0, so the first #if test emitted later doesn't see it undefined.
44418         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
44419         * sysdeps/gnu/errlist.c: Regenerated.
44421 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44423         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44424         [libc_hidden_builtin_def]: Define to empty value.
44425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
44426         [libc_hidden_builtin_def]: Likewise.
44427         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
44428         [libc_hidden_builtin_def]: Likewise.
44429         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
44430         [libc_hidden_builtin_def]: Likewise.
44431         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
44432         __redirect_memcpy and define ifunc as default hidden symbol.
44433         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
44434         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
44436 2014-05-04  Adam Conrad  <adconrad@0c3.net>
44438         * locale/iso-4217.def: Reintroduce XDR currency.
44440 2014-05-04  Allan McRae  <allan@archlinux.org>
44442         * po/eo.po: Update Esperanto translation from translation project.
44444 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
44446         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
44447         and FEATURE_INDEX_MAX to 1.
44448         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
44450 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44452         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
44453         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
44454         * iconvdata/big5.c (ONE_DIRECTION): Define.
44455         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44456         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44457         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44458         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44459         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44460         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44461         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44462         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44463         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44464         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44465         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44466         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44467         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44468         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44469         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44470         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44471         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44472         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44473         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44474         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44475         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44476         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44477         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44478         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44479         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44480         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44481         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44482         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44483         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44484         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44485         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44486         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44487         * iconvdata/johab.c (ONE_DIRECTION): Define.
44488         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44489         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44490         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44491         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44492         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44493         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44494         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44495         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44496         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44497         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44499 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44501         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44502         (_IO_JUMPS_OFFSET): Define to 0.
44504         * nptl/sysdeps/pthread/bits/libc-lock.h
44505         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44506         (__libc_lock_define_initialized_recursive): Always define using
44507         initializer.  Modern compilers treat uninitialized (implicit zero) and
44508         explicit zero initializers the same (i.e. put the datum in bss).
44510 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44512         * nscd/nscd-client.h: Include <string.h>.
44514 2014-05-01  David S. Miller  <davem@davemloft.net>
44516         [BZ #16885]
44517         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44518         multiple zero bytes exist at the end of a string.
44519         Reported by Aurelien Jarno <aurelien@aurel32.net>
44521         * string/test-strcmp.c (check): Add explicit test for situations where
44522         there are multiple zero bytes after the first.
44524 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44526         [BZ #16890]
44527         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44528         when compiling wprintf.
44529         * stdio-common/tstdiomisc.c (t3): New function.
44530         (main): Call it.
44532 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44534         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44535         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44536         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44537         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44539 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44541         * stdlib/longlong.h: Updated from GCC.
44543 2014-05-01  Will Newton  <will.newton@linaro.org>
44544             Bernard Ogden  <bernie.ogden@linaro.org>
44546         * NEWS: Update fixed bug list.
44548         [BZ #15119]
44549         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44551 2014-04-30  David S. Miller  <davem@davemloft.net>
44553         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44554         (libc_feholdexcept_setround_sparc_ctx): New function.
44555         (libc_fesetenv_sparc_ctx): Likewise.
44556         (libc_feupdateenv_sparc_ctx): Likewise.
44557         (libc_feholdsetround_sparc_ctx): Likewise.
44558         (libc_feholdexcept_setround_ctx): Define.
44559         (libc_feholdexcept_setroundf_ctx): Likewise.
44560         (libc_feholdexcept_setroundl_ctx): Likewise.
44561         (libc_fesetenv_ctx): Likewise.
44562         (libc_fesetenvf_ctx): Likewise.
44563         (libc_fesetenvl_ctx): Likewise.
44564         (libc_feupdateenv_ctx): Likewise.
44565         (libc_feupdateenvf_ctx): Likewise.
44566         (libc_feupdateenvl_ctx): Likewise.
44567         (libc_feresetround_ctx): Likewise.
44568         (libc_feresetroundf_ctx): Likewise.
44569         (libc_feresetroundl_ctx): Likewise.
44570         (libc_feholdsetround_ctx): Likewise.
44571         (libc_feholdsetroundf_ctx): Likewise.
44572         (libc_feholdsetroundl_ctx): Likewise.
44574         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44575         with __USE_GNU instead of XOPEN cpp guards.
44577         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44578         0.
44580         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44581         with XOPEN cpp guards.
44583 2014-04-30  Julian Brown  <julian@codesourcery.com>
44585         [BZ #16888]
44586         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44587         handling.
44589 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44591         [BZ #9894]
44592         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44593         Change to 2.6.32.
44594         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44595         * sysdeps/unix/sysv/linux/configure: Regenerated.
44596         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44597         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44598         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44599         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44600         * README: Update reference to required Linux kernel version.
44601         * manual/install.texi (Linux): Update reference to required Linux
44602         kernel headers version.
44603         * INSTALL: Regenerated.
44605         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44606         header inclusion.
44607         [POSIX] (limits.h): Likewise.
44608         [POSIX] (math.h): Likewise.
44609         [POSIX] (sys/wait.h): Likewise.
44610         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44611         function.
44612         [POSIX] (stddef.h): Do not allow header inclusion.
44614 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44616         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44618 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44620         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44621         Return immediately after lll_futex_wake.
44623 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44625         [BZ #16791]
44626         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44627         structure.
44628         (datahead_init_pos): Call datahead_init_common early.
44629         (datahead_init_neg): Likewise.
44631         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44632         datahead_init_neg): New functions.
44633         * nscd/aicache.c (addhstaiX): Use them.
44634         * nscd/grpcache.c (cache_addgr): Likewise.
44635         * nscd/hstcache.c (cache_addhst): Likewise.
44636         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44637         * nscd/netgroupcache.c (do_notfound): Likewise.
44638         (addgetnetgrentX): Likewise.
44639         (addinnetgrX): Likewise.
44640         * nscd/pwdcache.c (cache_addpw): Likewise.
44641         * nscd/servicescache.c (cache_addserv): Likewise.
44643 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44644             Atsushi Onoe  <atsushi@onoe.org>
44646         [BZ #14308]
44647         [BZ #12994]
44648         [BZ #13651]
44649         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44650         one response is valid.
44651         * resolv/res_send.c (send_dg): Check for validity of other
44652         response if the current response is a referral.
44654 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44656         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44658 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44660         [BZ #16823]
44661         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44662         Always divide by positive zero when computing -Inf result.
44663         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44664         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44666 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44668         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44669         FPSCR if value do not change.
44670         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44671         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44672         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44673         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44674         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44675         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44676         function.
44678 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44680         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44681         * sysdeps/unix/sysv/linux/hppa: Move directory from
44682         ports/systeps/unix/sysv/linux/hppa.
44683         * README: Update listing for hppa-*-linux-gnu.
44685 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44687         [BZ #16754]
44688         * manual/stdio.texi (Hook functions): Fix types of stream hook
44689         functions.
44690         [BZ #16854]
44691         * socket/sys/socket.h: Fix typo in comment.
44693 2014-04-28  Wilco  <wdijkstr@arm.com>
44695         * sysdeps/arm/fenv_private.h: New file.
44696         * sysdeps/arm/math_private.h: New file.
44697         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44699 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44701         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44702         with __int128_t.
44703         (La_x86_64_retval): Likewise.
44705 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44707         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44708         fpsr if value didn't change.
44709         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44710         to fpcr if value didn't change.
44711         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44712         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44713         fpsr or fpcr if value didn't change.
44714         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44715         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44716         fpcr if value didn't change.
44717         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44718         to fpsr if value didn't change.
44720 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44722         * nptl/tst-sem3.c: Use test-skeleton.c
44723         (main): Rename to do_test.  Use return instead of
44724         exit.
44725         * nptl/tst-sem4.c: Use test-skeleton.c
44726         (main): Rename to do_test.
44728 2014-04-22  David S. Miller  <davem@davemloft.net>
44730         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44731         (struct sigaction): New struct member __glibc_reserved0, change
44732         type of sa_flags to int.
44734 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44736         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44737         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44739 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44741         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44742         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44744 2014-04-22  Will Newton  <will.newton@linaro.org>
44745             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44747         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44748         (__longjmp): Add longjmp and longjmp_target SystemTap
44749         probes.
44750         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44751         (__sigsetjmp): Add setjmp SystemTap probe.
44753 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44755         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44756         match manual order.
44758 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44760         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44762         * sysdeps/powerpc/fpu/fenv_private.h
44763         (libc_feholdexcept_setroundl_ctx): Define to
44764         libc_feholdexcept_setround_ppc_ctx.
44765         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44766         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44767         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44768         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44770 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44772         * sysdeps/aarch64/math-tests.h: New file.
44774 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44776         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44777         New.
44778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44779         Check and set bit_AVX2_Usable.
44780         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44781         macro.
44782         (bit_AVX2): Likewise.
44783         (index_AVX2_Usable): Likewise.
44784         (CPUID_AVX2): Likewise.
44785         (HAS_AVX2): Likewise.
44787 2014-04-17  Will Newton  <will.newton@linaro.org>
44789         * manual/setjmp.texi (System V contexts): Add note that
44790         calling setcontext on a context created by a call to a
44791         signal handler is undefined.  Update text to note that
44792         setcontext from a signal handler is possible but not
44793         recommended.
44795         [BZ #16629]
44796         * stdlib/tst-setcontext.c: Include signal.h.
44797         (main): Check that the signal stack before and
44798         after swapcontext is the same.
44800         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44801         Re-implement to restore registers in user code and avoid
44802         rt_sigreturn system call.
44804 2014-04-17  Wilco  <wdijkstr@arm.com>
44806         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44807         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44808         * math/test-fenv.c: Skip exception trap tests on targets which only
44809         support non-stop mode.
44811 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44812             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44814         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44815         (libc_feholdsetround_aarch64_ctx)
44816         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44817         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44818         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44819         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44820         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44821         (libc_feresetround_noexl_ctx): Define.
44823 2014-04-16  Richard Henderson  <rth@redhat.com>
44825         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44827         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44828         unwind tables.
44830         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44831         const from the non-libc, non-ldso copy.
44833         * sysdeps/alpha/libm-test-ulps: Regenerate.
44835 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44836             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44838         * sysdeps/aarch64/fpu/math_private.h: New file.
44840 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44842         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44844 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44846         [BZ #16275]
44847         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44848         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44849         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44850         Intel MPX bound registers before _dl_profile_fixup.
44851         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44852         registers after _dl_profile_fixup.  Save and restore bound
44853         registers bnd0/bnd1 when calling _dl_call_pltexit.
44854         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44855         (LR_BND_OFFSET): Likewise.
44856         (LRV_BND0_OFFSET): Likewise.
44857         (LRV_BND1_OFFSET): Likewise.
44859 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44861         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44862         to...
44863         * sysdeps/mach/hurd/i386/tls.h: ... here.
44864         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44865         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44866         fields.
44868 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44870         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44872 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44874         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44876 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44878         [BZ #14770]
44879         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44880         * sysdeps/s390/configure: Regenerate.
44882         [BZ #16824]
44883         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44884         Set round-to-nearest internally to reduce error accumulation.
44886 2014-04-16  Alan Modra  <amodra@gmail.com>
44888         [BZ #16740]
44889         [BZ #16619]
44890         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44891         * math/libm-test.inc (frexp_test_data): Add tests.
44892         * NEWS: Update fixed bug list.
44894 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44896         * benchtests/Makefile: Depend on libraries in build directory.
44897         (bench-math): Separate out math tests.
44898         (bench-pthread): Separate out pthread tests.
44899         (bench): Include math and pthread tests.
44901 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44903         [BZ #16831]
44904         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44905         _dl_debug_initialize.
44907         * configure.ac: Remove SELinux header check.
44908         * configure: Regenerate.
44909         * nscd/selinux.c (perms): Array of const char* to permission names.
44910         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44911         default policy. Call string_to_security_class and string_to_av_perm to
44912         translate strings. Enforce default policy and call avs_has_perm with
44913         results of translated strings.
44915 2014-04-13  David S. Miller  <davem@davemloft.net>
44917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44919 2014-04-12  Allan McRae  <allan@archlinux.org>
44921         [BZ #16838]
44922         * manual/string.texi (Collation Functions): Fix qsort argument
44923         order in example.
44924         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44926 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44928         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44929         Make the test a no-op if there are no exceptions defined.
44931 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44933         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44934         enable-hardcoded-path-in-tests
44936 2014-04-11  Will Newton  <will.newton@linaro.org>
44938         * benchtests/Makefile (extra-objs): Add json-lib.o.
44939         (bench-func): Tidy up JSON output.
44940         * benchtests/bench-skeleton.c: Include json-lib.h.
44941         (main): Use JSON library functions to do output of
44942         benchmark results.
44943         * benchtests/bench-timing-type.c (main): Output the
44944         timing type simply, leaving formatting to the user.
44945         * benchtests/json-lib.c: New file.
44946         * benchtests/json-lib.h: Likewise.
44948 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44950         [BZ #15215]
44951         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44952         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44953         memory barriers.  Add comments.
44954         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44955         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44956         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44957         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44958         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44959         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44961 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44963         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44964         * sysdeps/s390/s390-64/configure.ac: ... this ...
44965         * sysdeps/s390/configure.ac: ... to here.
44966         * sysdeps/s390/s390-32/configure: Delete file.
44967         * sysdeps/s390/s390-64/configure: Delete file.
44968         * sysdeps/s390/configure: Regenerate.
44970 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44972         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44974 2014-04-11  Will Newton  <will.newton@linaro.org>
44976         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44977         to zero if it is not defined elsewhere.  (mtrim): Test
44978         the value of MALLOC_DEBUG with #if rather than #ifdef.
44980 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44982         * benchtests/pthread_once-inputs: New file.
44983         * benchtests/pthread_once-source.c: New file.
44984         * benchtests/README: Update documentation.
44986 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44987             H.J. Lu  <hongjiu.lu@intel.com>
44989         [BZ #16275]
44990         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44991         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44992         * sysdeps/x86_64/configure: Regenerated.
44993         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44994         macro.
44995         (REGISTER_SAVE_RAX): Likewise.
44996         (REGISTER_SAVE_RCX): Likewise.
44997         (REGISTER_SAVE_RDX): Likewise.
44998         (REGISTER_SAVE_RSI): Likewise.
44999         (REGISTER_SAVE_RDI): Likewise.
45000         (REGISTER_SAVE_R8): Likewise.
45001         (REGISTER_SAVE_R9): Likewise.
45002         (REGISTER_SAVE_BND0): Likewise.
45003         (REGISTER_SAVE_BND1): Likewise.
45004         (REGISTER_SAVE_BND2): Likewise.
45005         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
45006         bound registers when calling _dl_fixup.
45008 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45010         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
45011         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
45012         of its definition.
45013         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
45014         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
45015         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
45016         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
45017         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
45018         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
45019         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
45021 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
45023         [BZ #15514]
45024         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
45025         pathconf(_PC_NAME_MAX).
45027 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45029         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
45030         Remove macro usage.
45031         (__PTHREAD_SPINS): Move definition to ...
45032         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45033         (__PTHREAD_SPINS): ... here.
45034         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45035         (__PTHREAD_SPIN): Likewise.
45036         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
45037         (__PTHREAD_SPIN): Likewise.
45038         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
45039         (__PTHREAD_SPIN): Likewise.
45040         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
45041         (__PTHREAD_SPIN): Likewise.
45042         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45043         (__PTHREAD_SPIN): Likewise.
45044         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45045         (__PTHREAD_SPIN): Likewise.
45046         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45047         (__PTHREAD_SPIN): Likewise.
45048         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45049         (__PTHREAD_SPIN): Likewise.
45050         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45051         (__PTHREAD_SPIN): Likewise.
45052         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45053         (__PTHREAD_SPIN): Likewise.
45054         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45055         (__PTHREAD_SPIN): Likewise.
45056         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45057         (__PTHREAD_SPIN): Likewise.
45059         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45060         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45061         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45062         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45063         imply folder.
45064         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45065         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45066         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45067         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45068         correct imply path.
45069         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45070         strlen symbol for non multi-arch builds.
45071         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45072         missing hidden_def and weak_alias.
45074 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45076         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45078 2014-04-07  Will Newton  <will.newton@linaro.org>
45080         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45081         and contents.  [!_LIBC] Remove #ifndef and contents.
45082         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45083         * string/memccpy.c (__memccpy): Use ANSI prototype.
45084         * string/memfrob.c (memfrob): Likewise.
45085         * string/strcoll.c (STRCOLL): Likewise.
45086         * string/strlen.c (strlen): Likewise.
45087         * string/strtok.c (STRTOK): Likewise.
45088         * string/strcat.c: Remove unused #include of memcopy.h.
45089         (strcat): Use ANSI prototype.
45090         * string/strchr.c: Remove unused #include of memcopy.h.
45091         (strchr): Use ANSI prototype.
45092         * string/strcmp.c: Remove unused #include of memcopy.h.
45093         (strcmp): Use ANSI prototype.
45094         * string/strcpy.c: Remove unused #include of memcopy.h.
45095         (strcpy): Use ANSI prototype.
45097 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45099         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45100         * config.make.in (config-extra-cppflags): Set it from
45101         libc_extra_cppflags.
45102         * configure.ac (libc_extra_cflags): Make it accumulate over
45103         configure fragments.
45104         (libc_extra_cppflags): New flag.
45105         * configure. Regenerate.
45106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45107         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45108         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45111         [BZ #16815]
45112         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45113         result for FE_DOWNWARD rounding mode.
45114         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45115         Likewise.
45116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45118 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45120         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45121         in function argument name.
45123 2014-04-03  David Svoboda  <svoboda@cert.org>
45125         [BZ #5666]
45126         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45127         explicitly.
45129 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45131         * elf/dl-unmap-segments.h: New file.
45132         * sysdeps/generic/ldsodefs.h
45133         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45134         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45135         * elf/dl-fptr.c: Likewise.
45136         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45137         * sysdeps/aarch64/tlsdesc.c: Likewise.
45138         * sysdeps/arm/tlsdesc.c: Likewise.
45139         * sysdeps/i386/tlsdesc.c: Likewise.
45140         * sysdeps/tile/dl-runtime.c: Likewise.
45141         * sysdeps/x86_64/tlsdesc.c: Likewise.
45142         * elf/dl-load.h: New file.
45143         * elf/dl-load.c: Include it.
45144         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45145         Macros moved to dl-load.h.
45146         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45147         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45148         Use _dl_unmap_segments in place of __munmap.
45149         Break out segment-mapping loop into ...
45150         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45152 2014-04-03  Will Newton  <will.newton@linaro.org>
45154         * elf/dl-lookup.c (do_lookup_x): Remove comment
45155         referring to nested function and move variable
45156         declarations down to before first use.
45158 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45160         [BZ #16799]
45161         [BZ #16800]
45162         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45163         with 0 numerator.
45164         * math/s_catanf.c (__catanf): Likewise.
45165         * math/s_catanh.c (__catanh): Likewise.
45166         * math/s_catanhf.c (__catanhf): Likewise.
45167         * math/s_catanhl.c (__catanhl): Likewise.
45168         * math/s_catanl.c (__catanl): Likewise.
45169         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45170         by positive zero when computing -Inf result.
45171         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45172         (catanh_test): Likewise.
45173         * sysdeps/i386/fpu/libm-test-ulps: Update.
45174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45176         [BZ #16789]
45177         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45178         instead of using underflowing value in computing result.
45179         * math/s_clog10.c (__clog10): Likewise.
45180         * math/s_clog10f.c (__clog10f): Likewise.
45181         * math/s_clog10l.c (__clog10l): Likewise.
45182         * math/s_clogf.c (__clogf): Likewise.
45183         * math/s_clogl.c (__clogl): Likewise.
45184         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45185         (clog10_test): Likewise.
45186         * sysdeps/i386/fpu/libm-test-ulps: Update.
45187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45189 2014-04-02  Alan Modra  <amodra@gmail.com>
45191         [BZ #16739]
45192         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45193         output when value is near a power of two.  Use int64_t for lx and
45194         remove casts.  Use decimal rather than hex exponent constants.
45195         Don't use long double multiplication when double will suffice.
45196         * math/libm-test.inc (nextafter_test_data): Add tests.
45197         * NEWS: Add 16739 and 16786 to bug list.
45199         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45201         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45203 2014-04-01  Will Newton  <will.newton@linaro.org>
45205         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45206         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45208 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45210         [BZ #13347]
45211         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45212         * nptl/tst-setuid2.c: New file.
45213         * nptl/Makefile (xtests): Add tst-setuid2.
45215 2014-04-01  Alan Modra  <amodra@gmail.com>
45217         [BZ #16786]
45218         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45220 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45222         [BZ #6803]
45223         [BZ #6804]
45224         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45225         set errno as appropriate.
45226         * math/w_scalbf.c (__scalbf): Likewise.
45227         * math/w_scalbl.c (__scalbl): Likewise.
45228         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45229         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45230         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45231         Add more NaN tests.
45233         [BZ #16349]
45234         * math/w_atan2.c: Include <errno.h>.
45235         (__atan2): Set errno for result underflowing to zero.
45236         * math/w_atan2f.c: Include <errno.h>.
45237         (__atan2f): Set errno for result underflowing to zero.
45238         * math/w_atan2l.c: Include <errno.h>.
45239         (__atan2l): Set errno for result underflowing to zero.
45240         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45241         tests.
45242         * math/auto-libm-test-out: Regenerated.
45244 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45246         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45247         Encode instruction correctly in little endian.
45248         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45249         Likewise.
45250         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45251         Likewise.
45252         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45253         Likewise.
45254         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45255         Likewise.
45257 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45259         [BZ #9894]
45260         * sysdeps/unix/sysv/linux/kernel-features.h
45261         [__sparc__ && !__arch64__ && !__sparc_v9__]
45262         (__ASSUME_SET_ROBUST_LIST): Do not define.
45263         [__sparc__ && !__arch64__ && !__sparc_v9__]
45264         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45265         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45266         Likewise.
45267         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45268         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45269         (__ASSUME_REQUEUE_PI): Likewise.
45270         (__ASSUME_SET_ROBUST_LIST): Likewise.
45271         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45272         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45273         Undefine.
45274         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45275         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45276         Likewise.
45277         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45278         Likewise.
45279         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45280         Likewise.
45281         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45282         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45283         Undefine.
45284         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45285         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45286         Likewise.
45288         [BZ #16648]
45289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45290         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45291         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45293 2014-03-31  Will Newton  <will.newton@linaro.org>
45295         * benchtests/Makefile (bench): Add ffs and ffsll to list
45296         of tests.
45297         * benchtests/ffs-inputs: New file.
45298         * benchtests/ffsll-inputs: Likewise.
45300 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45302         [BZ #16770]
45303         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45304         too large before casting to int.
45305         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45306         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45307         * math/libm-test.inc (scalb_test_data): Add more tests.
45309 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45311         * benchtests/Makefile (DETAILED_OPT): New make option.
45312         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45313         set.
45314         * benchtests/bench-skeleton.c: Include stdbool.h.
45315         (main): Store and print timings per input.
45316         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45317         member to each argument value.
45318         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45319         (_print_arg_data): Initialize per-input timing to 0.
45321         * benchtests/Makefile (timing-type): New binary.
45322         (bench-clean): Also remove bench-timing-type.
45323         (bench): New target for timing-type.
45324         (bench-func): Print output in JSON format.
45325         * benchtests/bench-skeleton.c (main): Print output in JSON
45326         format.
45327         * benchtests/bench-timing-type.c: New file.
45328         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45329         (TIMING_PRINT_STATS): Remove.
45330         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45331         name separately.
45333         * benchtests/bench-modf.c: Remove.
45334         * benchtests/modf-inputs: New inputs file.
45336 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45338         [BZ #16362]
45339         * math/s_clog10.c (M_PI_LOG10E): New macro.
45340         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45341         imaginary parts are 0.
45342         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45343         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45344         imaginary parts are 0.
45345         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45346         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45347         imaginary parts are 0.
45348         * math/libm-test.inc (clog10_test_data): Update expected results
45349         for when real and imaginary parts are 0.
45351 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45353         * elf/dl-load.c: Finish conversion of __builtin_expect into
45354         __glibc_{un}likely.
45356 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45358         [BZ #16348]
45359         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45360         1+x for argument with exponent below -67.
45361         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45362         Likewise.
45363         * math/auto-libm-test-in: Add more tests of exp.
45364         * math/auto-libm-test-out: Regenerated.
45366 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45368         [BZ #16759]
45369         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45370         (nscd_getnetgrent): Use it.
45372         [BZ #16760]
45373         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45374         of stpcpy.
45376 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45378         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
45379         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45380         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45381         (lll_robust_unlock): Remove out of line section. Use cfi
45382         intrinsics.
45383         (LLL_STUB_UNWIND_INFO*): Remove.
45384         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
45385         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45386         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45387         (lll_robust_unlock): Remove out of line section. Use cfi
45388         intrinsics.
45389         (LLL_STUB_UNWIND_INFO*): Remove.
45391 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45393         [BZ #16758]
45394         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
45395         blank values.
45397 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
45399         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
45401 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
45403         [BZ #16198]
45404         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
45405         fnstenv.
45406         * math/test-fenv-preserve.c: New file.
45407         * math/Makefile (tests): Add test-fenv-preserve.
45409 2014-03-26  Will Newton <will.newton@linaro.org>
45411         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45413 2014-03-25  Roland McGrath  <roland@hack.frob.com>
45415         * scripts/versionlist.awk: Partition the version sets and emit all
45416         GLIBC_* (sorted) before all others (sorted).
45418 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45420         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
45421         GLIBC_2.2.5 version.
45423 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45425         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
45426         calls.
45428         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
45429         previous change.
45431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45433 2014-03-25  Andreas Schwab  <schwab@suse.de>
45435         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
45436         label to be used after in6ailist is initialized.
45438 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45440         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45441         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45443 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45445         [BZ #16357]
45446         [BZ #16599]
45447         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
45448         min_plus_half.
45449         (fp_formats): Update initializers.
45450         (init_fp_formats): Initialize new field.
45451         (output_for_one_input_case): Allow underflow for results up to
45452         min_plus_half.
45453         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
45454         * math/auto-libm-test-in: Don't mark some underflows from asin and
45455         atanh as spurious.
45456         * math/auto-libm-test-out: Regenerated.
45457         * sysdeps/i386/fpu/libm-test-ulps: Update.
45458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45460 2014-03-25  Andreas Schwab  <schwab@suse.de>
45462         * libio/Makefile (tst-ftell-partial-wide-ENV)
45463         (tst-ftell-active-handler-ENV): Define.
45465 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45467         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45469 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45471         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45473 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45475         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45476         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45477         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45479 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45481         [BZ #16634]
45482         * elf/dl-load.c (open_verify): Add mode parameter.
45483         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45484         (open_path): Change from boolean 'secure' to complete flag 'mode'
45485         (_dl_map_object): Adjust.
45486         * elf/Makefile (tests): Add tst-dlopen-aout.
45487         * elf/tst-dlopen-aout.c: New test.
45489 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45491         [BZ #16714]
45492         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45493         (struct stat): Rename member pad0 to __glibc_reserved0.
45495         [BZ #16712]
45496         * sysdeps/s390/s390-32/bits/wordsize.h
45497         (__WORDSIZE32_SIZE_ULONG): New define.
45498         * sysdeps/s390/s390-64/bits/wordsize.h
45499         (__WORDSIZE32_SIZE_ULONG): Likewise.
45500         * sysdeps/generic/stdint.h (SIZE_MAX):
45501         Define as UL if __WORDSIZE32_SIZE_ULONG.
45503         [BZ #16713]
45504         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45505         (__glibc_reserved0): New variable.
45506         (sa_flags): Change type to int.
45508         * posix/Makefile (before-compile): Use += before-compile instead
45509         of a :=.
45511         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45512         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45514 2014-03-20  Andreas Schwab  <schwab@suse.de>
45516         [BZ #16743]
45517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45518         non-matching result from nscd.
45520 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45522         * scripts/bench.py: Moved to ...
45523         * benchtests/scripts/bench.py: ... here.
45524         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45526 2014-03-24  Andreas Schwab  <schwab@suse.de>
45528         [BZ #16002]
45529         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45530         alloca_account and account alloca use for struct in6ailist.
45532 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45534         [BZ #16284]
45535         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45536         rounding mode to recompute results that overflow to infinity or
45537         underflow to zero.
45538         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45539         bug 16284.
45540         * math/auto-libm-test-out: Regenerated.
45541         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45542         (ccosh_test): Likewise.
45543         (csin_test_data): Use plus_oflow.
45544         (csin_test): Use ALL_RM_TEST.
45545         (csinh_test_data): Use plus_oflow.
45546         (csinh_test): Use ALL_RM_TEST.
45547         * sysdeps/i386/fpu/libm-test-ulps: Update.
45548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45550 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45552         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45553         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45554         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45556         [BZ #16731]
45557         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45558         when x - 1 is zero.
45559         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45560         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45561         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45563         argument is 1.
45564         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45565         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45566         zero.
45567         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45568         * sysdeps/i386/fpu/libm-test-ulps: Update.
45569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45571 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45573         * scripts/bench.pl: Remove file.
45574         * scripts/bench.py: New benchmark script.
45575         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45576         * benchtests/README: Mention python dependency.
45577         * scripts/pylintrc: New file.
45578         * scripts/pylint: New file.
45580         * bits/mathdef.h: Use #ifdef instead of #if.
45581         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45582         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45583         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45584         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45585         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45586         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45588 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45589             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45591         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45593         and strpbrk-ppc64 objects.
45594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45595         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45596         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45597         multiarch strpbrk for POWER7.
45598         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45599         multiarch strpbrk for PPC64.
45600         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45601         ifunc selector.
45602         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45603         strpbrk for POWER7.
45605 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45607         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45608         (atan_test): Likewise.
45609         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45610         (atanh_test): Use ALL_RM_TEST.
45611         (atan2_test_data): Likewise.
45612         (cabs_test): Likewise.
45613         (cacosh_test): Likewise.
45614         (carg_test): Likewise.
45615         (casin_test): Likewise.
45616         (casinh_test): Likewise.
45617         (cbrt_test): Likewise.
45618         (csqrt_test): Likewise.
45619         (erf_test): Likewise.
45620         (erfc_test): Likewise.
45621         (pow10_test): Likewise.
45622         (exp2_test): Likewise.
45623         (hypot_test): Likewise.
45624         (j0_test): Likewise.
45625         (j1_test): Likewise.
45626         (lgamma_test): Likewise.
45627         (gamma_test): Likewise.
45628         (sincos_test): Likewise.
45629         (tanh_test): Likewise.
45630         (y0_test): Likewise.
45631         (y1_test): Likewise.
45632         * sysdeps/i386/fpu/libm-test-ulps: Update.
45633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45635 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45637         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45639         and strcspn-ppc64 objects.
45640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45641         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45642         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45643         multiarch strcspn for POWER7.
45644         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45645         multiarch strcspn for PPC64.
45646         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45647         ifunc selector.
45648         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45649         strcspn for POWER7.
45651 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45653         * math/gen-libm-test.pl (generate_testfile): Expect only function
45654         name as argument to AUTO_TESTS_* and pass results for all rounding
45655         modes to parse_args.
45656         (parse_auto_input): Separate inputs of automatic tests from
45657         outputs before storing in %auto_tests.
45658         * math/libm-test.inc (acos_test_data): Update call to
45659         AUTO_TESTS_f_f.
45660         (acos_test): Use ALL_RM_TEST.
45661         (acos_tonearest_test_data): Remove.
45662         (acos_test_tonearest): Likewise.
45663         (acos_towardzero_test_data): Likewise.
45664         (acos_test_towardzero): Likewise.
45665         (acos_downward_test_data): Likewise.
45666         (acos_test_downward): Likewise.
45667         (acos_upward_test_data): Likewise.
45668         (acos_test_upward): Likewise.
45669         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45670         (asin_test_data): Likewise.
45671         (asin_test): Use ALL_RM_TEST.
45672         (asin_tonearest_test_data): Remove.
45673         (asin_test_tonearest): Likewise.
45674         (asin_towardzero_test_data): Likewise.
45675         (asin_test_towardzero): Likewise.
45676         (asin_downward_test_data): Likewise.
45677         (asin_test_downward): Likewise.
45678         (asin_upward_test_data): Likewise.
45679         (asin_test_upward): Likewise.
45680         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45681         (atan_test_data): Likewise.
45682         (atanh_test_data): Likewise.
45683         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45684         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45685         (carg_test_data): Likewise.
45686         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45687         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45688         (ccosh_test_data): Likewise.
45689         (cexp_test_data): Likewise.
45690         (clog_test_data): Likewise.
45691         (clog10_test_data): Likewise.
45692         (cos_test_data): Update call to AUTO_TESTS_f_f.
45693         (cos_test): Use ALL_RM_TEST.
45694         (cos_tonearest_test_data): Remove.
45695         (cos_test_tonearest): Likewise.
45696         (cos_towardzero_test_data): Likewise.
45697         (cos_test_towardzero): Likewise.
45698         (cos_downward_test_data): Likewise.
45699         (cos_test_downward): Likewise.
45700         (cos_upward_test_data): Likewise.
45701         (cos_test_upward): Likewise.
45702         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45703         (cosh_test): Use ALL_RM_TEST.
45704         (cosh_tonearest_test_data): Remove.
45705         (cosh_test_tonearest): Likewise.
45706         (cosh_towardzero_test_data): Likewise.
45707         (cosh_test_towardzero): Likewise.
45708         (cosh_downward_test_data): Likewise.
45709         (cosh_test_downward): Likewise.
45710         (cosh_upward_test_data): Likewise.
45711         (cosh_test_upward): Likewise.
45712         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45713         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45714         (ctan_test_data): Likewise.
45715         (ctan_test): Use ALL_RM_TEST.
45716         (ctan_tonearest_test_data): Remove.
45717         (ctan_test_tonearest): Likewise.
45718         (ctan_towardzero_test_data): Likewise.
45719         (ctan_test_towardzero): Likewise.
45720         (ctan_downward_test_data): Likewise.
45721         (ctan_test_downward): Likewise.
45722         (ctan_upward_test_data): Likewise.
45723         (ctan_test_upward): Likewise.
45724         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45725         (ctanh_test): Use ALL_RM_TEST.
45726         (ctanh_tonearest_test_data): Remove.
45727         (ctanh_test_tonearest): Likewise.
45728         (ctanh_towardzero_test_data): Likewise.
45729         (ctanh_test_towardzero): Likewise.
45730         (ctanh_downward_test_data): Likewise.
45731         (ctanh_test_downward): Likewise.
45732         (ctanh_upward_test_data): Likewise.
45733         (ctanh_test_upward): Likewise.
45734         (erf_test_data): Update call to AUTO_TESTS_f_f.
45735         (erfc_test_data): Likewise.
45736         (exp_test_data): Likewise.
45737         (exp_test): Use ALL_RM_TEST.
45738         (exp_tonearest_test_data): Remove.
45739         (exp_test_tonearest): Likewise.
45740         (exp_towardzero_test_data): Likewise.
45741         (exp_test_towardzero): Likewise.
45742         (exp_downward_test_data): Likewise.
45743         (exp_test_downward): Likewise.
45744         (exp_upward_test_data): Likewise.
45745         (exp_test_upward): Likewise.
45746         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45747         (exp10_test): Use ALL_RM_TEST.
45748         (exp10_tonearest_test_data): Remove.
45749         (exp10_test_tonearest): Likewise.
45750         (exp10_towardzero_test_data): Likewise.
45751         (exp10_test_towardzero): Likewise.
45752         (exp10_downward_test_data): Likewise.
45753         (exp10_test_downward): Likewise.
45754         (exp10_upward_test_data): Likewise.
45755         (exp10_test_upward): Likewise.
45756         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45757         (expm1_test_data): Likewise.
45758         (expm1_test): Use ALL_RM_TEST.
45759         (expm1_tonearest_test_data): Remove.
45760         (expm1_test_tonearest): Likewise.
45761         (expm1_towardzero_test_data): Likewise.
45762         (expm1_test_towardzero): Likewise.
45763         (expm1_downward_test_data): Likewise.
45764         (expm1_test_downward): Likewise.
45765         (expm1_upward_test_data): Likewise.
45766         (expm1_test_upward): Likewise.
45767         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45768         (fma_test): Use ALL_RM_TEST.
45769         (fma_towardzero_test_data): Remove.
45770         (fma_test_towardzero): Likewise.
45771         (fma_downward_test_data): Likewise.
45772         (fma_test_downward): Likewise.
45773         (fma_upward_test_data): Likewise.
45774         (fma_test_upward): Likewise.
45775         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45776         (j0_test_data): Update call to AUTO_TESTS_f_f.
45777         (j1_test_data): Likewise.
45778         (jn_test_data): Update call to AUTO_TESTS_if_f.
45779         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45780         (log_test_data): Update call to AUTO_TESTS_f_f.
45781         (log10_test_data): Likewise.
45782         (log1p_test_data): Likewise.
45783         (log2_test_data): Likewise.
45784         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45785         (pow_tonearest_test_data): Likewise.
45786         (sin_test_data): Update call to AUTO_TESTS_f_f.
45787         (sin_test): Use ALL_RM_TEST.
45788         (sin_tonearest_test_data): Remove.
45789         (sin_test_tonearest): Likewise.
45790         (sin_towardzero_test_data): Likewise.
45791         (sin_test_towardzero): Likewise.
45792         (sin_downward_test_data): Likewise.
45793         (sin_test_downward): Likewise.
45794         (sin_upward_test_data): Likewise.
45795         (sin_test_upward): Likewise.
45796         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45797         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45798         (sinh_test): Use ALL_RM_TEST.
45799         (sinh_tonearest_test_data): Remove.
45800         (sinh_test_tonearest): Likewise.
45801         (sinh_towardzero_test_data): Likewise.
45802         (sinh_test_towardzero): Likewise.
45803         (sinh_downward_test_data): Likewise.
45804         (sinh_test_downward): Likewise.
45805         (sinh_upward_test_data): Likewise.
45806         (sinh_test_upward): Likewise.
45807         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45808         (sqrt_test): Use ALL_RM_TEST.
45809         (sqrt_tonearest_test_data): Remove.
45810         (sqrt_test_tonearest): Likewise.
45811         (sqrt_towardzero_test_data): Likewise.
45812         (sqrt_test_towardzero): Likewise.
45813         (sqrt_downward_test_data): Likewise.
45814         (sqrt_test_downward): Likewise.
45815         (sqrt_upward_test_data): Likewise.
45816         (sqrt_test_upward): Likewise.
45817         (tan_test_data): Update call to AUTO_TESTS_f_f.
45818         (tan_test): Use ALL_RM_TEST.
45819         (tan_tonearest_test_data): Remove.
45820         (tan_test_tonearest): Likewise.
45821         (tan_towardzero_test_data): Likewise.
45822         (tan_test_towardzero): Likewise.
45823         (tan_downward_test_data): Likewise.
45824         (tan_test_downward): Likewise.
45825         (tan_upward_test_data): Likewise.
45826         (tan_test_upward): Likewise.
45827         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45828         (tgamma_test_data): Likewise.
45829         (y0_test_data): Likewise.
45830         (y1_test_data): Likewise.
45831         (yn_test_data): Update call to AUTO_TESTS_if_f.
45832         (main): Do not call removed functions.
45834 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45836         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45837         (ldexp_test_data): Remove.
45838         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45839         scalbn_test_data.
45840         (scalb_test): Use ALL_RM_TEST.
45842 2014-03-19  Andreas Schwab  <schwab@suse.de>
45844         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45846 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45848         [BZ #16649]
45849         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45850         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45851         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45853         (__ASSUME_PREADV): Undefine.
45854         (__ASSUME_PWRITEV): Likewise.
45856 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45858         * bits/mman-linux.h: Add comment about non-Linux use.
45859         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45860         bits/mman-linux.h resting place.
45862         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45863         * bits/mman-linux.h: ... here.
45865 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45867         * conform/conformtest.pl: Add standard definition when calling C
45868         preprocessor on data files.
45869         (checknamespace): Remove unused variable.
45871 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45873         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45874         minus_oflow, plus_uflow and minus_uflow in expected results.
45875         * math/libm-test.inc (scalbn_test_data): Add more tests of
45876         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45877         minus_uflow.
45878         (scalbn_test): Use ALL_RM_TEST.
45879         (scalbln_test_data): Add more tests of negative arguments.  Use
45880         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45881         (scalbln_test): Use ALL_RM_TEST.
45883 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45885         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45887 2014-03-18  Will Newton  <will.newton@linaro.org>
45889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45890         inaccurate comment.
45892 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45894         * Makerules [!subdir] (check-abi): Exit with error status if a
45895         test failed.
45897 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45899         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45900         for rint.  Include results for all rounding modes.
45901         (nearbyint_test): Use ALL_RM_TEST.
45902         (rint_test_data): Include all tests used for nearbyint.
45904 2014-03-17  Will Newton  <will.newton@linaro.org>
45906         * nptl/sysdeps/pthread/pthread.h: Revert previous
45907         change.
45909         * sysdeps/generic/ldsodefs.h: Revert previous
45910         change.
45912         * libio/genops.c: Revert previous change.
45913         * libio/libioP.h: Likewise.
45914         * stdio-common/vfprintf.c: Likewise.
45916         * sysdeps/generic/math_private.h: Revert previous
45917         change.
45919         * sysdeps/generic/math_private.h: Check whether
45920         HAVE_RM_CTX is defined with #ifdef rather
45921         than #if.
45923         * argp/argp-fmtstream.h: Check whether
45924         __STRICT_ANSI__ is defined with #ifdef rather
45925         than #if.
45926         * argp/argp.h: Likewise.
45928         * libio/genops.c: Check whether
45929         _IO_JUMPS_OFFSET is defined with #ifdef rather
45930         than #if.
45931         * libio/libioP.h: Likewise.
45932         * stdio-common/vfprintf.c: Likewise.
45934         * sysdeps/generic/ldsodefs.h: Check whether
45935         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45936         than #if.
45938         * nptl/sysdeps/pthread/pthread.h: Check
45939         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45940         its value.
45942 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45944         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45945         setting O_APPEND.
45946         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45947         test case.
45949         [BZ #16680]
45950         * libio/fileops.c (_IO_file_open): Seek to end of file but
45951         don't cache the offset.
45952         (get_file_offset): Remove function.
45953         (do_ftell): Use cached offset when available.
45954         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45955         don't cache the offset.
45956         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45957         case.
45958         (do_one_test): Call it.
45959         (do_ftell_test): Fix up expected old offset for a+ mode.
45960         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45961         available.
45963         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45964         up test status with function return status.
45965         (do_write_test): Likewise.
45966         (do_append_test): Likewise.
45968         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45969         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45970         Remove.
45972 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45974         * math/gen-libm-test.pl (parse_args): Handle results specified for
45975         each rounding mode separately.
45976         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45977         tests and results from lrint_tonearest_test_data,
45978         lrint_towardzero_test_data, lrint_downward_test_data and
45979         lrint_upward_test_data.
45980         (lrint_test): Use ALL_RM_TEST.
45981         (lrint_tonearest_test_data): Remove.
45982         (lrint_test_tonearest): Likewise.
45983         (lrint_towardzero_test_data): Likewise.
45984         (lrint_test_towardzero): Likewise.
45985         (lrint_downward_test_data): Likewise.
45986         (lrint_test_downward): Likewise.
45987         (lrint_upward_test_data): Likewise.
45988         (lrint_test_upward): Likewise.
45989         (llrint_test_data): Merge in per-rounding-mode tests and results
45990         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45991         llrint_downward_test_data and llrint_upward_test_data.
45992         (llrint_test): Use ALL_RM_TEST.
45993         (llrint_tonearest_test_data): Remove.
45994         (llrint_test_tonearest): Likewise.
45995         (llrint_towardzero_test_data): Likewise.
45996         (llrint_test_towardzero): Likewise.
45997         (llrint_downward_test_data): Likewise.
45998         (llrint_test_downward): Likewise.
45999         (llrint_upward_test_data): Likewise.
46000         (llrint_test_upward): Likewise.
46001         (rint_test_data): Merge in per-rounding-mode tests and results
46002         from rint_tonearest_test_data, rint_towardzero_test_data,
46003         rint_downward_test_data and rint_upward_test_data.  Add
46004         per-rounding-mode results for tests not in those arrays.
46005         (rint_test): Use ALL_RM_TEST.
46006         (rint_tonearest_test_data): Remove.
46007         (rint_test_tonearest): Likewise.
46008         (rint_towardzero_test_data): Likewise.
46009         (rint_test_towardzero): Likewise.
46010         (rint_downward_test_data): Likewise.
46011         (rint_test_downward): Likewise.
46012         (rint_upward_test_data): Likewise.
46013         (rint_test_upward): Likewise.
46014         (main): Don't call removed functions.
46016 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46018         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
46019         "Compiled on ..." crapola.  It is anti-useful.
46021 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
46023         * scripts/evaluate-test.sh: Handle fourth argument to determine
46024         whether test run should stop on failure.
46025         * Makeconfig (stop-on-test-failure): New variable.
46026         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
46027         $(stop-on-test-failure).
46028         * Makefile (tests): Give a summary of results from testing and
46029         exit with failure status if they include an ERROR or FAIL.
46030         (xtests): Likewise.
46031         * manual/install.texi (Configuring and compiling): Mention
46032         stop-on-test-failure=y.
46033         * INSTALL: Regenerated.
46035 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46037         * scripts/versionlist.awk: New file.
46038         * Makerules [$(build-shared) = yes]
46039         (postclean-generated): Add Versions.def, not Versions.def.v and
46040         Versions.def.v.i.
46041         ($(common-objpfx)Versions.def.v.i): Target removed.
46042         ($(common-objpfx)Versions.def): New target.
46043         ($(common-objpfx)Versions.all): Depend on that rather that
46044         $(common-objpfx)Versions.def.v.
46045         * Versions.def: File removed.
46047         * Makeconfig (+gccwarn): Add -Wundef.
46048         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46049         a dl-sysdep.h breaking its contract.
46050         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46051         * include/stackinfo.h: New file.
46052         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46053         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46054         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46055         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46056         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46057         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46058         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46059         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46060         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46061         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46062         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46063         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46064         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46065         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46066         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46068 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46070         [BZ #16707]
46071         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46072         implementation.
46073         * math/libm-test.inc (round_test_data): Add more tests.
46075         [BZ #16706]
46076         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46077         implementation.
46078         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46080         [BZ #16701]
46081         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46082         implementation.
46083         * math/libm-test.inc (ceil_test_data): Add more tests.
46085         * math/libm-test.inc (trunc_test_data): Add more tests related to
46086         BZ#16414.
46088 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46090         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46091         with #if rather than #ifdef.
46092         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46094 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46096         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46097         first.  Disable AVX-512 GCC support if assembler doesn't support
46098         it.
46099         * sysdeps/x86_64/configure: Regenerated.
46101 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46103         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46104         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46105         (__old_pthread_attr_setstack): Likewise.
46106         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46107         [!_STACK_GROWS_DOWN]: Likewise.
46109 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46111         * config.make.in (have-bash2): Delete.
46112         * configure.ac (libc_cv_have_bash2): Delete.
46113         * configure: Regenerate.
46114         * elf/Makefile (common-ldd-rewrite): Rename to ...
46115         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46116         (sh-ldd-rewrite): Delete.
46117         (bash-ldd-rewrite): Delete.
46118         (have-bash2): Delete checks.
46119         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46120         ldd-rewrite.
46122         * config.make.in (have-ksh): Delete.
46123         (KSH): Delete.
46124         * configure.ac (libc_cv_have_ksh): Delete.
46125         * configure: Regenerate.
46127         * elf/Makefile: Delete $(have-ksh) check.
46128         ($(objpfx)sotruss): Change KSH to BASH.
46129         * elf/sotruss.ksh: Rename to ...
46130         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46131         function style to match POSIX.  Drop ksh vim mode setting.
46133         * manual/time.texi (Specifying the Time Zone with TZ): Change
46134         Tuesday to Thursday.
46136         * debug/tst-longjmp_chk2.c: Update header comment.
46137         (stackoverflow_handler): Add comment.  Call assert on pass value.
46139 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46141         [BZ #16194]
46142         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46143         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46144         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46145         (La_x86_64_vector): Add zmm.
46146         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46147         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46148         ($(objpfx)tst-audit10): New target.
46149         ($(objpfx)tst-audit10.out): Likewise.
46150         (tst-audit10-ENV): New.
46151         (AVX512-CFLAGS): Likewise.
46152         (CFLAGS-tst-audit10.c): Likewise.
46153         (CFLAGS-tst-auditmod10a.c): Likewise.
46154         (CFLAGS-tst-auditmod10b.c): Likewise.
46155         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46156         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46157         * sysdeps/x86_64/configure: Regenerated.
46158         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46159         AVX-512 zmm register support.
46160         (_dl_x86_64_save_sse): Likewise.
46161         (_dl_x86_64_restore_sse): Likewise.
46162         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46163         size vector registers.
46164         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46165         (ZMM_SIZE): Likewise.
46166         * sysdeps/x86_64/tst-audit10.c: New file.
46167         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46168         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46170 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46172         * configure.ac (HAVE_EHDR_START): New check.
46173         * configure: Regenerated.
46174         * config.h.in (HAVE_EHDR_START): New #undef.
46175         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46176         assuming the lowest-addressed segment maps the start of the file.
46178 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46180         * INSTALL: Regenerated.
46182 2014-03-13  Will Newton  <will.newton@linaro.org>
46184         * manual/setjmp.texi (System V contexts): Improve
46185         clarity and grammar of documentation.
46187 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46189         [BZ #16381]
46190         * elf/Makefile (tests): Add tst-pie2.
46191         (tests-pie): Add tst-pie2.
46192         * elf/tst-pie2.c: New file.
46193         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46194         for ET_EXEC.
46195         * elf/rtld.c (map_doit): Load executable as lt_executable.
46196         (dl_main): Likewise.
46198 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46200         [BZ #16642]
46201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46202         (__ASSUME_PSELECT): Undefine.
46204 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46206         [BZ #16689]
46207         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46208         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46209         static build.
46210         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46211         selector for static builds.
46213 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46215         [BZ #16695]
46216         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46217         key in the buffer.
46219 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46221         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46222         IFUNC selector for static builds.
46224 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46226         * sysdeps/mips/math_private.h [__mips_hard_float]
46227         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46228         libc_feresetround_mips_ctx.
46229         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46230         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46231         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46233         [BZ #16677]
46234         * math/s_nextafter.c (__nextafter): Do not return value from
46235         overflowing computation.
46236         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46237         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46238         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46239         Likewise.
46240         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46241         Likewise.
46242         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46243         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46245 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46247         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46248         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46249         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46250         the new mov targetting sp.
46252 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46254         [BZ #16683]
46255         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46256         Define it for static builds as well.
46257         (NO_BZERO_IMPL): Likewise.
46259 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46261         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46262         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46263         multiarch strspn for PPC64.
46264         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46265         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46267         (__libc_ifunc_impl_list): Likewise.
46268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46269         multiarch optimizations
46270         * string/strspn.c (strspn): Using macro to redefine symbol name.
46272 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46273             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46275         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46276         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46277         multiarch strncat for PPC64.
46278         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46279         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46281         (__libc_ifunc_impl_list): Likewise.
46282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46283         multiarch optimizations
46285 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46287         [BZ #16639]
46288         * nscd/nscd.service: Make service type forking.
46290 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46292         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46293         sign in non default rounding modes.
46294         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46296 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46298         * math/libm-test.inc (ALL_RM_TEST): New macro.
46299         (ceil_test): Use ALL_RM_TEST.
46300         (cimag_test): Likewise.
46301         (conj_test): Likewise.
46302         (copysign_test): Likewise.
46303         (cproj_test): Likewise.
46304         (creal_test): Likewise.
46305         (fabs_test): Likewise.
46306         (floor_test): Likewise.
46307         (fmax_test): Likewise.
46308         (fmin_test): Likewise.
46309         (fmod_test): Likewise.
46310         (fpclassify_test): Likewise.
46311         (frexp_test): Likewise.
46312         (ilogb_test): Likewise.
46313         (isfinite_test): Likewise.
46314         (finite_test): Likewise.
46315         (isgreater_test): Likewise.
46316         (isgreaterequal_test): Likewise.
46317         (isinf_test): Likewise.
46318         (isless_test): Likewise.
46319         (islessequal_test): Likewise.
46320         (islessgreater_test): Likewise.
46321         (isnan_test): Likewise.
46322         (isnormal_test): Likewise.
46323         (issignaling_test): Likewise.
46324         (isunordered_test): Likewise.
46325         (logb_test): Likewise.
46326         (logb_downward_test_data): Remove.
46327         (logb_test_downward): Likewise.
46328         (lround_test): Use ALL_RM_TEST.
46329         (llround_test): Likewise.
46330         (modf_test): Likewise.
46331         (nexttoward_test): Likewise.
46332         (remainder_test): Likewise.
46333         (drem_test): Likewise.
46334         (remainder_tonearest_test_data): Likewise.
46335         (remainder_test_tonearest): Likewise.
46336         (drem_test_tonearest): Likewise.
46337         (remainder_towardzero_test_data): Likewise.
46338         (remainder_test_towardzero): Likewise.
46339         (drem_test_towardzero): Likewise.
46340         (remainder_downward_test_data): Likewise.
46341         (remainder_test_downward): Likewise.
46342         (drem_test_downward): Likewise.
46343         (remainder_upward_test_data): Likewise.
46344         (remainder_test_upward): Likewise.
46345         (drem_test_upward): Likewise.
46346         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46347         (round_test): Use ALL_RM_TEST.
46348         (signbit_test): Likewise.
46349         (trunc_test): Likewise.
46350         (significand_test): Likewise.
46351         (main): Don't call removed functions.
46353 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46355         [BZ #16674]
46356         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46357         || __USE_XOPEN2K8].
46358         (ILL_ILLOPN): Likewise.
46359         (ILL_ILLADR): Likewise.
46360         (ILL_ILLTRP): Likewise.
46361         (ILL_PRVOPC): Likewise.
46362         (ILL_PRVREG): Likewise.
46363         (ILL_COPROC): Likewise.
46364         (ILL_BADSTK): Likewise.
46365         (FPE_INTDIV): Likewise.
46366         (FPE_INTOVF): Likewise.
46367         (FPE_FLTDIV): Likewise.
46368         (FPE_FLTOVF): Likewise.
46369         (FPE_FLTUND): Likewise.
46370         (FPE_FLTRES): Likewise.
46371         (FPE_FLTINV): Likewise.
46372         (FPE_FLTSUB): Likewise.
46373         (SEGV_MAPERR): Likewise.
46374         (SEGV_ACCERR): Likewise.
46375         (BUS_ADRALN): Likewise.
46376         (BUS_ADRERR): Likewise.
46377         (BUS_OBJERR): Likewise.
46378         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46379         (TRAP_TRACE): Likewise.
46380         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46381         __USE_XOPEN2K8].
46382         (CLD_KILLED): Likewise.
46383         (CLD_DUMPED): Likewise.
46384         (CLD_TRAPPED): Likewise.
46385         (CLD_STOPPED): Likewise.
46386         (CLD_CONTINUED): Likewise.
46387         (POLL_IN): Likewise.
46388         (POLL_OUT): Likewise.
46389         (POLL_MSG): Likewise.
46390         (POLL_ERR): Likewise.
46391         (POLL_PRI): Likewise.
46392         (POLL_HUP): Likewise.
46393         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
46394         Likewise.
46395         (ILL_ILLOPN): Likewise.
46396         (ILL_ILLADR): Likewise.
46397         (ILL_ILLTRP): Likewise.
46398         (ILL_PRVOPC): Likewise.
46399         (ILL_PRVREG): Likewise.
46400         (ILL_COPROC): Likewise.
46401         (ILL_BADSTK): Likewise.
46402         (FPE_INTDIV): Likewise.
46403         (FPE_INTOVF): Likewise.
46404         (FPE_FLTDIV): Likewise.
46405         (FPE_FLTOVF): Likewise.
46406         (FPE_FLTUND): Likewise.
46407         (FPE_FLTRES): Likewise.
46408         (FPE_FLTINV): Likewise.
46409         (FPE_FLTSUB): Likewise.
46410         (SEGV_MAPERR): Likewise.
46411         (SEGV_ACCERR): Likewise.
46412         (BUS_ADRALN): Likewise.
46413         (BUS_ADRERR): Likewise.
46414         (BUS_OBJERR): Likewise.
46415         (BUS_MCEERR_AR): Likewise.
46416         (BUS_MCEERR_AO): Likewise.
46417         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46418         (TRAP_TRACE): Likewise.
46419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46420         __USE_XOPEN2K8].
46421         (CLD_KILLED): Likewise.
46422         (CLD_DUMPED): Likewise.
46423         (CLD_TRAPPED): Likewise.
46424         (CLD_STOPPED): Likewise.
46425         (CLD_CONTINUED): Likewise.
46426         (POLL_IN): Likewise.
46427         (POLL_OUT): Likewise.
46428         (POLL_MSG): Likewise.
46429         (POLL_ERR): Likewise.
46430         (POLL_PRI): Likewise.
46431         (POLL_HUP): Likewise.
46432         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
46433         (ILL_ILLOPN): Likewise.
46434         (ILL_ILLADR): Likewise.
46435         (ILL_ILLTRP): Likewise.
46436         (ILL_PRVOPC): Likewise.
46437         (ILL_PRVREG): Likewise.
46438         (ILL_COPROC): Likewise.
46439         (ILL_BADSTK): Likewise.
46440         (FPE_INTDIV): Likewise.
46441         (FPE_INTOVF): Likewise.
46442         (FPE_FLTDIV): Likewise.
46443         (FPE_FLTOVF): Likewise.
46444         (FPE_FLTUND): Likewise.
46445         (FPE_FLTRES): Likewise.
46446         (FPE_FLTINV): Likewise.
46447         (FPE_FLTSUB): Likewise.
46448         (SEGV_MAPERR): Likewise.
46449         (SEGV_ACCERR): Likewise.
46450         (BUS_ADRALN): Likewise.
46451         (BUS_ADRERR): Likewise.
46452         (BUS_OBJERR): Likewise.
46453         (BUS_MCEERR_AR): Likewise.
46454         (BUS_MCEERR_AO): Likewise.
46455         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46456         (TRAP_TRACE): Likewise.
46457         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46458         __USE_XOPEN2K8].
46459         (CLD_KILLED): Likewise.
46460         (CLD_DUMPED): Likewise.
46461         (CLD_TRAPPED): Likewise.
46462         (CLD_STOPPED): Likewise.
46463         (CLD_CONTINUED): Likewise.
46464         (POLL_IN): Likewise.
46465         (POLL_OUT): Likewise.
46466         (POLL_MSG): Likewise.
46467         (POLL_ERR): Likewise.
46468         (POLL_PRI): Likewise.
46469         (POLL_HUP): Likewise.
46470         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46471         Likewise.
46472         (ILL_ILLOPN): Likewise.
46473         (ILL_ILLADR): Likewise.
46474         (ILL_ILLTRP): Likewise.
46475         (ILL_PRVOPC): Likewise.
46476         (ILL_PRVREG): Likewise.
46477         (ILL_COPROC): Likewise.
46478         (ILL_BADSTK): Likewise.
46479         (ILL_BADIADDR): Likewise.
46480         (ILL_BREAK): Likewise.
46481         (FPE_INTDIV): Likewise.
46482         (FPE_INTOVF): Likewise.
46483         (FPE_FLTDIV): Likewise.
46484         (FPE_FLTOVF): Likewise.
46485         (FPE_FLTUND): Likewise.
46486         (FPE_FLTRES): Likewise.
46487         (FPE_FLTINV): Likewise.
46488         (FPE_FLTSUB): Likewise.
46489         (FPE_DECOVF): Likewise.
46490         (FPE_DECDIV): Likewise.
46491         (FPE_DECERR): Likewise.
46492         (FPE_INVASC): Likewise.
46493         (FPE_INVDEC): Likewise.
46494         (SEGV_MAPERR): Likewise.
46495         (SEGV_ACCERR): Likewise.
46496         (SEGV_PSTKOVF): Likewise.
46497         (BUS_ADRALN): Likewise.
46498         (BUS_ADRERR): Likewise.
46499         (BUS_OBJERR): Likewise.
46500         (BUS_MCEERR_AR): Likewise.
46501         (BUS_MCEERR_AO): Likewise.
46502         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46503         (TRAP_TRACE): Likewise.
46504         (TRAP_BRANCH): Likewise.
46505         (TRAP_HWBKPT): Likewise.
46506         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46507         __USE_XOPEN2K8].
46508         (CLD_KILLED): Likewise.
46509         (CLD_DUMPED): Likewise.
46510         (CLD_TRAPPED): Likewise.
46511         (CLD_STOPPED): Likewise.
46512         (CLD_CONTINUED): Likewise.
46513         (POLL_IN): Likewise.
46514         (POLL_OUT): Likewise.
46515         (POLL_MSG): Likewise.
46516         (POLL_ERR): Likewise.
46517         (POLL_PRI): Likewise.
46518         (POLL_HUP): Likewise.
46519         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46520         (ILL_ILLOPN): Likewise.
46521         (ILL_ILLADR): Likewise.
46522         (ILL_ILLTRP): Likewise.
46523         (ILL_PRVOPC): Likewise.
46524         (ILL_PRVREG): Likewise.
46525         (ILL_COPROC): Likewise.
46526         (ILL_BADSTK): Likewise.
46527         (FPE_INTDIV): Likewise.
46528         (FPE_INTOVF): Likewise.
46529         (FPE_FLTDIV): Likewise.
46530         (FPE_FLTOVF): Likewise.
46531         (FPE_FLTUND): Likewise.
46532         (FPE_FLTRES): Likewise.
46533         (FPE_FLTINV): Likewise.
46534         (FPE_FLTSUB): Likewise.
46535         (SEGV_MAPERR): Likewise.
46536         (SEGV_ACCERR): Likewise.
46537         (BUS_ADRALN): Likewise.
46538         (BUS_ADRERR): Likewise.
46539         (BUS_OBJERR): Likewise.
46540         (BUS_MCEERR_AR): Likewise.
46541         (BUS_MCEERR_AO): Likewise.
46542         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46543         (TRAP_TRACE): Likewise.
46544         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46545         __USE_XOPEN2K8].
46546         (CLD_KILLED): Likewise.
46547         (CLD_DUMPED): Likewise.
46548         (CLD_TRAPPED): Likewise.
46549         (CLD_STOPPED): Likewise.
46550         (CLD_CONTINUED): Likewise.
46551         (POLL_IN): Likewise.
46552         (POLL_OUT): Likewise.
46553         (POLL_MSG): Likewise.
46554         (POLL_ERR): Likewise.
46555         (POLL_PRI): Likewise.
46556         (POLL_HUP): Likewise.
46557         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46558         (ILL_ILLOPN): Likewise.
46559         (ILL_ILLADR): Likewise.
46560         (ILL_ILLTRP): Likewise.
46561         (ILL_PRVOPC): Likewise.
46562         (ILL_PRVREG): Likewise.
46563         (ILL_COPROC): Likewise.
46564         (ILL_BADSTK): Likewise.
46565         (FPE_INTDIV): Likewise.
46566         (FPE_INTOVF): Likewise.
46567         (FPE_FLTDIV): Likewise.
46568         (FPE_FLTOVF): Likewise.
46569         (FPE_FLTUND): Likewise.
46570         (FPE_FLTRES): Likewise.
46571         (FPE_FLTINV): Likewise.
46572         (FPE_FLTSUB): Likewise.
46573         (SEGV_MAPERR): Likewise.
46574         (SEGV_ACCERR): Likewise.
46575         (BUS_ADRALN): Likewise.
46576         (BUS_ADRERR): Likewise.
46577         (BUS_OBJERR): Likewise.
46578         (BUS_MCEERR_AR): Likewise.
46579         (BUS_MCEERR_AO): Likewise.
46580         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46581         (TRAP_TRACE): Likewise.
46582         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46583         __USE_XOPEN2K8].
46584         (CLD_KILLED): Likewise.
46585         (CLD_DUMPED): Likewise.
46586         (CLD_TRAPPED): Likewise.
46587         (CLD_STOPPED): Likewise.
46588         (CLD_CONTINUED): Likewise.
46589         (POLL_IN): Likewise.
46590         (POLL_OUT): Likewise.
46591         (POLL_MSG): Likewise.
46592         (POLL_ERR): Likewise.
46593         (POLL_PRI): Likewise.
46594         (POLL_HUP): Likewise.
46595         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46596         (ILL_ILLOPN): Likewise.
46597         (ILL_ILLADR): Likewise.
46598         (ILL_ILLTRP): Likewise.
46599         (ILL_PRVOPC): Likewise.
46600         (ILL_PRVREG): Likewise.
46601         (ILL_COPROC): Likewise.
46602         (ILL_BADSTK): Likewise.
46603         (FPE_INTDIV): Likewise.
46604         (FPE_INTOVF): Likewise.
46605         (FPE_FLTDIV): Likewise.
46606         (FPE_FLTOVF): Likewise.
46607         (FPE_FLTUND): Likewise.
46608         (FPE_FLTRES): Likewise.
46609         (FPE_FLTINV): Likewise.
46610         (FPE_FLTSUB): Likewise.
46611         (SEGV_MAPERR): Likewise.
46612         (SEGV_ACCERR): Likewise.
46613         (BUS_ADRALN): Likewise.
46614         (BUS_ADRERR): Likewise.
46615         (BUS_OBJERR): Likewise.
46616         (BUS_MCEERR_AR): Likewise.
46617         (BUS_MCEERR_AO): Likewise.
46618         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46619         (TRAP_TRACE): Likewise.
46620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46621         __USE_XOPEN2K8].
46622         (CLD_KILLED): Likewise.
46623         (CLD_DUMPED): Likewise.
46624         (CLD_TRAPPED): Likewise.
46625         (CLD_STOPPED): Likewise.
46626         (CLD_CONTINUED): Likewise.
46627         (POLL_IN): Likewise.
46628         (POLL_OUT): Likewise.
46629         (POLL_MSG): Likewise.
46630         (POLL_ERR): Likewise.
46631         (POLL_PRI): Likewise.
46632         (POLL_HUP): Likewise.
46633         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46634         (ILL_ILLOPN): Likewise.
46635         (ILL_ILLADR): Likewise.
46636         (ILL_ILLTRP): Likewise.
46637         (ILL_PRVOPC): Likewise.
46638         (ILL_PRVREG): Likewise.
46639         (ILL_COPROC): Likewise.
46640         (ILL_BADSTK): Likewise.
46641         (ILL_DBLFLT): Likewise.
46642         (ILL_HARDWALL): Likewise.
46643         (FPE_INTDIV): Likewise.
46644         (FPE_INTOVF): Likewise.
46645         (FPE_FLTDIV): Likewise.
46646         (FPE_FLTOVF): Likewise.
46647         (FPE_FLTUND): Likewise.
46648         (FPE_FLTRES): Likewise.
46649         (FPE_FLTINV): Likewise.
46650         (FPE_FLTSUB): Likewise.
46651         (SEGV_MAPERR): Likewise.
46652         (SEGV_ACCERR): Likewise.
46653         (BUS_ADRALN): Likewise.
46654         (BUS_ADRERR): Likewise.
46655         (BUS_OBJERR): Likewise.
46656         (BUS_MCEERR_AR): Likewise.
46657         (BUS_MCEERR_AO): Likewise.
46658         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46659         (TRAP_TRACE): Likewise.
46660         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46661         __USE_XOPEN2K8].
46662         (CLD_KILLED): Likewise.
46663         (CLD_DUMPED): Likewise.
46664         (CLD_TRAPPED): Likewise.
46665         (CLD_STOPPED): Likewise.
46666         (CLD_CONTINUED): Likewise.
46667         (POLL_IN): Likewise.
46668         (POLL_OUT): Likewise.
46669         (POLL_MSG): Likewise.
46670         (POLL_ERR): Likewise.
46671         (POLL_PRI): Likewise.
46672         (POLL_HUP): Likewise.
46673         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46674         (ILL_ILLOPN): Likewise.
46675         (ILL_ILLADR): Likewise.
46676         (ILL_ILLTRP): Likewise.
46677         (ILL_PRVOPC): Likewise.
46678         (ILL_PRVREG): Likewise.
46679         (ILL_COPROC): Likewise.
46680         (ILL_BADSTK): Likewise.
46681         (FPE_INTDIV): Likewise.
46682         (FPE_INTOVF): Likewise.
46683         (FPE_FLTDIV): Likewise.
46684         (FPE_FLTOVF): Likewise.
46685         (FPE_FLTUND): Likewise.
46686         (FPE_FLTRES): Likewise.
46687         (FPE_FLTINV): Likewise.
46688         (FPE_FLTSUB): Likewise.
46689         (SEGV_MAPERR): Likewise.
46690         (SEGV_ACCERR): Likewise.
46691         (BUS_ADRALN): Likewise.
46692         (BUS_ADRERR): Likewise.
46693         (BUS_OBJERR): Likewise.
46694         (BUS_MCEERR_AR): Likewise.
46695         (BUS_MCEERR_AO): Likewise.
46696         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46697         (TRAP_TRACE): Likewise.
46698         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46699         __USE_XOPEN2K8].
46700         (CLD_KILLED): Likewise.
46701         (CLD_DUMPED): Likewise.
46702         (CLD_TRAPPED): Likewise.
46703         (CLD_STOPPED): Likewise.
46704         (CLD_CONTINUED): Likewise.
46705         (POLL_IN): Likewise.
46706         (POLL_OUT): Likewise.
46707         (POLL_MSG): Likewise.
46708         (POLL_ERR): Likewise.
46709         (POLL_PRI): Likewise.
46710         (POLL_HUP): Likewise.
46711         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46712         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46714         [BZ #16670]
46715         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46716         before #include of <time.h>.
46717         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46718         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46719         (test-xfail-UNIX98/sched.h/conform): Likewise.
46721 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46723         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46724         error absence of trapping exception support.
46725         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46727 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46729         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46730         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46731         * timezone/Makefile (testdata): Move definition above include of
46732         Rules.
46733         (test-zones): New variable.
46734         (tests-special): Add zone files.
46735         (build-testdata): Use $(evaluate-test).
46737         * elf/Makefile (tests-special): Rename tests to end with .out.
46738         ($(objpfx)noload-mem): Likewise.
46739         ($(objpfx)tst-leaks1-mem): Likewise.
46740         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46741         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46742         $(objpfx)test-iconvconfig.out.
46743         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46744         set -e inside subshell and redirect output to file.
46745         * iconvdata/Makefile (generated): Rename tests to end with .out.
46746         Correct type.
46747         (tests-special): Rename tests to end with .out.
46748         ($(objpfx)mtrace-tst-loading): Likewise.
46749         * intl/Makefile (generated): Likewise.
46750         (tests-special): Likewise.
46751         ($(objpfx)mtrace-tst-gettext): Likewise.
46752         * misc/Makefile (generated): Likewise.
46753         (tests-special): Likewise.
46754         ($(objpfx)tst-error1-mem): Likewise.
46755         * nptl/Makefile (tests-special): Likewise.
46756         ($(objpfx)tst-stack3-mem): Likewise.
46757         (generated): Likewise.
46758         * posix/Makefile (generated): Likewise.
46759         (tests-special): Likewise.
46760         (xtests-special): Likewise.
46761         ($(objpfx)tst-fnmatch-mem): Likewise.
46762         ($(objpfx)bug-regex2-mem): Likewise.
46763         ($(objpfx)bug-regex14-mem): Likewise.
46764         ($(objpfx)bug-regex21-mem): Likewise.
46765         ($(objpfx)bug-regex31-mem): Likewise.
46766         ($(objpfx)tst-vfork3-mem): Likewise.
46767         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46768         ($(objpfx)tst-pcre-mem): Likewise.
46769         ($(objpfx)tst-boost-mem): Likewise.
46770         ($(objpfx)bug-ga2-mem): Likewise.
46771         ($(objpfx)bug-glob2-mem): Likewise.
46772         * resolv/Makefile (generate): Likewise.
46773         (tests-special): Likewise.
46774         (xtests-special): Likewise.
46775         (generated): Likewise.
46776         ($(objpfx)mtrace-tst-leaks): Likewise.
46777         ($(objpfx)mtrace-tst-leaks2): Likewise.
46779         * scripts/merge-test-results.sh: New file.
46780         * Makefile (tests-special-notdir): New variable.
46781         (tests): Run merge-test-results.sh.
46782         (xtests): Likewise.
46783         * Rules (tests-special-notdir): New variable.
46784         (xtests-special-notdir): Likewise.
46785         (tests): Run merge-test-results.sh
46786         (xtests): Likewise.
46788         * Makeconfig (test-xfail-name): New variable.
46789         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46790         compute variable name for expected failures.
46791         * conform/Makefile (conformtest-headers-data): New variable.
46792         (conformtest-standards): Likewise.
46793         (conformtest-headers-ISO): Likewise.
46794         (conformtest-headers-ISO99): Likewise.
46795         (conformtest-headers-ISO11): Likewise.
46796         (conformtest-headers-POSIX): Likewise.
46797         (conformtest-headers-XPG3): Likewise.
46798         (conformtest-headers-XPG4): Likewise.
46799         (conformtest-headers-UNIX98): Likewise.
46800         (conformtest-headers-XOPEN2K): Likewise.
46801         (conformtest-headers-POSIX2008): Likewise.
46802         (conformtest-headers-XOPEN2K8): Likewise.
46803         (conformtest-header-list-base): Likewise.
46804         (conformtest-header-list-tests): Likewise.
46805         (conformtest-header-base): Likewise.
46806         (conformtest-header-tests): Likewise.
46807         (tests-special): Add $(conformtest-header-list-tests).  If
46808         [$(fast-check) && !$(cross-compiling)], add
46809         $(conformtest-header-tests) instead of
46810         $(objpfx)run-conformtest.out.
46811         (generated): Add $(conformtest-header-list-base).  If
46812         [$(fast-check) && !$(cross-compiling)], add
46813         $(conformtest-header-base).  Remove previous setting.
46814         ($(conformtest-header-list-tests)): New target.
46815         (test-xfail-run-conformtest): Remove variable.
46816         ($(objpfx)run-conformtest.out): Remove target.
46817         (test-xfail-ISO11/complex.h/conform): New variable.
46818         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46819         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46820         (test-xfail-XPG3/varargs.h/conform): Likewise.
46821         (test-xfail-XPG4/varargs.h/conform): Likewise.
46822         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46823         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46824         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46825         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46826         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46827         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46828         (test-xfail-XPG3/ftw.h/conform): Likewise.
46829         (test-xfail-XPG3/grp.h/conform): Likewise.
46830         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46831         (test-xfail-XPG3/limits.h/conform): Likewise.
46832         (test-xfail-XPG3/pwd.h/conform): Likewise.
46833         (test-xfail-XPG3/search.h/conform): Likewise.
46834         (test-xfail-XPG3/signal.h/conform): Likewise.
46835         (test-xfail-XPG3/stdio.h/conform): Likewise.
46836         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46837         (test-xfail-XPG3/string.h/conform): Likewise.
46838         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46839         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46840         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46841         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46842         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46843         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46844         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46845         (test-xfail-XPG3/termios.h/conform): Likewise.
46846         (test-xfail-XPG3/time.h/conform): Likewise.
46847         (test-xfail-XPG3/unistd.h/conform): Likewise.
46848         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46849         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46850         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46851         (test-xfail-XPG4/netdb.h/conform): Likewise.
46852         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46853         (test-xfail-XPG4/signal.h/conform): Likewise.
46854         (test-xfail-XPG4/stdio.h/conform): Likewise.
46855         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46856         (test-xfail-XPG4/stropts.h/conform): Likewise.
46857         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46858         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46859         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46860         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46861         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46862         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46863         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46864         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46865         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46866         (test-xfail-XPG4/termios.h/conform): Likewise.
46867         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46868         (test-xfail-XPG4/unistd.h/conform): Likewise.
46869         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46870         (test-xfail-POSIX/sched.h/conform): Likewise.
46871         (test-xfail-POSIX/signal.h/conform): Likewise.
46872         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46873         (test-xfail-POSIX/tar.h/conform): Likewise.
46874         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46875         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46876         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46877         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46878         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46879         (test-xfail-UNIX98/sched.h/conform): Likewise.
46880         (test-xfail-UNIX98/signal.h/conform): Likewise.
46881         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46882         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46883         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46884         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46885         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46886         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46887         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46888         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46889         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46890         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46891         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46892         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46893         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46894         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46895         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46896         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46897         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46898         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46899         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46900         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46901         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46902         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46903         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46904         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46905         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46906         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46907         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46908         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46909         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46910         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46911         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46912         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46913         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46914         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46915         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46916         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46917         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46918         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46919         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46920         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46921         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46922         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46923         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46924         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46925         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46926         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46927         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46928         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46929         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46930         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46931         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46932         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46933         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46934         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46935         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46936         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46937         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46938         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46939         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46940         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46941         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46942         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46943         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46944         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46945         (conformtest-cc-flags): Likewise.
46946         ($(conformtest-header-tests): New target.
46947         * conform/check-header-lists.sh: New file.
46948         * conform/run-conformtest.sh: Remove.
46950         * conform/conformtest.pl: Allow ' and \ in values given for
46951         constants.
46952         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46953         inclusion.
46954         [POSIX] (sys/types.h): Likewise.
46955         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46956         inclusion.
46957         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46958         inclusion.
46959         * conform/data/signal.h-data (SIGIO): Remove expectation.
46960         [XPG3] (SIGBUS): Do not expect.
46961         [POSIX || XPG3] (SIGPOLL): Likewise.
46962         [POSIX || XPG3] (SIGPROF): Likewise.
46963         [POSIX || XPG3] (SIGSYS): Likewise.
46964         [XPG3] (SIGTRAP): Likewise.
46965         [POSIX || XPG3] (SIGURG): Likewise.
46966         [POSIX || XPG3] (SIGVTALRM): Likewise.
46967         [POSIX || XPG3] (SIGXCPU): Likewise.
46968         [POSIX || XPG3] (SIGXFSZ): Likewise.
46969         [POSIX] (SA_SIGINFO): Expect.
46970         [XPG3] (siginfo_t): Do not expect type or contents.
46971         [POSIX] (si_pid): Do not expect element.
46972         [POSIX] (si_uid): Likewise.
46973         [POSIX] (si_addr): Likewise.
46974         [POSIX] (si_status): Likewise.
46975         [POSIX] (si_band): Likewise.
46976         [XPG4] (si_value): Likewise.
46977         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46978         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46979         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46980         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46981         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46982         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46983         [POSIX || XPG3] (ILL_COPROC): Likewise.
46984         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46985         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46986         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46987         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46988         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46989         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46990         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46991         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46992         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46993         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46994         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46995         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46996         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46997         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46998         [POSIX || XPG3] (CLD_EXITED): Likewise.
46999         [POSIX || XPG3] (CLD_KILLED): Likewise.
47000         [POSIX || XPG3] (CLD_DUMPED): Likewise.
47001         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
47002         [POSIX || XPG3] (CLD_STOPPED): Likewise.
47003         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
47004         [POSIX || XPG3] (POLL_IN): Likewise.
47005         [POSIX || XPG3] (POLL_OUT): Likewise.
47006         [POSIX || XPG3] (POLL_MSG): Likewise.
47007         [POSIX || XPG3] (POLL_ERR): Likewise.
47008         [POSIX || XPG3] (POLL_PRI): Likewise.
47009         [POSIX || XPG3] (POLL_HUP): Likewise.
47010         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
47011         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
47012         (SIG*): Do not allow.
47013         [XPG3] (si_*): Likewise.
47014         [XPG3] (SI_*): Likewise.
47015         [XPG3 || XPG4] (sigev_*): Likewise.
47016         [XPG3 || XPG4] (SIGEV_*): Likewise.
47017         [XPG3 || XPG4] (sival_*): Likewise.
47018         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
47019         [POSIX || XPG3] (BUS_*): Likewise.
47020         [POSIX || XPG3] (CLD_*): Likewise.
47021         [POSIX || XPG3] (FPE_*): Likewise.
47022         [POSIX || XPG3] (ILL_*): Likewise.
47023         [POSIX || XPG3] (POLL_*): Likewise.
47024         [POSIX || XPG3] (SEGV_*): Likewise.
47025         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
47026         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
47027         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
47028         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
47029         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
47030         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
47031         Specify type and value.
47032         (TVERSLEN): Likewise.
47033         (REGTYPE): Likewise.
47034         (AREGTYPE): Likewise.
47035         (LNKTYPE): Likewise.
47036         (SYMTYPE): Likewise.
47037         (CHRTYPE): Likewise.
47038         (BLKTYPE): Likewise.
47039         (DIRTYPE): Likewise.
47040         (FIFOTYPE): Likewise.
47041         (CONTTYPE): Likewise.
47042         (TSUID): Likewise.
47043         (TSGID): Likewise.
47044         (TSVTX): Likewise.
47045         (TUREAD): Likewise.
47046         (TUWRITE): Likewise.
47047         (TUEXEC): Likewise.
47048         (TGREAD): Likewise.
47049         (TGWRITE): Likewise.
47050         (TGEXEC): Likewise.
47051         (TOREAD): Likewise.
47052         (TOWRITE): Likewise.
47053         (TOEXEC): Likewise.
47054         [POSIX] (TSVTX): Expect constant.
47056 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47058         * Makefile (tests): Change dependencies to ....
47059         (tests-special): ... additions to this variable.
47060         (tests): Depend on $(tests-special).
47061         * Makerules (check-abi-list): New variable.
47062         (check-abi): Depend on $(check-abi-list).
47063         [$(subdir) = elf] (tests-special): Add
47064         $(objpfx)check-abi-libc.out.
47065         [$(build-shared) = yes && subdir] (tests-special): Add
47066         $(check-abi-list).
47067         [$(build-shared) = yes && subdir] (tests): Do not depend on
47068         check-abi.
47069         * Rules (tests): Depend on $(tests-special).
47070         (xtests): Depend on $(xtests-special).
47071         * catgets/Makefile (tests): Change dependencies to ....
47072         (tests-special): ... additions to this variable.
47073         * conform/Makefile (tests): Change dependencies to ....
47074         (tests-special): ... additions to this variable.
47075         * elf/Makefile (tests): Change dependencies to ....
47076         (tests-special): ... additions to this variable.
47077         * grp/Makefile (tests): Change dependencies to ....
47078         (tests-special): ... additions to this variable.
47079         * iconv/Makefile (xtests): Change dependencies to ....
47080         (xtests-special): ... additions to this variable.
47081         * iconvdata/Makefile (tests): Change dependencies to ....
47082         (tests-special): ... additions to this variable.
47083         * intl/Makefile (tests): Change dependencies to ....
47084         (tests-special): ... additions to this variable.  Also add
47085         $(objpfx)tst-gettext.out.
47086         * io/Makefile (tests): Change dependencies to ....
47087         (tests-special): ... additions to this variable.
47088         * libio/Makefile (tests): Change dependencies to ....
47089         (tests-special): ... additions to this variable.
47090         * malloc/Makefile (tests): Change dependencies to ....
47091         (tests-special): ... additions to this variable.
47092         * misc/Makefile (tests): Change dependencies to ....
47093         (tests-special): ... additions to this variable.
47094         * nptl/Makefile (tests): Change dependencies to ....
47095         (tests-special): ... additions to this variable.
47096         * nptl_db/Makefile (tests): Change dependencies to ....
47097         (tests-special): ... additions to this variable.
47098         * posix/Makefile (tests): Change dependencies to ....
47099         (tests-special): ... additions to this variable.
47100         (xtests): Change dependencies to ....
47101         (xtests-special): ... additions to this variable.
47102         * resolv/Makefile (tests): Change dependencies to ....
47103         (tests-special): ... additions to this variable.
47104         (xtests): Change dependencies to ....
47105         (xtests-special): ... additions to this variable.
47106         * stdio-common/Makefile (tests): Change dependencies to ....
47107         (tests-special): ... additions to this variable.
47108         (do-tst-unbputc): Remove target.
47109         (do-tst-printf): Likewise.
47110         * stdlib/Makefile (tests): Change dependencies to ....
47111         (tests-special): ... additions to this variable.
47112         * string/Makefile (tests): Change dependencies to ....
47113         (tests-special): ... additions to this variable.
47114         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47115         (tests-special): ... additions to this variable.
47117         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47118         whole file.
47119         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47120         whole file.
47121         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47122         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47124         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47125         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47126         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47127         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47128         * conform/data/libgen.h-data [XPG3]: Likewise.
47129         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47130         * conform/data/ndbm.h-data [XPG3]: Likewise.
47131         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47132         * conform/data/netdb.h-data [XPG3]: Likewise.
47133         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47134         * conform/data/poll.h-data [XPG3]: Likewise.
47135         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47136         * conform/data/strings.h-data [XPG3]: Likewise.
47137         * conform/data/stropts.h-data [XPG3]: Likewise.
47138         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47139         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47140         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47141         Likewise.
47142         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47143         * conform/data/sys/time.h-data [XPG3]: Likewise.
47144         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47145         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47146         * conform/data/sys/un.h-data [XPG3]: Likewise.
47147         * conform/data/syslog.h-data [XPG3]: Likewise.
47148         * conform/data/ucontext.h-data [XPG3]: Likewise.
47149         * conform/data/utmpx.h-data [XPG3]: Likewise.
47150         * conform/data/varargs.h-data [UNIX98]: Enable file.
47152         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47154         * math/libm-test.inc (struct test_f_f_data): Move expected results
47155         into structure for each rounding mode.
47156         (struct test_ff_f_data): Likewise.
47157         (struct test_ff_f_data_nexttoward): Likewise.
47158         (struct test_fi_f_data): Likewise.
47159         (struct test_fl_f_data): Likewise.
47160         (struct test_if_f_data): Likewise.
47161         (struct test_fff_f_data): Likewise.
47162         (struct test_c_f_data): Likewise.
47163         (struct test_f_f1_data): Likewise.
47164         (struct test_fF_f1_data): Likewise.
47165         (struct test_ffI_f1_data): Likewise.
47166         (struct test_c_c_data): Likewise.
47167         (struct test_cc_c_data): Likewise.
47168         (struct test_f_i_data): Likewise.
47169         (struct test_ff_i_data): Likewise.
47170         (struct test_f_l_data): Likewise.
47171         (struct test_f_L_data): Likewise.
47172         (struct test_fFF_11_data): Likewise.
47173         (RM_): New macro.
47174         (RM_FE_DOWNWARD): Likewise.
47175         (RM_FE_TONEAREST): Likewise.
47176         (RM_FE_TOWARDZERO): Likewise.
47177         (RM_FE_UPWARD): Likewise.
47178         (RUN_TEST_LOOP_f_f): Update references to expected results.
47179         (RUN_TEST_LOOP_2_f): Likewise.
47180         (RUN_TEST_LOOP_fff_f): Likewise.
47181         (RUN_TEST_LOOP_c_f): Likewise.
47182         (RUN_TEST_LOOP_f_f1): Likewise.
47183         (RUN_TEST_LOOP_fF_f1): Likewise.
47184         (RUN_TEST_LOOP_fI_f1): Likewise.
47185         (RUN_TEST_LOOP_ffI_f1): Likewise.
47186         (RUN_TEST_LOOP_c_c): Likewise.
47187         (RUN_TEST_LOOP_cc_c): Likewise.
47188         (RUN_TEST_LOOP_f_i): Likewise.
47189         (RUN_TEST_LOOP_f_i_tg): Likewise.
47190         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47191         (RUN_TEST_LOOP_f_b): Likewise.
47192         (RUN_TEST_LOOP_f_b_tg): Likewise.
47193         (RUN_TEST_LOOP_f_l): Likewise.
47194         (RUN_TEST_LOOP_f_L): Likewise.
47195         (RUN_TEST_LOOP_fFF_11): Likewise.
47196         * math/gen-libm-test.pl (parse_args): Output four copies of
47197         expected results for each test.
47199         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47200         (__ASSUME_UTIMES): Remove.
47201         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47202         (__ASSUME_UTIMES): Likewise.
47204         * math/gen-auto-libm-tests.c: Update comment on output format.
47205         (output_for_one_input_case): Generate before-rounding and
47206         after-rounding information as conditions on output flags not
47207         floating-point format.
47208         * math/auto-libm-test-out: Regenerated.
47209         * math/gen-libm-test.pl (cond_value): New function.
47210         (or_cond_value): Use cond_value.
47211         (generate_testfile): Handle conditional exceptions.
47213 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47215         * math/libm-test.inc (max_valid_error): New variable.
47216         (init_max_error): Take new argument specifying whether function
47217         results are exactly determined.  Set max_valid_error and bound
47218         other variables for errors based on this argument.
47219         (set_max_error): Do not record results above max_valid_error.
47220         (check_float_internal): Only accept errors of up to 0.5ulps if
47221         also at most max_valid_error.
47222         (START): Take new argument EXACT and pass it to init_max_error.
47223         (acos_test): Update call to START.
47224         (acos_test_tonearest): Likewise.
47225         (acos_test_towardzero): Likewise.
47226         (acos_test_downward): Likewise.
47227         (acos_test_upward): Likewise.
47228         (acosh_test): Likewise.
47229         (asin_test): Likewise.
47230         (asin_test_tonearest): Likewise.
47231         (asin_test_towardzero): Likewise.
47232         (asin_test_downward): Likewise.
47233         (asin_test_upward): Likewise.
47234         (asinh_test): Likewise.
47235         (atan_test): Likewise.
47236         (atanh_test): Likewise.
47237         (atan2_test): Likewise.
47238         (cabs_test): Likewise.
47239         (cacos_test): Likewise.
47240         (cacosh_test): Likewise.
47241         (carg_test): Likewise.
47242         (casin_test): Likewise.
47243         (casinh_test): Likewise.
47244         (catan_test): Likewise.
47245         (catanh_test): Likewise.
47246         (cbrt_test): Likewise.
47247         (ccos_test): Likewise.
47248         (ccosh_test): Likewise.
47249         (ceil_test): Likewise.
47250         (cexp_test): Likewise.
47251         (cimag_test): Likewise.
47252         (clog_test): Likewise.
47253         (clog10_test): Likewise.
47254         (conj_test): Likewise.
47255         (copysign_test): Likewise.
47256         (cos_test): Likewise.
47257         (cos_test_tonearest): Likewise.
47258         (cos_test_towardzero): Likewise.
47259         (cos_test_downward): Likewise.
47260         (cos_test_upward): Likewise.
47261         (cosh_test): Likewise.
47262         (cosh_test_tonearest): Likewise.
47263         (cosh_test_towardzero): Likewise.
47264         (cosh_test_downward): Likewise.
47265         (cosh_test_upward): Likewise.
47266         (cpow_test): Likewise.
47267         (cproj_test): Likewise.
47268         (creal_test): Likewise.
47269         (csin_test): Likewise.
47270         (csinh_test): Likewise.
47271         (csqrt_test): Likewise.
47272         (ctan_test): Likewise.
47273         (ctan_test_tonearest): Likewise.
47274         (ctan_test_towardzero): Likewise.
47275         (ctan_test_downward): Likewise.
47276         (ctan_test_upward): Likewise.
47277         (ctanh_test): Likewise.
47278         (ctanh_test_tonearest): Likewise.
47279         (ctanh_test_towardzero): Likewise.
47280         (ctanh_test_downward): Likewise.
47281         (ctanh_test_upward): Likewise.
47282         (erf_test): Likewise.
47283         (erfc_test): Likewise.
47284         (exp_test): Likewise.
47285         (exp_test_tonearest): Likewise.
47286         (exp_test_towardzero): Likewise.
47287         (exp_test_downward): Likewise.
47288         (exp_test_upward): Likewise.
47289         (exp10_test): Likewise.
47290         (exp10_test_tonearest): Likewise.
47291         (exp10_test_towardzero): Likewise.
47292         (exp10_test_downward): Likewise.
47293         (exp10_test_upward): Likewise.
47294         (pow10_test): Likewise.
47295         (exp2_test): Likewise.
47296         (expm1_test): Likewise.
47297         (expm1_test_tonearest): Likewise.
47298         (expm1_test_towardzero): Likewise.
47299         (expm1_test_downward): Likewise.
47300         (expm1_test_upward): Likewise.
47301         (fabs_test): Likewise.
47302         (fdim_test): Likewise.
47303         (floor_test): Likewise.
47304         (fma_test): Likewise.
47305         (fma_test_towardzero): Likewise.
47306         (fma_test_downward): Likewise.
47307         (fma_test_upward): Likewise.
47308         (fmax_test): Likewise.
47309         (fmin_test): Likewise.
47310         (fmod_test): Likewise.
47311         (fpclassify_test): Likewise.
47312         (frexp_test): Likewise.
47313         (hypot_test): Likewise.
47314         (ilogb_test): Likewise.
47315         (isfinite_test): Likewise.
47316         (finite_test): Likewise.
47317         (isgreater_test): Likewise.
47318         (isgreaterequal_test): Likewise.
47319         (isinf_test): Likewise.
47320         (isless_test): Likewise.
47321         (islessequal_test): Likewise.
47322         (islessgreater_test): Likewise.
47323         (isnan_test): Likewise.
47324         (isnormal_test): Likewise.
47325         (issignaling_test): Likewise.
47326         (isunordered_test): Likewise.
47327         (j0_test): Likewise.
47328         (j1_test): Likewise.
47329         (jn_test): Likewise.
47330         (ldexp_test): Likewise.
47331         (lgamma_test): Likewise.
47332         (gamma_test): Likewise.
47333         (lrint_test): Likewise.
47334         (lrint_test_tonearest): Likewise.
47335         (lrint_test_towardzero): Likewise.
47336         (lrint_test_downward): Likewise.
47337         (lrint_test_upward): Likewise.
47338         (llrint_test): Likewise.
47339         (llrint_test_tonearest): Likewise.
47340         (llrint_test_towardzero): Likewise.
47341         (llrint_test_downward): Likewise.
47342         (llrint_test_upward): Likewise.
47343         (log_test): Likewise.
47344         (log10_test): Likewise.
47345         (log1p_test): Likewise.
47346         (log2_test): Likewise.
47347         (logb_test): Likewise.
47348         (logb_test_downward): Likewise.
47349         (lround_test): Likewise.
47350         (llround_test): Likewise.
47351         (modf_test): Likewise.
47352         (nearbyint_test): Likewise.
47353         (nextafter_test): Likewise.
47354         (nexttoward_test): Likewise.
47355         (pow_test): Likewise.
47356         (pow_test_tonearest): Likewise.
47357         (pow_test_towardzero): Likewise.
47358         (pow_test_downward): Likewise.
47359         (pow_test_upward): Likewise.
47360         (remainder_test): Likewise.
47361         (drem_test): Likewise.
47362         (remainder_test_tonearest): Likewise.
47363         (drem_test_tonearest): Likewise.
47364         (remainder_test_towardzero): Likewise.
47365         (drem_test_towardzero): Likewise.
47366         (remainder_test_downward): Likewise.
47367         (drem_test_downward): Likewise.
47368         (remainder_test_upward): Likewise.
47369         (drem_test_upward): Likewise.
47370         (remquo_test): Likewise.
47371         (rint_test): Likewise.
47372         (rint_test_tonearest): Likewise.
47373         (rint_test_towardzero): Likewise.
47374         (rint_test_downward): Likewise.
47375         (rint_test_upward): Likewise.
47376         (round_test): Likewise.
47377         (scalb_test): Likewise.
47378         (scalbn_test): Likewise.
47379         (scalbln_test): Likewise.
47380         (signbit_test): Likewise.
47381         (sin_test): Likewise.
47382         (sin_test_tonearest): Likewise.
47383         (sin_test_towardzero): Likewise.
47384         (sin_test_downward): Likewise.
47385         (sin_test_upward): Likewise.
47386         (sincos_test): Likewise.
47387         (sinh_test): Likewise.
47388         (sinh_test_tonearest): Likewise.
47389         (sinh_test_towardzero): Likewise.
47390         (sinh_test_downward): Likewise.
47391         (sinh_test_upward): Likewise.
47392         (sqrt_test): Likewise.
47393         (sqrt_test_tonearest): Likewise.
47394         (sqrt_test_towardzero): Likewise.
47395         (sqrt_test_downward): Likewise.
47396         (sqrt_test_upward): Likewise.
47397         (tan_test): Likewise.
47398         (tan_test_tonearest): Likewise.
47399         (tan_test_towardzero): Likewise.
47400         (tan_test_downward): Likewise.
47401         (tan_test_upward): Likewise.
47402         (tanh_test): Likewise.
47403         (tgamma_test): Likewise.
47404         (trunc_test): Likewise.
47405         (y0_test): Likewise.
47406         (y1_test): Likewise.
47407         (yn_test): Likewise.
47408         (significand_test): Likewise.
47410         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
47411         individual tests in comment.
47412         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
47413         (prev_max_error): New variable.
47414         (prev_real_max_error): Likewise.
47415         (prev_imag_max_error): Likewise.
47416         (compare_ulp_data): Don't refer to test names in comment.
47417         (find_test_ulps): Remove function.
47418         (find_function_ulps): Likewise.
47419         (find_complex_function_ulps): Likewise.
47420         (init_max_error): Take function name as argument.  Look up ulps
47421         for that function.
47422         (print_ulps): Remove function.
47423         (print_max_error): Use prev_max_error instead of calling
47424         find_function_ulps.
47425         (print_complex_max_error): Use prev_real_max_error and
47426         prev_imag_max_error instead of calling find_complex_function_ulps.
47427         (check_float_internal): Take max_ulp parameter instead of calling
47428         find_test_ulps.  Don't call print_ulps.
47429         (check_float): Update call to check_float_internal.
47430         (check_complex): Update calls to check_float_internal.
47431         (START): Pass argument to init_max_error.
47432         * math/gen-libm-test.pl (%results): Don't include "kind"
47433         information.
47434         (parse_ulps): Don't handle ulps of individual tests.
47435         (print_ulps_file): Likewise.
47436         (output_ulps): Likewise.
47437         * math/README.libm-test: Update.
47438         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
47439         individual tests.
47440         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
47441         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
47442         * sysdeps/arm/libm-test-ulps: Likewise.
47443         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
47444         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
47445         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
47446         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
47447         * sysdeps/microblaze/libm-test-ulps: Likewise.
47448         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
47449         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47450         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47451         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47452         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47453         * sysdeps/sh/libm-test-ulps: Likewise.
47454         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47455         * sysdeps/tile/libm-test-ulps: Likewise.
47456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47458 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47460         * math/libm-test.inc (print_complex_max_error): Check separately
47461         whether real and imaginary errors are within allowed range and
47462         pass 0 to print_complex_function_ulps instead of value within
47463         allowed range.
47465 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47467         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47468         formatting.
47469         (get_handles_fopen): Likewise.
47470         (do_write_test): Likewise.
47472         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47474         * libio/fileops.c (do_ftell): Use cached offset when
47475         available.
47476         * libio/iofwide.c (do_ftell_wide): Likewise.
47477         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47478         _IO_file_attach.
47479         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47481         [BZ #16532]
47482         * libio/libioP.h (get_file_offset): New function.
47483         * libio/fileops.c (get_file_offset): Likewise.
47484         (do_ftell): Likewise.
47485         (_IO_new_file_seekoff): Split out ftell logic.
47486         * libio/wfileops.c (do_ftell_wide): Likewise.
47487         (_IO_wfile_seekoff): Split out ftell logic.
47488         * libio/tst-ftell-active-handler.c: New test case.
47489         * libio/Makefile (tests): Add it.
47491 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47493         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47494         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47496 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47498         [BZ #16639]
47499         * nscd/connections.c (nscd_init): Call do_exit.
47500         (start_threads): Call do_exit and notify_parent.
47501         (begin_drop_privileges): Call do_exit.
47502         (finish_drop_privileges): Likewise.
47503         * nscd/selinux.c (preserve_capabilities): Likewise.
47504         (install_real_capabilities): Likewise.
47505         (nscd_selinux_enabled): Likewise.
47506         (avc_create_thread): Likewise.
47507         (avc_alloc_lock): Likewise.
47508         (nscd_avc_init): Likewise.
47509         * nscd/nscd.c (parent_fd): New static variable.
47510         (main): Create a pipe between parent and child processes.
47511         Skip closing parent_fd.
47512         (monitor_child): New function.
47513         (do_exit): Likewise.
47514         (notify_parent): Likewise.
47515         * nscd/nscd.h (notify_parent): Likewise.
47516         (do_exit): Likewise.
47518 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47520         * malloc/malloc.c (__libc_calloc): Revert last change.
47522 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47526 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47528         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47530         implementation.
47531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47532         (__libc_ifunc_impl_list): Likewise.
47533         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47534         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47535         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47536         * string/strrchr.c: Define STRRCHR.
47538 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47540         * benchtest/bench-strtok.c (simple_strtok): Delete.
47541         (strtok_string): Use as benchmark.
47542         * string/strtok (STRTOK): New macro.
47544 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47546         * manual/threads.texi: Add header and standard comments to all
47547         functions.
47549         * elf/dl-lookup.c (check_match): New function.
47550         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47551         (do_lookup_x): Remove nested function check_match. Use non-nested
47552         function check_match.
47554 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47556         * csu/Makefile (generated, before-compile): Use += rather than =.
47557         * catgets/Makefile (generated, generated-dirs): Likewise.
47558         * debug/Makefile (generated): Likewise.
47559         * dlfcn/Makefile (generated): Likewise.
47560         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47561         * iconvdata/Makefile (before-compile, generated): Likewise.
47562         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47563         * libio/Makefile (generated): Likewise.
47564         * malloc/Makefile (generated): Likewise.
47565         * manual/Makefile (generated, generated-dirs): Likewise.
47566         * misc/Makefile (generated): Likewise.
47567         * posix/Makefile (generated): Likewise.
47568         * resolv/Makefile (generated): Likewise.
47569         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47570         * timezone/Makefile (generated, generated-dirs): Likewise.
47572         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47574 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47577         power8 implementation.
47578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47579         file: POWER8 llround ifunc implementation.
47580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47581         (__lllround): Add POWER8 implementation.
47582         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47583         POWER8 llround implementation.
47585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47586         power8 implementation.
47587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47588         file: POWER8 llrint ifunc implementation.
47589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47590         Add POWER8 implementation.
47591         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47592         POWER8 llrint implementation.
47594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47595         power8 implementation.
47596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47597         file: POWER8 finite ifunc implementation.
47598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47599         Add POWER8 implementation.
47600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47601         Likewise.
47602         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47603         POWER8 finite implementation.
47604         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47607         power8 implementation.
47608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47609         file: POWER8 isinf ifunc implementation.
47610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47611         POWER8 implementation.
47612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47613         Likewise.
47614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47615         isinf implementation.
47616         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47618         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47619         (INIT_ARCH): Add hwcap2 initialization.
47620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47621         power8 implementation.
47622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47623         file: POWER8 isnan ifunc implementation.
47624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47625         POWER8 implementation.
47626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47627         Likewise.
47628         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47629         isnan implementation.
47630         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47632 2014-02-27  Joey Ye  <joey.ye@arm.com>
47634         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47635         (_FP_NANFRAC_Q): Set to zero.
47637 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47639         [BZ #16623]
47640         * math/auto-libm-test-in: New test inputs.
47641         * math/auto-libm-test-out: Regenerate.
47642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47643         and DA.
47644         (__cos): Likewise.
47645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47647 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47649         * scripts/evaluate-test.sh: Take new argument indicating whether
47650         failure is expected.
47651         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47652         indicating whether failure is expected.
47653         * conform/Makefile (test-xfail-run-conformtest): New variable.
47654         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47655         level.
47656         * posix/Makefile (test-xfail-annexc): New variable.
47657         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47659 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47661         * argp/Makefile: Include Makeconfig immediately after defining
47662         subdir.
47663         * assert/Makefile: Likewise.
47664         * benchtests/Makefile: Likewise.
47665         * catgets/Makefile: Likewise.
47666         * conform/Makefile: Likewise.
47667         * crypt/Makefile: Likewise.
47668         * csu/Makefile: Likewise.
47669         (all): Remove target.
47670         * ctype/Makefile: Include Makeconfig immediately after defining
47671         subdir.
47672         * debug/Makefile: Likewise.
47673         * dirent/Makefile: Likewise.
47674         * dlfcn/Makefile: Likewise.
47675         * gmon/Makefile: Likewise.
47676         * gnulib/Makefile: Likewise.
47677         * grp/Makefile: Likewise.
47678         * gshadow/Makefile: Likewise.
47679         * hesiod/Makefile: Likewise.
47680         * hurd/Makefile: Likewise.
47681         (all): Remove target.
47682         * iconvdata/Makefile: Include Makeconfig immediately after
47683         defining subdir.
47684         * inet/Makefile: Likewise.
47685         * intl/Makefile: Likewise.
47686         * io/Makefile: Likewise.
47687         * libio/Makefile: Likewise.
47688         (all): Remove target.
47689         * locale/Makefile: Include Makeconfig immediately after defining
47690         subdir.
47691         * login/Makefile: Likewise.
47692         * mach/Makefile: Likewise.
47693         (all): Remove target.
47694         * malloc/Makefile: Include Makeconfig immediately after defining
47695         subdir.
47696         (all): Remove target.
47697         * manual/Makefile: Include Makeconfig immediately after defining
47698         subdir.
47699         * math/Makefile: Likewise.
47700         * misc/Makefile: Likewise.
47701         * nis/Makefile: Likewise.
47702         * nss/Makefile: Likewise.
47703         * po/Makefile: Likewise.
47704         (all): Remove target.
47705         * posix/Makefile: Include Makeconfig immediately after defining
47706         subdir.
47707         * pwd/Makefile: Likewise.
47708         * resolv/Makefile: Likewise.
47709         * resource/Makefile: Likewise.
47710         * rt/Makefile: Likewise.
47711         * setjmp/Makefile: Likewise.
47712         * shadow/Makefile: Likewise.
47713         * signal/Makefile: Likewise.
47714         * socket/Makefile: Likewise.
47715         * soft-fp/Makefile: Likewise.
47716         * stdio-common/Makefile: Likewise.
47717         * stdlib/Makefile: Likewise.
47718         * streams/Makefile: Likewise.
47719         * string/Makefile: Likewise.
47720         * sunrpc/Makefile: Likewise.
47721         (all): Remove target.
47722         * sysvipc/Makefile: Include Makeconfig immediately after defining
47723         subdir.
47724         * termios/Makefile: Likewise.
47725         * time/Makefile: Likewise.
47726         * timezone/Makefile: Likewise.
47727         (all): Remove target.
47728         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47729         subdir.
47730         * wctype/Makefile: Likewise.
47732 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47734         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47735         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47736         (libc_feholdexcept_setround_mips): Ditto.
47737         (libc_feholdsetround): New.
47738         (libc_feholdsetroundf): New.
47739         (libc_feholdsetroundl): New.
47740         (libc_feupdateenv_test_mips): New.
47741         (libc_feupdateenv_test): New.
47742         (libc_feupdateenv_testf): New.
47743         (libc_feupdateenv_testl): New.
47744         (libc_feresetround): New.
47745         (libc_feresetroundf): New.
47746         (libc_feresetroundl): New.
47747         (libc_fetestexcept_mips): New.
47748         (libc_fetestexcept): New.
47749         (libc_fetestexceptf): New.
47750         (libc_fetestexceptl): New.
47751         (HAVE_RM_CTX): New.
47752         (libc_feholdexcept_setround_mips_ctx): New.
47753         (libc_feholdexcept_setround_ctx): New.
47754         (libc_feholdexcept_setroundf_ctx): New.
47755         (libc_feholdexcept_setroundl_ctx): New.
47756         (libc_fesetenv_mips_ctx): New.
47757         (libc_fesetenv_ctx): New.
47758         (libc_fesetenv_ctxf): New.
47759         (libc_fesetenv_ctxl): New.
47760         (libc_feupdateenv_mips_ctx): New.
47761         (libc_feupdateenv_ctx): New.
47762         (libc_feupdateenvf_ctx): New.
47763         (libc_feupdateenvl_ctx): New.
47764         (libc_feholdsetround_mips_ctx): New.
47765         (libc_feholdsetround_ctx): New.
47766         (libc_feholdsetroundf_ctx): New.
47767         (libc_feholdsetroundl_ctx): New.
47768         (libc_feresetround_mips_ctx): New.
47769         (libc_feresetround_ctx): New.
47770         (libc_feresetroundf_ctx): New.
47771         (libc_feresetroundl_ctx): New.
47773 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47775         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47777         * manual/ipc.texi: New file.
47778         * manual/Makefile (chapters): Add ipc.
47779         * manual/job.texi: Add "Inter-Process Communication" to next.
47780         * manual/process.texi: Add "Inter-Process Communication" to prev.
47782 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47786 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47788         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47790         * manual/arith.texi: Fix spaces after sentences.
47791         * manual/charset.texi: Likewise.
47792         * manual/errno.texi: Likewise.
47793         * manual/install.texi: Likewise.
47794         * manual/llio.texi: Likewise.
47795         * manual/locale.texi: Likewise.
47796         * manual/maint.texi: Likewise.
47797         * manual/math.texi: Likewise.
47798         * manual/memory.texi: Likewise.
47799         * manual/message.texi: Likewise.
47800         * manual/probes.texi: Likewise.
47801         * manual/resource.texi: Likewise.
47802         * manual/signal.texi: Likewise.
47803         * manual/socket.texi: Likewise.
47804         * manual/stdio.texi: Likewise.
47805         * manual/string.texi: Likewise.
47806         * manual/time.texi: Likewise.
47807         * manual/users.texi: Likewise.
47809 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47811         [BZ #16632]
47812         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47813         _DEFAULT_SOURCE is defined.
47815 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47816             Carlos O'Donell  <carlos@redhat.com>
47818         [BZ #16613]
47819         * elf/dl-tls.c (_dl_count_modids): New function.
47820         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47821         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47822         audit library and increment generation counter.
47823         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47824         * elf/tst-audit9.c: New file.
47825         * elf/tst-auditmod9a.c: New file.
47826         * elf/tst-auditmod9b.c: New file.
47827         * elf/Makefile: Add rules to build and run tst-audit9.
47829 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47831         [BZ #15347]
47832         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47834 2014-02-25  Will Newton  <will.newton@linaro.org>
47836         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47837         (__longjmp): Restore sp and lr before restoring callee
47838         saved registers.  Add longjmp and longjmp_target
47839         SystemTap probe point.
47840         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47841         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47842         Define to zero to match jmpbuf layout.
47843         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47844         (__sigsetjmp): Save sp and lr before saving callee
47845         saved registers.  Add setjmp SystemTap probe point.
47847 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47849         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47851 2014-02-24  Andreas Schwab  <schwab@suse.de>
47853         [BZ #15804]
47854         * elf/pldd.c (wait_for_ptrace_stop): New function.
47855         (main): Call it after attaching.
47857 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47859         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47860         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47861         Versions files is now verboten.
47862         * hurd/Versions (libc: GLIBC_2.0):
47863         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47864         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47865         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47866         * mach/Versions: Likewise.
47868         * csu/Versions: Remove unused %include.
47869         * resolv/Versions: Likewise.
47871 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47873         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47874         ($(objpfx)check-local-headers.out): Likewise.
47875         ($(objpfx)begin-end-check.out): Likewise.
47876         * Makerules (check-abi-%.out): Likewise.
47877         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47878         ($(objpfx)test2.cat): Likewise.
47879         ($(objpfx)de/libc.cat): Likewise.
47880         ($(objpfx)test-gencat.out): Likewise.
47881         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47882         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47883         ($(objpfx)noload-mem): Likewise.
47884         ($(objpfx)tst-pathopt.out): Likewise.
47885         ($(objpfx)tst-rtld-load-self.out): Likewise.
47886         ($(objpfx)tst-array1-cmp.out): Likewise.
47887         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47888         ($(objpfx)tst-array2-cmp.out): Likewise.
47889         ($(objpfx)tst-array3-cmp.out): Likewise.
47890         ($(objpfx)tst-array4-cmp.out): Likewise.
47891         ($(objpfx)tst-array5-cmp.out): Likewise.
47892         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47893         ($(objpfx)check-textrel.out): Likewise.
47894         ($(objpfx)check-execstack.out): Likewise.
47895         ($(objpfx)check-localplt.out): Likewise.
47896         ($(objpfx)order2-cmp.out): Likewise.
47897         ($(objpfx)tst-leaks1-mem): Likewise.
47898         ($(objpfx)tst-leaks1-static-mem): Likewise.
47899         ($(objpfx)tst-initorder-cmp.out): Likewise.
47900         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47901         ($(objpfx)tst-unused-dep.out): Likewise.
47902         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47903         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47904         * iconv/Makefile (test-iconvconfig): Likewise.
47905         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47906         ($(objpfx)iconv-test.out): Likewise.
47907         ($(objpfx)tst-tables.out): Likewise.
47908         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47909         ($(objpfx)tst-gettext.out): Likewise.
47910         ($(objpfx)tst-translit.out): Likewise.
47911         ($(objpfx)tst-gettext2.out): Likewise.
47912         ($(objpfx)tst-gettext4.out): Likewise.
47913         ($(objpfx)tst-gettext6.out): Likewise.
47914         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47915         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47916         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47917         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47918         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47919         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47920         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47921         ($(objpfx)wordexp-tst.out): Likewise.
47922         ($(objpfx)annexc.out): Likewise.
47923         ($(objpfx)tst-fnmatch-mem): Likewise.
47924         ($(objpfx)bug-regex2-mem): Likewise.
47925         ($(objpfx)bug-regex14-mem): Likewise.
47926         ($(objpfx)bug-regex21-mem): Likewise.
47927         ($(objpfx)bug-regex31-mem): Likewise.
47928         ($(objpfx)tst-vfork3-mem): Likewise.
47929         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47930         ($(objpfx)tst-pcre-mem): Likewise.
47931         ($(objpfx)tst-boost-mem): Likewise.
47932         ($(objpfx)tst-getconf.out): Likewise.
47933         ($(objpfx)bug-ga2-mem): Likewise.
47934         ($(objpfx)bug-glob2-mem): Likewise.
47935         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47936         ($(objpfx)mtrace-tst-leaks2): Likewise.
47937         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47938         ($(objpfx)tst-printf.out): Likewise.
47939         ($(objpfx)tst-setvbuf1.out): Likewise.
47940         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47941         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47942         ($(objpfx)tst-fmtmsg.out): Likewise.
47943         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47944         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47946         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47947         * bits/sigaction.h [__USE_MISC]: Likewise.
47948         * bits/waitstatus.h: Update #endif comments.
47949         * ctype/ctype.h: Likewise.
47950         * dirent/dirent.h: Likewise.
47951         [__USE_MISC]: Remove redundant conditionals.
47952         * grp/grp.h: Update #endif comments.
47953         [__USE_GNU]: Remove redundant conditionals.
47954         [__USE_MISC]: Likewise.
47955         * inet/netinet/in.h [__USE_GNU]: Likewise.
47956         * io/sys/stat.h [__USE_MISC]: Likewise.
47957         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47958         * libio/bits/stdio.h: Update #endif comments.
47959         [__USE_MISC]: Remove redundant conditionals.
47960         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47961         * libio/stdio.h: Update #endif comments.
47962         [__USE_MISC]: Remove redundant conditionals.
47963         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47964         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47965         * math/math.h: Update #else and #endif comments.
47966         [__USE_MISC]: Remove redundant conditionals.
47967         * misc/sys/uio.h: Update #endif comments.
47968         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47969         * posix/glob.h [__USE_MISC]: Likewise.
47970         * posix/sys/types.h: Update #endif comments.
47971         [__USE_MISC]: Remove redundant conditionals.
47972         * posix/sys/wait.h: Update #endif comments.
47973         [__USE_MISC]: Remove redundant conditionals.
47974         * posix/unistd.h: Update #endif comments.
47975         [__USE_MISC]: Remove redundant conditionals.
47976         * pwd/pwd.h [__USE_GNU]: Likewise.
47977         [__USE_MISC]: Likewise.
47978         * resolv/netdb.h [__USE_GNU]: Likewise.
47979         * signal/signal.h: Update #endif comments.
47980         [__USE_MISC]: Remove redundant conditionals.
47981         * stdlib/stdlib.h: Update #else and #endif comments.
47982         [__USE_MISC]: Remove redundant conditionals.
47983         [__USE_GNU]: Likewise.
47984         * string/bits/string2.h [__USE_MISC]: Likewise.
47985         * string/string.h: Update #endif comments.
47986         [__USE_MISC]: Remove redundant conditionals.
47987         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47988         Likewise.
47989         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47990         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47991         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47992         Likewise.
47993         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47994         Likewise.
47995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47996         comments.
47997         [__USE_MISC]: Remove redundant conditionals.
47998         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47999         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
48000         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
48001         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
48002         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
48003         Likewise.
48004         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
48005         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
48006         Likewise.
48007         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
48008         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
48009         Likewise.
48010         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
48011         Likewise.
48012         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
48013         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
48014         Likewise.
48015         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
48016         Likewise.
48017         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
48018         * sysdeps/x86/bits/string.h: Update #endif comments.
48019         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
48020         conditionals.
48021         * time/sys/time.h: Update #endif comments.
48022         * time/time.h: Likewise.
48023         [__USE_MISC]: Remove redundant conditionals.
48025 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
48027         [BZ #16600]
48028         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
48030 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
48032         * Versions.def (librt): Add GLIBC_2.17.
48034 2014-02-21  Adam Conrad  <adconrad@0c3.net>
48036         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
48037         synonym for _SYS_AUXV_H to allow direct inclusion.
48038         * sysdeps/sparc/bits/hwcap.h: Likewise.
48039         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
48040         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
48041         * sysdeps/sparc/sysdep.h: Likewise.
48043 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48045         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48047 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48049         * benchtests/bench-strrchr.c: Print length instead of position.
48051 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48053         [BZ #16611]
48054         * sysdeps/unix/sysv/linux/kernel-features.h
48055         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48056         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48057         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48058         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48059         Likewise.
48060         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48061         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48062         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48063         (__ASSUME_SENDMMSG): Define instead of using previous
48064         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48065         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48066         (__ASSUME_SENDMMSG_SYSCALL): Define.
48067         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48068         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48069         Likewise.
48070         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48071         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48072         Likewise.
48073         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48074         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48075         Likewise.
48076         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48077         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48078         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48079         [__ASSUME_SENDMMSG]: Change conditionals to
48080         [__ASSUME_SENDMMSG_SOCKETCALL].
48081         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48082         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48083         Define.
48084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48085         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48086         Likewise.
48087         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48088         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48089         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48090         [!__ASSUME_SENDMMSG]: Change conditional to
48091         [!__ASSUME_SENDMMSG_SOCKETCALL].
48092         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48093         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48094         Define.
48096         [BZ #16610]
48097         * sysdeps/unix/sysv/linux/kernel-features.h
48098         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48099         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48100         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48101         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48102         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48103         [__i386__ || __sparc__]
48104         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48105         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48106         (__ASSUME_RECVMMSG): Define instead of using previous
48107         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48108         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48109         (__ASSUME_RECVMMSG_SYSCALL): Define.
48110         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48111         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48112         Likewise.
48113         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48114         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48115         Likewise.
48116         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48117         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48118         Likewise.
48119         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48120         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48121         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48122         [__ASSUME_RECVMMSG]: Change condition to
48123         [__ASSUME_RECVMMSG_SOCKETCALL].
48124         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48125         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48126         Define.
48127         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48128         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48129         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48130         Likewise.
48131         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48132         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48133         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48134         [!__ASSUME_RECVMMSG]: Change condition to
48135         [!__ASSUME_RECVMMSG_SOCKETCALL].
48136         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48137         (__ASSUME_RECVMMSG_SYSCALL): Define.
48139         [BZ #16609]
48140         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48141         __powerpc__ || __s390__ || __sh__ || __sparc__]
48142         (__ASSUME_SOCKETCALL): Define.
48143         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48144         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48145         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48146         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48147         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48148         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48149         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48150         (__ASSUME_ACCEPT4): Define instead of using previous
48151         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48152         __powerpc__ || __sparc__ || __s390__)] condition.
48153         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48154         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48155         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48156         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48157         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48158         [!__ASSUME_ACCEPT4]: Change condition to
48159         [!__ASSUME_ACCEPT4_SOCKETCALL].
48160         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48161         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48162         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48163         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48164         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48165         __ASSUME_ACCEPT4_SYSCALL.
48166         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48167         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48168         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48169         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48170         __ASSUME_ACCEPT4_SYSCALL.
48171         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48172         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48173         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48174         [__ASSUME_ACCEPT4]: Change condition to
48175         [__ASSUME_ACCEPT4_SOCKETCALL].
48176         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48177         (__ASSUME_SOCKETCALL): Define.
48178         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48180         (__ASSUME_SOCKETCALL): Define.
48181         (__ASSUME_ACCEPT4): Remove.
48182         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48183         Define.
48184         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48185         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48186         Likewise.
48187         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48188         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48190         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48191         macro.
48192         (HWCAP_ARM_LPAE): Likewise.
48193         (HWCAP_ARM_EVTSTRM): Likewise.
48194         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48195         Add vpfd32, lpae and evtstrm.
48196         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48197         Increase to 22.
48199 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48201         * math/auto-libm-test-in: Add tests of clog10.
48202         * math/auto-libm-test-out: Regenerated.
48203         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48204         * sysdeps/i386/fpu/libm-test-ulps: Update.
48205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48207 2014-02-18  Andreas Schwab  <schwab@suse.de>
48209         [BZ #16574]
48210         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48211         Store non-zero if the second buffer was newly allocated.
48212         (send_dg): Likewise.
48213         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48214         to send_vc and send_dg.
48215         (res_nsend): Pass NULL for ansp2_malloced.
48216         * resolv/res_query.c (__libc_res_nquery): Add parameter
48217         answerp2_malloced and pass it down to __libc_res_nsend.
48218         (res_nquery): Pass additional NULL to __libc_res_nquery.
48219         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48220         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48221         second answer buffer if answerp2_malloced was set.
48222         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48223         (__libc_res_nquerydomain): Add parameter
48224         answerp2_malloced and pass it down to __libc_res_nquery.
48225         (res_nquerydomain): Pass additional NULL to
48226         __libc_res_nquerydomain.
48227         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48228         additional NULL to __libc_res_nsend and __libc_res_nquery.
48229         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48230         additional NULL to __libc_res_nsearch.
48231         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48232         parameter of __libc_res_nsearch to check for separately allocated
48233         second buffer.
48234         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48235         __libc_res_nquery.
48236         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48237         additional NULL to __libc_res_nquery.
48238         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48239         __libc_res_nsearch.
48240         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48241         * include/resolv.h: Update prototypes of __libc_res_nquery,
48242         __libc_res_nsearch, __libc_res_nsend.
48244 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48246         * math/auto-libm-test-in: Add tests of fma.
48247         * math/auto-libm-test-out: Regenerated.
48248         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48249         (fma_towardzero_test_data): Likewise.
48250         (fma_downward_test_data): Likewise.
48251         (fma_upward_test_data): Likewise.
48252         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48253         mpc_mode.
48254         (rounding_modes): Add values for new field.
48255         (func_calc_method): Add value mpfr_fff_f.
48256         (func_calc_desc): Add mpfr_fff_f union field.
48257         (test_function): Add field exact_args.
48258         (FUNC): Add macro argument EXACT_ARGS.
48259         (FUNC_mpfr_f_f): Update call to FUNC.
48260         (FUNC_mpfr_f_f): Likewise.
48261         (FUNC_mpfr_ff_f): Likewise.
48262         (FUNC_mpfr_if_f): Likewise.
48263         (FUNC_mpc_c_f): Likewise.
48264         (FUNC_mpc_c_c): Likewise.
48265         (test_functions): Add fma.  Update calls to FUNC.
48266         (handle_input_arg): Add argument exact_args.
48267         (add_test): Update call to handle_input_arg.
48268         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48269         (output_for_one_input_case): Update call to calc_generic_results.
48270         Recalculate exact zero results in each rounding mode.
48272         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48273         non-negative before setting low bit.
48274         * math/auto-libm-test-in: Mark one asin test possibly having
48275         spurious underflow.
48276         * math/auto-libm-test-out: Regenerated.
48277         * sysdeps/i386/fpu/libm-test-ulps: Update.
48278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48280 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48282         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48283         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48284         ports/sysdeps/unix/sysv/linux/microblaze.
48285         * README: Add missing listing for microblaze*-*-linux-gnu.
48287 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48289         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48290         duplicate code
48292 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48294         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48295         * sysdeps/unix/sysv/linux/ia64: Move directory from
48296         ports/sysdeps/unix/sysv/linux/ia64.
48297         * README: Update listing for ia64-*-linux-gnu.
48299 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48300             Joseph Myers  <joseph@codesourcery.com>
48302         * Makeconfig (test-name): New variable.
48303         (evaluate-test): Likewise.
48304         * Makerules (do-test-clean): Remove .test-result files.
48305         (common-mostlyclean): Likewise.
48306         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48307         * scripts/evaluate-test.sh: New file.
48309 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48311         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48312         separate $(objpfx)tst-fopenloc-cmp.out and
48313         $(objpfx)tst-fopenloc-mem.out targets.
48314         (tests): Update dependencies.
48315         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48316         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48317         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48318         (tst-rxspencer-no-utf8-ARGS): New variable.
48319         (tst-rxspencer-no-utf8-ENV): Likewise.
48320         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48321         instead of $(objpfx)tst-rxspencer-mem.
48322         ($(objpfx)tst-rxspencer-mem): Change target to
48323         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48324         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48325         * posix/tst-rxspencer-no-utf8.c: New file.
48327         * elf/Makefile ($(objpfx)order.out): Remove rule.
48328         [$(run-built-tests) = yes] (tests): Depend on
48329         $(objpfx)order-cmp.out.
48330         ($(objpfx)order-cmp.out): New rule.
48331         [$(run-built-tests) = yes] (tests): Depend on
48332         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48333         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48334         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48335         $(objpfx)tst-array5-static-cmp.out.
48336         ($(objpfx)tst-array1.out): Remove rule.
48337         ($(objpfx)tst-array1-cmp.out): New rule.
48338         ($(objpfx)tst-array1-static.out): Remove rule.
48339         ($(objpfx)tst-array1-static-cmp.out): New rule.
48340         ($(objpfx)tst-array2.out): Remove rule.
48341         ($(objpfx)tst-array2-cmp.out): New rule.
48342         ($(objpfx)tst-array3.out): Remove rule.
48343         ($(objpfx)tst-array3-cmp.out): New rule.
48344         ($(objpfx)tst-array4.out): Remove rule.
48345         ($(objpfx)tst-array4-cmp.out): New rule.
48346         ($(objpfx)tst-array5.out): Remove rule.
48347         ($(objpfx)tst-array5-cmp.out): New rule.
48348         ($(objpfx)tst-array5-static.out): Remove rule.
48349         ($(objpfx)tst-array5-static-cmp.out): New rule.
48350         [$(run-built-tests) = yes] (tests): Depend on
48351         $(objpfx)order2-cmp.out.
48352         ($(objpfx)order2.out): Remove rule.
48353         ($(objpfx)order2-cmp.out): New rule.
48354         ($(objpfx)tst-initorder.out): Remove rule.
48355         [$(run-built-tests) = yes] (tests): Depend on
48356         $(objpfx)tst-initorder-cmp.out.
48357         ($(objpfx)tst-initorder-cmp.out): New rule.
48358         ($(objpfx)tst-initorder2.out): Remove rule.
48359         [$(run-built-tests) = yes] (tests): Depend on
48360         $(objpfx)tst-initorder2-cmp.out.
48361         ($(objpfx)tst-initorder2-cmp.out): New rule.
48362         [$(run-built-tests) = yes] (tests): Depend on
48363         $(objpfx)tst-unused-dep-cmp.out.
48364         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48365         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48366         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48367         on $(objpfx)tst-setvbuf1-cmp.out.
48368         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48369         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48370         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48371         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48372         ($(objpfx)tst-svc.out): Remove rule.
48373         ($(objpfx)tst-svc-cmp.out): New rule.
48375 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48377         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48378         * ctype/ctype.h [__USE_MISC]: Likewise.
48379         * dirent/dirent.h [__USE_MISC]: Likewise.
48380         * grp/grp.h [__USE_MISC]: Likewise.
48381         * io/fcntl.h [__USE_MISC]: Likewise.
48382         * io/sys/stat.h [__USE_MISC]: Likewise.
48383         * libio/stdio.h [__USE_MISC]: Likewise.
48384         * posix/unistd.h [__USE_MISC]: Likewise.
48385         * pwd/pwd.h [__USE_MISC]: Likewise.
48386         * stdlib.h [__USE_MISC]: Likewise.
48387         * string/bits/string2.h [__USE_MISC]: Likewise.
48388         * string/string.h [__USE_MISC]: Likewise.
48389         * time/time.h [__USE_MISC]: Likewise.
48391 2014-02-13  Andreas Schwab  <schwab@suse.de>
48393         [BZ #16574]
48394         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
48395         second answer buffer if it was separately allocated.
48397 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
48399         * sysdeps/mips/math-tests.h: Include <features.h>.
48400         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48401         (ROUNDING_TESTS_long_double): Do not define.
48402         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48403         (EXCEPTION_TESTS_long_double): Likewise.
48404         * sysdeps/mips/mips64/libm-test-ulps: Update.
48406         * include/features.h (__USE_BSD): Remove macro definitions.
48407         (__USE_SVID): Likewise.
48408         (_BSD_SOURCE): Likewise.
48409         (_SVID_SOURCE): Likewise.
48410         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
48411         from definition of _DEFAULT_SOURCE.
48412         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
48413         [_DEFAULT_SOURCE].
48414         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
48415         * bits/mman.h [__USE_BSD]: Likewise.
48416         * bits/termios.h [__USE_BSD]: Likewise.
48417         * bits/waitstatus.h [__USE_BSD]: Likewise.
48418         * ctype/ctype.h [__USE_SVID]: Likewise.
48419         * dirent/dirent.h [__USE_BSD]: Likewise.
48420         * grp/grp.h [__USE_SVID]: Likewise.
48421         [__USE_BSD]: Likewise.
48422         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
48423         * io/fcntl.h [__USE_BSD]: Likewise.
48424         * io/ftw.h [__USE_BSD]: Likewise.
48425         * io/sys/stat.h [__USE_BSD]: Likewise.
48426         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
48427         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
48428         * libio/stdio.h [__USE_SVID]: Likewise.
48429         [__USE_BSD]: Likewise.
48430         * math/math.h [__USE_SVID]: Likewise.
48431         [__USE_BSD]: Likewise.
48432         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
48433         * misc/bits/syslog.h [__USE_BSD]: Likewise.
48434         * misc/search.h [__USE_SVID]: Likewise.
48435         * misc/sys/mman.h [__USE_BSD]: Likewise.
48436         * misc/sys/syslog.h [__USE_BSD]: Likewise.
48437         * misc/sys/uio.h [__USE_BSD]: Likewise.
48438         * posix/bits/unistd.h [__USE_BSD]: Likewise.
48439         * posix/glob.h [__USE_BSD]: Likewise.
48440         * posix/regex.h [__USE_BSD]: Likewise.
48441         * posix/sys/types.h [__USE_BSD]: Likewise.
48442         [__USE_SVID]: Likewise.
48443         * posix/sys/utsname.h [__USE_SVID]: Likewise.
48444         * posix/sys/wait.h [__USE_BSD]: Likewise.
48445         [__USE_SVID]: Likewise.
48446         * posix/unistd.h [__USE_BSD]: Likewise.
48447         [__USE_SVID]: Likewise.
48448         * pwd/pwd.h [__USE_SVID]: Likewise.
48449         * resolv/netdb.h [__USE_BSD]: Likewise.
48450         * setjmp/setjmp.h [__USE_BSD]: Likewise.
48451         * signal/signal.h [__USE_BSD]: Likewise.
48452         [__USE_SVID]: Likewise.
48453         * socket/sys/socket.h [__USE_BSD]: Likewise.
48454         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
48455         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48456         [__USE_SVID]: Likewise.
48457         * string/bits/string2.h [__USE_BSD]: Likewise.
48458         [__USE_SVID]: Likewise.
48459         * string/bits/string3.h [__USE_BSD]: Likewise.
48460         * string/endian.h [__USE_BSD]: Likewise.
48461         * string/string.h [__USE_SVID]: Likewise.
48462         [__USE_BSD]: Likewise.
48463         * string/strings.h [__USE_BSD]: Likewise.
48464         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48465         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48466         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48467         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48468         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48469         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48470         Likewise.
48471         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48472         Likewise.
48473         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48474         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48475         Likewise.
48476         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48477         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48478         Likewise.
48479         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48480         Likewise.
48481         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48482         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48483         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48484         Likewise.
48485         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48486         Likewise.
48487         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48488         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48489         * termios/termios.h [__USE_BSD]: Likewise.
48490         * time/sys/time.h [__USE_BSD]: Likewise.
48491         * time/time.h [__USE_BSD]: Likewise.
48492         [__USE_SVID]: Likewise.
48494         * Makefile (subdir_targets): Remove subdir_lint.out.
48496         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48497         (do-tst-printf): Likewise.
48498         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48499         $(objpfx)tst-printf.out.
48501         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48503         * Makerules (check-abi-%): Change target to
48504         $(objpfx)check-abi-%.out.
48505         (check-abi target): Update dependencies.
48506         (check-abi-pattern variable): Redirect output of diff to $@.
48507         (check-abi variable): Likewise.
48508         * elf/Makefile (check-abi): Update dependencies.
48510         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48511         unused.
48512         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48513         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48514         subnormal range.
48515         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48516         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48517         value has largest subnormal exponent.
48518         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48519         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48520         * sysdeps/aarch64/soft-fp/sfp-machine.h
48521         (_FP_TININESS_AFTER_ROUNDING): New macro.
48522         * sysdeps/alpha/soft-fp/sfp-machine.h
48523         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48524         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48525         Likewise.
48526         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48527         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48528         * sysdeps/mips/soft-fp/sfp-machine.h
48529         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48530         * sysdeps/powerpc/soft-fp/sfp-machine.h
48531         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48532         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48533         Likewise.
48534         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48535         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48536         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48537         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48538         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48539         Likewise.
48541 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48543         [BZ #16545]
48544         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48545         model 1.
48547 2014-02-12  Richard Henderson  <rth@redhat.com>
48549         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48550         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48551         * sysdeps/unix/sysv/linux/alpha: Move directory from
48552         ports/sysdeps/unix/sysv/linux/alpha.
48553         * README: Update listing for alpha-*-linux-gnu.
48555 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48557         * include/features.h: Update comment documenting feature test
48558         macros.
48559         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48560         _DEFAULT_SOURCE.
48561         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48562         (_SVID_SOURCE): Likewise.
48563         (_DEFAULT_SOURCE): Update description of default features.
48564         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48565         with _GNU_SOURCE.
48566         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48567         (S_ISVTX): Likewise.
48568         * manual/math.texi (Mathematical Constants): Likewise.
48569         * manual/signal.texi (Interrupted Primitives): Likewise.
48570         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48571         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48572         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48573         Don't refer to _SVID_SOURCE in warning text.
48575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48577         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48578         already defined.
48579         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48580         * sysdeps/mips/dl-lookup.c: Remove.
48581         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48583 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48585         [BZ #16447]
48586         * math/auto-libm-test-in: Add testcase for expl.
48587         * math/auto-libm-test-out: Regenerate.
48588         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48589         calculation of unsafe.
48590         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48592 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48594         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48595         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48596         ports/sysdeps/unix/sysv/linux/aarch64.
48597         * README: Update listing for aarch64*-*-linux-gnu.
48599 2014-02-11  Will Newton  <will.newton@linaro.org>
48601         * manual/probes.texi (Mathematical Function Probes): Use
48602         "triggered" instead of "hit".
48604         * manual/probes.texi (Internal Probes): Add documentation
48605         of setjmp, longjmp and longjmp_target probes.
48607         * include/stap-probe.h: Add comment about probe argument
48608         format.
48610         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48611         definition.  (tr_where, tr_freehook, tr_mallochook,
48612         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48614 2014-02-11  David S. Miller  <davem@davemloft.net>
48616         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48617         processing int_tests.
48619 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48621         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48622         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48623         * sysdeps/unix/sysv/linux/mips: Move directory from
48624         ports/sysdeps/unix/sysv/linux/mips.
48625         * README: Update listing for mips-*-linux-gnu and
48626         mips64-*-linux-gnu.
48628 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48630         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48631         * sysdeps/unix/sysv/linux/m68k: Move directory from
48632         ports/sysdeps/unix/sysv/linux/m68k.
48633         * README: Update listing for m68k-*-linux-gnu.
48635 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48637         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48638         * sysdeps/unix/sysv/linux/generic: Move directory from
48639         ports/sysdeps/unix/sysv/linux/generic.
48640         * sysdeps/unix/sysv/linux/tile: Move directory from
48641         ports/sysdeps/unix/sysv/linux/tile.
48642         * README: Update listing for tile*-*-linux-gnu.
48644 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48646         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48647         __builtin_expect.
48648         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48649         * catgets/open_catalog.c (__open_catalog): Likewise.
48650         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48651         * debug/confstr_chk.c: Likewise.
48652         * debug/fread_chk.c (__fread_chk): Likewise.
48653         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48654         * debug/getgroups_chk.c: Likewise.
48655         * debug/mbsnrtowcs_chk.c: Likewise.
48656         * debug/mbsrtowcs_chk.c: Likewise.
48657         * debug/mbstowcs_chk.c: Likewise.
48658         * debug/memcpy_chk.c: Likewise.
48659         * debug/memmove_chk.c: Likewise.
48660         * debug/mempcpy_chk.c: Likewise.
48661         * debug/memset_chk.c: Likewise.
48662         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48663         * debug/strcat_chk.c (__strcat_chk): Likewise.
48664         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48665         * debug/strncat_chk.c (__strncat_chk): Likewise.
48666         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48667         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48668         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48669         * debug/wcpncpy_chk.c: Likewise.
48670         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48671         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48672         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48673         * debug/wcsncpy_chk.c: Likewise.
48674         * debug/wcsnrtombs_chk.c: Likewise.
48675         * debug/wcsrtombs_chk.c: Likewise.
48676         * debug/wcstombs_chk.c: Likewise.
48677         * debug/wmemcpy_chk.c: Likewise.
48678         * debug/wmemmove_chk.c: Likewise.
48679         * debug/wmempcpy_chk.c: Likewise.
48680         * debug/wmemset_chk.c: Likewise.
48681         * dirent/scandirat.c (SCANDIRAT): Likewise.
48682         * dlfcn/dladdr1.c (dladdr1): Likewise.
48683         * dlfcn/dladdr.c (dladdr): Likewise.
48684         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48685         * dlfcn/dlerror.c (__dlerror): Likewise.
48686         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48687         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48688         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48689         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48690         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48691         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48692         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48693         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48694         Likewise.
48695         * elf/dl-conflict.c: Likewise.
48696         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48697         * elf/dl-dst.h: Likewise.
48698         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48699         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48700         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48701         * elf/dl-init.c (call_init, _dl_init): Likewise.
48702         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48703         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48704         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48705         Likewise.
48706         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48707         Likewise.
48708         * elf/dl-minimal.c (__libc_memalign): Likewise.
48709         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48710         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48711         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48712         * elf/dl-sym.c (do_sym): Likewise.
48713         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48714         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48715         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48716         * elf/dl-writev.h (_dl_writev): Likewise.
48717         * elf/ldconfig.c (search_dir): Likewise.
48718         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48719         (dl_main): Likewise.
48720         * elf/setup-vdso.h (setup_vdso): Likewise.
48721         * grp/compat-initgroups.c (compat_call): Likewise.
48722         * grp/fgetgrent.c (fgetgrent): Likewise.
48723         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48724         * grp/putgrent.c (putgrent): Likewise.
48725         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48726         Likewise.
48727         * hurd/hurdinit.c: Likewise.
48728         * iconvdata/8bit-gap.c (struct): Likewise.
48729         * iconvdata/ansi_x3.110.c : Likewise.
48730         * iconvdata/big5.c : Likewise.
48731         * iconvdata/big5hkscs.c : Likewise.
48732         * iconvdata/cp1255.c: Likewise.
48733         * iconvdata/cp1258.c : Likewise.
48734         * iconvdata/cp932.c : Likewise.
48735         * iconvdata/euc-cn.c: Likewise.
48736         * iconvdata/euc-jisx0213.c : Likewise.
48737         * iconvdata/euc-jp.c: Likewise.
48738         * iconvdata/euc-jp-ms.c : Likewise.
48739         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48740         * iconvdata/gb18030.c : Likewise.
48741         * iconvdata/gbbig5.c (const): Likewise.
48742         * iconvdata/gbgbk.c: Likewise.
48743         * iconvdata/gbk.c : Likewise.
48744         * iconvdata/ibm1364.c : Likewise.
48745         * iconvdata/ibm930.c : Likewise.
48746         * iconvdata/ibm932.c: Likewise.
48747         * iconvdata/ibm933.c : Likewise.
48748         * iconvdata/ibm935.c : Likewise.
48749         * iconvdata/ibm937.c : Likewise.
48750         * iconvdata/ibm939.c : Likewise.
48751         * iconvdata/ibm943.c: Likewise.
48752         * iconvdata/iso_11548-1.c: Likewise.
48753         * iconvdata/iso-2022-cn.c : Likewise.
48754         * iconvdata/iso-2022-cn-ext.c : Likewise.
48755         * iconvdata/iso-2022-jp-3.c: Likewise.
48756         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48757         * iconvdata/iso-2022-kr.c : Likewise.
48758         * iconvdata/iso646.c (gconv_end): Likewise.
48759         * iconvdata/iso_6937-2.c : Likewise.
48760         * iconvdata/iso_6937.c : Likewise.
48761         * iconvdata/iso8859-1.c: Likewise.
48762         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48763         * iconvdata/shift_jisx0213.c : Likewise.
48764         * iconvdata/sjis.c : Likewise.
48765         * iconvdata/t.61.c : Likewise.
48766         * iconvdata/tcvn5712-1.c : Likewise.
48767         * iconvdata/tscii.c: Likewise.
48768         * iconvdata/uhc.c : Likewise.
48769         * iconvdata/unicode.c (gconv_end): Likewise.
48770         * iconvdata/utf-16.c (gconv_end): Likewise.
48771         * iconvdata/utf-32.c (gconv_end): Likewise.
48772         * iconvdata/utf-7.c (base64): Likewise.
48773         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48774         * iconv/gconv_close.c (__gconv_close): Likewise.
48775         * iconv/gconv_open.c (__gconv_open): Likewise.
48776         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48777         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48778         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48779         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48780         (ucs4le_internal_loop_single): Likewise.
48781         * iconv/iconv.c (iconv): Likewise.
48782         * iconv/iconv_close.c: Likewise.
48783         * iconv/loop.c (SINGLE): Likewise.
48784         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48785         * include/atomic.h: Likewise.
48786         * inet/inet6_option.c (option_alloc): Likewise.
48787         * intl/bindtextdom.c (set_binding_values): Likewise.
48788         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48789         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48790         * intl/localealias.c (read_alias_file): Likewise.
48791         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48792         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48793         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48794         * libio/fmemopen.c (fmemopen): Likewise.
48795         * libio/iofgets.c (_IO_fgets): Likewise.
48796         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48797         * libio/iofgetws.c (fgetws): Likewise.
48798         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48799         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48800         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48801         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48802         * locale/findlocale.c (_nl_find_locale): Likewise.
48803         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48804         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48805         Likewise.
48806         * locale/setlocale.c (setlocale): Likewise.
48807         * login/programs/pt_chown.c (main): Likewise.
48808         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48809         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48810         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48811         (mmap, mmap64, mremap, munmap): Likewise.
48812         * math/e_exp2l.c: Likewise.
48813         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48814         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48815         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48816         * math/s_catan.c (__catan): Likewise.
48817         * math/s_catanf.c (__catanf): Likewise.
48818         * math/s_catanh.c (__catanh): Likewise.
48819         * math/s_catanhf.c (__catanhf): Likewise.
48820         * math/s_catanhl.c (__catanhl): Likewise.
48821         * math/s_catanl.c (__catanl): Likewise.
48822         * math/s_ccosh.c (__ccosh): Likewise.
48823         * math/s_ccoshf.c (__ccoshf): Likewise.
48824         * math/s_ccoshl.c (__ccoshl): Likewise.
48825         * math/s_cexp.c (__cexp): Likewise.
48826         * math/s_cexpf.c (__cexpf): Likewise.
48827         * math/s_cexpl.c (__cexpl): Likewise.
48828         * math/s_clog10.c (__clog10): Likewise.
48829         * math/s_clog10f.c (__clog10f): Likewise.
48830         * math/s_clog10l.c (__clog10l): Likewise.
48831         * math/s_clog.c (__clog): Likewise.
48832         * math/s_clogf.c (__clogf): Likewise.
48833         * math/s_clogl.c (__clogl): Likewise.
48834         * math/s_csin.c (__csin): Likewise.
48835         * math/s_csinf.c (__csinf): Likewise.
48836         * math/s_csinh.c (__csinh): Likewise.
48837         * math/s_csinhf.c (__csinhf): Likewise.
48838         * math/s_csinhl.c (__csinhl): Likewise.
48839         * math/s_csinl.c (__csinl): Likewise.
48840         * math/s_csqrt.c (__csqrt): Likewise.
48841         * math/s_csqrtf.c (__csqrtf): Likewise.
48842         * math/s_csqrtl.c (__csqrtl): Likewise.
48843         * math/s_ctan.c (__ctan): Likewise.
48844         * math/s_ctanf.c (__ctanf): Likewise.
48845         * math/s_ctanh.c (__ctanh): Likewise.
48846         * math/s_ctanhf.c (__ctanhf): Likewise.
48847         * math/s_ctanhl.c (__ctanhl): Likewise.
48848         * math/s_ctanl.c (__ctanl): Likewise.
48849         * math/w_pow.c: Likewise.
48850         * math/w_powf.c: Likewise.
48851         * math/w_powl.c: Likewise.
48852         * math/w_scalb.c (sysv_scalb): Likewise.
48853         * math/w_scalbf.c (sysv_scalbf): Likewise.
48854         * math/w_scalbl.c (sysv_scalbl): Likewise.
48855         * misc/error.c (error_tail): Likewise.
48856         * misc/pselect.c (__pselect): Likewise.
48857         * nis/nis_callback.c (__nis_create_callback): Likewise.
48858         * nis/nis_call.c (__nisfind_server): Likewise.
48859         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48860         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48861         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48862         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48863         * nis/nis_lookup.c (nis_lookup): Likewise.
48864         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48865         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48866         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48867         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48868         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48869         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48870         * nis/nss_compat/compat-initgroups.c (add_group)
48871         (internal_getgrent_r): Likewise.
48872         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48873         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48874         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48875         (internal_getspnam_r): Likewise.
48876         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48877         (_nss_nis_getaliasbyname_r): Likewise.
48878         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48879         (_nss_nis_getntohost_r): Likewise.
48880         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48881         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48882         (_nss_nis_getgrgid_r): Likewise.
48883         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48884         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48885         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48886         (_nss_nis_gethostbyname4_r): Likewise.
48887         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48888         (initgroups_netid): Likewise.
48889         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48890         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48891         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48892         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48893         (_nss_nis_getprotobynumber_r): Likewise.
48894         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48895         (_nss_nis_getsecretkey): Likewise.
48896         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48897         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48898         (_nss_nis_getpwuid_r): Likewise.
48899         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48900         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48901         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48902         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48903         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48904         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48905         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48906         Likewise.
48907         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48908         (_nss_nisplus_getntohost_r): Likewise.
48909         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48910         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48911         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48912         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48913         Likewise.
48914         * nis/nss_nisplus/nisplus-initgroups.c
48915         (_nss_nisplus_initgroups_dyn): Likewise.
48916         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48917         (_nss_nisplus_getnetbyaddr_r): Likewise.
48918         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48919         (_nss_nisplus_getprotobynumber_r): Likewise.
48920         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48921         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48922         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48923         Likewise.
48924         * nis/nss_nisplus/nisplus-service.c
48925         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48926         (_nss_nisplus_getservbyport_r): Likewise.
48927         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48928         (_nss_nisplus_getspnam_r): Likewise.
48929         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48930         Likewise.
48931         * nscd/aicache.c (addhstaiX): Likewise.
48932         * nscd/cache.c (cache_search, prune_cache): Likewise.
48933         * nscd/connections.c (register_traced_file, send_ro_fd)
48934         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48935         (main_loop_epoll): Likewise.
48936         * nscd/grpcache.c (addgrbyX): Likewise.
48937         * nscd/hstcache.c (addhstbyX): Likewise.
48938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48939         * nscd/mem.c (gc, mempool_alloc): Likewise.
48940         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48941         (addinnetgrX): Likewise.
48942         * nscd/nscd-client.h (__nscd_acquire_maplock)
48943         (__nscd_drop_map_ref): Likewise.
48944         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48945         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48946         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48947         Likewise.
48948         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48949         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48950         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48951         (__nscd_get_map_ref): Likewise.
48952         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48953         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48954         Likewise.
48955         * nscd/pwdcache.c (addpwbyX): Likewise.
48956         * nscd/selinux.c (preserve_capabilities): Likewise.
48957         * nscd/servicescache.c (addservbyX): Likewise.
48958         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48959         * posix/fnmatch.c (fnmatch): Likewise.
48960         * posix/getopt.c (_getopt_internal_r): Likewise.
48961         * posix/glob.c (glob, glob_in_dir): Likewise.
48962         * posix/wordexp.c (exec_comm_child): Likewise.
48963         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48964         (getanswer_r, gaih_getanswer_slice): Likewise.
48965         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48966         * resolv/res_init.c: Likewise.
48967         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48968         * resolv/res_query.c (__libc_res_nquery): Likewise.
48969         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48970         Likewise.
48971         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48972         * stdio-common/perror.c (perror): Likewise.
48973         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48974         * stdio-common/tmpnam.c (tmpnam): Likewise.
48975         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48976         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48977         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48978         Likewise.
48979         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48980         * stdlib/putenv.c (putenv): Likewise.
48981         * stdlib/setenv.c (__add_to_environ): Likewise.
48982         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48983         * stdlib/strtol_l.c (INTERNAL): Likewise.
48984         * string/memmem.c (memmem): Likewise.
48985         * string/strerror.c (strerror): Likewise.
48986         * string/strnlen.c (__strnlen): Likewise.
48987         * string/test-memmem.c (simple_memmem): Likewise.
48988         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48989         * sunrpc/pm_getport.c (__get_socket): Likewise.
48990         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48991         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48992         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48993         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48994         Likewise.
48995         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48996         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48997         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48998         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48999         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
49000         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
49001         Likewise.
49002         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
49003         Likewise.
49004         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
49005         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
49006         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49007         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
49008         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
49009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
49010         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49011         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
49012         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
49013         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
49014         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49015         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
49016         Likewise.
49017         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
49018         Likewise.
49019         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
49020         Likewise.
49021         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
49022         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49023         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
49024         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
49025         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
49026         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
49027         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49028         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
49029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
49030         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
49031         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
49032         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49033         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49034         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
49035         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49036         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
49037         Likewise.
49038         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
49039         Likewise.
49040         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
49041         Likewise.
49042         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49043         Likewise.
49044         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49045         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49046         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49047         Likewise.
49048         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49049         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49050         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49051         * sysdeps/posix/sleep.c: Likewise.
49052         * sysdeps/posix/tempname.c: Likewise.
49053         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49054         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49055         Likewise.
49056         * sysdeps/powerpc/powerpc32/dl-machine.h
49057         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49058         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49059         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49060         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49061         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49062         Likewise.
49063         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49064         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49065         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49066         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49067         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49068         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49069         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49070         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49071         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49072         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49073         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49074         (elf_machine_lazy_rel): Likewise.
49075         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49076         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49077         (elf_machine_lazy_rel): Likewise.
49078         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49079         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49080         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49081         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49082         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49083         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49084         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49085         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49086         Likewise.
49087         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49088         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49089         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49090         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49091         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49092         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49093         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49094         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49095         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49096         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49097         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49098         Likewise.
49099         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49100         (__posix_fallocate64_l64): Likewise.
49101         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49102         (posix_fallocate): Likewise.
49103         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49104         Likewise.
49105         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49106         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49107         (getifaddrs_internal): Likewise.
49108         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49109         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49110         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49111         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49112         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49113         (__posix_fallocate64_l64): Likewise.
49114         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49115         Likewise.
49116         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49117         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49118         (__get_clockfreq): Likewise.
49119         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49120         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49121         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49124         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49125         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49126         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49127         Likewise.
49128         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49129         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49130         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49131         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49132         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49133         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49134         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49135         Likewise.
49136         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49137         (posix_fallocate): Likewise.
49138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49139         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49140         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49141         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49142         (elf_machine_rela, elf_machine_rela_relative)
49143         (elf_machine_lazy_rel): Likewise.
49144         * time/asctime.c (asctime_internal): Likewise.
49145         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49146         * time/tzset.c (__tzset_parse_tz): Likewise.
49147         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49148         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49149         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49150         * wcsmbs/wcsmbsload.h: Likewise.
49152         [BZ #15894]
49153         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49155         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49156         (arena_get2): Remove THREAD_STATS conditionals.
49157         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49158         (__malloc_stats, int): Likewise.
49160 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49162         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49163         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49165         * manual/setjmp.texi: Fix typos/grammar errors.
49167         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49168         Only return early when n is <= 0.  Delete unused return statement.
49170         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49171         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49172         * debug/tst-longjmp_chk3.c: New file.
49174         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49175         (test_main): Replace code with set_fortify_handler call.
49176         * debug/test-strcpy_chk.c: Likewise.
49177         * debug/tst-chk1.c: Likewise.
49178         * debug/tst-longjmp_chk.c: Likewise.
49179         * test-skeleton.c: Include fcntl.h & paths.h
49180         (set_fortify_handler): Define.
49182         * debug/tst-longjmp_chk.c: Add header comment and include
49183         ../test-skeleton.c.
49184         (do_test): Mark static.
49185         (TEST_FUNCTION): Define.
49187         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49188         (IP_PMTUDISC_INTERFACE): Likewise.
49189         (IP_MULTICAST_IF): Likewise.
49190         (IP_MULTICAST_TTL): Likewise.
49191         (IP_MULTICAST_LOOP): Likewise.
49192         (IP_ADD_MEMBERSHIP): Likewise.
49193         (IP_DROP_MEMBERSHIP): Likewise.
49194         (IP_UNBLOCK_SOURCE): Likewise.
49195         (IP_BLOCK_SOURCE): Likewise.
49196         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49197         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49198         (IP_MSFILTER): Likewise.
49199         (MCAST_JOIN_GROUP): Likewise.
49200         (MCAST_BLOCK_SOURCE): Likewise.
49201         (MCAST_UNBLOCK_SOURCE): Likewise.
49202         (MCAST_LEAVE_GROUP): Likewise.
49203         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49204         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49205         (MCAST_MSFILTER): Likewise.
49206         (IP_MULTICAST_ALL): Likewise.
49207         (IP_UNICAST_IF): Likewise.
49209         * timezone/Makefile: Delete $(have-ksh) check.
49210         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49211         * timezone/tzselect.ksh: Add +x mode bits.
49213         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49214         (ANON_INODE_FS_MAGIC): Likewise.
49215         (BDEVFS_MAGIC): Likewise.
49216         (BINFMTFS_MAGIC): Likewise.
49217         (BTRFS_TEST_MAGIC): Likewise.
49218         (CRAMFS_MAGIC_WEND): Likewise.
49219         (DEBUGFS_MAGIC): Likewise.
49220         (ECRYPTFS_SUPER_MAGIC): Likewise.
49221         (EXT3_SUPER_MAGIC): Likewise.
49222         (EXT4_SUPER_MAGIC): Likewise.
49223         (FUTEXFS_SUPER_MAGIC): Likewise.
49224         (HOSTFS_SUPER_MAGIC): Likewise.
49225         (HUGETLBFS_MAGIC): Likewise.
49226         (MINIX3_SUPER_MAGIC): Likewise.
49227         (MTD_INODE_FS_MAGIC): Likewise.
49228         (NILFS_SUPER_MAGIC): Likewise.
49229         (OPENPROM_SUPER_MAGIC): Likewise.
49230         (PIPEFS_MAGIC): Likewise.
49231         (PSTOREFS_MAGIC): Likewise.
49232         (QNX6_SUPER_MAGIC): Likewise.
49233         (RAMFS_MAGIC): Likewise.
49234         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49235         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49236         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49237         (SECURITYFS_MAGIC): Likewise.
49238         (SELINUX_MAGIC): Likewise.
49239         (SMACK_MAGIC): Likewise.
49240         (SOCKFS_MAGIC): Likewise.
49241         (SQUASHFS_MAGIC): Likewise.
49242         (STACK_END_MAGIC): Likewise.
49243         (TMPFS_MAGIC): Likewise.
49244         (USBDEVICE_SUPER_MAGIC): Likewise.
49245         (V9FS_MAGIC): Likewise.
49246         (XENFS_SUPER_MAGIC): Likewise.
49247         (CRAMFS_MAGIC): Fix typo in comment.
49248         (EXT2_SUPER_MAGIC): Update comment.
49249         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49251 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49253         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49254         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49255         * sysdeps/unix/sysv/linux/arm: Move directory from
49256         ports/sysdeps/unix/sysv/linux/arm.
49257         * README: Update listing for arm-*-linux-gnueabi.
49259         * README: Remove mention of am33.
49261 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49263         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49264         than the comma operator, to avoid "rhs of comma has no effect"
49265         compiler warnings.
49266         (__sigfillset, __sigandset, __sigorset): Likewise.
49267         * include/signal.h (__sigemptyset): Likewise.
49268         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49270 2014-02-07  Allan McRae  <allan@archlinux.org>
49272         * version.h (RELEASE): Set to "development".
49273         (VERSION): Set to "2.19.90"
49274         * NEWS: Add 2.20 section.
49276 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49278         [BZ #16529]
49279         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49281 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49283         * manual/contrib.texi: Update entry for Carlos O'Donell,
49284         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49286 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49288         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49290         * sysdeps/unix/sysv/linux/kernel-features.h
49291         [__LINUX_KERNEL_VERSION >= 0x020621]
49292         (__ASSUME_PROC_PID_TASK_COMM): Define.
49294 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49296         [BZ #16398]
49297         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49298         conversion when destination buffer does not have enough space.
49299         * libio/tst-ftell-partial-wide.c: New test case.
49300         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49302         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49303         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49304         Leonard and Allan McRae.
49306 2014-02-04  David S. Miller  <davem@davemloft.net>
49308         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49309         32-bit.
49311 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49314         New file
49315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49316         New file
49317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49318         New file.
49319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49320         New file.
49321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49322         New file.
49323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49324         New file.
49325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49326         New file.
49327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49328         New file.
49329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49330         New file.
49331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49332         New file.
49333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49334         New file.
49335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49336         New file.
49337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49338         New file.
49340 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49342         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49343         * shlib-versions: Likewise.
49345 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49346             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49348         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49349         (abilist-pattern): New variable, set to %-le.abilist.
49351         * Makerules (abilist-pattern): New variable.
49352         (vpath): Use $(abilist-pattern) in place of %.abilist.
49353         (check-abi-% pattern rule): Likewise.
49354         (check-abi, update-abi): Likewise.
49356 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49360 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49362         * manual/startup.texi: Add next, previous, and top entries for
49363         the `Program Arguments' and `Environment Variables' nodes.
49365 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49367         * manual/macros.texi: Add comments before MTASC-safety macros.
49369         * manual/users.texi: Document MTASC-safety properties.
49371         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49372         (pthread_getspecific, pthread_setspecific): Format with
49373         @deftypefun, and add @safety note.
49374         * manual/signal.texi: Move comments that analyze the above
49375         functions to their home place.
49377 2014-02-03  Allan McRae  <allan@archlinux.org>
49379         * po/sl.po: Update Slovenian translation from translation project.
49381 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
49383         * manual/time.texi (timegm): Add missing blank after @c.
49384         Reported by Joseph Myers <joseph@codesourcery.com>.
49386 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
49388         * manual/check-safety.sh: New.
49389         * manual/Makefile ($(objpfx)stamp-summary): Run it.
49391         * manual/terminal.texi: Document MTASC-safety properties.
49393         * manual/filesys.texi: Document MTASC-safety properties.
49395         * manual/errno.texi: Document MTASC-safety properties.
49397         * manual/intro.texi: Document safety identifiers and
49398         conditionals.
49400         * manual/string.texi (wcstok): Fix prototype.
49401         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
49403         * manual/time.texi: Document MTASC-safety properties.
49405         * manual/string.texi: Document MTASC-safety properties.
49407         * manual/threads.texi: Document MTASC-safety properties.
49409         * manual/stdio.texi: Document MTASC-safety properties.
49411         * manual/syslog.texi: Document MTASC-safety properties.
49413         * manual/sysinfo.texi: Document MTASC-safety properties.
49415         * manual/startup.texi: Document MTASC-safety properties.
49417         * manual/socket.texi: Document MTASC-safety properties.
49419         * manual/signal.texi: Document MTASC-safety properties.
49421 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
49423         * manual/setjmp.texi: Document MTASC-safety properties.
49425         * manual/search.texi: Document MTASC-safety properties.
49427         * manual/resource.texi: Document MTASC-safety properties.
49429         * manual/process.texi: Document MTASC-safety properties.
49431         * manual/platform.texi: Document MTASC-safety properties.
49433         * manual/pipe.texi: Document MTASC-safety properties.
49435         * manual/pattern.texi: Document MTASC-safety properties.
49437         * manual/message.texi: Document MTASC-safety properties.
49439         [BZ #12751]
49440         * manual/memory.texi: Document MTASC-safety properties.
49442         * manual/math.texi: Document MTASC-safety properties.
49444         * manual/locale.texi: Document MTASC-safety properties.
49446         * manual/llio.texi: Document MTASC-safety properties.
49448         * manual/libdl.texi: New.
49450         * manual/lang.texi: Document MTASC-safety properties.
49452         * manual/job.texi: Document MTASC-safety properties.
49454         * manual/getopt.texi: Document MTASC-safety properties.
49456         * manual/ctype.texi: Document MTASC-safety properties.
49458 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49460         [BZ #16046]
49461         * csu/libc-tls.c (static_map): Remove variable.
49462         (__libc_setup_tls): Use main executable's link map for TLS data.
49463         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49464         casing for LM_ID_BASE and GL(dl_nns).
49465         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49466         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49467         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49468         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49469         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49470         member.
49471         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49472         l_phnum members.
49474 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49476         * manual/debug.texi: Document MTASC-safety properties.
49478 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49480         [BZ #16510]
49481         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49482         of __x86_64__ when disabling x87 inline functions.
49484 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49486         * manual/charset.texi: Document MTASC-safety properties.
49488         * manual/crypt.texi: Document MTASC-safety properties.
49490         * manual/conf.texi: Document MTASC-safety properties.
49492         * manual/arith.texi: Document MTASC-safety properties.
49494         * manual/argp.texi: Document MTASC-safety properties.
49496         * manual/macros.texi: Introduce macros to document multi
49497         thread, asynchronous signal and asynchronous cancellation
49498         safety properties.
49499         * manual/intro.texi: Introduce the properties themselves.
49501 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49503         * sysdeps/sh/sh4/Makefile: New file.
49505 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49507         * math/gen-libm-test.pl ($srcdir): New variable.
49508         ($auto_input): Use it.
49510 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49512         [BZ #16506]
49513         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49514         access beyond array bounds when parsing netgroups file.
49516         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49517         the old buffer before realloc.
49519 2014-01-27  Allan McRae  <allan@archlinux.org>
49521         * po/fr.po: Update French translation from translation project.
49523 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49525         * sysdeps/sh/libm-test-ulps: Regenerate.
49527 2014-01-24  David S. Miller  <davem@davemloft.net>
49529         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49531 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49533         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49534         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49536 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49538         [BZ #16474]
49539         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49540         string pointers after reallocation.
49542 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49544         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49545         __SH4A__ instead of __SH_FPU_ANY__.
49547 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49549         * sysdeps/sh/fpu_control.h: New file.
49550         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49551         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49552         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49553         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49554         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49555         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49556         * sysdeps/sh/sys/ucontext.h: Remove.
49557         * sysdeps/sh/sys: Remove directory.
49559 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49561         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49562         s390/sys/ucontext.h.
49563         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49564         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49566 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49568         [BZ #15605]
49569         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49571 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49573         [BZ#16431]
49574         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49575         Adjust the vDSO correctly for internal calls.
49576         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49578 2014-01-20  Allan McRae  <allan@archlinux.org>
49580         * po/ca.po: Update Catalan translation from translation project.
49582 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49584         * sysdeps/s390/sotruss-lib.c: New file.
49586 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49588         [BZ#16430]
49589         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49590         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49591         local calls issues by not having a PLT stub required for IFUNC calls.
49592         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49594 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49596         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49597         * math/test-fpucw-static.c: Likewise.
49599 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49601         [BZ #16453]
49602         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49604 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49606         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49607         implementation for powerpc.
49609 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49611         [BZ #14782]
49612         * sysdeps/posix/system.c (__libc_system): Do not enable
49613         asynchronous cancellation.
49615 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49617         [BZ #16427]
49618         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49619         handling only for numbers special also in the IEEE case.
49621 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49623         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49625 2014-01-11  Allan McRae  <allan@archlinux.org>
49627         * po/bg.po: Update Bulgarian translation from translation project.
49629         * po/de.po: Update German translation from translation project.
49631 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49633         * sysdeps/generic/gcc-compat.h: New file.
49635 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49637         * benchtests/asin-inputs: Correct slow inputs.
49638         * benchtests/acos-inputs: Likewise.
49640 2014-01-10  Allan McRae  <allan@archlinux.org>
49642         * po:sv.po: Update Swedish translation from translation project.
49644         * po/vi.po: Update Vietnamese translation from translation project.
49646         * po/eo.po: Update Esperanto translation from translation project.
49648         * po/cs.po: Update Czech translation from translation project.
49650         * po/nl.po: Update Dutch translation from translation project.
49652         * po/pl.po: Update Polish translation from translation project.
49654         * po/ru.po: Update Russian translation from translation project.
49656         * po/uk.po: Update Ukrainian translation from translation project.
49658 2014-01-08  Brooks Moses  <bmoses@google.com>
49660         * elf/dl-load.c: Fix comment typo.
49662 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49664         * po/header.pot: Rename to...
49665         * po/pot.header: ... this.
49666         * po/Makefile: Use pot.header.
49668 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49669             Maxim Kuvyrkov  <maxim@kugelworks.com>
49671         [BZ #16394]
49672         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49673         SRC and DEST against LEN.
49675 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49677         [BZ #16414]
49678         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49679         implementation.
49680         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49682 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49686 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49688         [BZ #16408]
49689         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49690         for large positive arguments.
49692 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49694         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49696         * math/auto-libm-test-in: Mark various tests with
49697         xfail-rounding:ldbl-128ibm.
49698         * math/auto-libm-test-out: Regenerated.
49700         [BZ #16407]
49701         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49702         Increase overflow threshold.
49704 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49706         [BZ #14286]
49707         * stdio-common/vfprintf.c: Check for integer overflow.
49709 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49711         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49712         the first argument and return value of __tls_get_addr_internal.
49714 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49716         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49717         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49719 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49721         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49722         * sysdeps/s390/rtld-global-offsets.sym: New file.
49723         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49724         GLIBC_2.19 symbol.
49725         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49726         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49727         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49728         ... this.
49729         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49730         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49731         ... this.
49732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49733         Regenerate.
49734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49735         Regenerate.
49736         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49737         halfs of GPRs for high_gprs contexts.
49738         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49739         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49740         field.
49741         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49742         uc_flags field.
49743         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49744         64 bit versions:
49745         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49746         for high GPRs (uc_high_gprs) and for future extensions
49747         (__reserved).
49748         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49749         for future extensions (__reserved).
49750         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49751         64 bit versions:
49752         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49753         SC_HIGHGPRS offset definition.
49754         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49755         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49757         * Versions.def: Add GLIBC_2.19 for libpthread.
49758         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49759         siglongjmp for libpthread with GLIBC_2.19 symver.
49760         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49761         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49762         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49763         * sysdeps/s390/__longjmp.c: New file.
49764         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49765         * sysdeps/s390/longjmp.c: New file.
49766         * sysdeps/s390/setjmp.S: New file.
49767         * sysdeps/s390/sigjmp.S: New file.
49768         * sysdeps/s390/v1-longjmp.c: New file.
49769         * sysdeps/s390/v1-setjmp.h: New file.
49770         * sysdeps/s390/v1-sigjmp.c: New file.
49771         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49772         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49773         GLIBC_2.19 version.
49774         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49775         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49776         versioned symbols for ____longjmp_chk.
49777         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49778         Likewise.
49779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49780         Regenerate.
49781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49782         Regenerate.
49783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49784         Regenerate.
49785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49786         Regenerate.
49787         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49788         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49789         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49790         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49791         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49792         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49793         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49794         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49795         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49796         * sysdeps/s390/rtld-__longjmp.c: New file.
49797         * sysdeps/s390/rtld-setjmp.S: New file.
49799 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49801         [BZ #16400]
49802         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49803         Return -__logl (x) for small positive arguments without evaluating
49804         a polynomial.
49806 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49808         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49809         Rename to ...
49810         (__ptrace_peeksiginfo_args): ... this.
49811         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49812         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49813         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49815 2014-01-06  Allan McRae  <allan@archlinux.org>
49817         * inet/netinet/in.h: Fix typo in comment.
49819 2014-01-05  Andreas Jaeger  <aj@suse.de>
49821         * sysdeps/i386/fpu/libm-test-ulps: Update.
49823 2014-01-05  Allan McRae  <allan@archlinux.org>
49825         * po/libc.pot: Regenerated.
49827         * malloc/memusagestat.c: Fix gettext call formatting.
49829 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49831         * nscd/nscd.c: Improve usage() output.
49833 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49835         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49836         * sysdeps/unix/sysv/linux/configure: Regenerated.
49837         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49838         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49840 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49842         [BZ #16390]
49843         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49844         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49846 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49848         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49849         extra tokens at end of #undef directive.
49850         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49851         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49852         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49854 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49856         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49858         * math/auto-libm-test-in: Mark various tests with
49859         xfail-rounding:ldbl-128ibm.
49860         * math/auto-libm-test-out: Regenerated.
49862 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49864         [BZ #16386]
49865         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49866         numbers with subnormal high part when calculating exponent.
49868         [BZ #16385]
49869         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49870         fabs.
49872         [BZ #16384]
49873         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49874         M_LN2l.
49875         (__ieee754_acoshl): Use __log1pl not __log1p.
49877 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49879         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49880         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49881         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49882         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49883         (reused_arena, arena_get2): Convert to GNU style.
49884         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49885         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49886         (memalign_check, __malloc_set_state): Likewise.
49887         * malloc/mallocbug.c (main): Likewise.
49888         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49889         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49890         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49891         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49892         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49893         (__posix_memalign, malloc_info): Likewise.
49894         * malloc/malloc.h: Likewise.
49895         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49896         (mallochook, memalignhook, reallochook, mabort): Likewise.
49897         * malloc/mcheck.h: Likewise.
49898         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49899         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49900         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49901         * malloc/morecore.c (__default_morecore): Likewise.
49902         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49903         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49904         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49905         (print_and_abort): Likewise.
49906         * malloc/obstack.h: Likewise.
49907         * malloc/set-freeres.c (__libc_freeres): Likewise.
49908         * malloc/tst-mallocstate.c (main): Likewise.
49909         * malloc/tst-mtrace.c (main): Likewise.
49910         * malloc/tst-realloc.c (do_test): Likewise.
49912 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49914         [BZ #16366]
49915         * nscd/netgroupcache.c (do_notfound): New function.
49916         (addgetnetgrentX): Use it.
49918         [BZ # 16365]
49919         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49920         NSS_STATUS_NOTFOUND.
49922 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49924         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49927 2014-01-01  Allan McRae  <allan@archlinux.org>
49929         * scripts/update-copyrights: Update configure input file suffix.
49931         * NEWS: Update copyright year.
49932         * catgets/gencat.c: Likewise.
49933         * csu/version.c: Likewise.
49934         * debug/catchsegv.sh: Likewise.
49935         * debug/pcprofiledump.c: Likewise.
49936         * debug/xtrace.sh: Likewise.
49937         * elf/ldconfig.c: Likewise.
49938         * elf/ldd.bash.in: Likewise.
49939         * elf/pldd.c: Likewise.
49940         * elf/sotruss.ksh: Likewise.
49941         * elf/sprof.c: Likewise.
49942         * iconv/iconv_prog.c: Likewise.
49943         * iconv/iconvconfig.c: Likewise.
49944         * locale/programs/locale.c: Likewise.
49945         * locale/programs/localedef.c: Likewise.
49946         * login/programs/pt_chown.c: Likewise.
49947         * malloc/memusage.sh: Likewise.
49948         * malloc/memusagestat.c: Likewise.
49949         * malloc/mtrace.pl: Likewise.
49950         * manual/libc.texinfo: Likewise.
49951         * nscd/nscd.c: Likewise.
49952         * nss/getent.c: Likewise.
49953         * nss/makedb.c: Likewise.
49954         * posix/getconf.c: Likewise.
49955         * scripts/test-installation.pl: Likewise.
49957         * All files with FSF copyright notices: Update copyright dates
49958         using scripts/update-copyrights.
49959         * intl/plural.c: Regenerated.
49960         * locale/programs/charmap-kw.h: Likewise.
49961         * locale/programs/locfile-kw.h: Likewise.
49963 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49965         * sysdeps/unix/sysv/linux/configure: Regenerated.
49966         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49967         the linux/fanotify.h header.
49968         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49969         HAVE_LINUX_FANOTIFY_H is defined.
49971 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49973         * benchtests/cos-inputs: New inputs.
49974         * benchtests/sin-inputs: Likewise.
49976         * benchtests/atan-inputs: New inputs. Fix name of multiple
49977         precision fallback inputs.
49979         * benchtests/atanh-inputs: New inputs.
49980         * benchtests/tanh-inputs: Likewise.
49982         * benchtests/acosh-inputs: New inputs.
49983         * benchtests/asinh-inputs: Likewise.
49985         * benchtests/cosh-inputs: New inputs.
49986         * benchtests/sinh-inputs: Likewise.
49988         * benchtests/acos-inputs: Add more inputs.
49989         * benchtests/asin-inputs: Likewise.
49991 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49993         [BZ #16375]
49994         * manual/arith.texi: Fix spelling.
49995         * manual/charset.texi: Likewise.
49996         * manual/errno.texi: Likewise.
49997         * manual/filesys.texi: Likewise.
49998         * manual/lang.texi: Likewise.
49999         * manual/llio.texi: Likewise.
50000         * manual/locale.texi: Likewise.
50001         * manual/message.texi: Likewise.
50002         * manual/resource.texi: Likewise.
50003         * manual/search.texi: Likewise.
50004         * manual/setjmp.texi: Likewise.
50005         * manual/stdio.texi: Likewise.
50006         * manual/string.texi: Likewise.
50007         * manual/sysinfo.texi: Likewise.
50008         * manual/time.texi: Likewise.
50010 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
50012         * po/sl.po: New file.
50014 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
50016         * .gitignore: Add core/.gdbinit/.gdb_history.
50018 2013-12-27  Allan McRae  <allan@archlinux.org>
50020         [BZ #16369]
50021         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
50022         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
50024 2013-12-24  Brooks Moses  <bmoses@google.com>
50026         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
50027         all compilers that claim C++98 compliance, not just GCC.
50028         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
50029         Likewise.
50031 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50033         * NEWS: Restore accidentally deleted bug-fix entries.
50035 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50036             Ondřej Bílka  <neleai@seznam.cz>
50038         [BZ #15073]
50039         * malloc/malloc.c (_int_free): Perform sanity check only if we
50040         have_lock.
50042 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50044         [BZ #12986]
50045         * manual/stdio.texi (String Input Conversions): Clarify that character
50046         classes are not supported.
50048 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50052 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50054         [BZ #16337]
50055         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50056         Calculate results for small negative arguments directly rather
50057         than using reflection formula with special underflow handling.
50059         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50060         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50061         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50062         (fchflags): Likewise.
50063         (revoke): Likewise.
50064         (setlogin): Likewise.
50065         (sigaltstack): Likewise.
50066         (wait4): Likewise.
50067         (sigblock): Remove.
50068         (sigsetmask): Likewise.
50069         (wait3): Likewise.
50070         (waitpid): Likewise.
50071         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50072         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50073         file.
50074         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50075         * sysdeps/unix/bsd/Makefile: ... here.
50076         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50077         * sysdeps/unix/bsd/Versions: ... here.
50078         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50079         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50080         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50081         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50082         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50083         * sysdeps/unix/bsd/sigblock.c: ... here.
50084         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50085         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50086         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50087         * sysdeps/unix/bsd/sigvec.c: ... here.
50088         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50089         * sysdeps/unix/bsd/tcdrain.c: ... here.
50090         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50091         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50092         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50093         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50094         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50095         * sysdeps/unix/bsd/wait.c: ... here.
50096         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50097         * sysdeps/unix/bsd/wait3.c: ... here.
50098         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50099         * sysdeps/unix/bsd/waitpid.c: ... here.
50101 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50103         [BZ #16356]
50104         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50105         round-to-nearest for [!USE_AS_EXPM1L].
50106         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50107         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50108         more tests of exp and exp10.  Expect some exp10 tests to miss
50109         exceptions or fail in directed rounding modes.
50110         * math/auto-libm-test-out: Regenerated.
50111         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50112         (exp10_test_tonearest): New function.
50113         (exp10_towardzero_test_data): New array.
50114         (exp10_test_towardzero): New function.
50115         (exp10_downward_test_data): New array.
50116         (exp10_test_downward): New function.
50117         (exp10_upward_test_data): New array.
50118         (exp10_test_upward): New function.
50119         (main): Call the new functions.
50120         * sysdeps/i386/fpu/libm-test-ulps: Update.
50121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50123 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50125         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50126         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50127         * math/auto-libm-test-out: Regenerated.
50128         * math/libm-test.inc (acosh_test_data): Add more tests.
50129         (atanh_test_data): Likewise.
50130         (ceil_test_data): Likewise.
50131         (copysign_test_data): Likewise.
50132         * sysdeps/i386/fpu/libm-test-ulps: Update.
50133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50135         * timezone/checktab.awk: Update from tzcode 2013i.
50136         * timezone/private.h: Likewise.
50137         * timezone/scheck.c: Likewise.
50138         * timezone/tzfile.h: Likewise.
50139         * timezone/tzselect.ksh: Likewise.
50140         * timezone/zdump.c: Likewise.
50141         * timezone/zic.c: Likewise.
50143         * math/auto-libm-test-in: Add tests of cpow.
50144         * math/auto-libm-test-out: Regenerated.
50145         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50146         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50147         mpc_cc_c.
50148         (func_calc_desc): Add mpc_cc_c union field.
50149         (test_functions): Add cpow.
50150         (special_fill_2pi): New function.
50151         (special_real_inputs): Add 2pi.
50152         (calc_generic_results): Handle mpc_cc_c.
50153         * sysdeps/i386/fpu/libm-test-ulps: Update.
50154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50156         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50157         csqrt, ctan and ctanh.
50158         * math/auto-libm-test-out: Regenerated.
50159         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50160         (TEST_COND_x86): Likewise.
50161         (ccos_test_data): Use AUTO_TESTS_c_c.
50162         (ccosh_test_data): Likewise.
50163         (cexp_test_data): Likewise.
50164         (clog_test_data): Likewise.
50165         (csqrt_test_data): Likewise.
50166         (ctan_test_data): Likewise.
50167         (ctan_tonearest_test_data): Likewise.
50168         (ctan_towardzero_test_data): Likewise.
50169         (ctan_downward_test_data): Likewise.
50170         (ctan_upward_test_data): Likewise.
50171         (ctanh_test_data): Likewise.
50172         (ctanh_tonearest_test_data): Likewise.
50173         (ctanh_towardzero_test_data): Likewise.
50174         (ctanh_downward_test_data): Likewise.
50175         (ctanh_upward_test_data): Likewise.
50176         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50177         mpc_c_c.
50178         (func_calc_desc): Add mpc_c_c union field.
50179         (FUNC_mpc_c_c): New macro.
50180         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50181         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50182         ctanh.
50183         (special_fill_min_subnorm_p120): New function.
50184         (special_real_inputs): Add min_subnorm_p120.
50185         (calc_generic_results): Handle mpc_c_c.
50186         * sysdeps/i386/fpu/libm-test-ulps: Update.
50187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50189 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50191         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50192         (do_sin_slow): New functions.
50193         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50194         (cslow2, csloww1, csloww2): Use the new functions.
50196         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50197         Use M to change sign of result instead of X.  Assume X is
50198         positive.
50199         (csloww1): Likewise.
50200         (__sin): Adjust.
50201         (__cos): Adjust.
50203         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50204         arguments A and DA.
50205         (__sin): Adjust.
50206         (__cos): Likewise.
50208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50209         (__cos): Likewise.
50210         (sloww1): Don't adjust sign of DX.
50211         (csloww1): Likewise.
50212         (sloww2): Use X directly and don't adjust sign of DX.
50213         (csloww2): Likewise.
50215 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50217         * math/auto-libm-test-in: Add tests of cabs and carg.
50218         * math/auto-libm-test-out: Regenerated.
50219         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50220         (carg_test_data): Likewise.
50221         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50222         mpc_c_f.
50223         (func_calc_desc): Add mpc_c_f union field.
50224         (test_functions): Add cabs and carg.
50225         (calc_generic_results): Handle mpc_c_f.
50227         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50228         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50229         as a macro and a compat symbol.
50230         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50231         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50232         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50233         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50234         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50235         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50236         not use .hidden.
50237         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50238         Likewise.
50239         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50240         Likewise.
50241         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50242         Likewise.
50243         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50244         Likewise.
50245         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50246         Likewise.
50247         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50248         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50249         from GLIBC_2.3.2.
50251 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50255 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50257         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50258         trailing whitespace removed.
50259         * scripts/config.guess: Update to version 2013-11-29.
50260         * scripts/config.sub: Update to version 2013-10-01.
50262         * math/auto-libm-test-in: Add tests of sincos.
50263         * math/auto-libm-test-out: Regenerated.
50264         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50265         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50266         mpfr_f_11.
50267         (func_calc_desc): Add mpfr_f_11 union field.
50268         (test_functions): Add sincos.
50269         (calc_generic_results): Handle mpfr_f_11.
50270         * sysdeps/i386/fpu/libm-test-ulps: Update.
50271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50273 2013-12-19  Andreas Schwab  <schwab@suse.de>
50275         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50276         CALL_MCOUNT.
50277         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50278         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50279         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50281 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50283         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50284         * sysdeps/i386/fpu/libm-test-ulps: Update.
50285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50287         [BZ #16293]
50288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50289         round-to-nearest mode when using frndint.
50290         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50291         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50292         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50293         Likewise.
50294         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50295         sinh test to fail.
50296         * math/auto-libm-test-out: Regenerated.
50297         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50298         (TEST_COND_x86): Likewise.
50299         (expm1_tonearest_test_data): New array.
50300         (expm1_test_tonearest): New function.
50301         (expm1_towardzero_test_data): New array.
50302         (expm1_test_towardzero): New function.
50303         (expm1_downward_test_data): New array.
50304         (expm1_test_downward): New function.
50305         (expm1_upward_test_data): New array.
50306         (expm1_test_upward): New function.
50307         (main): Run the new test functions.
50308         * sysdeps/i386/fpu/libm-test-ulps: Update.
50309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50311         * include/features.h: Update comment documenting feature test
50312         macros.  Mention _DEFAULT_SOURCE in comment.
50313         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50314         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50315         _BSD_SOURCE and _SVID_SOURCE.
50316         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50317         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50318         !_SVID_SOURCE]: Likewise.
50319         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50320         (__USE_POSIX_IMPLICITLY): Define.
50321         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50322         (_POSIX_SOURCE): Undefine and redefine.
50323         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50324         (_POSIX_C_SOURCE): Likewise.
50325         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50326         (Feature Test Macros): Update documentation of default features.
50328 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50330         * benchtests/Makefile: Add bench-strtok.
50331         * benchtests/bench-strtok.c: New file: strtok benchtest.
50333 2013-12-19  Allan McRae  <allan@archlinux.org>
50335         * manual/install.texi: Suppress menu for plain text output.
50336         * INSTALL: Regenerated.
50338 2013-12-18  Brooks Moses  <bmoses@google.com>
50340         [BZ #15846]
50341         * misc/getauxval.c: Include errno.h.
50342         (__getauxval): Set errno to ENOENT if the requested type is not
50343         found.
50344         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50345         don't declare with __attribute_const__.
50346         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50347         * manual/startup.texi: Document that getauxval sets errno.
50349 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50351         * math/auto-libm-test-in: Add tests of jn and yn.
50352         * math/auto-libm-test-out: Regenerated.
50353         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50354         (yn_test_data): Likewise.
50355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50356         mpfr_if_f.
50357         (func_calc_desc): Add mpfr_if_f union field.
50358         (FUNC_mpfr_if_f): New macro.
50359         (test_functions): Add jn and yn.
50360         (calc_generic_results): Assert type of second input for
50361         mpfr_ff_f.  Handle mpfr_if_f.
50362         (output_for_one_input_case): Disable all checking for arguments
50363         fitting floating-point types in case of an integer argument.
50364         * sysdeps/i386/fpu/libm-test-ulps: Update.
50365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50368         Don't expect fegetround reference in libm.so.
50370 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50372         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50373         $(config-cflags-nofma).
50375 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50377         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50378         * math/auto-libm-test-out: Regenerated.
50380         [BZ #16338]
50381         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
50382         to determine exponent and adjust argument to have exponent of -1.
50383         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
50384         log2.
50385         * math/auto-libm-test-out: Regenerated.
50386         * sysdeps/i386/fpu/libm-test-ulps: Update.
50387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50389 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
50391         * manual/probes.texi: Remove cases when per-thread arenas are
50392         disabled.
50394 2013-12-18  Andreas Schwab  <schwab@suse.de>
50396         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
50397         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
50398         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
50399         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
50400         * sysdeps/i386/i686/multiarch/Makefile: Update.
50401         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
50403 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50405         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
50406         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
50408 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
50410         [BZ #15968]
50411         Support TZ transition times < 00:00:00.
50412         This is needed for version-3 tz-format files; it supports time
50413         stamps past 2037 for America/Godthab (the only entry in the tz
50414         database for which this change is relevant).
50415         * manual/time.texi (TZ Variable): Document transition times
50416         from -167:59:59 through -00:00:01.
50417         * time/tzset.c (tz_rule): Time of day is now signed.
50418         (__tzset_parse_tz): Parse negative time of day.
50420         Document TZ transition times >= 25:00:00.
50421         * manual/time.texi (TZ Variable): Document transition times from
50422         25:00:00 through 167:59:59.  These are already supported, and this
50423         support will help with version-3 tz-format files.
50425         * manual/time.texi (TZ Variable): Modernize North America example
50426         to reflect current (i.e., 2007-and-later) daylight saving rules.
50428         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
50430 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50432         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
50433         * sysdeps/unix/bsd/bits/stat.h: Likewise.
50434         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
50435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50436         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
50437         * sysdeps/unix/bsd/bsdstat.h: Likewise.
50438         * sysdeps/unix/bsd/clock.c: Likewise.
50439         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
50440         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
50441         * sysdeps/unix/bsd/init-posix.c: Likewise.
50442         * sysdeps/unix/bsd/poll.c: Likewise.
50443         * sysdeps/unix/bsd/ptsname.c: Likewise.
50444         * sysdeps/unix/bsd/seekdir.c: Likewise.
50445         * sysdeps/unix/bsd/setegid.c: Likewise.
50446         * sysdeps/unix/bsd/seteuid.c: Likewise.
50447         * sysdeps/unix/bsd/setgid.c: Likewise.
50448         * sysdeps/unix/bsd/setrgid.c: Likewise.
50449         * sysdeps/unix/bsd/setruid.c: Likewise.
50450         * sysdeps/unix/bsd/setsid.c: Likewise.
50451         * sysdeps/unix/bsd/setuid.c: Likewise.
50452         * sysdeps/unix/bsd/sigaction.c: Likewise.
50453         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
50454         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
50455         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50456         * sysdeps/unix/bsd/telldir.c: Likewise.
50457         * sysdeps/unix/bsd/times.c: Likewise.
50458         * sysdeps/unix/bsd/usleep.c: Likewise.
50460         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50461         ($(objpfx)libbsd-compat.a): Remove rule.
50463         * include/features.h (__FAVOR_BSD): Do not define.
50464         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50465         features conflicting with POSIX.
50466         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50467         (_BSD_SOURCE): Remove description of not being a subset of other
50468         feature test macros.
50469         * manual/job.texi (getpgrp): Do not document BSD version.
50470         (getpgid): Do not document by reference to BSD getpgrp.
50471         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50472         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50473         * signal/signal.h [__FAVOR_BSD]: Likewise.
50474         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50475         instead of making contents conditional on [__FAVOR_BSD].
50476         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50478 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50482 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50484         [BZ #16314]
50485         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50486         values below 2**-450, not 2**-500.
50487         * math/auto-libm-test-in: Don't allow spurious underflow from
50488         hypot.
50489         * math/auto-libm-test-out: Regenerated.
50491         [BZ #16316]
50492         [BZ #16330]
50493         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50494         values of ha and hb and sort them after adjusting subnormal
50495         arguments.
50496         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50497         Likewise.
50498         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50499         values of ea and eb and sort them after adjusting subnormal
50500         arguments.
50501         * math/auto-libm-test-in: Do not expect some hypot tests of
50502         subnormals to fail.  Add more hypot tests.
50503         * math/auto-libm-test-out: Regenerated.
50505 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50507         [BZ #13304]
50508         * sysdeps/sh/s_fma.c: New file.
50509         * sysdeps/sh/s_fmaf.c: New file.
50510         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50511         version.
50512         * sysdeps/sh/Implies: Add sh/soft-fp.
50514 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50516         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50517         level of indirection to members `objname', `errstring', `malloced'.
50518         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50519         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50520         it as the __longjmp argument (just pass 1 instead).
50521         (_dl_catch_error): Initialize C with argument pointers and address of
50522         volatile local ERRCODE rather than copying values out of C at return.
50524 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50526         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50527         * math/auto-libm-test-out: Regenerated.
50528         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50529         (hypot_test_data): Likewise.
50530         (pow_test_data): Likewise.
50531         (pow_tonearest_test_data): Likewise.
50532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50533         mpfr_ff_f.
50534         (func_calc_desc): Add mpfr_ff_f union field.
50535         (FUNC_mpfr_ff_f): New macro.
50536         (test_functions): Add atan2, hypot and pow.
50537         (special_fill_min): New function.
50538         (special_fill_minus_min): Likewise.
50539         (special_fill_min_subnorm): Likewise.
50540         (special_fill_minus_min_subnorm): Likewise.
50541         (special_real_inputs): Add min, -min, min_subnorm and
50542         -min_subnorm.
50543         (calc_generic_results): Handle mpfr_ff_f.
50544         * sysdeps/i386/fpu/libm-test-ulps: Update.
50545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50547 2013-12-16  Will Newton  <will.newton@linaro.org>
50549         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50550         (Aligned Memory Blocks): Add documentation for aligned_alloc
50551         and suggest it as an alternative to posix_memalign.
50552         (Hooks for Malloc): Document __memalign_hook is also called
50553         for aligned_alloc.  (Summary of Malloc): Add summary for
50554         aligned alloc.  Document __memalign_hook is also called
50555         for aligned_alloc.
50557 2013-12-16  Will Newton  <will.newton@linaro.org>
50559         * manual/memory.texi (Malloc Examples): Clarify default
50560         alignment documentation.  Suggest posix_memalign rather
50561         than memalign or valloc.
50562         (Aligned Memory Blocks): Remove suggestion to use memalign
50563         or valloc.  Remove obsolete comment about BSD.
50564         Document memalign errno values and mark the function obsolete.
50565         Document posix_memalign returned error codes.  Mark valloc
50566         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50567         called for posix_memalign and valloc.
50568         (Summary of Malloc): Add posix_memalign to function summary.
50569         __memalign_hook is also called for posix_memalign and valloc.
50571 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50573         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50574         TAYLOR_SIN.
50575         (__sin): Adjust.
50576         (__cos): Likewise.
50577         (sloww): Use mynumber union.  Expand ternary operator into
50578         if-else statements.
50579         (cslow): use mynumber union.
50581 2013-12-16  Allan McRae  <allan@archlinux.org>
50583         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50584         * configure: Regenerated.
50586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50588         [BZ #14120]
50589         * configure.ac: Added --enable-maintainer-mode. Check for
50590         autoconf when enabled.
50591         * configure: Regenerated.
50593         * nscd/nscd.service: New file.
50594         * nscd/nscd.tmpfiles: New file.
50596 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50598         [BZ #12100]
50599         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50600         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50601         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50602         (strstr): Add __strstr_sse2_unaligned ifunc.
50603         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50604         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50605         (strcasestr): Remove __strcasestr_sse42 ifunc.
50606         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50610 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50612         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50613         * sysdeps/sh/bits/fenv.h: ... here.
50614         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50616 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50618         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50621         hypotf multiarch implementations.
50622         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50623         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50624         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50625         multiarch hypot for PPC64.
50626         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50629         multiarch hypotf for PPC64.
50631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50632         modff multiarch implementations.
50633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50636         multiarch modf for PPC64.
50637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50640         multiarch modff for PPC64.
50642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50643         and logl multiarch implementations.
50644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50647         multiarch logb for PPC64.
50648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50651         multiarch logb for PPC64.
50652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50655         multiarch logb for PPC64.
50657         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50658         isinff multiarch implementation.
50659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50660         file.
50661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50663         multiarch isinf for PPC64.
50664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50665         file.
50666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50667         multiarch isinff for PPC64.
50669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50670         finitef multiarch implementation.
50671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50672         file.
50673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50675         multiarch finite for PPC64.
50676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50677         file.
50678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50679         multiarch finitef for PPC64.
50681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50682         lrint multiarch implementation.
50683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50684         file.
50685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50687         multiarch llrint for PPC64.
50688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50689         multiarch lrint for PPC64.
50691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50692         copysignf multiarch implementation.
50693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50694         file.
50695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50696         file.
50697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50698         multiarch copysign for PPC64.
50699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50700         multiarch copysignf for PPC64.
50702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50703         multiarch implementation.
50704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50705         file.
50706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50707         file.
50708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50709         file.
50710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50711         file.
50712         multiarch llround for PPC64.
50713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50714         multiarch trunc for PPC64.
50715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50716         multiarch truncf for PPC64.
50718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50719         multiarch implementation.
50720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50721         file.
50722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50723         file.
50724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50725         file.
50726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50727         file.
50728         multiarch llround for PPC64.
50729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50730         multiarch round for PPC64.
50731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50732         multiarch roundf for PPC64.
50734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50735         multiarch implementation.
50736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50737         file.
50738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50739         file.
50740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50741         file.
50742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50743         file.
50744         multiarch llround for PPC64.
50745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50746         multiarch floor for PPC64.
50747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50748         multiarch floorf for PPC64.
50750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50751         multiarch implementation.
50752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50753         file.
50754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50755         file.
50756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50757         file.
50758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50759         file.
50760         multiarch llround for PPC64.
50761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50762         multiarch ceil for PPC64.
50763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50764         multiarch ceilf for PPC64.
50766         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50767         multiarch implementation.
50768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50769         file.
50770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50771         file.
50772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50773         file.
50774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50775         multiarch llround for PPC64.
50776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50777         multiarch lround for PPC64.
50779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50780         multiarch implementation.
50781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50784         file.
50785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50788         multiarch isnan for PPC64.
50789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50790         multiarch isnanf for PPC64.
50792         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50793         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50794         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50795         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50796         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50799         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50800         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50801         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50802         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50805         multiarch implementations.
50806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50807         (__libc_ifunc_impl_list): Likewise.
50808         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50809         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50810         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50811         multiarch stpcpy for PPC64.
50813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50814         multiarch implementations.
50815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50816         (__libc_ifunc_impl_list): Likewise.
50817         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50818         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50819         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50820         multiarch strcpy for PPC64.
50822         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50823         redefine function name.
50824         (_wordcopy_fwd_dest_aligned): Likewise.
50825         (_wordcopy_bwd_aligned): Likewise.
50826         (_wordcopy_bwd_dest_aligned): Likewise.
50827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50828         multiarch implementations.
50829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50830         (__libc_ifunc_impl_list): Likewise.
50831         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50832         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50833         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50834         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50835         multiarch wcscpy for PPC64.
50837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50838         multiarch implementations.
50839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50840         (__libc_ifunc_impl_list): Likewise.
50841         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50842         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50843         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50844         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50845         multiarch wcscpy for PPC64.
50847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50848         multiarch implementations.
50849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50850         (__libc_ifunc_impl_list): Likewise.
50851         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50852         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50853         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50854         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50855         multiarch wcsrchr for PPC64.
50857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50858         multiarch implementations.
50859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50860         (__libc_ifunc_impl_list): Likewise.
50861         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50862         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50863         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50864         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50865         multiarch wcschr for PPC64.
50867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50868         multiarch implementations.
50869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50870         (__libc_ifunc_impl_list): Likewise.
50871         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50872         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50873         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50874         multiarch strchrnul for PPC64.
50876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50877         implementations.
50878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50879         (__libc_ifunc_impl_list): Likewise.
50880         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50881         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50882         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50883         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50884         strchr for PPC64.
50886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50887         implementations.
50888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50889         (__libc_ifunc_impl_list): Likewise.
50890         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50891         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50892         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50893         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50894         strncmp for PPC64.
50896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50897         multiarch implementations.
50898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50899         (__libc_ifunc_impl_list): Likewise.
50900         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50901         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50902         strncasecmp for PPC64.
50903         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50904         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50905         multiarch strncasecmp_l for PPC64.
50907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50908         multiarch implementations.
50909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50910         (__libc_ifunc_impl_list): Likewise.
50911         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50912         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50913         multiarch strcasecmp for PPC64.
50914         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50915         file.
50916         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50917         multiarch strcasecmp_l for PPC64.
50919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50920         implementations.
50921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50922         (__libc_ifunc_impl_list): Likewise.
50923         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50924         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50925         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50926         strnlen for PPC64.
50928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50929         implementations.
50930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50931         (__libc_ifunc_impl_list): Likewise.
50932         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50933         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50934         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50935         strlen for PPC64.
50937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50938         implementations.
50939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50940         (__libc_ifunc_impl_list): Likewise.
50941         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50942         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50943         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50944         rawmemrchr for PPC64.
50946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50947         implementation.
50948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50949         (__libc_ifunc_impl_list): Likewise.
50950         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50951         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50952         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50953         memrchr for PPC64.
50955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50956         implementation.
50957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50958         (__libc_ifunc_impl_list): Likewise.
50959         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50960         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50961         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50962         memchr for PPC64.
50964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50965         implementation.
50966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50967         (__libc_ifunc_impl_list): Likewise.
50968         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50969         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50970         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50971         mempcpy for PPC64.
50973         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50974         avoid cretion of __bzero symbol.
50975         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50976         Likewise.
50977         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50978         Likewise.
50979         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50980         Likewise.
50981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50982         multiarch implementations.
50983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50984         (__libc_ifunc_impl_list): Likewise.
50985         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50986         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50987         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50988         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50989         bzero for PPC32.
50990         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50991         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50992         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50993         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50994         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50995         memset for PPC64.
50996         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50998         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
51000         implementations.
51001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51002         (__libc_ifunc_impl_list): Likewise.
51003         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
51004         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
51005         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
51006         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
51007         memcmp for PPC64.
51009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
51010         multiarch for POWER/PPC64.
51011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
51012         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
51013         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
51014         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
51015         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
51016         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
51017         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
51018         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
51019         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
51020         memcpy for PPC64.
51022         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
51023         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
51024         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
51025         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
51026         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
51027         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
51028         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
51029         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
51030         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
51031         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
51032         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
51033         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
51034         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
51035         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
51036         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
51037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
51038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
51039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
51040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
51041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51045 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51047         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51049 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51051         * benchtests/Makefile (bench): Add exp2 and log2.
51052         (LDLIBS-bench-exp2): Add -lm.
51053         (LDLIBS-bench-log2): Likewise.
51054         * benchtests/exp2-inputs: New inputs file.
51055         * benchtests/log2-inputs: New inputs file.
51056         * benchtests/log-inputs: Add new inputs.
51057         * benchtests/tan-inputs: Likewise.
51059 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51061         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51062         definition...
51063         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51064         (csloww2): ... from here.
51066         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51067         instead of structures.
51068         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51069         (POLYNOMIAL): Likewise.
51070         (TAYLOR_SLOW): Likewise.
51071         (__sin): Likewise.
51072         (__cos): Likewise.
51073         (slow1): Likewise.
51074         (slow2): Likewise.
51075         (sloww): Likewise.
51076         (sloww1); Likewise.
51077         (sloww2): Likewise.
51078         (bsloww1): Likewise.
51079         (bsloww2): Likewise.
51080         (cslow2): Likewise.
51081         (csloww): Likewise.
51082         (csloww1): Likewise.
51083         (csloww2): Likewise.
51085 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51087         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51088         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51089         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51090         * malloc/hooks.c (realloc_check): Likewise.
51092         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51093         * malloc/arena.c: Remove PER_THREAD conditional.
51094         [!PER_THREAD]: Remove code.
51095         (ptmalloc_unlock_all2): Likewise.
51096         (ptmalloc_init): Likewise.
51097         (_int_new_arena): Likewise.
51098         (arena_get2): Likewise.
51099         * malloc/hooks.c (__malloc_get_state): Likewise.
51100         (__malloc_set_state): Likewise.
51101         * malloc/malloc.c: Likewise.
51102         (struct malloc_state): Likewise.
51103         (struct malloc_par): Likewise.
51104         (__libc_realloc): Likewise.
51105         (__libc_mallopt): Likewise.
51107 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51109         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51111 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51113         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51114         macro to a function.  Check for zero perturb_byte.
51115         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51117         * malloc/malloc.c: (force_reg): Remove.
51118         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51119         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51120         force_reg by atomic_forced_read.
51121         * malloc/arena.c (ptmalloc_init): Likewise.
51122         * malloc/hooks.c (top_check): Likewise.
51124 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51128 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51132 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51134         * math/auto-libm-test-in: Add tests of lgamma.
51135         * math/auto-libm-test-out: Regenerated.
51136         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51137         (M_LOG_2_SQRT_PIl): Likewise.
51138         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51139         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51140         mpfr_f_f1.
51141         (func_calc_desc): Add mpfr_f_f1 union field.
51142         (ARGS1): New macro.
51143         (ARGS2): Likewise.
51144         (ARGS3): Likewise.
51145         (ARGS4): Likewise.
51146         (RET1): Likewise.
51147         (RET2): Likewise.
51148         (CALC): Likewise.
51149         (FUNC): Likewise.
51150         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51151         (test_functions): Add lgamma.
51152         (calc_generic_results): Handle mpfr_f_f1.
51153         * sysdeps/i386/fpu/libm-test-ulps: Update.
51154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51156 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51158         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51159         __mpn_add_n for PowerPC64/POWER7.
51160         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51161         __mpn_sub_n for PowerPC64/POWER7.
51163         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51164         __mpn_addmul_1 for PowerPC64.
51165         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51166         __mpn_submul_1 for PowerPC64.
51167         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51168         for PowerPC64.
51169         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51170         for PowerPC64.
51172 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51174         [BZ #15089]
51175         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51177 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51179         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51181         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51182         add multiarch folders.
51183         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51184         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51185         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51186         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51187         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51188         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51189         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51190         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51191         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51192         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51193         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51202         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51204         New file.
51205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51206         New file.
51207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51208         multiarch __ieee754_hypot for PowerPC32.
51209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51210         New file.
51211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51212         New file.
51213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51214         multiarch __ieee754_hypotf for PowerPC32.
51216         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51217         long_double_symbol only if __logbl is defined.
51218         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51219         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51221         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51222         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51223         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51224         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51225         path for implementation.
51226         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51227         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51229         logb, and logbl multiarch implementations for PowerPC32.
51230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51231         file.
51232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51233         file.
51234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51235         multiarch logb for PowerPC32.
51236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51237         file.
51238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51239         file.
51240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51241         multiarch logbf for PowerPC32.
51242         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51244         file.
51245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51246         multiarch logbl implementation for PowerPC32.
51248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51249         and modff multiarch implementations.
51250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51251         New file.
51252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51253         New file.
51254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51255         multiarch modf for PowerPC32.
51256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51257         New file.
51258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51259         New file.
51260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51261         multiarch modff for PowerPC32.
51263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51264         and lrintf multiarch implementations.
51265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51266         New file.
51267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51268         New file.
51269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51270         multiarch lrint for PowerPC32.
51271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51272         file: multiarch lrintf for PowerPC32.
51274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51275         and lroundf multiarch implementations.
51276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51277         New file.
51278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51279         New file.
51280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51281         New file.
51282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51283         multiarch lround for PowerPC32.
51284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51285         file: multiarch lroundf for PowerPC32.
51287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51288         copysign and copysignf multiarch implementations.
51289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51290         New file.
51291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51292         New file.
51293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51294         file: multiarch copysign for PowerPC32.
51295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51296         file: multiarch copysignf for PowerPC32.
51298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51299         and truncf multiarch implementations.
51300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51301         New file.
51302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51303         file.
51304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51305         multiarch trunc for PowerPC32.
51306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51307         New file.
51308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51309         New file.
51310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51311         multiarch truncf for PowerPC32.
51313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51314         and roundf multiarch implementations.
51315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51316         New file.
51317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51318         file.
51319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51320         multiarch round for PowerPC32.
51321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51322         New file.
51323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51324         New file.
51325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51326         multiarch roundf for PowerPC32.
51328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51329         and floorf multiarch implementations.
51330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51331         New file.
51332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51333         file.
51334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51335         multiarch floor for PowerPC32.
51336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51337         New file.
51338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51339         New file.
51340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51341         multiarch floorf for PowerPC32.
51343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51344         and ceilf multiarch implementations.
51345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51346         New file.
51347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51348         file.
51349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51350         multiarch ceil for PowerPC32.
51351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51352         New file.
51353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51354         file.
51355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51356         multiarch ceilf for PowerPC32.
51358         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51359         is defined.
51360         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51361         FINITEF is defined.
51362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51363         and finitef multiarch implementations.
51364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51365         New file.
51366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51367         file.
51368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51369         multiarch finite for PowerPC32.
51370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51371         New file.
51372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51373         file: multiarch finitef for PowerPC32.
51375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51376         and isinff multiarch implementations.
51377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51378         file.
51379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
51380         file.
51381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
51382         multiarch isinf for PowerPC32.
51383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
51384         New file.
51385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
51386         multiarch isinff for PowerPC32.
51388         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
51389         alias when __isnan is defined.
51390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
51391         and isnanf multiarch implementations.
51392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
51393         file.
51394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
51395         file.
51396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
51397         file.
51398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
51399         file.
51400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
51401         multiarch isnan for PowerPC32.
51402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
51403         New file.
51404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
51405         New file.
51406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
51407         multiarch isnanf for PowerPC32.
51409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
51410         and sqrtf multiarch implementations.
51411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
51412         file.
51413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
51414         file.
51415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
51416         multiarch sqrt for PowerPC32.
51417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
51418         file.
51419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
51420         file.
51421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
51422         multiarch sqrtf for PowerPC32.
51424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
51425         and llroundf multiarch implementations.
51426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
51427         New file.
51428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
51429         New file.
51430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
51431         New file.
51432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
51433         file: multiarch llround for PowerPC32.
51434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
51435         file: multiarch llroundf for PowerPC32.
51437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
51438         multiarch PowerPC32 fpu implementations.
51439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
51440         New file.
51441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
51442         New file.
51443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
51444         multiarch llrint for PowerPC32.
51445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
51446         New file.
51447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
51448         New file.
51449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
51450         file.
51452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
51454         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
51455         file.
51456         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51457         file.
51458         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51459         file.
51460         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51461         multiarch wordcopy for PPC32.
51462         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51463         wordcopy objects.
51464         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51465         (__libc_ifunc_impl_list): Likewise.
51466         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51467         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51468         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51469         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51470         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51471         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51473         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51475         file.
51476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51477         file.
51478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51479         file.
51480         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51481         multiarch wcscpy for PPC32.
51482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51483         multiarch objects.
51484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51485         (__libc_ifunc_impl_list): Likewise.
51486         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51487         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51488         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51489         sysdeps/powerpc/power6/wcscpy.c.
51491         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51493         file.
51494         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51495         file.
51496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51497         file.
51498         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51499         multiarch wcsrchr for PPC32.
51500         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51501         multiarch objects.
51502         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51503         (__libc_ifunc_impl_list): Likewise.
51504         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51505         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51506         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51507         sysdeps/powerpc/power6/wcsrchr.c.
51509         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51510         file.
51511         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51512         file.
51513         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51515         multiarch wcschr for PPc32.
51516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51517         multiarch objects.
51518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51519         (__libc_ifunc_impl_list): Likewise.
51520         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51521         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51522         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51523         sysdeps/powerpc/power6/wcschr.c.
51525         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51526         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51527         file.
51528         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51529         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51530         file: multiarch strchr for PPC32.
51531         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51532         multiarch objects.
51533         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51534         (__libc_ifunc_impl_list): Likewise.
51536         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51537         name.
51538         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51539         file.
51540         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51541         file.
51542         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51543         multiarch strchrnul for PPC32.
51544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51545         multiarch objects.
51546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51547         (__libc_ifunc_impl_list): Likewise.
51549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51550         file.
51551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51552         multiarch strncasecmp for PPC32.
51553         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51554         file.
51555         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51556         multiarch strncasecmp_l for PPC32.
51557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51558         strncasecmp multiarch objects.
51559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51560         (__libc_ifunc_impl_list): Likewise.
51562         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51563         file.
51564         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51565         multiarch strncasecmp for PPC32.
51566         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51567         New file.
51568         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51569         multiarch strcasecmp_l for PPC32.
51570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51571         multiarch objects.
51572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51573         (__libc_ifunc_impl_list): Likewise.
51575         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51576         file.
51577         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51578         file.
51579         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51580         multiarch strncmp for PPC32.
51581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51582         multiarch objects.
51583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51584         (__libc_ifunc_impl_list): Likewise.
51586         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51587         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51588         file.
51589         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51590         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51592         multiarch objects.
51593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51594         (__libc_ifunc_impl_list): Likewise.
51596         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51597         file.
51598         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51599         file.
51600         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51602         multiarch objects.
51603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51604         (__libc_ifunc_impl_list): Likewise.
51606         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51607         file.
51608         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51609         file.
51610         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51611         multiarch rawmemchr for PPC32.
51612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51613         multiarch objects.
51614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51615         (__libc_ifunc_impl_list): Likewise.
51617         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51618         file.
51619         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51620         file.
51621         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51622         file: memrchr multiarch for PPC32.
51623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51624         multiarch objects.
51625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51626         (__libc_ifunc_impl_list): Likewise.
51628         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51629         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51630         file.
51631         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51632         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51633         multiarch memchr for PPC32.
51634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51635         multiarch objects.
51636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51637         (__libc_ifunc_impl_list): Likewise.
51639         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51640         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51641         file.
51642         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51643         file.
51644         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51645         file: multiarch mempcpy for PPC32.
51646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51647         multiarch objects.
51648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51649         (__libc_ifunc_impl_list): Likewise.
51651         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51652         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51653         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51654         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51655         multiarch bzero for PPC32.
51656         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51657         file.
51658         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51659         file.
51660         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51661         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51662         file: multiarch memset for PPC32.
51663         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51665         memset multiarch objects.
51666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51667         (__libc_ifunc_impl_list): Likewise.
51669         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51670         file.
51671         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51672         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51673         memcmp for PPC32.
51674         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51676         multiarch objects.
51677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51678         (__libc_ifunc_impl_list): Likewise.
51680         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51681         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51682         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51683         file.
51684         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51685         file.
51686         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51687         file.
51688         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51689         multiarch memcpy for PPC32.
51690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51691         multiarch objects.
51692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51693         (__libc_ifunc_impl_list): Likewise.
51695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51696         support multiarch for POWER/PPC32.
51697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51698         Likewise.
51699         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51701         Implies file to make multiarch folder appers before the fpu and
51702         default folder for power4 configuration.
51704 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51706         * scripts/bench.pl: Append volatile keyword to type.
51708 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51710         * sysdeps/sh/sotruss-lib.c: New file.
51711         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51713 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51717 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51719         [BZ #6810]
51720         * math/w_tgamma.c: Include <errno.h>.
51721         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51722         * math/w_tgammaf.c: Include <errno.h>.
51723         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51724         * math/w_tgammal.c: Include <errno.h>.
51725         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51726         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51727         underflow.  Add more tgamma tests.
51728         * math/auto-libm-test-out: Regenerated.
51729         * sysdeps/i386/fpu/libm-test-ulps: Update.
51730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51732         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51733         sin, sinh, tan, tanh, tgamma, y0 and y1.
51734         * math/auto-libm-test-out: Regenerated.
51735         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51736         (TEST_COND_x86): Likewise.
51737         (M_E2l): Remove macro.
51738         (M_E3l): Likewise.
51739         (M_2_SQRT_PIl): Likewise.
51740         (M_SQRT_PIl): Likewise.
51741         (M_1_DIV_El): Likewise.
51742         (log_test_data): Use AUTO_TESTS_f_f.
51743         (log10_test_data): Likewise.
51744         (log1p_test_data): Likewise.
51745         (log2_test_data): Likewise.
51746         (sin_test_data): Likewise.
51747         (sin_tonearest_test_data): Likewise.
51748         (sin_towardzero_test_data): Likewise.
51749         (sin_downward_test_data): Likewise.
51750         (sin_upward_test_data): Likewise.
51751         (sinh_test_data): Likewise.
51752         (sinh_tonearest_test_data): Likewise.
51753         (sinh_towardzero_test_data): Likewise.
51754         (sinh_downward_test_data): Likewise.
51755         (sinh_upward_test_data): Likewise.
51756         (tan_test_data): Likewise.
51757         (tan_tonearest_test_data): Likewise.
51758         (tan_towardzero_test_data): Likewise.
51759         (tan_downward_test_data): Likewise.
51760         (tan_upward_test_data): Likewise.
51761         (tanh_test_data): Likewise.
51762         (tgamma_test_data): Likewise.
51763         (y0_test_data): Likewise.
51764         (y1_test_data): Likewise.
51765         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51766         (special_real_inputs): Add pi/4.
51767         * sysdeps/i386/fpu/libm-test-ulps: Update.
51768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51770 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51772         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51773         "longjmp_target" static probes.
51774         (__longjmp): Rename to __longjmp_symbol.
51775         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51776         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51777         on which longjmp to generate.
51778         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51779         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51780         probe.
51781         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51782         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51783         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51784         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51785         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51786         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51788         __longjmp_symbol based on which __longjmp to generate.
51789         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51790         probe.
51791         (setjmp): Rename to setjmp_symbol.
51792         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51793         (_setjmp): Rename to _setjmp_symbol.
51794         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51795         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51796         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51797         which setjmp to generate.
51798         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51799         "longjmp_target" static probes.
51801 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51803         * benchtests/README: Add note about output arguments.
51804         * benchtests/bench-sincos.c: Remove file.
51805         * benchtests/sincos-inputs: New file.
51806         * scripts/bench.pl: Identify output arguments and define
51807         static variables for them.
51809         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51811         [BZ #15941]
51812         * Makefile (INSTALL): Add install-plain.texi as the primary
51813         dependency.
51814         * manual/install-plain.texi: New file.
51815         * manual/install.texi: Include node directive only for
51816         non-plaintext output.
51818 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51820         * stdlib/longlong.h: Update from GCC.
51822         [BZ #6807]
51823         [BZ #15901]
51824         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51825         * math/w_j0f.c (y0f): Likewise.
51826         * math/w_j0l.c (__y0l): Likewise.
51827         * math/w_j1.c (y1): Likewise.
51828         * math/w_j1f.c (y1f): Likewise.
51829         * math/w_j1l.c (__y1l): Likewise.
51830         * math/w_jn.c (yn): Likewise.
51831         * math/w_jnf.c (ynf): Likewise.
51832         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51833         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51834         value for Bessel function domain errors outside _SVID_ mode.
51835         Adjust sign of return value for yn (negative integer, 0).
51836         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51837         by zero in return for negative x and set sign appropriately for
51838         negative n.
51839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51840         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51841         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51842         expectations in error cases.
51843         (y1_test_data): Likewise.
51844         (yn_test_data): Likewise.
51845         * sysdeps/i386/fpu/libm-test-ulps: Update.
51846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51848 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51850         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51851         "64" to "64-v1".  Add "64-v2".
51852         (abi-64-options): Rename to ...
51853         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51854         (abi-64-condition): Rename to ...
51855         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51856         (abi-64-ld-soname): Rename to ...
51857         (abi-64-v1-ld-soname): ... this.
51858         (abi-64-v2-options): Define.
51859         (abi-64-v2-condition): Likewise.
51860         (abi-64-v2-ld-soname): Likewise.
51861         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51862         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51867 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51868             Alan Modra  <amodra@gmail.com>
51870         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51871         New versions for use with the ELFv2 ABI.
51872         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51873         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51874         declaration.
51875         (struct La_ppc64v2_retval): Likewise.
51876         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51877         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51878         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51879         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51880         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51881         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51882         Do not save or restore CR.
51883         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51884         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51885         return values for ELFv2 ABI.  Fix location of FPR return registers.
51886         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51887         updated values for _CALL_ELF == 2.
51888         (La_regs, La_retval, int_retval): Likewise.
51890 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51892         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51893         (FRAME_MIN_SIZE_PARM): Likewise.
51894         (FRAME_BACKCHAIN): Likewise.
51895         (FRAME_CR_SAVE): Likewise.
51896         (FRAME_LR_SAVE): Likewise.
51897         (FRAME_TOC_SAVE): Likewise.
51898         (FRAME_PARM_SAVE): Likewise.
51899         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51900         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51901         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51902         (call_mcount_parm_offset): New macro.
51903         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51904         (PROF): Use symbolic stack frame offsets.
51905         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51906         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51907         Redefine in terms of FRAME_MIN_SIZE.
51908         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51909         (_dl_profile_resolve): Likewise.  Update comment.
51910         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51911         symbols stack frame offsets.
51912         (__sigsetjmp): Likewise.
51913         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51914         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51915         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51916         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51919         (FRAME_BACKCHAIN): Remove.
51920         (FRAME_CR_SAVE): Likewise.
51921         (FRAME_LR_SAVE): Likewise.
51922         (FRAME_COMPILER_DW): Likewise.
51923         (FRAME_LINKER_DW): Likewise.
51924         (FRAME_TOC_SAVE): Likewise.
51925         (FRAME_PARM_SAVE): Likewise.
51926         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51927         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51928         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51930         (CHECK_SP): Use symbolic stack frame offsets.
51931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51932         zone" instead of caller's parameter save area for temp storage.
51933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51934         Likewise.  Also, use symbolic stack frame offsets.
51935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51936         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51937         our own stack frame instead of the caller's.
51938         (__socket): Use symbolic stack frame offsets.
51940 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51941             Alan Modra  <amodra@gmail.com>
51943         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51944         Define.
51945         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51946         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51947         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51948         New function.
51949         (elf_machine_fixup_plt): Call it.
51950         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51951         reloc arguments.
51952         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51953         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51954         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51955         r2 before calling target.
51957 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51958             Alan Modra  <amodra@gmail.com>
51960         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51961         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51962         versions of macros to support ELFv2 ABI.
51963         (LOCALENTRY): New macro.
51964         (ENTRY, EALIGN): Use it.
51965         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51966         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51967         fall through into ENTRY entry point.
51968         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51969         Only define if _CALL_ELF != 2.
51971         (elf_machine_matches_host): Verify ABI version matches.
51972         (RTLD_START): Use LOCALENTRY.
51973         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51974         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51975         (PLT_ENTRY_WORDS): New macro.
51976         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51977         (elf_machine_runtime_setup): Support ELFv2 ABI.
51978         (elf_machine_fixup_plt): Likewise.
51979         (elf_machine_plt_conflict): Likewise.
51980         (resolve_ifunc): Likewise.
51981         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51982         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51983         Likewise.
51984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51985         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51987         (makecontext): Support ELFv2 ABI.
51988         * elf/elf.h (EF_PPC64_ABI): Define.
51990 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51992         * sysdeps/powerpc/powerpc64/sysdep.h
51993         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51994         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51995         (ENTRY) [ASSEMBLER]: ... but instead here ...
51996         (EALIGN) [ASSEMBLER]: ... and here.
51997         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51998         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51999         (ENTRY_2) [!ASSEMBLER]: Use it.
52000         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
52001         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
52002         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52003         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
52004         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
52005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
52006         Use PPC64_LOAD_FUNCPTR.
52008         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
52010 2013-12-04  Alan Modra  <amodra@gmail.com>
52012         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
52013         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
52014         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
52015         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
52017         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
52018         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
52019         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
52020         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
52021         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
52022         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
52024 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52027         (__makecontext): Fix incorrect CFI when backtracing out of
52028         context created via makecontext.
52029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
52030         (__setcontext): Fix incorrect CFI during switch to new context.
52031         (__novec_setcontext): Likewise.
52033 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52035         [BZ #4772]
52036         * time/strptime_l.c (__strptime_internal): Allow modifiers
52037         in strptime.
52038         * time/tst-strptime.c (day_tests): Add testcase.
52040 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52042         * scripts/bench.pl: Skip over blank lines.
52044 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52046         [BZ #926]
52047         * manual/time.texi (Calendar Time): Clarify what timezone functions
52048         use.
52050 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52054 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52056         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52057         implementation.
52058         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52059         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52060         * debug/memset_chk.c (__memset_chk): Likewise.
52061         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52062         * debug/strncpy_chk.c: Likewise.
52064 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52066         [BZ #15268]
52067         [BZ #15425]
52068         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52069         (__ieee754_exp): For possibly underflowing results, check size of
52070         result and force underflow exception if required.
52071         * math/auto-libm-test-in: Add more tests of exp.
52072         * math/auto-libm-test-out: Regenerated.
52073         * sysdeps/i386/fpu/libm-test-ulps: Update.
52074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52076         [BZ #16283]
52077         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52078         * math/w_exp2f.c (__exp2f): Likewise.
52079         * math/w_exp2l.c (__exp2l): Likewise.
52080         * math/auto-libm-test-in: Do not allow missing errno on exp2
52081         underflow.
52082         * math/auto-libm-test-out: Regenerated.
52084 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52086         [BZ #16274]
52087         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52088         handle filename validation.
52089         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52090         (do_open): Delete.
52092 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52094         [BZ #6786]
52095         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52096         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52097         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52098         <float.h>.
52099         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52100         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52101         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52102         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52103         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52104         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52105         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52106         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52107         Add more erfc tests.
52108         * math/auto-libm-test-out: Regenerated.
52109         * sysdeps/i386/fpu/libm-test-ulps: Update.
52110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52112         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52113         exp2, expm1, j0 and j1.
52114         * math/auto-libm-test-out: Regenerated.
52115         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52116         (erfc_test_data): Likewise.
52117         (exp_test_data): Likewise.
52118         (exp_tonearest_test_data): Likewise.
52119         (exp_towardzero_test_data): Likewise.
52120         (exp_downward_test_data): Likewise.
52121         (exp_upward_test_data): Likewise.
52122         (exp10_test_data): Likewise.
52123         (exp2_test_data): Likewise.
52124         (expm1_test_data): Likewise.
52125         (j0_test_data): Likewise.
52126         (j1_test_data): Likewise.
52127         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52128         (input_flag_type): Add flag_xfail_rounding.
52129         (input_flags): Add xfail-rounding.
52130         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52131         (output_for_one_input_case): Handle flag_xfail_rounding.
52132         * sysdeps/i386/fpu/libm-test-ulps: Update.
52133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52135 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52137         [BZ #16289]
52138         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52139         division by 0.
52141 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52143         [BZ #16195]
52144         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52145         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52146         (STAP_PROBE0): New macro.
52147         (STAP_PROBE1): Likewise.
52148         (STAP_PROBE2): Likewise.
52149         (STAP_PROBE3): Likewise.
52150         (STAP_PROBE4): Likewise.
52152 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52154         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52156 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52158         * benchtests/Makefile (bench): Add sqrt.
52159         (LDLIBS-bench-sqrt): New.
52160         * benchtests/sqrt-input: New.
52162 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52164         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52165         (GAIH_EAI): Likewise.
52166         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52167         (gaih_inet): Likewise.
52168         (getaddrinfo): Don't use GAIH_EAI.
52170         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52171         (struct gaih): Remove definition.
52173 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52175         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52176         Use HERRNOP directly.
52178 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52182 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52184         * math/gen-auto-libm-tests.c (test_functions): Add more
52185         single-argument functions.
52186         (special_fill_pi_2): New function.
52187         (special_fill_minus_pi_2): Likewise.
52188         (special_fill_pi_6): Likewise.
52189         (special_fill_minus_pi_6): Likewise.
52190         (special_fill_pi_3): Likewise.
52191         (special_fill_2pi_3): Likewise.
52192         (special_fill_e): Likewise.
52193         (special_fill_1_e): Likewise.
52194         (special_fill_e_minus_1): Likewise.
52195         (special_real_inputs): Add more special inputs.
52196         (output_for_one_input_case): Do not require ERANGE on underflow to
52197         zero if round-to-nearest result does not underflow to zero, unless
52198         exact results required.
52199         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52200         atan, atanh, cbrt, cos and cosh.
52201         * math/auto-libm-test-out: Regenerated.
52202         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52203         (acos_tonearest_test_data): Likewise.
52204         (acos_towardzero_test_data): Likewise.
52205         (acos_downward_test_data): Likewise.
52206         (acos_upward_test_data): Likewise.
52207         (acosh_test_data): Likewise.
52208         (asin_test_data): Likewise.
52209         (asin_tonearest_test_data): Likewise.
52210         (asin_towardzero_test_data): Likewise.
52211         (asin_upward_test_data): Likewise.
52212         (asinh_test_data): Likewise.
52213         (atan_test_data): Likewise.
52214         (atanh_test_data): Likewise.
52215         (cbrt_test_data): Likewise.
52216         (cos_test_data): Likewise.
52217         (cos_tonearest_test_data): Likewise.
52218         (cos_towardzero_test_data): Likewise.
52219         (cos_downward_test_data): Likewise.
52220         (cos_upward_test_data): Likewise.
52221         (cosh_test_data): Likewise.
52222         (cosh_tonearest_test_data): Likewise.
52223         (cosh_towardzero_test_data): Likewise.
52224         (cosh_downward_test_data): Likewise.
52225         (cosh_upward_test_data): Likewise.
52226         * sysdeps/i386/fpu/libm-test-ulps: Update.
52227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52229 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52231         [BZ #6787]
52232         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52233         * math/w_exp10f.c (__exp10f): Likewise.
52234         * math/w_exp10l.c (__exp10l): Likewise.
52235         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52236         errno settings in existing tests.
52238         [BZ #14032]
52239         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52240         precision control set to double precision.
52241         * sysdeps/i386/fpu/w_sqrt.c: New file.
52242         * math/auto-libm-test-in: Add more tests.
52243         * math/auto-libm-test-out: Update.
52245         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52246         (sqrt_test_tonearest): New function.
52247         (sqrt_towardzero_test_data): New variable.
52248         (sqrt_test_towardzero): New function.
52249         (sqrt_downward_test_data): New variable.
52250         (sqrt_test_downward): New function.
52251         (sqrt_upward_test_data): New variable.
52252         (sqrt_test_upward): New function.
52253         (main): Call the new functions.
52255         * math/gen-auto-libm-tests.c: New file.
52256         * math/auto-libm-test-in: Likewise.
52257         * math/auto-libm-test-out: New generated file.
52258         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52259         variables.
52260         (%beautify): Add generated representations of zero.
52261         (top level): Set $auto_input and call parse_auto_input.
52262         (beautify): Remove trailing "f" from hex float constants.
52263         (parse_args): Handle XFAIL_TEST.
52264         (convert_condition): New function.
52265         (or_value): Likewise.
52266         (or_cond_value): Likewise.
52267         (generate_testfile): Handle AUTO_TESTS_* lines.
52268         (parse_auto_input): New function.
52269         * math/libm-test.inc (XFAIL_TEST): New macro.
52270         (ERRNO_UNCHANGED): Update value.
52271         (ERRNO_EDOM): Likewise.
52272         (ERRNO_ERANGE): Likewise.
52273         (IGNORE_RESULT): Likewise.
52274         (TEST_COND_flt_32): New macro.
52275         (TEST_COND_dbl_64): Likewise.
52276         (TEST_COND_ldbl_96_intel): Likewise.
52277         (TEST_COND_ldbl_96_m68k): Likewise.
52278         (TEST_COND_ldbl_128): Likewise.
52279         (TEST_COND_ldbl_128ibm): Likewise.
52280         (TEST_COND_long32): Likewise.
52281         (TEST_COND_long64): Likewise.
52282         (TEST_COND_before_rounding): Likewise.
52283         (TEST_COND_after_rounding): Likewise.
52284         (enable_test): Handle XFAIL_TEST flag.
52285         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52286         with finite results.
52287         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52288         auto-libm-test-out.
52290 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52291             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52293         [BZ #16214]
52294         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52295         __tls_get_addr_internal instead of __tls_get_offset in order to
52296         avoid GOT pointer dependency.  Make rtld export
52297         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52298         __tls_get_addr since we are a __tls_get_offset platform.
52299         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52300         GOT pointer being set up before.
52301         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52303 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52305         * manual/math.texi (Errors in Math Functions): Document accuracy
52306         goals.
52308         [BZ #15004]
52309         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52310         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52311         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52312         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52313         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52314         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52315         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52316         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52317         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52318         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52319         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52320         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52321         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52322         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52323         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52324         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52326         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52327         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52328         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52329         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52330         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52331         Likewise.
52332         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52333         Likewise.
52334         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52335         Likewise.
52336         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52337         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52338         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52339         atomic-feupdateenv and flt-rounds.
52340         * sysdeps/powerpc/nofpu/Versions (libc): Add
52341         __atomic_feholdexcept, __atomic_feclearexcept,
52342         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52343         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52344         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52345         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52346         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52347         here.
52348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52349         Update.
52351         * manual/arith.texi (FP Exceptions): Document that exceptions may
52352         not be raised when matherr is used.
52353         (Math Error Reporting): Document overflow in directed rounding
52354         modes.  Document that errno may not be set when finite values are
52355         returned on overflow.  Document intent to set errno on underflow
52356         only for underflow to zero.
52358         [BZ #16271]
52359         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52360         round-to-nearest then adjust result for other rounding modes.
52361         * include/fenv.h (fegetround): Use libm_hidden_proto.
52362         * math/fegetround.c (fegetround): Use libm_hidden_def.
52363         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52364         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52365         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52366         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52367         Likewise.
52368         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52369         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52370         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52371         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52373 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52375         [BZ #16077]
52376         * nss/Versions (libnss_files): Add
52377         _nss_files_gethostbyname3_r.
52378         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
52379         New function.
52380         (HOST_DB_LOOKUP): Remove macro.
52381         (_nss_files_gethostbyname_r): Implement function without the
52382         HOST_DB_LOOKUP macro.
52383         (_nss_files_gethostbyname2_r): Likewise.
52385 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
52387         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
52389 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
52391         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
52392         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
52393         warning.
52395 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52397         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52398         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
52399         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52400         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52401         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
52402         __fe_nomask_env_priv and attribute_hidden.
52403         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
52404         (libc_feupdateenv_test_ppc): Likewise.
52405         (libc_feresetround_ppc): Likewise.
52406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52407         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
52408         compat_symbol macro.
52409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52410         (__fe_nomask_env): Likewise.
52411         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
52413 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52415         * string/Makefile: Remove ifunc tests.
52416         * string/test-string.h: Define TEST_IFUNC.
52417         * string/test-bcopy-ifunc.c: Remove.
52418         * string/test-bzero-ifunc.c: Likewise.
52419         * string/test-memccpy-ifunc.c: Likewise.
52420         * string/test-memchr-ifunc.c: Likewise.
52421         * string/test-memcmp-ifunc.c: Likewise.
52422         * string/test-memcpy-ifunc.c: Likewise.
52423         * string/test-memmem-ifunc.c: Likewise.
52424         * string/test-memmove-ifunc.c: Likewise.
52425         * string/test-mempcpy-ifunc.c: Likewise.
52426         * string/test-memrchr-ifunc.c: Likewise.
52427         * string/test-memset-ifunc.c: Likewise.
52428         * string/test-rawmemchr-ifunc.c: Likewise.
52429         * string/test-stpcpy-ifunc.c: Likewise.
52430         * string/test-stpncpy-ifunc.c: Likewise.
52431         * string/test-strcasecmp-ifunc.c: Likewise.
52432         * string/test-strcasestr-ifunc.c: Likewise.
52433         * string/test-strcat-ifunc.c: Likewise.
52434         * string/test-strchr-ifunc.c: Likewise.
52435         * string/test-strchrnul-ifunc.c: Likewise.
52436         * string/test-strcmp-ifunc.c: Likewise.
52437         * string/test-strcpy-ifunc.c: Likewise.
52438         * string/test-strcspn-ifunc.c: Likewise.
52439         * string/test-strlen-ifunc.c: Likewise.
52440         * string/test-strncasecmp-ifunc.c: Likewise.
52441         * string/test-strncat-ifunc.c: Likewise.
52442         * string/test-strncmp-ifunc.c: Likewise.
52443         * string/test-strncpy-ifunc.c: Likewise.
52444         * string/test-strnlen-ifunc.c: Likewise.
52445         * string/test-strpbrk-ifunc.c: Likewise.
52446         * string/test-strrchr-ifunc.c: Likewise.
52447         * string/test-strspn-ifunc.c: Likewise.
52448         * string/test-strstr-ifunc.c: Likewise.
52450 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52452         * benchtests/Makefile: Remove ifunc tests.
52453         * benchtests/bench-string.h: Define TEST_IFUNC.
52454         * benchtests/bench-bcopy-ifunc.c: Remove.
52455         * benchtests/bench-bzero-ifunc.c: Likewise.
52456         * benchtests/bench-memccpy-ifunc.c: Likewise.
52457         * benchtests/bench-memchr-ifunc.c: Likewise.
52458         * benchtests/bench-memcmp-ifunc.c: Likewise.
52459         * benchtests/bench-memcpy-ifunc.c: Likewise.
52460         * benchtests/bench-memmem-ifunc.c: Likewise.
52461         * benchtests/bench-memmove-ifunc.c: Likewise.
52462         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52463         * benchtests/bench-memrchr-ifunc.c: Likewise.
52464         * benchtests/bench-memset-ifunc.c: Likewise.
52465         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52466         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52467         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52468         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52469         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52470         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52471         * benchtests/bench-strcat-ifunc.c: Likewise.
52472         * benchtests/bench-strchr-ifunc.c: Likewise.
52473         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52474         * benchtests/bench-strcmp-ifunc.c: Likewise.
52475         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52476         * benchtests/bench-strcpy-ifunc.c: Likewise.
52477         * benchtests/bench-strcspn-ifunc.c: Likewise.
52478         * benchtests/bench-strlen-ifunc.c: Likewise.
52479         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52480         * benchtests/bench-strncat-ifunc.c: Likewise.
52481         * benchtests/bench-strncmp-ifunc.c: Likewise.
52482         * benchtests/bench-strncpy-ifunc.c: Likewise.
52483         * benchtests/bench-strnlen-ifunc.c: Likewise.
52484         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52485         * benchtests/bench-strrchr-ifunc.c: Likewise.
52486         * benchtests/bench-strsep-ifunc.c: Likewise.
52487         * benchtests/bench-strspn-ifunc.c: Likewise.
52488         * benchtests/bench-strstr-ifunc.c: Likewise.
52490 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52492         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52494 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52496         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52497         * rt/aio.h: Likewise.
52498         * sysdeps/gnu/bits/utmp.h: Likewise.
52499         * sysdeps/gnu/bits/utmpx.h: Likewise.
52500         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52501         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52502         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52503         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52504         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52505         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52506         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52507         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52508         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52509         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52510         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52511         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52512         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52514         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52515         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52516         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52517         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52518         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52519         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52520         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52521         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52522         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52523         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52524         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52526         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52527         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52528         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52529         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52530         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52531         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52532         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52533         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52534         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52535         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52536         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52537         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52538         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52539         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52540         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52541         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52543 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52545         [BZ #16245]
52546         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52547         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52549 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52551         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52552         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52553         Likewise.
52555 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52557         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52558         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52559         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52560         (__fesetround): Remove define.
52561         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52562         rounding and exceptions handling.
52563         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52564         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52565         (__fe_nomask_env): Likewise.
52566         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52567         __fegetround instead of fegetround.
52568         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52569         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52571 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52573         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52574         it's there.
52576         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52578 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52580         [BZ #11157]
52581         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52582         (encrypt_r): Likewise.
52583         * malloc/obstack.h (obstack_free): Likewise.
52584         * posix/unistd.h (encrypt): Likewise.
52586 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52588         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52589         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52590         DL_CALL_DT_FINI() that call the functions directly.
52591         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52592         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52593         * elf/dl-fini.c: Likewise.
52595 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52597         * malloc/hooks.c (memalign_check): Add alignment rounding.
52598         * malloc/malloc.c (_mid_memalign): New function.
52599         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52600         Implement by calling _mid_memalign.
52601         * manual/probes.texi (Memory Allocation Probes): Remove
52602         memory_valloc_retry and memory_pvalloc_retry.
52604 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52606         * locale/programs/locarchive.c (open_archive): Add const
52607         qualifier to ARCHIVEFNAME and copy default fname to
52608         DEFAULT_FNAME.
52610         [BZ #15601]
52611         * libio/tst-widetext.input: Rename Oriya to Odia.
52612         * locale/iso-639.def: Likewise.
52614         * manual/probes.texi (Mathematical Function Probes): Add
52615         documentation for sin, cos, asin and acos probes.
52616         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52617         (__sin32): Add slowasin probe.
52618         (__cos32): Add slowacos probe.
52619         (__mpsin): Add slowsin probe.
52620         (__mpcos): Add slowcos probe.
52622 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52624         [BZ #15483]
52625         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52626         thread-local __sim_exceptions_thread and global
52627         __sim_exceptions_global.
52628         (__sim_disabled_exceptions): Change to thread-local
52629         __sim_disabled_exceptions_thread and global
52630         __sim_disabled_exceptions_global.
52631         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52632         and global __sim_round_mode_global.
52633         (__simulate_exceptions): Use thread-local floating-point state and
52634         set global state from it as needed.
52635         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52636         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52637         __sim_round_mode_thread.
52638         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52639         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52640         and global __sim_exceptions_global.
52641         (__sim_disabled_exceptions): Change to thread-local
52642         __sim_disabled_exceptions_thread and global
52643         __sim_disabled_exceptions_global.
52644         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52645         and global __sim_round_mode_global.
52646         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52647         (SIM_SET_GLOBAL): Likewise.
52648         * sysdeps/powerpc/soft-fp/sfp-machine.h
52649         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52650         __sim_round_mode_thread.
52651         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52652         __sim_disabled_exceptions_thread.
52653         (__sim_exceptions): Change to __sim_exceptions_thread.
52654         (__sim_disabled_exceptions): Change to
52655         __sim_disabled_exceptions_thread.
52656         (__sim_round_mode): Change to __sim_round_mode_thread.
52657         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52658         thread-local floating-point state and set global state from it as
52659         needed.
52660         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52661         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52662         (__sim_disabled_exceptions): Remove extern declaration.
52663         (feenableexcept): Use thread-local floating-point state and set
52664         global state from it as needed.
52665         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52666         extern declaration.
52667         (__sim_disabled_exceptions): Likewise.
52668         (__sim_round_mode): Likewise.
52669         (__fegetenv): Use thread-local floating-point state.
52670         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52671         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52672         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52673         floating-point state and set global state from it as needed.
52674         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52675         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52676         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52677         Likewise.
52678         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52679         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52680         Likewise.
52681         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52682         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52683         Use __sim_round_mode_thread.
52684         * math/test-fenv-tls.c: New file.
52685         * math/Makefile (tests): Add test-fenv-tls.
52686         ($(objpfx)test-fenv-tls): Depend on
52687         $(common-objpfx)nptl/libpthread.so.
52689 2013-11-19  Andreas Schwab  <schwab@suse.de>
52691         * locale/programs/locale.c (show_info): Decode wordarray elements.
52692         * locale/categories.def (LC_MONETARY): Add element for
52693         _NL_MONETARY_CRNCYSTR.
52694         * locale/C-monetary.c (conversion_rate): New variable.
52695         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52696         element.
52698 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52700         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52701         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52703 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52705         * elf/Makefile (tst-auxv): New test.
52706         * elf/tst-auxv.c: New
52707         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52709 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52711         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52712         (hidden_proto): Caller changed.
52713         (hidden_tls_proto): New macro.
52714         (libc_hidden_tls_proto): Likewise.
52715         (rtld_hidden_tls_proto): Likewise.
52716         (libm_hidden_tls_proto): Likewise.
52717         (libresolv_hidden_tls_proto): Likewise.
52718         (librt_hidden_tls_proto): Likewise.
52719         (libdl_hidden_tls_proto): Likewise.
52720         (libnss_files_hidden_tls_proto): Likewise.
52721         (libnsl_hidden_tls_proto): Likewise.
52722         (libnss_nisplus_hidden_tls_proto): Likewise.
52723         (libutil_hidden_tls_proto): Likewise.
52725 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52727         [BZ #10253]
52728         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52729         (decompose_rpath): Defer expansion to fillin_rpath.
52730         (_dl_init_paths): Pass linkmap to fillin_rpath.
52732 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52734         * benchtests/Makefile: Add strsep.
52735         * benchtests/bench-strsep.c: New file: strsep benchtest.
52736         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52738 2013-11-18  Andreas Schwab  <schwab@suse.de>
52740         * locale/programs/locale.c (show_info) [case byte]: Check for
52741         '\377' instead of '\177'.
52742         * locale/C-monetary.c (not_available): Always use "\377".
52743         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52744         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52745         detect unavailable sign_posn locale elements.
52746         * locale/localeconv.c (__localeconv): For grouping and
52747         mon_grouping handle "\177" and "\377" like no grouping.
52748         (INT_ELEM): New macro.  Use it to set all numeric members.
52749         * locale/programs/ld-monetary.c (monetary_read)
52750         <tok_mon_grouping>: Normalize single -1 to the empty string.
52751         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52752         Likewise.
52754 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52756         [BZ #16055]
52757         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52758         when we match (nil).
52759         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52761 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52763         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52764         (NO_TEST_INLINE): Update value.
52765         (ERRNO_UNCHANGED): Likewise.
52766         (ERRNO_EDOM): Likewise.
52767         (ERRNO_ERANGE): Likewise.
52768         (IGNORE_RESULT): Likewise.
52769         (check_float_internal): Check signs of NaN results if
52770         TEST_NAN_SIGN used.
52771         (check_complex): Pass TEST_NAN_SIGN flag through to second
52772         check_float_internal call.
52773         (copysign_test_data): Add tests with quiet NaNs as second
52774         argument.  Use TEST_NAN_SIGN.
52775         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52776         TEST_NAN_SIGN.
52777         (signbit_test_data): Add tests of quiet NaN argument.
52778         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52780         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52781         $ignore_result.
52782         (parse_args): Handle function results specified as IGNORE.
52783         * math/libm-test.inc (IGNORE_RESULT): New macro.
52784         (check_float_internal): Do not check numerical result if flag
52785         IGNORE_RESULT set.
52786         (check_complex): Pass through IGNORE_RESULT to second
52787         check_float_internal call.
52788         (check_int): Do not check numerical result if flag IGNORE_RESULT
52789         set.
52790         (check_long): Likewise.
52791         (check_bool): Likewise.
52792         (check_longlong): Likewise.
52793         (lrint_test_data): Add tests of infinite and NaN arguments.
52794         (lrint_tonearest_test_data): Likewise.
52795         (lrint_towardzero_test_data): Likewise.
52796         (lrint_downward_test_data): Likewise.
52797         (lrint_upward_test_data): Likewise.
52798         (llrint_test_data): Likewise.
52799         (llrint_tonearest_test_data): Likewise.
52800         (llrint_towardzero_test_data): Likewise.
52801         (llrint_downward_test_data): Likewise.
52802         (llrint_upward_test_data): Likewise.
52803         (lround_test_data): Likewise.
52804         (llround_test_data): Likewise.
52806         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52807         (ERRNO_UNCHANGED): Update value.
52808         (ERRNO_EDOM): Likewise.
52809         (ERRNO_ERANGE): Likewise.
52810         (NO_TEST_INLINE_FLOAT): New macro.
52811         (NO_TEST_INLINE_DOUBLE): Likewise.
52812         (enable_test): New function.
52813         (RUN_TEST_f_f): Check enable_test before running test.
52814         (RUN_TEST_2_f): Likewise.
52815         (RUN_TEST_fff_f): Likewise.
52816         (RUN_TEST_c_f): Likewise.
52817         (RUN_TEST_f_f1): Likewise.
52818         (RUN_TEST_fF_f1): Likewise.
52819         (RUN_TEST_fI_f1): Likewise.
52820         (RUN_TEST_ffI_f1): Likewise.
52821         (RUN_TEST_c_c): Likewise.
52822         (RUN_TEST_cc_c): Likewise.
52823         (RUN_TEST_f_i): Likewise.
52824         (RUN_TEST_f_i_tg): Likewise.
52825         (RUN_TEST_ff_i_tg): Likewise.
52826         (RUN_TEST_f_b): Likewise.
52827         (RUN_TEST_f_b_tg): Likewise.
52828         (RUN_TEST_f_l): Likewise.
52829         (RUN_TEST_f_L): Likewise.
52830         (RUN_TEST_fFF_11): Likewise.
52831         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52832         conditionals.
52833         (cosh_test_data): Likewise.
52834         (exp_test_data): Likewise.
52835         (expm1_test_data): Likewise.
52836         (hypot_test_data): Likewise.
52837         (pow_test_data): Likewise.
52838         (sinh_test_data): Likewise.
52839         (tanh_test_data): Likewise.
52840         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52841         flags argument.
52843         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52844         tests with quiet NaN input and output.
52845         (acosh_test_data): Likewise.
52846         (asin_test_data): Likewise.
52847         (asinh_test_data): Likewise.
52848         (atan_test_data): Likewise.
52849         (atanh_test_data): Likewise.
52850         (atan2_test_data): Likewise.
52851         (cbrt_test_data): Likewise.
52852         (cos_test_data): Likewise.
52853         (cosh_test_data): Likewise.
52854         (erf_test_data): Likewise.
52855         (erfc_test_data): Likewise.
52856         (exp_test_data): Likewise.
52857         (exp10_test_data): Likewise.
52858         (exp2_test_data): Likewise.
52859         (expm1_test_data): Likewise.
52860         (hypot_test_data): Likewise.
52861         (j0_test_data): Likewise.
52862         (j1_test_data): Likewise.
52863         (jn_test_data): Likewise.
52864         (lgamma_test_data): Likewise.
52865         (log_test_data): Likewise.
52866         (log10_test_data): Likewise.
52867         (log1p_test_data): Likewise.
52868         (log2_test_data): Likewise.
52869         (pow_test_data): Likewise.
52870         (scalb_test_data): Likewise.
52871         (sin_test_data): Likewise.
52872         (sincos_test_data): Likewise.
52873         (sinh_test_data): Likewise.
52874         (tan_test_data): Likewise.
52875         (tanh_test_data): Likewise.
52876         (tgamma_test_data): Likewise.
52877         (y0_test_data): Likewise.
52878         (y1_test_data): Likewise.
52879         (yn_test_data): Likewise.
52881         [BZ #16167]
52882         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52883         argument being NaN and avoid computations with second argument in
52884         that case.
52885         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52886         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52887         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52889 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52891         * locale/iso-639.def: Add Chitwani Tharu (the).
52893 2013-11-14  Andreas Schwab  <schwab@suse.de>
52895         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52896         word instead of empty string.
52898 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52901         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52903         (__fe_nomask_env): Likewise.
52905 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52907         * benchtests/bench-timing.h: Include time.h.
52909 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52911         [BZ #15997]
52912         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52913         to 3.4.0 for x32.
52914         * sysdeps/unix/sysv/linux/configure: Regenerated.
52916 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52918         [BZ #16151]
52919         * stdlib/strtod_l.c (round_and_return): Do not consider
52920         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52921         exponent one less than half the least subnormal exponent.
52922         * stdlib/test-strtod-round-data: Add more tests.
52923         * stdlib/tst-strtod-round.c (tests): Regenerated.
52925 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52927         [BZ #14143]
52928         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52929         (__fe_mask_env): Likewise.
52930         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52931         libm_hidden_proto and add function prototype.
52932         (__fe_mask_env): Add function prototype.
52933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52934         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52936         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52938         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52940 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52942         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52943         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52945 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52947         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52948         of htab_find_slot().
52950 2013-11-11  David S. Miller  <davem@davemloft.net>
52952         [BZ #16150]
52953         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52954         symbol in the non-vis3 case in static builds.
52955         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52956         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52957         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52958         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52960 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52962         [BZ #387]
52963         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52964         it is empty.
52966 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52968         * benchtests/Makefile: Add bench-strtod.
52969         * benchtests/bench-strtod.c: New file: strtod benchtest
52971 2013-11-11  Andreas Schwab  <schwab@suse.de>
52973         [BZ #16153]
52974         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52975         terminating NUL in key length.
52977 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52979         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52980         Add artificial ODP entry for vDSO symbol for PPC64.
52981         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52982         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52984 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52986         [BZ #15374]
52987         * nss/getent.c (services_keys): Recognize services starting with digit.
52989 2013-11-06  David S. Miller  <davem@davemloft.net>
52991         [BZ #15985]
52992         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52993         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52995 2013-11-06  Will Newton  <will.newton@linaro.org>
52997         * manual/memory.texi (Malloc Examples): Remove register
52998         keyword from examples.
53000 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
53002         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
53004 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
53006         [BZ #6981]
53007         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
53008         depending on [__GCC_IEC_559 > 0].
53009         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
53010         depending on [__GCC_IEC_559_COMPLEX > 0].
53012 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
53014         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
53015         to iso-639.def.
53017 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
53019         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
53021 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
53023         [BZ #16112]
53024         * malloc/malloc (malloc_info): Do not handle first bin as
53025         special case.
53027 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
53029         * locale/iso-639.def: Add Central Nahuatl (nhn).
53031 2013-11-01  Bruno Haible  <bruno@clisp.org>
53033         [BZ #7003]
53034         * manual/math.texi (BSD Random): Specify range upper bound as
53035         in POSIX.
53037 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
53039         * locale/iso-639.def: Add Meadow Mari (mhr).
53041 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53043         [BZ #14752], [BZ #15763]
53044         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53045         Validate name.
53046         * rt/tst_shm.c: Add test for escaping directory.
53048 2013-10-31  Andreas Schwab  <schwab@suse.de>
53050         [BZ #15917]
53051         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53052         followed by 'x' as part of digit sequence.
53053         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53055 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53057         [BZ #16037]
53058         * configure.ac: allow GNU Make 4.0 and greater.
53059         * configure: Regenerated.
53061 2013-10-30  Will Newton  <will.newton@linaro.org>
53063         [BZ #16038]
53064         * malloc/hooks.c (memalign_check): Limit alignment to the
53065         maximum representable power of two.
53066         * malloc/malloc.c (__libc_memalign): Likewise.
53067         * malloc/tst-memalign.c (do_test): Add test for very
53068         large alignment values.
53069         * malloc/tst-posix_memalign.c (do_test): Likewise.
53071 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53073         [BZ #11087]
53074         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53075         (munmap_chunk): Likewise.
53076         (mremap_chunk): Likewise.
53078 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53080         [BZ #15799]
53081         * stdlib/div.c (div): Remove obsolete code.
53082         * stdlib/ldiv.c (ldiv): Likewise.
53083         * stdlib/lldiv.c (lldiv): Likewise.
53085 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53087         [BZ #16071]
53088         * nss/nss_files/files-XXX.c (get_contents_ret): New
53089         enumerator.
53090         (get_contents): New function.
53091         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53093 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53095         * configure.in: Moved to ...
53096         * configure.ac: ... here. Change reference to configure.in
53097         to configure.ac.
53098         * sysdeps/arm/preconfigure.ac: ... here.
53099         configure.in to configure.ac.
53100         * sysdeps/gnu/configure.in: Moved to ...
53101         * sysdeps/gnu/configure.ac: ... here.
53102         * sysdeps/i386/configure.in: Moved to ...
53103         * sysdeps/i386/configure.ac: ... here.
53104         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53105         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53106         * sysdeps/mach/configure.in: Moved to ...
53107         * sysdeps/mach/configure.ac: ... here.
53108         * sysdeps/mach/hurd/configure.in: Moved to ...
53109         * sysdeps/mach/hurd/configure.ac: ... here.
53110         * sysdeps/powerpc/configure.in: Moved to ...
53111         * sysdeps/powerpc/configure.ac: ... here.
53112         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53113         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53114         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53115         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53116         * sysdeps/s390/s390-32/configure.in: Moved to ...
53117         * sysdeps/s390/s390-32/configure.ac: ... here.
53118         * sysdeps/s390/s390-64/configure.in: Moved to ...
53119         * sysdeps/s390/s390-64/configure.ac: ... here.
53120         * sysdeps/sh/configure.in: Moved to ...
53121         * sysdeps/sh/configure.ac: ... here.
53122         * sysdeps/sparc/configure.in: Moved to ...
53123         * sysdeps/sparc/configure.ac: ... here.
53124         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53125         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53126         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53127         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53128         * sysdeps/x86_64/configure.in: Moved to ...
53129         * sysdeps/x86_64/configure.ac: ... here.
53130         * sysdeps/x86_64/preconfigure.in: Moved to ...
53131         * sysdeps/x86_64/preconfigure.ac: ... here.
53132         * aclocal.m4: Change reference to configure.in to configure.ac.
53133         * config.h.in: Likewise.
53134         * manual/install.texi: Likewise.
53135         * manual/maint.texi: Likewise.
53136         * Makefile: Likewise.
53137         * malloc/Makefile: Likewise.
53138         * nscd/Makefile: Likewise.
53139         * Makeconfig: Change reference to configure.in and
53140         preconfigure.in to configure.ac and preconfigure.ac
53141         respectively.
53142         * INSTALL: Regenerated.
53143         * configure: Likewise.
53144         * sysdeps/gnu/configure: Likewise.
53145         * sysdeps/i386/configure: Likewise.
53146         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53147         * sysdeps/mach/configure: Likewise.
53148         * sysdeps/mach/hurd/configure: Likewise.
53149         * sysdeps/powerpc/configure: Likewise.
53150         * sysdeps/powerpc/powerpc32/configure: Likewise.
53151         * sysdeps/powerpc/powerpc64/configure: Likewise.
53152         * sysdeps/s390/s390-32/configure: Likewise.
53153         * sysdeps/s390/s390-64/configure: Likewise.
53154         * sysdeps/sh/configure: Likewise.
53155         * sysdeps/sparc/configure: Likewise.
53156         * sysdeps/unix/sysv/linux/configure: Likewise.
53157         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53158         * sysdeps/x86_64/configure: Likewise.
53159         * sysdeps/x86_64/preconfigure: Likewise.
53161 2013-10-29  Andreas Schwab  <schwab@suse.de>
53163         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53165 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53167         * benchtests/pow-inputs: Add new inputs.
53169         * benchtests/exp-inputs: Add new inputs.
53171         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53172         conditional check for return value.
53173         (__cos32): Likewise.
53175 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53177         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53178         to provide a boost for large inputs with word alignment.
53179         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53180         implementation based on optimized PPC64 strcpy.
53181         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53182         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53183         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53184         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53186 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53188         [BZ #2801]
53189         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53191 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53193         [BZ #14876]
53194         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53195         * time/tst-strptime.c (day_tests): Add testcase.
53197 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53199         [BZ #14029]
53200         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53202 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53204         [BZ #16074]
53205         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53206         MAP_FAILED on error.
53208 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53210         [BZ #16072]
53211         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53212         heap for large requests.
53214 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53216         [BZ #9954]
53217         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53218         result if the result has no associated interface.
53219         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53220         interface for all 127.X.Y.Z addresses.
53222 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53224         * locale/iso-639.def: Add Ligurian (lij)
53226 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53228         [BZ #15825]
53229         * sunrpc/rpc_main.c: Document rpcgen -5.
53231 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53233         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53235 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53237         [BZ #10278]
53238         * posix/glob.c: Match only directories when trailing slash is present.
53239         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53240         (main): Add testcase.
53242 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53244         [BZ #15670]
53245         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53247 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53249         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53250         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53251         AUTH_DES and cindex for FIPS 140-2.
53252         (DES Encryption): Add cindex FIPS 46-3.
53254         * locale/locarchive.h (struct locarhandle): Add fname.
53255         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53256         if an optional argument was specified to --list-archive,
53257         otherwise NULL.
53258         * locale/programs/locarchive.c (show_archive_content): Take new
53259         argument fname and pass it via ah.fname to open_archive.
53260         * locale/programs/localedef.h: Update decl.
53261         (open_archive): If AH->fname is non-null, open that file
53262         rather than the default file name, and don't ignore ENOENT.
53263         (create_archive): Set AH.fname to NULL.
53264         (delete_locales_from_archive): Likewise.
53265         (add_locales_to_archive): Likewise.
53266         * locale/programs/locfile.c (write_all_categories): Likewise.
53268 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53269             Aldy Hernandez  <aldyh@redhat.com>
53271         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53272         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53273         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53274         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53275         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53276         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53277         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53278         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53279         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53280         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53281         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53282         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53283         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53284         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53285         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53286         Likewise.
53287         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53288         Likewise.
53289         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53290         Likewise.
53291         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53292         Likewise.
53293         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53294         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53295         Likewise.
53296         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53297         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53298         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53299         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53300         Likewise.
53301         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53302         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53303         * sysdeps/powerpc/preconfigure: Likewise.
53304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53305         Likewise.
53306         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53307         Replace contents of file by #include of <fenv_libc.h>.
53308         * sysdeps/powerpc/soft-fp/sfp-machine.h
53309         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53310         and <sys/prctl.h>.
53311         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53312         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53313         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53314         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53315         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53316         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53318         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53319         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53320         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53321         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53322         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53324         Allow copysignl PLT reference to be missing.
53326 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53327             Joseph Myers  <joseph@codesourcery.com
53329         [BZ #15948]
53330         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53331         single character.
53332         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53334 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53336         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53337         * elf/tst-tls1.c: Likewise.
53338         * elf/tst-tls10.h: Likewise.
53339         * elf/tst-tls14.c: Likewise.
53340         * elf/tst-tls2.c: Likewise.
53341         * elf/tst-tls3.c: Likewise.
53342         * elf/tst-tls4.c: Likewise.
53343         * elf/tst-tls5.c: Likewise.
53344         * elf/tst-tls6.c: Likewise.
53345         * elf/tst-tls7.c: Likewise.
53346         * elf/tst-tls8.c: Likewise.
53347         * elf/tst-tls9.c: Likewise.
53348         * elf/tst-tlsmod1.c: Likewise.
53349         * elf/tst-tlsmod13.c: Likewise.
53350         * elf/tst-tlsmod13a.c: Likewise.
53351         * elf/tst-tlsmod14a.c: Likewise.
53352         * elf/tst-tlsmod16a.c: Likewise.
53353         * elf/tst-tlsmod16b.c: Likewise.
53354         * elf/tst-tlsmod2.c: Likewise.
53355         * elf/tst-tlsmod3.c: Likewise.
53356         * elf/tst-tlsmod4.c: Likewise.
53357         * elf/tst-tlsmod5.c: Likewise.
53358         * elf/tst-tlsmod6.c: Likewise.
53360 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53362         [BZ #12486]
53363         * malloc/malloc.c: remove checks for statistics.
53365 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53367         [BZ #15277]
53368         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53369         * inet/tst-network.c: Add testcase.
53371 2013-10-17  Andreas Schwab  <schwab@suse.de>
53373         [BZ #15218]
53374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53375         to determine canonical name.
53377 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53379         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
53380         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
53381         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53382         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53384         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53385         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53386         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53387         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53388         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53389         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53390         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53391         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53392         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53393         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53394         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53396         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53397         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53398         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53399         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53400         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53401         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53402         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
53403         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
53404         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53405         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53406         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
53407         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53408         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
53409         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53410         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53411         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53412         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53413         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53414         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53415         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53416         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53417         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53418         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53419         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53420         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53421         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53422         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53423         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53424         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53425         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53426         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53427         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53428         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53429         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53430         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53431         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53432         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53433         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53434         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53436         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53438 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
53440         [BZ #16041]
53441         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
53442         make result into a quiet NaN.
53444 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
53446         * soft-fp/adddf3.c: Fix horizontal whitespace.
53447         * soft-fp/addsf3.c: Likewise.
53448         * soft-fp/addtf3.c: Likewise.
53449         * soft-fp/divdf3.c: Likewise.
53450         * soft-fp/divsf3.c: Likewise.
53451         * soft-fp/divtf3.c: Likewise.
53452         * soft-fp/double.h: Likewise.
53453         * soft-fp/eqdf2.c: Likewise.
53454         * soft-fp/eqsf2.c: Likewise.
53455         * soft-fp/eqtf2.c: Likewise.
53456         * soft-fp/extenddftf2.c: Likewise.
53457         * soft-fp/extended.h: Likewise.
53458         * soft-fp/extendsfdf2.c: Likewise.
53459         * soft-fp/extendsftf2.c: Likewise.
53460         * soft-fp/extendxftf2.c: Likewise.
53461         * soft-fp/fixdfdi.c: Likewise.
53462         * soft-fp/fixdfsi.c: Likewise.
53463         * soft-fp/fixdfti.c: Likewise.
53464         * soft-fp/fixsfdi.c: Likewise.
53465         * soft-fp/fixsfsi.c: Likewise.
53466         * soft-fp/fixsfti.c: Likewise.
53467         * soft-fp/fixtfdi.c: Likewise.
53468         * soft-fp/fixtfsi.c: Likewise.
53469         * soft-fp/fixtfti.c: Likewise.
53470         * soft-fp/fixunsdfdi.c: Likewise.
53471         * soft-fp/fixunsdfsi.c: Likewise.
53472         * soft-fp/fixunsdfti.c: Likewise.
53473         * soft-fp/fixunssfdi.c: Likewise.
53474         * soft-fp/fixunssfsi.c: Likewise.
53475         * soft-fp/fixunssfti.c: Likewise.
53476         * soft-fp/fixunstfdi.c: Likewise.
53477         * soft-fp/fixunstfsi.c: Likewise.
53478         * soft-fp/fixunstfti.c: Likewise.
53479         * soft-fp/floatdidf.c: Likewise.
53480         * soft-fp/floatdisf.c: Likewise.
53481         * soft-fp/floatditf.c: Likewise.
53482         * soft-fp/floatsidf.c: Likewise.
53483         * soft-fp/floatsisf.c: Likewise.
53484         * soft-fp/floatsitf.c: Likewise.
53485         * soft-fp/floattidf.c: Likewise.
53486         * soft-fp/floattisf.c: Likewise.
53487         * soft-fp/floattitf.c: Likewise.
53488         * soft-fp/floatundidf.c: Likewise.
53489         * soft-fp/floatundisf.c: Likewise.
53490         * soft-fp/floatunditf.c: Likewise.
53491         * soft-fp/floatunsidf.c: Likewise.
53492         * soft-fp/floatunsisf.c: Likewise.
53493         * soft-fp/floatunsitf.c: Likewise.
53494         * soft-fp/floatuntidf.c: Likewise.
53495         * soft-fp/floatuntisf.c: Likewise.
53496         * soft-fp/floatuntitf.c: Likewise.
53497         * soft-fp/fmadf4.c: Likewise.
53498         * soft-fp/fmasf4.c: Likewise.
53499         * soft-fp/fmatf4.c: Likewise.
53500         * soft-fp/gedf2.c: Likewise.
53501         * soft-fp/gesf2.c: Likewise.
53502         * soft-fp/getf2.c: Likewise.
53503         * soft-fp/ledf2.c: Likewise.
53504         * soft-fp/lesf2.c: Likewise.
53505         * soft-fp/letf2.c: Likewise.
53506         * soft-fp/muldf3.c: Likewise.
53507         * soft-fp/mulsf3.c: Likewise.
53508         * soft-fp/multf3.c: Likewise.
53509         * soft-fp/negdf2.c: Likewise.
53510         * soft-fp/negsf2.c: Likewise.
53511         * soft-fp/negtf2.c: Likewise.
53512         * soft-fp/op-1.h: Likewise.
53513         * soft-fp/op-2.h: Likewise.
53514         * soft-fp/op-4.h: Likewise.
53515         * soft-fp/op-8.h: Likewise.
53516         * soft-fp/op-common.h: Likewise.
53517         * soft-fp/quad.h: Likewise.
53518         * soft-fp/single.h: Likewise.
53519         * soft-fp/soft-fp.h: Likewise.
53520         * soft-fp/sqrtdf2.c: Likewise.
53521         * soft-fp/sqrtsf2.c: Likewise.
53522         * soft-fp/sqrttf2.c: Likewise.
53523         * soft-fp/subdf3.c: Likewise.
53524         * soft-fp/subsf3.c: Likewise.
53525         * soft-fp/subtf3.c: Likewise.
53526         * soft-fp/truncdfsf2.c: Likewise.
53527         * soft-fp/trunctfdf2.c: Likewise.
53528         * soft-fp/trunctfsf2.c: Likewise.
53529         * soft-fp/trunctfxf2.c: Likewise.
53530         * soft-fp/unorddf2.c: Likewise.
53531         * soft-fp/unordsf2.c: Likewise.
53532         * soft-fp/unordtf2.c: Likewise.
53534 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53536         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53537         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53539 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53541         * elf/dl-libc.c: Clear initfini list after freeing.
53543 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53545         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53546         * soft-fp/addsf3.c: Likewise.
53547         * soft-fp/addtf3.c: Likewise.
53548         * soft-fp/divdf3.c: Likewise.
53549         * soft-fp/divsf3.c: Likewise.
53550         * soft-fp/divtf3.c: Likewise.
53551         * soft-fp/double.h: Likewise.
53552         * soft-fp/eqdf2.c: Likewise.
53553         * soft-fp/eqsf2.c: Likewise.
53554         * soft-fp/eqtf2.c: Likewise.
53555         * soft-fp/extenddftf2.c: Likewise.
53556         * soft-fp/extended.h: Likewise.
53557         * soft-fp/extendsfdf2.c: Likewise.
53558         * soft-fp/extendsftf2.c: Likewise.
53559         * soft-fp/extendxftf2.c: Likewise.
53560         * soft-fp/fixdfdi.c: Likewise.
53561         * soft-fp/fixdfsi.c: Likewise.
53562         * soft-fp/fixdfti.c: Likewise.
53563         * soft-fp/fixsfdi.c: Likewise.
53564         * soft-fp/fixsfsi.c: Likewise.
53565         * soft-fp/fixsfti.c: Likewise.
53566         * soft-fp/fixtfdi.c: Likewise.
53567         * soft-fp/fixtfsi.c: Likewise.
53568         * soft-fp/fixtfti.c: Likewise.
53569         * soft-fp/fixunsdfdi.c: Likewise.
53570         * soft-fp/fixunsdfsi.c: Likewise.
53571         * soft-fp/fixunsdfti.c: Likewise.
53572         * soft-fp/fixunssfdi.c: Likewise.
53573         * soft-fp/fixunssfsi.c: Likewise.
53574         * soft-fp/fixunssfti.c: Likewise.
53575         * soft-fp/fixunstfdi.c: Likewise.
53576         * soft-fp/fixunstfsi.c: Likewise.
53577         * soft-fp/fixunstfti.c: Likewise.
53578         * soft-fp/floatdidf.c: Likewise.
53579         * soft-fp/floatdisf.c: Likewise.
53580         * soft-fp/floatditf.c: Likewise.
53581         * soft-fp/floatsidf.c: Likewise.
53582         * soft-fp/floatsisf.c: Likewise.
53583         * soft-fp/floatsitf.c: Likewise.
53584         * soft-fp/floattidf.c: Likewise.
53585         * soft-fp/floattisf.c: Likewise.
53586         * soft-fp/floattitf.c: Likewise.
53587         * soft-fp/floatundidf.c: Likewise.
53588         * soft-fp/floatundisf.c: Likewise.
53589         * soft-fp/floatunsidf.c: Likewise.
53590         * soft-fp/floatunsisf.c: Likewise.
53591         * soft-fp/floatuntidf.c: Likewise.
53592         * soft-fp/floatuntisf.c: Likewise.
53593         * soft-fp/floatuntitf.c: Likewise.
53594         * soft-fp/fmadf4.c: Likewise.
53595         * soft-fp/fmasf4.c: Likewise.
53596         * soft-fp/fmatf4.c: Likewise.
53597         * soft-fp/gedf2.c: Likewise.
53598         * soft-fp/gesf2.c: Likewise.
53599         * soft-fp/getf2.c: Likewise.
53600         * soft-fp/ledf2.c: Likewise.
53601         * soft-fp/lesf2.c: Likewise.
53602         * soft-fp/letf2.c: Likewise.
53603         * soft-fp/muldf3.c: Likewise.
53604         * soft-fp/mulsf3.c: Likewise.
53605         * soft-fp/multf3.c: Likewise.
53606         * soft-fp/negdf2.c: Likewise.
53607         * soft-fp/negsf2.c: Likewise.
53608         * soft-fp/negtf2.c: Likewise.
53609         * soft-fp/op-1.h: Likewise.
53610         * soft-fp/op-2.h: Likewise.
53611         * soft-fp/op-4.h: Likewise.
53612         * soft-fp/op-8.h: Likewise.
53613         * soft-fp/op-common.h: Likewise.
53614         * soft-fp/quad.h: Likewise.
53615         * soft-fp/single.h: Likewise.
53616         * soft-fp/soft-fp.h: Likewise.
53617         * soft-fp/sqrtdf2.c: Likewise.
53618         * soft-fp/sqrtsf2.c: Likewise.
53619         * soft-fp/sqrttf2.c: Likewise.
53620         * soft-fp/subdf3.c: Likewise.
53621         * soft-fp/subsf3.c: Likewise.
53622         * soft-fp/subtf3.c: Likewise.
53623         * soft-fp/truncdfsf2.c: Likewise.
53624         * soft-fp/trunctfdf2.c: Likewise.
53625         * soft-fp/trunctfsf2.c: Likewise.
53626         * soft-fp/trunctfxf2.c: Likewise.
53627         * soft-fp/unorddf2.c: Likewise.
53628         * soft-fp/unordsf2.c: Likewise.
53629         * soft-fp/unordtf2.c: Likewise.
53631 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53633         [BZ #15672]
53634         * misc/error.c (error_tail): Fix possible buffer overflow.
53636 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53638         [BZ #13028]
53639         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53640         address.
53642 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53644         [BZ #832]
53645         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53646         testing pipefail option.
53648 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53650         * soft-fp/double.h: Indent preprocessor directives inside #if.
53651         * soft-fp/extended.h: Likewise.
53652         * soft-fp/op-2.h: Likewise.
53653         * soft-fp/op-4.h: Likewise.
53654         * soft-fp/op-common.h: Likewise.
53655         * soft-fp/quad.h: Likewise.
53656         * soft-fp/single.h: Likewise.
53657         * soft-fp/soft-fp.h: Likewise.
53659 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53661         * iconv/iconv_prog.c: Fix typos.
53662         * stdio-common/psiginfo-data.h: Likewise.
53664 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53666         [BZ #15764]
53667         * locale/setlocale.c: Fix typo.
53669 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53671         [BZ #16036]
53672         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53673         signaling NaN arguments.
53674         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53675         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53677         [BZ #14910]
53678         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53679         unordered operands.
53680         * soft-fp/gesf2.c (__gesf2): Likewise.
53681         * soft-fp/getf2.c (__getf2): Likewise.
53682         * soft-fp/ledf2.c (__ledf2): Likewise.
53683         * soft-fp/lesf2.c (__lesf2): Likewise.
53684         * soft-fp/letf2.c (__letf2): Likewise.
53686         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53687         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53688         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53689         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53690         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53691         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53692         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53693         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53694         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53695         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53696         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53697         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53698         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53699         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53700         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53701         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53702         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53703         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53704         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53705         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53706         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53707         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53708         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53709         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53710         * soft-fp/floattidf.c (__floattidf): Likewise.
53711         * soft-fp/floattisf.c (__floattisf): Likewise.
53712         * soft-fp/floattitf.c (__floattitf): Likewise.
53713         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53714         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53715         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53716         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53717         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53718         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53719         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53720         * soft-fp/gesf2.c (__gesf2): Likewise.
53721         * soft-fp/getf2.c (__getf2): Likewise.
53722         * soft-fp/ledf2.c (__ledf2): Likewise.
53723         * soft-fp/lesf2.c (__lesf2): Likewise.
53724         * soft-fp/letf2.c (__letf2): Likewise.
53726         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53727         Undefine and redefine.
53728         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53729         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53730         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53731         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53732         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53733         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53734         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53735         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53736         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53737         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53738         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53739         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53740         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53741         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53742         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53744         [BZ #16032]
53745         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53746         without decrementing exponent if mantissa >= that for the
53747         denominator, not >.
53748         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53749         denominator, not >.  Decrement exponent in < case instead of
53750         incrementing in >= case.
53751         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53752         without decrementing exponent if mantissa >= that for the
53753         denominator, not >.
53755         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53756         computing saturated result for unsigned overflow.
53758 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53759             Jeff Law  <law@redhat.com>
53761         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53762         (atan2Mp): Add systemtap probe marker.
53763         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53764         (__ieee754_log): Add systemtap probe marker.
53765         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53766         (atanMp): Add systemtap probe marker.
53767         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53768         (tanMp): Add systemtap probe marker.
53769         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53770         (__slowexp): Add systemtap probe marker.
53771         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53772         (__slowpow): Add systemtap probe marker.
53773         * manual/probes.texi: Document probes.
53775 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53777         [BZ #15362]
53778         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53779         written.
53780         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53781         written.
53782         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53783         written to buffer but not flushed.
53784         * libio/iofwrite_u.c:  Likewise.
53785         * libio/iopadn.c:  Return bytes returned even if EOF was
53786         encountered.
53787         * libio/iowpadn.c:  Likewise.
53788         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53789         if _IO_padn does not write the whole buffer.
53790         [!COMPILE_WPRINTF] (PAD): Likewise.
53792 2013-10-10  David S. Miller  <davem@davemloft.net>
53794         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53795         directory block.
53797 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53799         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53800         instead of FSF address.
53801         * soft-fp/fixdfti.c: Likewise.
53802         * soft-fp/fixsfti.c: Likewise.
53803         * soft-fp/fixtfti.c: Likewise.
53804         * soft-fp/fixunsdfti.c: Likewise.
53805         * soft-fp/fixunssfti.c: Likewise.
53806         * soft-fp/fixunstfti.c: Likewise.
53807         * soft-fp/floattidf.c: Likewise.
53808         * soft-fp/floattisf.c: Likewise.
53809         * soft-fp/floattitf.c: Likewise.
53810         * soft-fp/floatuntidf.c: Likewise.
53811         * soft-fp/floatuntisf.c: Likewise.
53812         * soft-fp/floatuntitf.c: Likewise.
53813         * soft-fp/trunctfxf2.c: Likewise.
53815         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53816         * soft-fp/fixdfti.c: Likewise.
53817         * soft-fp/fixsfti.c: Likewise.
53818         * soft-fp/fixtfti.c: Likewise.
53819         * soft-fp/fixunsdfti.c: Likewise.
53820         * soft-fp/fixunssfti.c: Likewise.
53821         * soft-fp/fixunstfti.c: Likewise.
53822         * soft-fp/floattidf.c: Likewise.
53823         * soft-fp/floattisf.c: Likewise.
53824         * soft-fp/floattitf.c: Likewise.
53825         * soft-fp/floatuntidf.c: Likewise.
53826         * soft-fp/floatuntisf.c: Likewise.
53827         * soft-fp/floatuntitf.c: Likewise.
53828         * soft-fp/trunctfxf2.c: Likewise.
53830 2013-10-10  David S. Miller  <davem@davemloft.net>
53832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53834 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53836         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53837         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53838         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53839         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53840         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53841         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53842         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53844         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53845         for NaNs before doing comparisons on argument.
53846         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53847         Likewise.
53849 2013-10-10  Will Newton  <will.newton@linaro.org>
53851         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53852         passed to _int_memalign does not overflow.
53854 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53856         * scripts/bench.pl: Add include-sources directive.
53857         * benchtests/README: Update documentation.
53859 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53861         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53862         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53863         instead of FP_INIT_ROUNDMODE.
53864         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53865         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53867         [BZ #16034]
53868         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53869         copy class of input value.
53870         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53871         not handle exceptions.
53872         * soft-fp/negsf2.c (__negsf2): Likewise.
53873         * soft-fp/negtf2.c (__negtf2): Likewise.
53874         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53876 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53878         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53879         semicolon.  From Linux kernel.
53881 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53883         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53885 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53887         [BZ #156]
53888         * manual/socket.texi: Added statement about buffer
53889         for gethostbyname2_r.
53891 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53893         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53894         Use .p2align directive instead, throughout.
53895         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53896         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53897         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53898         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53899         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53900         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53901         * sysdeps/x86_64/strchr.S: Likewise.
53902         * sysdeps/x86_64/strrchr.S: Likewise.
53904 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53906         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53908         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53910         * sysdeps/generic/math_private.h (__mpsin1): Remove
53911         declaration.
53912         (__mpcos1): Likewise.
53913         (__mpsin): New argument __range_reduce.
53914         (__mpcos): Likewise.
53915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53916         (slow): Use __mpsin and __mpcos.
53917         (slow1): Likewise.
53918         (slow2): Likewise.
53919         (sloww): Likewise.
53920         (sloww1): Likewise.
53921         (sloww2): Likewise.
53922         (bsloww): Likewise.
53923         (bsloww1): Likewise.
53924         (bsloww2): Likewise.
53925         (cslow2): Likewise.
53926         (csloww): Likewise.
53927         (csloww1): Likewise.
53928         (csloww2): Likewise.
53929         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53930         range_reduce.  Merge in __mpsin1.
53931         (__mpcos): Likewise.
53932         (__mpsin1): Remove.
53933         (__mpcos1): Likewise.
53935 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53937         * locale/loadlocale.c (_nl_intern_locale_data): Use
53938         LOCFILE_ALIGNED_P.
53939         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53940         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53941         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53942         obstack data is appropriately aligned.
53943         (obstack_int32_grow_fast): Likewise.
53944         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53945         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53946         (add_locale_uint32_array): Likewise.
53948 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53950         * benchtests/Makefile: Remove ARGLIST and RET variables.
53951         ($(objpfx)bench-%.c): Pass only function name to the script.
53952         * benchtests/README: Update documentation.
53953         * benchtests/acos-inputs: Add new directives.
53954         * benchtests/acosh-inputs: Likewise.
53955         * benchtests/asin-inputs: Likewise.
53956         * benchtests/asinh-inputs: Likewise.
53957         * benchtests/atan-inputs: Likewise.
53958         * benchtests/atanh-inputs: Likewise.
53959         * benchtests/cos-inputs: Likewise.
53960         * benchtests/cosh-inputs: Likewise.
53961         * benchtests/exp-inputs: Likewise.
53962         * benchtests/log-inputs: Likewise.
53963         * benchtests/pow-inputs: Likewise.
53964         * benchtests/rint-inputs: Likewise.
53965         * benchtests/sin-inputs: Likewise.
53966         * benchtests/sinh-inputs: Likewise.
53967         * benchtests/tan-inputs: Likewise.
53968         * benchtests/tanh-inputs: Likewise.
53969         * scripts/bench.pl: Add support for new directives.
53971 2013-10-07  Alan Modra  <amodra@gmail.com>
53973         * README: Fix careless merge.
53975 2013-10-05  Alan Modra  <amodra@gmail.com>
53977         * NEWS: Mention powerpc64le support and bugs fixed.
53978         * README: Both big-endian and little-endian powerpc64 supported.
53980 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53982         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53983         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53984         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53985         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53987 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53989         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53990         match prototype.
53992 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53994         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53995         Move -mhard-float appending from
53996         ports/sysdeps/powerpc/powerpc32/Makefile.
53997         [$(with-fp) = yes] (ASFLAGS): Likewise.
53998         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53999         * sysdeps/powerpc/nofpu: Move directory from
54000         ports/sysdeps/powerpc/nofpu.
54001         * sysdeps/powerpc/soft-fp: Move directory from
54002         ports/sysdeps/powerpc/soft-fp.
54003         * sysdeps/powerpc/powerpc32/405: Move directory from
54004         ports/sysdeps/powerpc/powerpc32/405.
54005         * sysdeps/powerpc/powerpc32/440: Move directory from
54006         ports/sysdeps/powerpc/powerpc32/440.
54007         * sysdeps/powerpc/powerpc32/464: Move directory from
54008         ports/sysdeps/powerpc/powerpc32/464.
54009         * sysdeps/powerpc/powerpc32/476: Move directory from
54010         ports/sysdeps/powerpc/powerpc32/476.
54011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
54012         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
54013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
54014         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
54015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
54016         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
54017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
54018         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
54019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
54020         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
54021         * README: Update for powerpc-*-linux-gnu software floating point
54022         support in libc.
54024         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
54025         case to powerpc/powerpc32*.
54026         * sysdeps/unix/sysv/linux/configure: Regenerated.
54028         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
54029         (_FPU_MASK_OM): Define as 0x04.
54030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
54031         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
54032         0x00c10080.
54033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
54034         0x0000003c.
54035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
54037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
54038         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54039         getcontext_e500.
54040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
54041         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54042         setcontext_e500.
54043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54044         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54045         and setcontext_e500.
54047 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54049         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54051 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54053         * manual/threads.texi (Default Thread Attributes): Fix typo.
54055 2013-10-04  Will Newton  <will.newton@linaro.org>
54057         * malloc/Makefile: Add tst-memalign.
54058         * malloc/tst-memalign.c: New file.
54060         * malloc/tst-posix_memalign.c: Add comments.
54061         (do_test): Add comments and call free on all potentially
54062         allocated pointers. Add space after cast.
54064         * malloc/tst-pvalloc.c: Add comments.
54065         (do_test): Add comments and call free on all potentially
54066         allocated pointers. Remove duplicate check for NULL pointer.
54067         Add space after cast.
54069         * malloc/tst-valloc.c: Add comments.
54070         (do_test): Add comments and call free on all potentially
54071         allocated pointers. Remove duplicate check for NULL pointer.
54072         Add space after cast.
54074 2013-10-04  Alan Modra  <amodra@gmail.com>
54076         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54077         Use stdint types in rather than __attribute__((mode())).
54078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54080 2013-10-04  Alan Modra  <amodra@gmail.com>
54082         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54083         Correct handling of unaligned relocs for little-endian.
54084         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54086 2013-10-04  Alan Modra  <amodra@gmail.com>
54088         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54089         * configure: Regenerate.
54090         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54091         * shlib-versions: Likewise.
54093 2013-10-04  Alan Modra  <amodra@gmail.com>
54095         * string/tester.c (test_memrchr): Increment reported test cycle.
54097 2013-10-04  Alan Modra  <amodra@gmail.com>
54099         * string/test-memcpy.c (do_one_test): When reporting errors, print
54100         string address and don't overrun end of string.
54102 2013-10-04  Alan Modra  <amodra@gmail.com>
54104         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54105         insrdi.  Make better use of reg selection to speed exit slightly.
54106         Schedule entry path a little better.  Remove useless "are we done"
54107         checks on entry to main loop.  Handle wrapping around zero address.
54108         Correct main loop count.  Handle single left-over word from main
54109         loop inline rather than by using loop_small.  Remove extra word
54110         case in loop_small caused by wrong loop count.  Add little-endian
54111         support.
54112         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54113         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54114         cache hint.
54115         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54116         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54117         support.  Avoid rlwimi.
54118         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54120 2013-10-04  Alan Modra  <amodra@gmail.com>
54122         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54123         insrdi.  Formatting.
54124         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54125         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54126         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54127         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54128         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54129         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54131 2013-10-04  Alan Modra  <amodra@gmail.com>
54133         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54134         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54135         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54136         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54137         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54138         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54139         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54140         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54141         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54142         use of regs.  Use power7 mtocrf.  Tidy function tails.
54144 2013-10-04  Alan Modra  <amodra@gmail.com>
54146         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54147         Formatting.  Consistently use rXXX register defines or rN defines.
54148         Use early exit labels that avoid restoring unused non-volatile regs.
54149         Make cr field use more consistent with rWORDn compares.  Rename
54150         regs used as shift registers for unaligned loop, using rN defines
54151         for short lifetime/multiple use regs.
54152         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54153         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54154         addi 1,1,64 to pop stack frame.  Simplify return value code.
54155         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54157 2013-10-04  Alan Modra  <amodra@gmail.com>
54159         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54160         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54161         rather than rlwimi.
54162         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54163         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54164         little-endian support.  Correct typos.
54165         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54166         rather than rlwimi.
54167         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54168         in loop and entry code to keep "and." results.
54169         (strchr): Add little-endian support.  Comment.  Move cntlzd
54170         earlier in tail.
54171         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54173 2013-10-04  Alan Modra  <amodra@gmail.com>
54175         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54176         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54177         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54178         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54180 2013-10-04  Alan Modra  <amodra@gmail.com>
54182         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54183         (rTMP): Define as r11.
54184         (strcmp): Add little-endian support.  Optimise tail.
54185         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54186         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54187         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54188         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54189         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54190         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54191         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54193 2013-10-04  Alan Modra  <amodra@gmail.com>
54195         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54196         little-endian support.  Remove unnecessary "are we done" tests.
54197         Handle "s" wrapping around zero and extremely large "size".
54198         Correct main loop count.  Handle single left-over word from main
54199         loop inline rather than by using small_loop.  Correct comments.
54200         Delete "zero" tail, use "end_max" instead.
54201         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54203 2013-10-04  Alan Modra  <amodra@gmail.com>
54205         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54206         support.  Don't branch over align.
54207         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54208         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54209         support.  Rearrange tmp reg use to suit.  Comment.
54210         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54212 2013-10-04  Alan Modra  <amodra@gmail.com>
54214         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54216 2013-10-04  Alan Modra  <amodra@gmail.com>
54218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54219         conditional form of branch and link when obtaining pc.
54220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54222 2013-10-04  Alan Modra  <amodra@gmail.com>
54224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54225         HIWORD/LOWORD.
54226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54229 2013-10-04  Alan Modra  <amodra@gmail.com>
54231         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54232         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54233         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54234         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54235         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54236         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54237         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54238         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54239         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54240         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54242 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54243             Alistair Popple <alistair@ozlabs.au.ibm.com>
54244             Alan Modra <amodra@gmail.com>
54246         [BZ #15723]
54247         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54248         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54249         _dl_hwcap access for little-endian.
54250         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54251         destroy vmx regs when saving unaligned.
54252         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54253         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54254         destroy vmx regs when saving unaligned.
54256 2013-10-04  Alan Modra  <amodra@gmail.com>
54258         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54259         Don't use a union to pack hi/low value.
54261 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54263         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54264         for little-endian.
54265         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54266         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54267         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54268         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54269         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54271 2013-10-04  Alan Modra  <amodra@gmail.com>
54273         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54274         constants to usual value for .cst8 section, and remove redundant
54275         high address load.
54276         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54277         constant for 0x1p52.  Load little-endian words of double from
54278         correct stack offsets.
54280 2013-10-04  Alan Modra  <amodra@gmail.com>
54282         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54283         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54284         words of double from correct stack offsets.
54285         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54286         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54287         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54288         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54289         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54290         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54291         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54292         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54293         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54294         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54295         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54296         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54297         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54298         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54299         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54300         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54301         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54303 2013-10-04  Alan Modra  <amodra@gmail.com>
54305         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54306         64-bit int/double union.
54307         (_FPU_SETCW): Likewise.
54308         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54309         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54311 2013-10-04  Alan Modra  <amodra@gmail.com>
54313         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54314         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54316 2013-10-04  Alan Modra  <amodra@gmail.com>
54318         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54319         use vector int constants.
54320         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54322 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54324         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54325         array with long long.
54326         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54327         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54328         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54329         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54330         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54331         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54332         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54333         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54334         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54335         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54336         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54337         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54338         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54340 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54342         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54343         (__signbit): Likewise.  Correct for little-endian.
54344         (__signbitl): Call __signbit.
54345         (lrint): Correct for little-endian.
54346         (lrintf): Call lrint.
54348 2013-10-04  Alan Modra  <amodra@gmail.com>
54350         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54351         union 32-bit int array member with 64-bit int array.
54352         (t515, tm256): Double rather than long double.
54353         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54355 2013-10-04  Alan Modra  <amodra@gmail.com>
54357         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54358         Delete.
54359         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54360         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54361         version of math_ldbl.h.
54363 2013-10-04  Alan Modra  <amodra@gmail.com>
54365         [BZ #15734], [BZ #15735]
54366         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54367         all uses of ieee875 long double macros and unions.  Simplify test
54368         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54369         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54370         normalize after ldbl_extract_mantissa, and don't add hidden bit
54371         already handled.  Don't treat low word of ieee854 mantissa like
54372         low word of IBM long double and mask off bit when testing for
54373         zero.
54374         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54375         all uses of ieee875 long double macros and unions.  Simplify tests
54376         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54377         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54378         two1022, instead use their values.  Recognise that tests for large
54379         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
54380         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
54381         Rewrite all uses of ieee875 long double macros and unions.  Simplify
54382         test for 0.0L and nan.  Correct negation.
54383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
54384         ieee875 long double macros and unions.  Correct output for large
54385         magnitude x.  Correct absolute value calculation.
54386         (__erfcl): Likewise.
54387         * math/libm-test.inc: Add tests for errors discovered in IBM long
54388         double versions of fmodl, remainderl, erfl and erfcl.
54390 2013-10-04  Alan Modra  <amodra@gmail.com>
54392         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54393         all uses of ieee854 long double macros and unions.  Simplify tests
54394         for long doubles that are fully specified by the high double.
54395         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
54396         Likewise.
54397         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
54398         Remove dead code too.
54399         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
54400         (__ieee754_ynl): Likewise.
54401         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
54402         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
54403         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
54404         Remove dead code too.
54405         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
54406         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
54407         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54408         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
54409         Simplify.
54410         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
54411         Simplify.
54412         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
54413         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
54414         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
54415         Comment on variable precision.
54416         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
54417         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54418         Likewise.
54419         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
54420         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54422         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
54423         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
54425 2013-10-04  Alan Modra  <amodra@gmail.com>
54427         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
54428         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
54429         all uses of ieee854 long double macros and unions.
54430         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
54431         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54432         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
54433         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
54434         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
54435         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54436         Likewise.
54437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
54438         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54439         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
54440         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54441         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
54442         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54443         Simplify sign and nan test too.
54444         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
54445         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
54446         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
54447         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
54448         Likewise.
54449         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54450         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
54451         Likewise.
54452         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54453         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
54454         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
54455         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54456         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54457         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54459 2013-10-04  Alan Modra  <amodra@gmail.com>
54461         * stdio-common/printf_size.c (__printf_size): Don't use
54462         union ieee854_long_double in fpnum union.
54463         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54464         signbit macro to retrieve sign from long double.
54465         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54466         retrieve sign from long double.
54467         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54468         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54469         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54470         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54471         * math/test-misc.c (main): Don't use union ieee854_long_double.
54473 2013-10-04  Alan Modra  <amodra@gmail.com>
54475         [BZ #15680]
54476         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54477         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54478         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54479         calculation.  Remove unnecessary test for denormal exponent.
54480         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54481         Correct handling of denormals.  Avoid undefined shift behaviour.
54482         Correct normalisation of low mantissa when low double is denormal.
54483         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54484         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54485         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54486         Correct normalisation of low mantissa.  Test for overflow of high
54487         mantissa and normalise.
54488         (ldbl_nearbyint): Use more readable constant for two52.
54489         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54490         (__mpn_construct_long_double): Fix test for overflow of high
54491         mantissa and correct normalisation.  Avoid undefined shift.
54493 2013-10-04  Alan Modra  <amodra@gmail.com>
54495         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54496         (union ibm_extended_long_double): Define as an array of ieee754_double.
54497         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54498         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54499         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54500         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54501         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54502         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54504         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54505         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54506         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54507         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54509 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54511         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54512         page size instead of calling getpagesize.
54514         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54515         (LOCFILE_ALIGN_MASK): Likewise.
54516         (LOCFILE_ALIGN_UP): Likewise.
54517         (LOCFILE_ALIGNED_P): Likewise.
54518         * locale/programs/ld-collate.c (collate_output): Use the new
54519         macros instead of __alignof__ (int32_t).
54520         * locale/weight.h (findidx): Likewise.
54522 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54524         [BZ #431]
54525         * manual/string.texi: Fix strncat and wcsncat.
54527 2013-10-03  Brooks Moses  <bmoses@google.com>
54529         [BZ #15915]
54530         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54531         * Makerules: ...here, and adjust associated comments.
54533 2013-10-02  Will Newton  <will.newton@linaro.org>
54535         * malloc/Makefile: Add tst-pvalloc.
54536         * malloc/tst-pvalloc.c: New file.
54538 2013-10-02  Will Newton  <will.newton@linaro.org>
54540         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54541         improve test coverage.
54543 2013-10-02  Will Newton  <will.newton@linaro.org>
54545         * malloc/Makefile: Add tst-posix_memalign.
54546         * malloc/tst-posix_memalign.c: New file.
54548 2013-10-01  Eric Blake  <eblake@redhat.com>
54550         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54551         Use __THROWNL rather than __THROW on static functions.
54553 2013-09-30  Petr Machata  <pmachata@redhat.com>
54555         * elf/elf.h (R_AARCH64_ABS16): New macro.
54556         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54557         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54558         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54559         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54560         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54561         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54562         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54563         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54564         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54565         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54566         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54567         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54568         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54569         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54570         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54571         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54572         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54573         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54574         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54575         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54576         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54577         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54578         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54579         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54580         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54581         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54582         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54583         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54584         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54585         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54586         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54587         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54588         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54589         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54590         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54591         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54592         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54593         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54594         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54595         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54596         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54597         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54598         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54599         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54600         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54601         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54602         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54603         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54604         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54605         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54606         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54607         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54608         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54609         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54610         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54611         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54612         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54613         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54614         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54615         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54616         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54617         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54618         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54619         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54620         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54621         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54622         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54623         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54624         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54625         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54626         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54627         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54628         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54629         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54630         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54631         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54632         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54633         (R_AARCH64_TLSDESC_LDR): Likewise.
54634         (R_AARCH64_TLSDESC_ADD): Likewise.
54635         (R_AARCH64_TLSDESC_CALL): Likewise.
54637 2013-09-30  Andreas Schwab  <schwab@suse.de>
54639         [BZ #15048]
54640         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54641         the nss database lookup.
54642         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54645 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54647         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54649 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54651         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54652         ${Bash-specific parameter/pattern/string} parameter expansion.
54653         * sysdeps/unix/make-syscalls.sh: Likewise.
54655 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54657         * sysdeps/sh/stackguard-macros.h: New file.
54659 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54663         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54664         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54665         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54666         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54668 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54670         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54671         Fix thread ID register.
54673 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54675         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54676         [POSIX || UNIX98]: Require rather than permitting all symbols from
54677         <time.h>.
54678         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54679         element of struct sched_param.
54680         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54681         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54682         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54683         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54684         constant.
54686 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54688         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54689         argument calculation.
54691 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54693         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54694         Expect macro.
54695         [POSIX] (pthread_attr_t): Do not require type.
54696         [POSIX] (pthread_cond_t): Likewise.
54697         [POSIX] (pthread_condattr_t): Likewise.
54698         [POSIX] (pthread_key_t): Likewise.
54699         [POSIX] (pthread_mutex_t): Likewise.
54700         [POSIX] (pthread_mutexattr_t): Likewise.
54701         [POSIX] (pthread_once_t): Likewise.
54702         [POSIX] (pthread_t): Likewise.
54703         [POSIX-based standards] (pthread_atfork): Expect function.
54705 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54706             Richard Sandiford  <richard@codesourcery.com>
54708         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54709         (swap_endianness_p): New extern variable.
54710         (set_big_endian): New inline function.
54711         (maybe_swap_uint32): Likewise.
54712         (maybe_swap_uint32_array): Likewise.
54713         (maybe_swap_uint32_obstack): Likewise.
54714         * locale/programs/locfile.c: Include <stdbool.h>.
54715         (swap_endianness_p): New variable.
54716         (add_locale_uint32): Call maybe_swap_uint32.
54717         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54718         (write_locale_data): Call maybe_swap_uint32_array.
54719         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54720         maybe_swap_uint32.
54721         (obstack_int32_grow_fast): Likewise.
54722         (output_weightwc): Call maybe_swap_uint32_obstack.
54723         (collate_output): Likewise.
54724         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54725         (OPT_LITTLE_ENDIAN): Likewise.
54726         (options): Add --little-endian and --big-endian options.
54727         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54728         * locale/programs/locarchive.c: Include "locfile.h".
54729         (GET): New macro.
54730         (SET): Likewise.
54731         (INC): Likewise.
54732         (create_archive): Use the new macros to access fields of
54733         structures directly mapped from or written to locale archives.
54734         (oldlocrecentcmp): Likewise.
54735         (enlarge_archive): Likewise.
54736         (insert_name): Likewise.
54737         (add_alias): Likewise.
54738         (add_locale): Likewise.
54739         (delete_locales_from_archive): Likewise.
54740         (show_archive_content): Likewise.
54741         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54742         locale data.
54744 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54746         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54747         http://www.gnu.org/doc/freemanuals.texi.
54748         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54750 2013-09-24  Will Newton  <will.newton@linaro.org>
54752         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54753         macro.
54755 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54757         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54758         unsigned char.
54760 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54762         * manual/threads.texi (POSIX Threads): Fix a typo.
54764 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54766         [BZ #14547]
54767         * string/tst-strcoll-overflow.c: New test case.
54768         * string/Makefile (xtests): Add tst-strcoll-overflow.
54769         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54770         cache if string sizes may cause integer overflow.
54772         [BZ #14547]
54773         * string/strcoll_l.c (coll_seq): New members rule, idx,
54774         save_idx and back_us.
54775         (get_next_seq_nocache): New function.
54776         (do_compare_nocache): New function.
54777         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54778         when malloc fails.
54780 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54782         [BZ #15754]
54783         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54784         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54785         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54787         [BZ #15754]
54788         * elf/Makefile (tests): Add tst-ptrguard1.
54789         (tests-static): Add tst-ptrguard1-static.
54790         (tst-ptrguard1-ARGS): Define.
54791         (tst-ptrguard1-static-ARGS): Define.
54792         * elf/tst-ptrguard1.c: New file.
54793         * elf/tst-ptrguard1-static.c: New file.
54794         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54795         * sysdeps/i386/stackguard-macros.h: Likewise.
54796         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54797         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54798         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54799         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54800         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54801         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54803 2013-09-23  Hector Marco  <hecmargi@upv.es>
54804             Ismael Ripoll  <iripoll@disca.upv.es>
54805             Carlos O'Donell  <carlos@redhat.com>
54807         [BZ #15754]
54808         * sysdeps/generic/stackguard-macros.h: Define
54809         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54810         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54811         Define __pointer_chk_guard_local.
54812         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54813         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54815 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54817         [BZ #15859]
54818         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54820 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54822         * include/string.h (__ffs): Declare as hidden.
54823         * string/ffs.c (__ffs): Define as hidden.
54824         * sysdeps/i386/ffs.c (__ffs): Likewise.
54825         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54826         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54827         * sysdeps/s390/ffs.c (__ffs): Likewise.
54828         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54830 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54832         * NEWS: Mention malloc probes.
54834         * malloc/arena.c (new_heap): New memory_heap_new probe.
54835         (grow_heap): New memory_heap_more probe.
54836         (shrink_heap): New memory_heap_less probe.
54837         (heap_trim): New memory_heap_free probe.
54838         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54839         (systrim): New memory_sbrk_less probe.
54840         * manual/probes.texi: Document them.
54842         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54843         * manual/probes.texi: Document it.
54845         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54846         (__libc_realloc): Add memory_realloc_retry probe.
54847         (__libc_memalign): Add memory_memalign_retry probe.
54848         (__libc_valloc): Add memory_valloc_retry probe.
54849         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54850         (__libc_calloc): Add memory_calloc_retry probe.
54851         * manual/probes.texi: Document them.
54853         * malloc/arena.c (get_free_list): Add probe
54854         memory_arena_reuse_free_list.
54855         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54856         and memory_arena_reuse.
54857         (arena_get2) [!PER_THREAD]: Likewise.
54858         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54859         memory_arena_reuse_realloc.
54860         * manual/probes.texi: Document them.
54862         * malloc/malloc.c (__libc_free): Add
54863         memory_mallopt_free_dyn_thresholds probe.
54864         (__libc_mallopt): Add multiple memory_mallopt probes.
54865         * manual/probes.texi: Document them.
54867         * malloc/malloc.c: Include stap-probe.h.
54868         (__libc_mallopt): Add memory_mallopt probe.
54869         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54870         * manual/probes.texi: New.
54871         * manual/Makefile (chapters): Add probes.
54872         * manual/threads.texi: Set next node.
54874 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54876         [BZ #15963, #13985]
54877         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54878         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54879         Add `Chinese' to `nan' entry name.
54881 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54883         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54884         (POLYNOMIAL): Likewise.
54885         (TAYLOR_SINCOS): Likewise.
54886         (TAYLOR_SLOW): Likewise.
54887         (__sin): Use TAYLOR_SINCOS.
54888         (__cos): Likewise.
54889         (slow): Use TAYLOR_SLOW.
54890         (sloww): Likewise.
54891         (bsloww): Likewise.
54892         (csloww): Likewise.
54894 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54896         * stdlib/strtod_l.c: Fix buffer overrun.
54898 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54900         * benchtests/Makefile (bench): Add sincos.
54901         * benchtests/bench-sincos.c: New file.
54903         * math/libm-test.inc (cos_test_data): New test inputs.
54904         (sin_test_data): Likewise.
54906         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54907         macro.
54908         (__sin): Use it.
54909         (__cos): Likewise.
54910         (slow1): Likewise.
54911         (slow2): Likewise.
54912         (sloww1): Likewise.
54913         (sloww2): Likewise.
54914         (bsloww1): Likewise.
54915         (bsloww2): Likewise.
54916         (cslow2): Likewise.
54917         (csloww1): Likewise.
54918         (csloww2): Likewise.
54920         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54921         function.
54922         (__sin): Use it.
54923         (__cos): Likewise.
54925         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54926         gotos.
54927         (__cos): Likewise.
54929 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54931         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54932         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54933         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54934         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54935         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54936         * elf/cache.c (print_entry): Handle the new cache flags.
54938 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54939             Aldy Hernandez  <aldyh@redhat.com>
54941         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54942         Change condition to [_SOFT_FLOAT].
54943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54945         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54947         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54948         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54949         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54950         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54953         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54954         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54955         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54958         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54959         declaration.
54961 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54963         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54964         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54965         (__longjmp): Use LOAD_GP to load saved GPRs.
54966         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54967         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54968         (__sigsetjmp): Use SAVE_GP to save GPRs.
54970         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54971         Do not append -msoft-float.
54972         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54974 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54976         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54978 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54980         [BZ #15966]
54981         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54982         (_FPU_GETCW): Use initial "__" on variable and field names but not
54983         on macro parameter name.
54984         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54985         parentheses around reference to macro parameter.
54987 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54989         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54990         prototype.
54991         (ctype_startup): Use uint32_t in cast and sizeof for
54992         ctype->charnames.
54994 2013-09-11  Jia Liu  <proljc@gmail.com>
54996         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54997         __daddr_t_defined.
54998         [__FreeBSD__]: Likewise.
55000 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
55002         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
55003         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
55004         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
55005         (strchr): Remove __strchr_sse42 ifunc selection.
55006         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
55007         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
55009 2013-09-11  Will Newton  <will.newton@linaro.org>
55011         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
55012         parameter to RES. Remove hardcoded 1000 value.
55013         * benchtests/bench-skeleton.c (main): Pass RES parameter
55014         to TIMING_INIT and multiply result by 1000.
55016 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55020 2013-09-11  Andreas Schwab  <schwab@suse.de>
55022         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
55023         if not defined.
55024         (O_TMPFILE) [__USE_GNU]: Define.
55025         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
55026         Define.
55028 2013-09-11  Will Newton  <will.newton@linaro.org>
55030         [BZ #15857]
55031         * malloc/malloc.c (__libc_memalign): Check the value of bytes
55032         does not overflow.
55034 2013-09-11  Will Newton  <will.newton@linaro.org>
55036         [BZ #15856]
55037         * malloc/malloc.c (__libc_valloc): Check the value of bytes
55038         does not overflow.
55040 2013-09-11  Will Newton  <will.newton@linaro.org>
55042         [BZ #15855]
55043         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55044         does not overflow.
55046 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55048         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55049         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55050         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55051         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55052         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55054 2013-09-10  Allan McRae  <allan@archlinux.org>
55056         [BZ #15748]
55057         * manual/arith.texi (Parsing of Floats): Clarify
55058         cross-reference.
55060         [BZ #15849]
55061         * manual/install.texi (Running make install): Mention
55062         --enable-pt-chown.
55063         * INSTALL: Regenerated.
55065 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55067         * csu/init-first.c (_init): Remove the !SHARED condition around
55068         FPU control word initialization.
55069         * elf/dl-support.c (_dl_fpu_control): New variable.
55070         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55071         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55072         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55073         * math/test-fpucw-static.c: New file.
55074         * math/test-fpucw-ieee.c: New file.
55075         * math/test-fpucw-ieee-static.c: New file.
55076         * math/Makefile (tests): Add `test-fpucw-ieee' and
55077         `$(tests-static)'.
55078         (tests-static): New variable.
55079         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55080         dependency to...
55081         [($(build-shared),yes)]
55082         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55083         ... this.
55084         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55085         New dependency.
55087 2013-09-09  Allan McRae  <allan@archlinux.org>
55089         [BZ #15939]
55090         * manual/string.texi (Collation Functions): Fix typo in
55091         strcoll example.
55092         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55094         [BZ #15893]
55095         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55097         [BZ #15892]
55098         * libio/memstream.c (open_memstream): Fix memory leak.
55099         * libio/wmemstream.c (open_wmemstream): Likewise.
55101         [BZ #15895]
55102         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55104 2013-09-09  Will Newton  <will.newton@linaro.org>
55106         * malloc/Makefile: Add tst-realloc to tests.
55107         * malloc/tst-realloc.c: New file.
55109 2013-09-09  Allan McRae  <allan@archlinux.org>
55111         [BZ #15844]
55112         * COPYING: Update from GNU website to fix FSF address.
55113         * COPYING.LIB: Likewise.
55115 2013-09-06  David S. Miller  <davem@davemloft.net>
55117         * po/zh_TW.po: Update Chinese (traditional) translation from
55118         translation project.
55120 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55121             Joseph Myers  <joseph@codesourcery.com>
55123         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55124         "localeinfo.h".
55125         (obstack_chunk_alloc): New macro.
55126         (obstack_chunk_free): Likewise.
55127         (record_offset): New function.
55128         (init_locale_data): Likewise.
55129         (align_locale_data): Likewise.
55130         (add_locale_empty): Likewise.
55131         (add_locale_raw_data): Likewise.
55132         (add_locale_raw_obstack): Likewise.
55133         (add_locale_string): Likewise.
55134         (add_locale_wstring): Likewise.
55135         (add_locale_uint32): Likewise.
55136         (add_locale_uint32_array): Likewise.
55137         (add_locale_char): Likewise.
55138         (start_locale_structure): Likewise.
55139         (end_locale_structure): Likewise.
55140         (start_locale_prelude): Likewise.
55141         (end_locale_prelude): Likewise.
55142         (write_locale_data): Take locale_file structure rather than an
55143         iovec.
55144         * locale/programs/locfile.h: Include "obstack.h".
55145         (struct locale_file): Change to store locale file contents instead
55146         of header.
55147         (init_locale_data): New prototype.
55148         (align_locale_data): Likewise.
55149         (add_locale_empty): Likewise.
55150         (add_locale_raw_data): Likewise.
55151         (add_locale_raw_obstack): Likewise.
55152         (add_locale_string): Likewise.
55153         (add_locale_wstring): Likewise.
55154         (add_locale_uint32): Likewise.
55155         (add_locale_uint32_array): Likewise.
55156         (add_locale_char): Likewise.
55157         (start_locale_structure): Likewise.
55158         (end_locale_structure): Likewise.
55159         (start_locale_prelude): Likewise.
55160         (end_locale_prelude): Likewise.
55161         (write_locale_data): Update prototype.
55162         * locale/programs/3level.h (struct TABLE): Remove result field.
55163         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55164         Use new locale_file interface.
55165         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55166         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55167         * locale/programs/ld-address.c (address_output): Use new
55168         locale_file interface.
55169         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55170         NO_ADD_LOCALE.
55171         (collate_finish): Don't call collseq_table_finalize.
55172         (collate_output): Use new locale_file interface.
55173         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55174         in file.
55175         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55176         (TABLE): Move defines earlier in file.
55177         (ELEMENT): Likewise.
55178         (DEFAULT): Likewise.
55179         (wctrans_table_add): Move macro and inline function earlier in
55180         file.
55181         (struct wctype_table): Move type earlier in file.
55182         (add_locale_wctype_table): New static prototype.
55183         (struct locale_ctype_t): Use logical types instead of struct iovec
55184         pointers for members.
55185         (ctype_output): Use new locale_file interface.
55186         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55187         new locale_file interface.
55188         (allocate_arrays): Update for use of new locale_file interface.
55189         * locale/programs/ld-identification.c (identification_output): Use
55190         new locale_file interface.
55191         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55192         * locale/programs/ld-messages.c (messages_output): Likewise.
55193         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55194         * locale/programs/ld-name.c (name_output): Likewise.
55195         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55196         * locale/programs/ld-paper.c (paper_output): Likewise.
55197         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55198         * locale/programs/ld-time.c (time_output): Likewise.
55200 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55202         * benchtests/Makefile: Add memrchr benchmark.
55203         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55204         benchmark as memrchr.
55205         * benchtests/bench-memrchr-ifunc.c: New file.
55206         * benchtests/bench-memrchr.c: New file.
55208 2013-09-06   Will Newton  <will.newton@linaro.org>
55210         * benchtests/Makefile (string-bench): Add memcpy.
55212 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55213             Cong Wang  <amwang@redhat.com>
55215         [BZ #15850]
55216         * sysdeps/unix/sysv/linux/bits/in.h
55217         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55218         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55219         before __USE_KERNEL_IPV6_DEFS uses.
55220         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55221         IPPROTO_BEETPH.
55222         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55223         sockaddr_in6, or ipv6_mreq.
55225 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55227         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55228         memory access for final bytes in some large inputs.
55229         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55231 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55233         * string/test-memrchr.c: New file.
55234         * string/test-memrchr-ifunc.c: New file.
55235         * string/Makefile: Add new memrchr testcase.
55237 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55239         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55240         fanotify_init returns EPERM.
55242 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55244         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55245         errors.
55246         (top level): Treat second token from macro or constant entries for
55247         allowed headers as allowed.
55248         * include/complex.h: Condition internal declarations on
55249         [!_ISOMAC].
55250         * include/fenv.h: Condition include of <stdbool.h> and internal
55251         declarations on [!_ISOMAC].
55253 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55255         [BZ #15923]
55256         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55258 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55260         * configure.in (--enable-versioning): Remove configure option.
55261         (libc_cv_asm_symver_directive): Remove configure test.
55262         (libc_cv_ld_version_script_option): Likewise.
55263         (VERSIONING): Remove variable and AC_SUBST.
55264         (DO_VERSIONING): Remove AC_DEFINE.
55265         * configure: Regenerated.
55266         * config.h.in (DO_VERSIONING): Remove macro.
55267         * Makerules [$(versioning) = yes]: Change conditionals to
55268         [$(build-shared) = yes].
55269         * config.make.in (versioning): Remove variable.
55270         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55271         [$(build-shared) = yes].
55272         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55273         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55274         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55275         [$(build-shared) = yes].
55276         * extra-lib.mk [$(versioning) = yes]: Likewise.
55277         * hurd/Makefile [$(versioning) = yes]: Likewise.
55278         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55279         [SHARED].
55280         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55281         [SHARED].
55282         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55283         [SHARED && !NO_HIDDEN].
55284         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55285         [SHARED].
55286         [SHARED && DO_VERSIONING]: Likewise..
55287         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55288         [$(build-shared) = yes].
55289         * manual/install.texi (--disable-versioning): Remove
55290         documentation.
55291         * INSTALL: Regenerated.
55292         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55293         to [SHARED].
55294         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55295         [$(build-shared) = yes].
55296         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55297         * sysdeps/i386/i686/multiarch/strstr-c.c
55298         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55299         [SHARED && !NO_HIDDEN].
55300         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55301         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55302         * sysdeps/powerpc/powerpc32/dl-machine.c
55303         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55304         * sysdeps/powerpc/powerpc32/sysdep.h
55305         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55306         to [SHARED && PIC && !NO_HIDDEN].
55307         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55308         conditional to [SHARED].
55310 2013-09-04   Will Newton  <will.newton@linaro.org>
55312         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55313         * benchtests/bench-string.h: Include bench-timing.h instead
55314         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55315         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55316         call to HP_TIMING_DIFF_INIT.
55317         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55318         instead of hp-timing.h macros.
55319         * benchtests/bench-memchr.c: Likewise.
55320         * benchtests/bench-memcmp.c: Likewise.
55321         * benchtests/bench-memcpy.c: Likewise.
55322         * benchtests/bench-memmem.c: Likewise.
55323         * benchtests/bench-memmove.c: Likewise.
55324         * benchtests/bench-memset.c: Likewise.
55325         * benchtests/bench-rawmemchr.c: Likewise.
55326         * benchtests/bench-strcasecmp.c: Likewise.
55327         * benchtests/bench-strcasestr.c: Likewise.
55328         * benchtests/bench-strcat.c: Likewise.
55329         * benchtests/bench-strchr.c: Likewise.
55330         * benchtests/bench-strcmp.c: Likewise.
55331         * benchtests/bench-strcpy.c: Likewise.
55332         * benchtests/bench-strcpy_chk.c: Likewise.
55333         * benchtests/bench-strlen.c: Likewise.
55334         * benchtests/bench-strncasecmp.c: Likewise.
55335         * benchtests/bench-strncat.c: Likewise.
55336         * benchtests/bench-strncmp.c: Likewise.
55337         * benchtests/bench-strncpy.c: Likewise.
55338         * benchtests/bench-strnlen.c: Likewise.
55339         * benchtests/bench-strpbrk.c: Likewise.
55340         * benchtests/bench-strrchr.c: Likewise.
55341         * benchtests/bench-strspn.c: Likewise.
55342         * benchtests/bench-strstr.c: Likewise.
55344 2013-09-04  Will Newton  <will.newton@linaro.org>
55346         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55348 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55350         [BZ #15427]
55351         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55352         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55353         * math/libm-test.inc (lgamma_test_data): Add more tests.
55354         * sysdeps/i386/fpu/libm-test-ulps: Update.
55355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55357 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55359         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55361         Add ifunc.
55362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55363         Add strcmp-sse2-unaligned
55364         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55366 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55368         * Versions.def (libc): Add GLIBC_2.19.
55370 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55372         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55373         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55375 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55377         [BZ #14155]
55378         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
55379         intermediate calculations in recurrence.
55380         (__ieee754_ynf): Likewise.
55381         * math/libm-test.inc (jn_test_data): Do not allow spurious
55382         underflow exception.  Add more tests.
55383         (yn_test_data): Add more tests.
55384         * sysdeps/i386/fpu/libm-test-ulps: Update.
55385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55387 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
55389         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
55391 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55393         * csu/init-first.c: Fix then/than typos.
55394         * locale/programs/ld-collate.c: Likewise.
55395         * locale/programs/linereader.h: Likewise.
55396         * manual/charset.texi: Likewise.
55397         * manual/filesys.texi: Likewise.
55398         * manual/stdio.texi: Likewise.
55399         * manual/string.texi: Likewise.
55400         * stdlib/fmtmsg.c: Likewise.
55401         * sysdeps/i386/stpncpy.S: Likewise.
55402         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55403         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55404         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55405         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55407 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55409         * elf/dl-open.c: Fix typos.
55410         * iconvdata/gbbig5.c: Likewise.
55411         * iconvdata/iso-2022-jp.c: Likewise.
55412         * iconv/gconv_int.h: Likewise.
55413         * iconv/loop.c: Likewise.
55414         * nis/rpcsvc/nis.h: Likewise.
55415         * resolv/ns_name.c: Likewise.
55416         * stdio-common/vfscanf.c: Likewise.
55417         * streams/stropts.h: Likewise.
55418         * sunrpc/rpc_thread.c: Likewise.
55419         * sysdeps/i386/strpbrk.S: Likewise.
55420         * sysdeps/ieee754/k_standard.c: Likewise.
55421         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55422         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55423         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
55424         * sysdeps/mach/hurd/profil.c: Likewise.
55425         * sysdeps/s390/dl-procinfo.h: Likewise.
55426         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
55427         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
55428         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55429         * sysdeps/x86_64/dl-trampoline.S: Likewise.
55430         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55432 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
55434         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
55435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
55437 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
55439         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
55440         aix specific files.
55441         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
55442         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
55443         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
55444         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55445         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
55446         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
55447         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
55448         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
55450 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55451             Roland McGrath  <roland@hack.frob.com>
55453         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
55454         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55456 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55458         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55459         __executable_start symbol instead of _start.
55461 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55463         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55464         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55465         Move macros to...
55466         * sysdeps/gnu/ldsodefs.h: ... this new file.
55468         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55469         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55470         instead of ELFOSABI_LINUX.
55472         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55473         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55474         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55475         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55476         Likewise.
55477         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55478         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55479         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55480         Likewise.
55481         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55482         (ibm_extended_long_double): Add ieee_nan member.
55483         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55484         (do_test): New function.
55486         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55487         TEST_TRUNC.
55488         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55489         functions, renamed from truncdfsf_test, trunctfsf_test,
55490         trunctfdf_test.
55491         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55492         functions.
55493         (do_test): Run all these.
55495 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55497         * argp/argp-help.c: Fix typos.
55498         * argp/argp-parse.c: Likewise.
55499         * debug/backtracesyms.c: Likewise.
55500         * elf/elf.h: Likewise.
55501         * malloc/malloc.c: Likewise.
55502         * nis/nis_print.c: Likewise.
55503         * resolv/res_comp.c: Likewise.
55504         * stdlib/stdlib.h: Likewise.
55505         * sunrpc/clnt_tcp.c: Likewise.
55506         * sunrpc/clnt_udp.c: Likewise.
55507         * sunrpc/clnt_unix.c: Likewise.
55508         * sysdeps/unix/bsd/ptsname.c: Likewise.
55509         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55510         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55512         Likewise.
55513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55514         Likewise.
55515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55516         Likewise.
55517         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55519 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55521         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55524 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55526         [BZ #15897]
55527         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55528         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55529         ($(objpfx)bug-dl-leaf): New rule.
55530         ($(objpfx)bug-dl-leaf.so): Likewise.
55531         ($(objpfx)bug-dl-leaf.out): Likewise.
55532         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55533         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55534         * dlfcn/bug-dl-leaf.c: New test.
55535         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55536         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55537         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55538         (dlclose): Likewise.
55539         (dlmopen): Likewise.
55541 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55543         * include/netdb.h [!_ISOMAC]:
55544         Don't include <tls.h>.
55545         (h_errno, __libc_h_errno): Move declaration and macros out of
55546         [_LIBC_REENTRANT].
55548         * include/resolv.h [_RESOLV_H_]:
55549         Don't include <tls.h>.
55550         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55551         * resolv/res_libc.c: Don't include <tls.h>.
55552         (_res): Use __attribute__ ((nocommon)) in place of
55553         __attribute__ ((section (".bss"))).
55555         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55556         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55558         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55560         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55561         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55563         * resolv/res_mkquery.c: Include <sys/time.h>.
55565         * inet/ifreq.c: Moved to ...
55566         * sysdeps/unix/ifreq.c: ... here.
55567         * inet/ifreq.c: New file, true stub version.
55569         * socket/sa_len.c: New file.
55570         * socket/Makefile (aux): Add it.
55571         * sysdeps/unix/sysv/linux/Makefile
55572         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55573         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55574         and #include <socket/sa_len.c>.
55575         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55576         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55578         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55579         * bits/socket.h: ... here.
55581         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55582         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55583         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55585 2013-08-27  Andreas Schwab  <schwab@suse.de>
55587         [BZ #15736]
55588         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55589         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55590         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55591         * string/test-strcasecmp.c (test_main): Run tests in several
55592         locales.
55593         * string/test-strncasecmp.c (test_main): Likewise.
55595         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55596         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55597         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55598         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55599         (__strncasecmp_ssse3) [PIC]: Likewise.
55601 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55603         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55605         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55606         instead of explicitly declaring xdecrypt.
55607         * nis/nss_nis/nis-publickey.c: Likewise.
55609 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55611         [BZ #15890]
55612         * nscd/aicache.c: Include res_hconf.h.
55613         (addhstaiX): Initialize res_hconf.
55615 2013-08-26  Andreas Schwab  <schwab@suse.de>
55617         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55618         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55620 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55622         * nscd/aicache.c (addhstaiX): Fix indentation.
55624 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55626         * configure.ac: Quote $build_pt_chown test.
55627         * configure: Regenerated.
55629 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55631         [BZ #15532]
55632         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55633         * math/s_cexpf.c (__cexpf): Likewise.
55634         * math/s_cexpl.c (__cexpl): Likewise.
55635         * math/libm-test.inc (cexp_test_data): Correct expected return
55636         value for NaN + i0.  Add another test.
55638 2013-08-22  David S. Miller  <davem@davemloft.net>
55640         * po/ca.po: Update Catalan translation from translation project.
55641         * po/uk.po: Add Ukrainian translations from translation project.
55643 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55645         [BZ #15797]
55646         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55647         is infinite, not alongside NaN test.
55648         * math/s_fdimf.c (__fdimf): Likewise.
55649         * math/s_fdiml.c (__fdiml): Likewise.
55650         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55651         errno is unchanged.
55653 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55655         * argp/argp-help.c: Fix typos.
55656         * crypt/speeds.c: Likewise.
55657         * csu/check_fds.c: Likewise.
55658         * elf/dl-load.c: Likewise.
55659         * elf/dl-open.c: Likewise.
55660         * elf/reldep3.c: Likewise.
55661         * elf/reldep.c: Likewise.
55662         * elf/sprof.c: Likewise.
55663         * iconv/iconv_charmap.c: Likewise.
55664         * iconv/skeleton.c: Likewise.
55665         * iconv/strtab.c: Likewise.
55666         * io/lockf64.c: Likewise.
55667         * libio/libioP.h: Likewise.
55668         * resolv/gai_notify.c: Likewise.
55669         * resolv/ns_name.c: Likewise.
55670         * resolv/ns_samedomain.c: Likewise.
55671         * resolv/res_send.c: Likewise.
55672         * stdlib/random.c: Likewise.
55673         * sunrpc/rpc/xdr.h: Likewise.
55674         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55675         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55676         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55677         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55678         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55679         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55681         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55682         * sysdeps/mach/hurd/check_fds.c: Likewise.
55683         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55684         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55685         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55686         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55687         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55688         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55689         * sysdeps/pthread/aio_notify.c: Likewise.
55690         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55691         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55692         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55693         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55694         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55696 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55698         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55699         version if bit_Slow_SSE4_2 is set.
55700         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55701         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55703 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55705         [BZ #15867]
55706         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55707         trampoline stack frame information.
55708         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55709         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55710         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55711         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55712         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55713         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55714         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55715         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55716         sa_flags value.
55717         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55718         interrupting a syscall and set with option SA_SIGINFO.
55720 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55722         [BZ #15531]
55723         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55724         argument is infinite.
55725         * math/s_cprojf.c (__cprojf): Likewise.
55726         * math/s_cprojl.c (__cprojl): Likewise.
55727         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55728         * math/libm-test.inc (cproj_test_data): Add more tests.
55730         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55732         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55733         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55734         size.  Use __ffs to determine corresponding shift.
55736 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55737             Roland McGrath  <roland@hack.frob.com>
55739         * Makefile (INSTALL): Remove trailing blank lines from output of
55740         makeinfo.
55742 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55744         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55745         Align 32 bit compat elf_greg to 8 bytes.
55747 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55749         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55751 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55753         * string/strcoll_l.c (coll_seq): New structure.
55754         (get_next_seq_cached): New function.
55755         (get_next_seq): New function.
55756         (do_compare): New function.
55757         (STRCOLL): Use GNU style definition.  Simplify implementation
55758         by using get_next_seq, get_next_seq_cached and do_compare.
55760 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55762         [BZ #14699]
55763         CVE-2013-4237
55764         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55765         member.
55766         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55767         member.
55768         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55769         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55770         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55771         conditional.
55772         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55773         GETDENTS_64BIT_ALIGNED.
55774         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55775         * manual/filesys.texi (Reading/Closing Directory): Document
55776         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55777         strongly.
55778         * manual/conf.texi (Limits for Files): Add portability note to
55779         NAME_MAX, PATH_MAX.
55780         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55782 2013-08-13  Andreas Schwab  <schwab@suse.de>
55784         [BZ #15749]
55785         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55786         of fabs.
55787         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55788         LDBL_MAX_EXP >= 16384]: Add tests for it.
55790 2013-08-12  David S. Miller  <davem@davemloft.net>
55792         * version.h (RELEASE): Set to "development".
55793         (VERSION): Set to "2.18.90".
55794         * NEWS: Add 2.19 section.
55796 2013-08-03  David S. Miller  <davem@davemloft.net>
55798         * po/ko.po: Update Korean translation from translation project.
55800 2013-08-01  David S. Miller  <davem@davemloft.net>
55802         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55803         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55804         Bilka.
55806 2013-07-30  David S. Miller  <davem@davemloft.net>
55808         * po/fr.po: Update French translation from translation project.
55810 2013-07-28  David S. Miller  <davem@davemloft.net>
55812         * po/cs.po: Update Czech translation from translation project.
55814         * po/sv.po: Update Swedish translation from translation project.
55816 2013-07-27  David S. Miller  <davem@davemloft.net>
55818         * po/eo.po: Update Esperanto translation from translation project.
55820         * po/vi.po: Update Vietnamese translation from translation project.
55822         * po/de.po: Update German translation from translation project.
55824 2013-07-26  David S. Miller  <davem@davemloft.net>
55826         * po/bg.po: Update Bulgarian translation from translation project.
55828         * po/nl.po: Update Dutch translation from translation project.
55829         * po/pl.po: Update Polish translation from translation project.
55830         * po/ru.po: Update Russian translation from translation project.
55832 2013-07-24  David S. Miller  <davem@davemloft.net>
55834         * po/libc.pot: Update.
55836 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55838         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55839         variable page size.
55840         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55841         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55842         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55844 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55846         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55848 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55849             Andreas Schwab  <schwab@suse.de>
55850             Roland McGrath  <roland@hack.frob.com>
55851             Joseph Myers  <joseph@codesourcery.com>
55852             Carlos O'Donell  <carlos@redhat.com>
55854         [BZ #15755]
55855         * config.h.in: Define HAVE_PT_CHOWN.
55856         * config.make.in (build-pt-chown): New variable.
55857         * configure.in (--enable-pt_chown): New configure option.
55858         * configure: Regenerate.
55859         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55860         build-pt-chown is enabled.
55861         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55862         pt_chown to fix pty ownership.
55863         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55864         CLOSE_ALL_FDS.
55865         * manual/install.texi (Configuring and compiling): Mention
55866         --enable-pt_chown. Add @findex for grantpt.
55867         * INSTALL: Regenerate.
55869 2013-07-20  David S. Miller  <davem@davemloft.net>
55871         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55872         difference between 32-bit and 64-bit.
55874 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55876         [BZ #15711]
55877         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55878         Avoid system header dependency with -ffreestanding.
55879         ($(objpfx)bits/syscall%d): Likewise.
55881 2013-07-13  David S. Miller  <davem@davemloft.net>
55883         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55884         underflows from atanl/atan2l due to bug 15319.
55885         (casinh_test_data): Likewise.
55887 2013-07-07  David S. Miller  <davem@davemloft.net>
55889         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55891 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55893         * sysdeps/i386/fpu/libm-test-ulps: Update.
55894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55896 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55898         * configure.in (--enable-lock-elision): Fix message text.
55899         * INSTALL: Regenerate.
55900         * configure: Regenerate.
55902 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55906 2013-07-03  Andreas Jaeger  <aj@suse.de>
55908         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55909         define.
55910         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55911         (ptrace_peeksiginfo_args): Add.
55912         (__ptrace_peeksiginfo_flags): Add.
55913         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55914         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55915         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55917 2013-07-03  Allan McRae  <allan@archlinux.org>
55919         * sysdeps/i386/fpu/libm-test-ulps: Update.
55921 2013-07-02  David S. Miller  <davem@davemloft.net>
55923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55925 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55929 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55931         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55934 2013-07-02  Andi Kleen <ak@linux.intel.com>
55936         * config.h.in (ENABLE_LOCK_ELISION): Add.
55937         * configure.in (--enable-lock-elision): Add option.
55938         * manual/install.texi: Document --enable lock elision.
55939         * configure: Regenerate
55940         * INSTALL: Regenerate.
55942 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55944         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55945         SSE4.2 strcasecmp for libc.a.
55946         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55948 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55950         [BZ #13304]
55951         * soft-fp/op-common.h (_FP_FMA): New macro.
55952         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55953         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55954         (_FP_MUL_MEAT_1_imm): ... here.
55955         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55956         (_FP_MUL_MEAT_1_wide): ... here.
55957         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55958         (_FP_MUL_MEAT_1_hard): ... here.
55959         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55960         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55961         (_FP_MUL_MEAT_2_wide): ... here.
55962         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55963         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55964         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55965         (_FP_MUL_MEAT_2_gmp): ... here.
55966         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55967         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55968         (_FP_MUL_MEAT_4_wide): ... here.
55969         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55970         (_FP_MUL_MEAT_4_gmp): ... here.
55971         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55972         (_FP_WFRACBITS_DW_S): Likewise.
55973         (_FP_WFRACXBITS_DW_S): Likewise.
55974         (_FP_HIGHBIT_DW_S): Likewise.
55975         (FP_FMA_S): Likewise.
55976         (_FP_FRAC_HIGH_DW_S): Likewise.
55977         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55978         (_FP_WFRACBITS_DW_D): Likewise.
55979         (_FP_WFRACXBITS_DW_D): Likewise.
55980         (_FP_HIGHBIT_DW_D): Likewise.
55981         (FP_FMA_D): Likewise.
55982         (_FP_FRAC_HIGH_DW_D): Likewise.
55983         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55984         (_FP_WFRACBITS_DW_E): Likewise.
55985         (_FP_WFRACXBITS_DW_E): Likewise.
55986         (_FP_HIGHBIT_DW_E): Likewise.
55987         (FP_FMA_E): Likewise.
55988         (_FP_FRAC_HIGH_DW_E): Likewise.
55989         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55990         (_FP_WFRACBITS_DW_Q): Likewise.
55991         (_FP_WFRACXBITS_DW_Q): Likewise.
55992         (_FP_HIGHBIT_DW_Q): Likewise.
55993         (FP_FMA_Q): Likewise.
55994         (_FP_FRAC_HIGH_DW_Q): Likewise.
55995         * soft-fp/fmasf4.c: New file.
55996         * soft-fp/fmadf4.c: Likewise.
55997         * soft-fp/fmatf4.c: Likewise.
55999 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56002         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
56003         Silvermont.
56004         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
56005         macro.
56006         (index_Slow_SSE4_2): Likewise.
56007         (index_Prefer_PMINUB_for_stringop): Likewise.
56008         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
56009         bit_Slow_SSE4_2 is set.
56010         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56011         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56013 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56015         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
56016         rtld_global._dl_hwcap2.
56017         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
56018         POWER8.
56019         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
56020         POWER8 feature descriptions defined in _dl_hwcap2.
56021         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
56022         string handling for POWER8 feature bits.
56023         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
56024         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
56025         _dl_powerpc_cap_flags.
56026         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
56027         * sysdeps/powerpc/rtld-global-offsets.sym
56028         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
56029         _dl_hwcap2 in the rtld_global_ro structure.
56031 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56033         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
56034         hardware capabilities in support of AT_HWCAP2.
56035         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
56036         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
56037         GLRO(dl_hwcap2).
56038         (_dl_show_auxv): Add support for calling _dl_procinfo to display
56039         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
56040         explicitly the unknown a_type display mechanism is used.
56041         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56042         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56043         struct member.
56044         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56045         to macro prototype for AT_HWCAP2 support.
56046         * sysdeps/i386/dl-procinfo.h: Likewise.
56047         * sysdeps/s390/dl-procinfo.h: Likewise.
56048         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56049         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56050         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56051         return -1 for unknown a_type display fallback.
56052         * sysdeps/sparc/dl-procinfo.h: Likewise.
56053         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56054         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56056 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56058         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56059         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56061 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56063         [BZ #12492]
56064         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56065         mprotect making __stack_prot writable.
56067 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56068             Joseph Myers  <joseph@codesourcery.com>
56070         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56071         as being properly aligned.
56073 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56075         * dlfcn/modstatic5.c: New file.
56076         * dlfcn/tststatic5.c: New file.
56077         * dlfcn/Makefile (tests): Add tststatic5.
56078         (tests-static): Likewise.
56079         (modules-names): Add modstatic5.
56080         (tststatic5-ENV): New variable.
56081         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56083         [BZ #15022]
56084         * elf/dl-support.c (_dl_main_map): New variable.
56085         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56086         (_dl_nns, _dl_load_adds): Set to 1.
56087         (_dl_initial_searchlist): Refer to _dl_main_map.
56088         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56089         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56090         call to _dl_get_origin.
56091         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56092         around call_map.
56093         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56094         * dlfcn/modstatic3.c: New file.
56095         * dlfcn/tststatic3.c: New file.
56096         * dlfcn/tststatic4.c: New file.
56097         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56098         (tests-static): Likewise.
56099         (modules-names): Add modstatic3.
56100         (tststatic3-ENV, tststatic4-ENV): New variables.
56101         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56102         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56104 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56106         * configure.in (CC): Require GCC version 4.4 or later.
56107         * configure: Regenerated.
56108         * manual/install.texi (Tools for Compilation): Update GCC version
56109         requirement.
56110         * INSTALL: Regenerated.
56112 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56114         [BZ #15674]
56115         * string/test-memcmp.c (check2): New.
56116         (main): Call check2.
56118         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56120 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56122         [BZ #15022]
56123         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56124         over to...
56125         (dl_open_worker) [!SHARED]: ... here.
56127 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56129         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56131 2013-06-25  Richard Henderson  <rth@redhat.com>
56133         * locale/programs/locarchive.c: Include <libc-internal.h>
56135 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56137         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56138         trailing whitespace removed.
56140 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56142         [BZ #10283]
56143         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56144         * locale/programs/locarchive.c: Include libc-mmap.h.
56145         (prepare_address_space): Take two new outputs (the mmap base and len).
56146         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56147         values.
56148         (create_archive): Declare new mmap base and len values for
56149         prepare_address_space, and store the result in ah.
56150         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56151         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56152         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56153         Declare new mmap base and len values for
56154         prepare_address_space, and store the result in new_ah.
56155         (open_archive): Declare new mmap base and len values for
56156         prepare_address_space, and store the result in ah.
56157         (close_archive): If ah->mmap_base is not NULL, use that and
56158         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56159         * sysdeps/generic/libc-mmap.h: New file.
56161 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56163         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56164         (ALIGN_UP): Likewise.
56165         (PTR_ALIGN_DOWN): Likewise.
56166         (PTR_ALIGN_UP): Likewise.
56168 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56170         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56171         entry mapped to PPC_PLATFORM_POWER8.
56172         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56173         POWER8.
56174         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56175         (_dl_string_platform): Add case for exporting platform position for
56176         POWER8.
56177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56178         search path to sysdeps/powerpc/powerpc32/power8 directory.
56179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56180         search path to sysdeps/powerpc/powerpc64/power8 directory.
56181         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56182         power7 directories.
56183         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56184         power7 directories.
56186 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56188         * INSTALL: Regenerate.
56190         * nscd/connections.c (nscd_init): Fix comment.
56192 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56194         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56196         [BZ #15667]
56197         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56198         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56200 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56202         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56203         DL_DST_REQ_STATIC.
56204         (DL_DST_REQ_STATIC): Remove macro.
56206 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56208         [BZ #7006]
56209         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56210         with a shift of 0 bits.
56212 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56214         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56215         $(tststatic-ENV).
56217 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56219         [BZ #15655]
56220         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56222 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56224         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56225         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56226         accepts -fno-tree-loop-distribute-patterns.
56227         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56228         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56229         recursive call.
56230         * string/memset.c (memset): Likewise.
56231         * string/test-memmove.c (simple_memmove): Disable loop transformation
56232         to library calls.
56233         * string/test-memset.c (simple_memset): Likewise.
56234         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56235         * benchtests/bench-memset.c (simple_memset): Likewise.
56236         * configure: Regenerated.
56238 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56240         * math/test-misc.c (main): Ignore fesetround failure when failures
56241         of subsequent rounding tests would be ignored.
56243         [BZ #15654]
56244         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56245         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56246         * math/fegetenv.c (__fegetenv): Return 0.
56247         * math/fegetexcept.c (fegetexcept): Return 0.
56248         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56249         FE_TONEAREST.
56250         * math/feholdexcpt.c (feholdexcept): Return 0.
56251         * math/fesetenv.c (__fesetenv): Return 0.
56252         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56253         argument FE_TONEAREST.
56254         * math/feupdateenv.c (__feupdateenv): Return 0.
56255         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56257 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56259         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56260         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56261         ($(objpfx)rtld-%.os rules): Use them.
56263 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56265         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56266         fields.
56268 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56270         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56271         length of target pattern, then descending length of dependency pattern.
56272         * configure.in (AWK): Require gawk 3.1.2 or newer.
56273         * manual/install.texi (Tools for Compilation): Say that we do.
56274         * configure: Regenerated.
56276         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56277         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56278         * scripts/sysd-rules.awk: ... this new script.
56279         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56280         than a glob-style pattern.
56282 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56284         * math/test-misc.c (main): Do not treat incorrectly rounded
56285         conversions as failure unless ROUNDING_TESTS passes.
56287 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56289         [BZ #15631]
56290         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56291         restore exception state around main square root computation, then
56292         check for inexactness explicitly.
56294         * math/libm-test.inc (fma_test_data): Add another test.
56296 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56298         * manual/threads.texi (Non-POSIX Extensions): New document
56299         node.  Document pthread_getattr_default_np and
56300         pthread_setattr_default_np.
56302         * Versions.def (libpthread): Add GLIBC_2.18.
56303         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56305         Likewise.
56306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56307         Likewise.
56308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56309         Likewise.
56310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56311         Likewise.
56312         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56313         Likewise.
56314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56315         Likewise.
56316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56317         Likewise.
56318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56319         Likewise.
56320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56321         Likewise.
56323 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56326         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56328 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56329             H.J. Lu  <hjl.tools@gmail.com>
56331         [BZ #15627]
56332         * sysdeps/x86_64/rtld-memset.c: Remove file.
56333         * sysdeps/x86_64/rtld-memset.S: New file.
56335 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56337         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56338         (test_in_one_mode): Take arguments for whether the rounding mode
56339         is supported for each floating-point type.
56340         (do_test): Pass new arguments to test_in_one_mode using
56341         ROUNDING_TESTS.
56343 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56345         * posix/tst-waitid.c (do_test): Distinguish different instances of
56346         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56347         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56348         before entering the kernel for waitpid.
56350 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56352         * NEWS: Fix note on clock function precision.  Text by Roland
56353         McGrath.
56355 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56357         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56358         it into place only when and if the sanity check passes.
56360 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56362         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56363         output for whether conversion result is exact.  Take argument
56364         indicating whether type is IBM long double.
56365         (round_for_all): Change need_exact field to ibm_ld.
56366         * stdlib/tst-strtod-round.c (struct exactness): New type.
56367         (struct test): Change bool ld_ok field to struct exactness exact.
56368         (TEST): Update all definitions for change to field.
56369         (tests): Regenerate array contents.
56370         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56371         field value.  Check for IBM long double here.
56372         (do_test): Update calls to test_in_one_mode.
56374 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56376         [BZ #12515]
56377         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56378         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
56380 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56382         [BZ #15605]
56383         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
56384         generated by the compiler on loop optimizations.
56385         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
56386         general definitions.
56388 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
56390         * math/bug-nextafter.c: Include <math-tests.h>.
56391         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56392         the relevant type.
56393         * math/bug-nexttoward.c: Include <math-tests.h>.
56394         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56395         the relevant type.
56396         * math/test-misc.c: Include <math-tests.h>.
56397         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56398         the relevant type.
56400 2013-06-12  Andreas Jaeger  <aj@suse.de>
56402         * po/ia.po: Update Interlingua translation from translation
56403         project.
56405 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56407         * include/fenv.h: Include stdbool.h.
56408         (struct rm_ctx): New structure.
56409         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
56410         Define macro.
56411         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
56412         (SET_RESTORE_ROUNDF): Likewise.
56413         (SET_RESTORE_ROUNDL): Likewise.
56414         (SET_RESTORE_ROUND_NOEX): Likewise.
56415         (SET_RESTORE_ROUND_NOEXF): Likewise.
56416         (SET_RESTORE_ROUND_NOEXL): Likewise.
56417         (SET_RESTORE_ROUND_53BIT): Likewise.
56418         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
56419         (libc_feresetround_noexf_ctx): Likewise.
56420         (libc_feresetround_noexl_ctx): Likewise.
56421         (libc_feholdsetround_53bit_ctx): Likewise.
56422         (libc_feresetround_53bit_ctx): Likewise.
56423         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
56424         (libc_feholdexcept_setround_sse_ctx): New function.
56425         (libc_fesetenv_sse_ctx): Likewise.
56426         (libc_feupdateenv_sse_ctx): Likewise.
56427         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
56428         (libc_feholdexcept_setround_387_ctx): Likewise.
56429         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
56430         (libc_feholdsetround_387_prec_ctx): Likewise.
56431         (libc_feholdsetround_387_ctx): Likewise.
56432         (libc_feholdsetround_387_53bit_ctx): Likewise.
56433         (libc_feholdsetround_sse_ctx): Likewise.
56434         (libc_feresetround_sse_ctx): Likewise.
56435         (libc_feresetround_387_ctx): Likewise.
56436         (libc_feupdateenv_387_ctx): Likewise.
56437         (libc_feholdexcept_setroundf_ctx): Define macro.
56438         (libc_fesetenvf_ctx): Likewise.
56439         (libc_feupdateenvf_ctx): Likewise.
56440         (libc_feholdsetroundf_ctx): Likewise.
56441         (libc_feresetroundf_ctx): Likewise.
56442         (libc_feholdexcept_setround_ctx): Likewise.
56443         (libc_fesetenv_ctx): Likewise.
56444         (libc_feupdateenv_ctx): Likewise.
56445         (libc_feholdsetround_ctx): Likewise.
56446         (libc_feresetround_ctx): Likewise.
56447         (libc_feholdexcept_setroundl_ctx): Likewise.
56448         (libc_feupdateenvl_ctx): Likewise.
56449         (libc_feholdsetroundl_ctx): Likewise.
56450         (libc_feresetroundl_ctx): Likewise.
56451         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
56452         (libc_feresetround_53bit_ctx): Likewise.
56454 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56456         * locale/iso-639.def: Convert to UTF-8.
56458 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56460         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56461         (EXCEPTION_TESTS_double): Likewise.
56462         (EXCEPTION_TESTS_long_double): Likewise.
56463         (EXCEPTION_TESTS): Likewise.
56464         * math/libm-test.inc (test_exceptions): Only test exceptions if
56465         EXCEPTION_TESTS (FLOAT).
56467 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56469         * benchtests/Makefile (string-bench): Add strcpy_chk and
56470         stpcpy_chk.
56471         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56472         * benchtests/bench-stpcpy_chk.c: New file.
56473         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56474         * benchtests/bench-strcpy_chk.c: New file.
56475         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56476         code.
56477         (do_test): Likewise.
56479 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56481         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56482         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56483         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56484         with tabs where appropriate.
56485         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56486         dl-procinfo.h.
56487         [PPC_PLATFORM_PPC440]: Likewise.
56488         [PPC_PLATFORM_PPC464]: Likewise.
56489         [PPC_PLATFORM_PPC476]: Likewise.
56490         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56491         ppc464, and ppc476 platform strings merging from ports/
56492         dl-procinfo.h.
56494 2013-06-11  Andreas Schwab  <schwab@suse.de>
56496         [BZ #14991]
56497         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56498         (from_ucs4_idx): Regenerate.
56499         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56500         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56501         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56502         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56503         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56504         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56505         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56506         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56507         from FROM_LOOP and TO_LOOP specific macros.
56508         (BODY): Handle combining characters.
56509         * iconvdata/BIG5HKSCS.irreversible: Update.
56510         * iconvdata/BIG5HKSCS.precomposed: New file.
56511         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56512         characters.
56513         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56515 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56517         * include/sys/time.h: Fix indentation and add copyright header.
56519         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56520         (do_test): Likewise.
56521         * string/test-memchr.c (do_one_test): Likewise.
56522         (do_test): Likewise.
56523         * string/test-memcmp.c (do_one_test): Likewise.
56524         (do_test): Likewise.
56525         * string/test-memcpy.c (do_one_test): Likewise.
56526         (do_test): Likewise.
56527         * string/test-memmem.c (do_one_test): Likewise.
56528         (do_test): Likewise.
56529         (do_random_tests): Likewise.
56530         * string/test-memmove.c (do_one_test): Likewise.
56531         (do_test): Likewise.
56532         * string/test-memset.c (do_one_test): Likewise.
56533         (do_test): Likewise.
56534         * string/test-rawmemchr.c (do_one_test): Likewise.
56535         (do_test): Likewise.
56536         * string/test-strcasecmp.c (do_one_test): Likewise.
56537         (do_test): Likewise.
56538         * string/test-strcasestr.c (do_one_test): Likewise.
56539         (do_test): Likewise.
56540         * string/test-strcat.c (do_one_test): Likewise.
56541         (do_test): Likewise.
56542         * string/test-strchr.c (do_one_test): Likewise.
56543         (do_test): Likewise.
56544         * string/test-strcmp.c (do_one_test): Likewise.
56545         (do_test): Likewise.
56546         * string/test-strcpy.c (do_one_test): Likewise.
56547         (do_test): Likewise.
56548         * string/test-string.h: Likewise.
56549         (test_init): Likewise.
56550         * string/test-strlen.c (do_one_test): Likewise.
56551         (do_test): Likewise.
56552         * string/test-strncasecmp.c (do_one_test): Likewise.
56553         (do_test): Likewise.
56554         * string/test-strncat.c (do_one_test): Likewise.
56555         (do_test): Likewise.
56556         * string/test-strncmp.c (do_one_test): Likewise.
56557         (do_test_limit): Likewise.
56558         (do_test): Likewise.
56559         * string/test-strncpy.c (do_one_test): Likewise.
56560         (do_test): Likewise.
56561         * string/test-strnlen.c (do_one_test): Likewise.
56562         (do_test): Likewise.
56563         * string/test-strpbrk.c (do_one_test): Likewise.
56564         (do_test): Likewise.
56565         * string/test-strrchr.c (do_one_test): Likewise.
56566         (do_test): Likewise.
56567         * string/test-strspn.c (do_one_test): Likewise.
56568         (do_test): Likewise.
56569         * string/test-strstr.c (do_one_test): Likewise.
56570         (do_test): Likewise.
56572         * benchtests/Makefile (string-bench): Add string benchmarks.
56573         * benchtests/bench-bcopy-ifunc.c: New file.
56574         * benchtests/bench-bcopy.c: New file.
56575         * benchtests/bench-bzero-ifunc.c: New file.
56576         * benchtests/bench-bzero.c: New file.
56577         * benchtests/bench-memccpy-ifunc.c: New file.
56578         * benchtests/bench-memccpy.c: New file.
56579         * benchtests/bench-memchr-ifunc.c: New file.
56580         * benchtests/bench-memchr.c: New file.
56581         * benchtests/bench-memcmp-ifunc.c: New file.
56582         * benchtests/bench-memcmp.c: New file.
56583         * benchtests/bench-memmem-ifunc.c: New file.
56584         * benchtests/bench-memmem.c: New file.
56585         * benchtests/bench-memmove-ifunc.c: New file.
56586         * benchtests/bench-memmove.c: New file.
56587         * benchtests/bench-mempcpy-ifunc.c: New file.
56588         * benchtests/bench-mempcpy.c: New file.
56589         * benchtests/bench-memset-ifunc.c: New file.
56590         * benchtests/bench-memset.c: New file.
56591         * benchtests/bench-rawmemchr-ifunc.c: New file.
56592         * benchtests/bench-rawmemchr.c: New file.
56593         * benchtests/bench-stpcpy-ifunc.c: New file.
56594         * benchtests/bench-stpcpy.c: New file.
56595         * benchtests/bench-stpncpy-ifunc.c: New file.
56596         * benchtests/bench-stpncpy.c: New file.
56597         * benchtests/bench-strcasecmp-ifunc.c: New file.
56598         * benchtests/bench-strcasecmp.c: New file.
56599         * benchtests/bench-strcasestr-ifunc.c: New file.
56600         * benchtests/bench-strcasestr.c: New file.
56601         * benchtests/bench-strcat-ifunc.c: New file.
56602         * benchtests/bench-strcat.c: New file.
56603         * benchtests/bench-strchr-ifunc.c: New file.
56604         * benchtests/bench-strchr.c: New file.
56605         * benchtests/bench-strchrnul-ifunc.c: New file.
56606         * benchtests/bench-strchrnul.c: New file.
56607         * benchtests/bench-strcmp-ifunc.c: New file.
56608         * benchtests/bench-strcmp.c: New file.
56609         * benchtests/bench-strcpy-ifunc.c: New file.
56610         * benchtests/bench-strcpy.c: New file.
56611         * benchtests/bench-strcspn-ifunc.c: New file.
56612         * benchtests/bench-strcspn.c: New file.
56613         * benchtests/bench-strlen-ifunc.c: New file.
56614         * benchtests/bench-strlen.c: New file.
56615         * benchtests/bench-strncasecmp-ifunc.c: New file.
56616         * benchtests/bench-strncasecmp.c: New file.
56617         * benchtests/bench-strncat-ifunc.c: New file.
56618         * benchtests/bench-strncat.c: New file.
56619         * benchtests/bench-strncmp-ifunc.c: New file.
56620         * benchtests/bench-strncmp.c: New file.
56621         * benchtests/bench-strncpy-ifunc.c: New file.
56622         * benchtests/bench-strncpy.c: New file.
56623         * benchtests/bench-strnlen-ifunc.c: New file.
56624         * benchtests/bench-strnlen.c: New file.
56625         * benchtests/bench-strpbrk-ifunc.c: New file.
56626         * benchtests/bench-strpbrk.c: New file.
56627         * benchtests/bench-strrchr-ifunc.c: New file.
56628         * benchtests/bench-strrchr.c: New file.
56629         * benchtests/bench-strspn-ifunc.c: New file.
56630         * benchtests/bench-strspn.c: New file.
56631         * benchtests/bench-strstr-ifunc.c: New file.
56632         * benchtests/bench-strstr.c: New file.
56634         * benchtests/Makefile: Disable parallel execution of targets.
56635         (string-bench): Add memcpy.
56636         (benchset): New variable to store a list of benchmark sets.
56637         (bench-func): Renamed from bench.
56638         (bench-set): New target.
56639         (bench): Depend on bench-func and bench-set.
56640         * benchtests/README: Add section on benchmark sets.
56641         * benchtests/bench-memcpy-ifunc.c: New file.
56642         * benchtests/bench-memcpy.c: New file.
56643         * benchtests/bench-string.h: New file.
56645 2013-06-11  Andreas Schwab  <schwab@suse.de>
56647         [BZ #15577]
56648         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56649         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56650         values in the triple.
56651         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56652         terminator in the group key.
56654 2013-06-11  Andreas Jaeger  <aj@suse.de>
56656         * po/zh_TW.po: Update Chinese (traditional) translation from
56657         translation project.
56659 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56661         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56662         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56663         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56664         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56665         (clock_getcpuclockid): Likewise.
56666         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56667         Add weak_alias and libc_hidden_def.
56668         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56669         * rt/clock_gettime.c (clock_gettime): Rename to
56670         __clock_gettime.  Add weak_alias and libc_hidden_def.
56671         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56672         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56673         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56674         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56675         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56676         Likewise.
56677         * rt/clock_settime.c (clock_settime): Rename to
56678         __clock_settime.  Add weak_alias and libc_hidden_def.
56679         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56681 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56683         * mach/err_boot.sub: Remove trailing whitespace.
56684         * mach/err_ipc.sub: Likewise.
56685         * mach/err_mach.sub: Likewise.
56687         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56688         (ROUNDING_TESTS_double): Likewise.
56689         (ROUNDING_TESTS_long_double): Likewise.
56690         (ROUNDING_TESTS): Likewise.
56691         * math/libm-test.inc: Include <math-tests.h>.
56692         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56693         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56694         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56695         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56697 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56699         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56700         of assigning.
56702 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56704         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56705         otherwise empty TRANS lines.
56706         * sysdeps/gnu/errlist.c: Regenerated.
56708         * catgets/gencat.c (error_print): Use (void) in function
56709         definition.
56710         * crypt/crypt_util.c (__init_des): Likewise.
56711         * crypt/speeds.c (Stop): Likewise.
56712         (main): Likewise.
56713         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56714         * inet/ruserpass.c (token): Likewise.
56715         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56716         * intl/localealias.c (extend_alias_table): Likewise.
56717         * intl/plural-exp.c (init_germanic_plural): Likewise.
56718         * libio/fcloseall.c (__fcloseall): Likewise.
56719         * libio/genops.c (_IO_flush_all): Likewise.
56720         (_IO_flush_all_linebuffered): Likewise.
56721         (_IO_cleanup): Likewise.
56722         (_IO_iter_begin): Likewise.
56723         (_IO_iter_end): Likewise.
56724         (_IO_list_lock): Likewise.
56725         (_IO_list_unlock): Likewise.
56726         (_IO_list_resetlock): Likewise.
56727         * libio/getchar.c (getchar): Likewise.
56728         * libio/getchar_u.c (getchar_unlocked): Likewise.
56729         * libio/getwchar.c (getwchar): Likewise.
56730         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56731         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56732         * login/getpt.c (__getpt): Likewise.
56733         * login/tst-utmp.c (main): Likewise.
56734         * malloc/hooks.c (__malloc_check_init): Likewise.
56735         * malloc/malloc.c (__malloc_stats): Likewise.
56736         * malloc/mtrace.c (tr_break): Likewise.
56737         (mtrace): Likewise.
56738         (muntrace): Likewise.
56739         * misc/fstab.c (endfsent): Likewise.
56740         * misc/getclktck.c (__getclktck): Likewise.
56741         * misc/getdtsz.c (__getdtablesize): Likewise.
56742         * misc/gethostid.c (gethostid): Likewise.
56743         * misc/getpagesize.c (__getpagesize): Likewise.
56744         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56745         (__get_nprocs): Likewise.
56746         (__get_phys_pages): Likewise.
56747         (__get_avphys_pages): Likewise.
56748         * misc/getttyent.c (getttyent): Likewise.
56749         (setttyent): Likewise.
56750         (endttyent): Likewise.
56751         * misc/getusershell.c (getusershell): Likewise.
56752         (endusershell): Likewise.
56753         (setusershell): Likewise.
56754         (initshells): Likewise.
56755         * misc/hsearch.c (__hdestroy): Likewise.
56756         * misc/sync.c (sync): Likewise.
56757         * misc/syslog.c (closelog_internal): Likewise.
56758         (closelog): Likewise.
56759         * misc/ttyslot.c (ttyslot): Likewise.
56760         * misc/vhangup.c (vhangup): Likewise.
56761         * posix/fork.c (__fork): Likewise.
56762         * posix/getegid.c (__getegid): Likewise.
56763         * posix/geteuid.c (__geteuid): Likewise.
56764         * posix/getgid.c (__getgid): Likewise.
56765         * posix/getpid.c (__getpid): Likewise.
56766         * posix/getppid.c (__getppid): Likewise.
56767         * posix/getuid.c (__getuid): Likewise.
56768         * posix/pause.c (pause): Likewise.
56769         * posix/setpgrp.c (setpgrp): Likewise.
56770         * posix/setsid.c (__setsid): Likewise.
56771         * posix/test-vfork.c (noop): Likewise.
56772         * resolv/gethnamaddr.c (_endhtent): Likewise.
56773         (_gethtent): Likewise.
56774         (ht_endhostent): Likewise.
56775         (gethostent): Likewise.
56776         (dns_service): Likewise.
56777         * stdlib/drand48.c (drand48): Likewise.
56778         * stdlib/lrand48.c (lrand48): Likewise.
56779         * stdlib/mrand48.c (mrand48): Likewise.
56780         * stdlib/rand.c (rand): Likewise.
56781         * stdlib/random.c (__random): Likewise.
56782         * stdlib/setenv.c (clearenv): Likewise.
56783         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56784         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56785         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56786         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56787         (__get_nprocs): Likewise.
56788         (__get_phys_pages): Likewise.
56789         (__get_avphys_pages): Likewise.
56790         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56791         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56792         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56793         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56794         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56795         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56796         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56797         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56798         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56799         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56800         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56801         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56802         * sysdeps/posix/clock.c (clock): Likewise.
56803         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56804         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56805         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56806         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56807         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56808         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56809         (__get_nprocs_conf): Likewise.
56810         (__get_phys_pages): Likewise.
56811         (__get_avphys_pages): Likewise.
56812         * time/clock.c (clock): Likewise.
56813         * time/tzset.c (__tzname_max): Likewise.
56815 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56817         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56818         (__bswap_32): Do not use "register".
56819         * crypt/crypt.c (_ufc_doit_r): Likewise.
56820         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56821         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56822         * gmon/gmon.c (__monstartup): Likewise.
56823         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56824         * hurd/hurdmalloc.c (more_memory): Likewise.
56825         (malloc): Likewise.
56826         (free): Likewise.
56827         (realloc): Likewise.
56828         (malloc_fork_prepare): Likewise.
56829         (malloc_fork_parent): Likewise.
56830         (malloc_fork_child): Likewise.
56831         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56832         (_svcauth_des): Likewise.
56833         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56834         * inet/inet_net.c (inet_network): Likewise.
56835         * inet/inet_netof.c (inet_netof): Likewise.
56836         * inet/rcmd.c (__validuser2_sa): Likewise.
56837         * io/fts.c (fts_open): Likewise.
56838         (fts_load): Likewise.
56839         (fts_close): Likewise.
56840         (fts_read): Likewise.
56841         (fts_children): Likewise.
56842         (fts_build): Likewise.
56843         (fts_stat): Likewise.
56844         (fts_sort): Likewise.
56845         (fts_alloc): Likewise.
56846         (fts_lfree): Likewise.
56847         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56848         (_IO_file_xsgetn): Likewise.
56849         (_IO_file_xsgetn_mmap): Likewise.
56850         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56851         (_IO_cookie_write): Likewise.
56852         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56853         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56854         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56855         * malloc/obstack.c (_obstack_begin): Likewise.
56856         (_obstack_begin_1): Likewise.
56857         (_obstack_newchunk): Likewise.
56858         (_obstack_allocated_p): Likewise.
56859         (obstack_free): Likewise.
56860         (_obstack_memory_used): Likewise.
56861         * misc/getttyent.c (getttynam): Likewise.
56862         (getttyent): Likewise.
56863         (skip): Likewise.
56864         (value): Likewise.
56865         * misc/getusershell.c (initshells): Likewise.
56866         * misc/syslog.c (__vsyslog_chk): Likewise.
56867         * misc/ttyslot.c (ttyslot): Likewise.
56868         * nis/nis_hash.c (__nis_hash): Likewise.
56869         * posix/fnmatch_loop.c (FCT): Likewise.
56870         * posix/getconf.c (print_all): Likewise.
56871         (main): Likewise.
56872         * posix/getopt.c (exchange): Likewise.
56873         * posix/glob.c (globfree): Likewise.
56874         (prefix_array): Likewise.
56875         (__glob_pattern_type): Likewise.
56876         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56877         (NS_GET32): Likewise.
56878         (NS_PUT16): Likewise.
56879         (NS_PUT32): Likewise.
56880         * resolv/gethnamaddr.c (getanswer): Likewise.
56881         (gethostbyname2): Likewise.
56882         (gethostbyaddr): Likewise.
56883         (_gethtent): Likewise.
56884         (_gethtbyname2): Likewise.
56885         (_gethtbyaddr): Likewise.
56886         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56887         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56888         * resolv/res_init.c (__res_vinit): Likewise.
56889         (net_mask): Likewise.
56890         * resolv/res_mkquery.c (outchar): Likewise.
56891         (PRINT): Likewise.
56892         * stdio-common/printf_fp.c (outchar): Likewise.
56893         (PRINT): Likewise.
56894         * stdio-common/printf_fphex.c (outchar): Likewise.
56895         (PRINT): Likewise.
56896         * stdio-common/printf_size.c (outchar): Likewise.
56897         (PRINT): Likewise.
56898         * stdio-common/test_rdwr.c (main): Likewise.
56899         * stdio-common/tfformat.c (matches): Likewise.
56900         * stdio-common/vfprintf.c (outchar): Likewise.
56901         (printf_unknown): Likewise.
56902         (buffered_vfprintf): Likewise.
56903         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56904         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56905         (ReadFile): Likewise.
56906         * stdlib/qsort.c (SWAP): Likewise.
56907         (_quicksort): Likewise.
56908         * stdlib/setenv.c (__add_to_environ): Likewise.
56909         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56910         * stdlib/strtol_l.c (__strtol_l): Likewise.
56911         * stdlib/tst-strtod.c (main): Likewise.
56912         * stdlib/tst-strtol.c (main): Likewise.
56913         * stdlib/tst-strtoll.c (main): Likewise.
56914         * string/bits/string2.h (__strcmp_cc): Likewise.
56915         (__strcmp_cg): Likewise.
56916         (__strcspn_c1): Likewise.
56917         (__strcspn_c2): Likewise.
56918         (__strcspn_c3): Likewise.
56919         (__strspn_c1): Likewise.
56920         (__strspn_c2): Likewise.
56921         (__strspn_c3): Likewise.
56922         (__strsep_1c): Likewise.
56923         (__strsep_2c): Likewise.
56924         (__strsep_3c): Likewise.
56925         * string/memccpy.c (__memccpy): Likewise.
56926         * string/stpcpy.c (__stpcpy): Likewise.
56927         * string/strcmp.c (strcmp): Likewise.
56928         * string/strrchr.c (strrchr): Likewise.
56929         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56930         Likewise.
56931         * sysdeps/mach/hurd/getcwd.c
56932         (_hurd_canonicalize_directory_name_internal): Likewise.
56933         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56934         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56935         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56936         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56937         Likewise, in both definitions.
56938         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56939         definitions.
56940         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56941         64] (__bswap_64): Likewise.
56942         * time/test_time.c (main): Likewise.
56943         * time/tzfile.c (__tzfile_read): Likewise.
56944         (__tzfile_compute): Likewise.
56945         * time/tzset.c (__tzset_parse_tz): Likewise.
56946         (tzset_internal): Likewise.
56947         (compute_change): Likewise.
56948         * wcsmbs/wcscat.c (__wcscat): Likewise.
56949         * wcsmbs/wcschr.c (wcschr): Likewise.
56950         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56951         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56952         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56953         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56954         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56955         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56956         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56957         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56958         * wcsmbs/wmemset.c (wmemset): Likewise.
56960 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56962         * scripts/config.guess: Update to version 2013-05-16.
56963         * scripts/config.sub: Update to version 2013-04-24.
56964         * scripts/install-sh: Update to version 2011-11-20.07.
56965         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56966         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56968 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56970         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56971         * elf/sln.c: Likewise.
56972         * hurd/hurd/ioctl.h: Likewise.
56973         * hurd/hurdmalloc.c: Likewise.
56974         * hurd/xattr.c: Likewise.
56975         * include/shlib-compat.h: Likewise.
56976         * inet/ruserpass.c: Likewise.
56977         * libio/iofgets_u.c: Likewise.
56978         * libio/iofgetws_u.c: Likewise.
56979         * locale/programs/ld-identification.c: Likewise.
56980         * locale/programs/ld-time.c: Likewise.
56981         * mach/msg-destroy.c: Likewise.
56982         * nss/nss_files/files-netgrp.c: Likewise.
56983         * resolv/res_data.c: Likewise.
56984         * soft-fp/op-1.h: Likewise.
56985         * soft-fp/op-2.h: Likewise.
56986         * soft-fp/op-4.h: Likewise.
56987         * soft-fp/op-common.h: Likewise.
56988         * stdio-common/printf_fphex.c: Likewise.
56989         * stdlib/strtod_l.c: Likewise.
56990         * sunrpc/rpc/clnt.h: Likewise.
56991         * sysdeps/generic/framestate.c: Likewise.
56992         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56993         * sysdeps/i386/bsd-setjmp.S: Likewise.
56994         * sysdeps/i386/__longjmp.S: Likewise.
56995         * sysdeps/i386/setjmp.S: Likewise.
56996         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56997         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56998         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56999         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57000         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57001         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57002         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57003         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57004         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57005         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57006         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57007         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57008         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57009         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57010         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57011         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57012         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57013         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
57014         * sysdeps/ieee754/support.c: Likewise.
57015         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57016         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
57017         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
57018         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
57019         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
57020         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
57021         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
57022         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
57023         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
57024         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
57025         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
57026         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
57027         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
57028         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
57029         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
57030         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
57031         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
57034 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
57036         * posix/transbug.c: Remove executable mode.
57038 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
57040         * crypt/speeds.c: Remove trailing whitespace.
57041         * dlfcn/default.c: Likewise.
57042         * elf/ifuncdep2.c: Likewise.
57043         * elf/ifuncmain1.c: Likewise.
57044         * elf/ifuncmain1vis.c: Likewise.
57045         * elf/testobj.h: Likewise.
57046         * elf/tst-stackguard1.c: Likewise.
57047         * gmon/sys/gmon.h: Likewise.
57048         * hurd/hurdmsg.c: Likewise.
57049         * hurd/new-fd.c: Likewise.
57050         * hurd/ports-get.c: Likewise.
57051         * iconvdata/ibm1008_420.c: Likewise.
57052         * inet/tst-getni1.c: Likewise.
57053         * inet/tst-getni2.c: Likewise.
57054         * libio/ioungetc.c: Likewise.
57055         * libio/wfiledoalloc.c: Likewise.
57056         * manual/libm-err-tab.pl: Likewise.
57057         * math/w_dremf.c: Likewise.
57058         * misc/ftruncate.c: Likewise.
57059         * posix/bug-glob2.c: Likewise.
57060         * posix/tst-pcre.c: Likewise.
57061         * posix/wait4.c: Likewise.
57062         * resolv/README: Likewise.
57063         * resolv/res_debug.h: Likewise.
57064         * resolv/tst-inet_ntop.c: Likewise.
57065         * setjmp/bug269-setjmp.c: Likewise.
57066         * soft-fp/extended.h: Likewise.
57067         * soft-fp/op-1.h: Likewise.
57068         * soft-fp/op-2.h: Likewise.
57069         * soft-fp/op-4.h: Likewise.
57070         * soft-fp/op-8.h: Likewise.
57071         * soft-fp/testit.c: Likewise.
57072         * stdio-common/bug16.c: Likewise.
57073         * stdlib/random.c: Likewise.
57074         * sunrpc/rpcsvc/rquota.x: Likewise.
57075         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57076         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57077         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57078         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57079         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57080         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57081         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57082         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57083         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57084         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57085         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57086         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57087         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57088         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57089         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57090         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57091         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57092         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57093         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57094         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57095         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57096         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57097         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57098         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57099         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57100         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57101         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57102         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57103         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57104         * sysdeps/ieee754/s_lib_version.c: Likewise.
57105         * sysdeps/mach/hurd/check_fds.c: Likewise.
57106         * sysdeps/mach/hurd/getsockname.c: Likewise.
57107         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57108         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57109         * sysdeps/powerpc/bits/link.h: Likewise.
57110         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57111         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57112         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57113         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57114         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57115         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57116         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57117         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57118         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57119         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57120         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57121         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57122         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57123         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57124         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57125         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57126         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57127         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57128         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57129         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57130         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57131         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57132         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57133         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57134         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57135         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57136         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57137         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57138         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57139         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57140         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57141         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57142         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57143         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57144         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57145         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57146         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57147         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57148         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57149         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57150         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57151         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57152         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57153         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57154         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57155         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57156         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57157         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57158         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57159         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57162         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57163         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57164         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57165         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57166         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57167         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57168         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57169         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57170         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57171         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57172         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57173         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57174         * sysdeps/powerpc/sysdep.h: Likewise.
57175         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57176         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57177         * sysdeps/sh/dl-trampoline.S: Likewise.
57178         * sysdeps/sh/memset.S: Likewise.
57179         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57180         * sysdeps/sh/strlen.S: Likewise.
57181         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57182         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57183         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57184         * sysdeps/sparc/sparc32/rem.S: Likewise.
57185         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57186         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57187         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57188         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57189         * sysdeps/sparc/sparc32/urem.S: Likewise.
57190         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57191         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57192         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57193         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57194         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57195         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57196         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57197         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57198         * sysdeps/unix/bsd/times.c: Likewise.
57199         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57200         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57204         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57205         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57206         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57207         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57208         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57209         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57210         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57211         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57212         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57213         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57214         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57215         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57216         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57217         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57218         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57219         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57220         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57221         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57222         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57223         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57224         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57225         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57226         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57227         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57228         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57229         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57230         * sysdeps/x86_64/strcspn.S: Likewise.
57232 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57234         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57235         generated file.  Regenerate properly from gen-translit.pl.
57236         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57237         locale/C-translit.h.
57239 2013-06-05  Andreas Schwab  <schwab@suse.de>
57241         [BZ #15100]
57242         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57243         week as 6 instead of -1.
57244         * time/tst-strptime.c (day_tests): Add test case.
57246 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57248         * sysdeps/generic/math_private.h
57249         (libc_feholdexcept_setround_53bit): Replace with
57250         libc_feholdsetround_53bit.
57251         (libc_feupdateenv_53bit): Replace with
57252         libc_feresetround_53bit.
57253         (SET_RESTORE_ROUND_53BIT): Adjust.
57255 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57257         * string/test-strchrnul.c: Add copyright header.
57259         * posix/tst-getaddrinfo4.c: Increase test timeout.
57261 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57263         [BZ #15536]
57264         * math/libm-test.inc (MAX_EXP): Remove
57265         (MIN_EXP): Define.
57266         (ulp): Use MIN_EXP - MANT_DIG.
57267         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57269 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57271         * po/be.po: Revert last change.
57272         * po/zh_CN.po: Likewise.
57273         * po/header.pot: Likewise.
57275 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57277         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57278         link-libc-deps to empty as target-specific variable.
57279         * Makerules (link-libc-args): New variable.
57280         (libc-for-link): Likewise.
57281         (link-libc-deps): Likewise.
57282         (lib%.so): Depend on $(link-libc-deps).  Link with
57283         $(link-libc-args).
57284         (build-module): Link with $(link-libc-args).
57285         (build-module-asneeded): Likewise.
57286         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57287         list of objects.
57288         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57289         target-specific variable.
57290         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57291         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57292         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57293         libc.
57294         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57295         libc and ld.so.
57296         ($(objpfx)libpcprofile.so): Likewise.
57297         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57298         libc_nonshared.a.
57299         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57300         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57301         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57302         $(link-libc-deps).
57303         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57304         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57305         * login/Makefile ($(objpfx)libutil.so): Likewise.
57306         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57307         * math/Makefile ($(objpfx)libm.so): Likewise.
57308         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57309         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57310         variable instead of depending directly on libc.
57311         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57312         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57313         $(link-libc-deps).
57314         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57315         libc.
57316         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57317         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57318         ($(objpfx)libanl.so): Likewise.
57319         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57320         ld.so.
57321         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57322         $(link-libc-deps).
57323         * sysdeps/i386/fpu/Makefile: Remove file.
57324         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57325         ($(objpfx)libm.so): Remove dependency on ld.so.
57327 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57329         [BZ # 15553]
57330         * nis/yp_xdr.c (XDRMAXNAME): Define.
57331         (XDRMAXRECORD): Define.
57332         (xdr_domainname): Use XDRMAXNAME.
57333         (xdr_mapname): Likewise.
57334         (xdr_peername): Likewise.
57335         (xdr_keydat): Use XDRMAXRECORD.
57336         (xdr_valdat): Likewise.
57338 2013-05-30  Jeff Law  <law@redhat.com>
57340         [BZ #14256]
57341         * manual/errno.texi (ESTALE): Update to account for more than
57342         just NFS file systems.
57343         * sysdeps/gnu/errlist.c: Regenerated.
57345 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57347         [BZ #15465]
57348         * elf/Makefile (tests): Add tst-null-argv.
57349         (modules-names):  Add tst-null-argv-lib.
57350         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57351         (tst-null-argv-ENV): Set environment for tst-null-argv.
57352         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57353         (RTLD_PROGNAME): New macro.
57354         * elf/tst-null-argv.c: New test case.
57355         * elf/tst-null-argv-lib.c: Library for test case.
57356         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57357         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57358         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57359         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57360         * elf/dl-init.c (call_init): Likewise.
57361         (_dl_init): Likewise.
57362         * elf/dl-load.c (print_search_path): Likewise.
57363         (_dl_map_object): Likewise.
57364         * elf/dl-lookup.c (do_lookup_x): Likewise.
57365         (add_dependency): Likewise.
57366         (_dl_lookup_symbol_x): Likewise.
57367         (_dl_debug_bindings): Likewise.
57368         * elf/dl-open.c (_dl_show_scope): Likewise.
57369         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57370         * elf/dl-version.c (match_symbol): Likewise.
57371         (_dl_check_map_versions): Likewise.
57372         * elf/rtld.c (dl_main): Likewise.
57373         (print_unresolved): Use RTLD_PROGNAME.
57374         (print_missing_version): Likewise.
57375         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57376         (elf_machine_rela): Likewise.
57377         * sysdeps/powerpc/powerpc32/dl-machine.c
57378         (__process_machine_rela): Likewise.
57379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57380         Likewise.
57381         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57382         Likewise.
57383         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
57384         Likewise.
57385         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
57387         Likewise.
57388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
57389         Likewise.
57390         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57392 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
57394         * po/be.po: Add descriptive title.
57395         * po/zh_CN.po: Likewise.
57396         * po/header.pot: Likewise.
57398 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
57400         * locale/programs/locarchive.c (create_archive): Inlucde fname in
57401         error message.
57402         (enlarge_archive): Likewise.
57404 2013-05-28  Ben North  <ben@redfrontdoor.org>
57406         * manual/arith.texi (frexp): It is the magnitude of the return
57407         value which lies in [0.5, 1), not the return value itself.
57409 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57413 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
57415         * stdio-common/bug26.c (main): Correct fscanf template.
57417         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
57418         declare _dl_skip_args.
57420         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
57421         Don't declare.
57423         * manual/platform.texi: Add missing @end deftypefun.
57425 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57427         [BZ #15529]
57428         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
57429         bit of mantissa of 2^16382.
57430         * math/libm-test.inc (hypot_test_data): Add more tests.
57432         * math/libm-test.inc: Add drem and pow10 to list of tested
57433         functions.
57434         (pow10_test): New function.
57435         (drem_test): Likewise.
57436         (drem_test_tonearest): Likewise.
57437         (drem_test_towardzero): Likewise.
57438         (drem_test_downward): Likewise.
57439         (drem_test_upward): Likewise.
57440         (main): Call the new functions.
57442         * math/libm-test.inc (finite_test_data): Remove.
57443         (finite_test): Run tests from isfinite_test_data.
57444         (gamma_test_data): Remove.
57445         (gamma_test): Run tests from lgamma_test_data.
57446         * sysdeps/i386/fpu/libm-test-ulps: Update.
57447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57449 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57451         * manual/platform.texi: Add PowerPC PPR function set documentation.
57452         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
57453         implementation.
57455 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57457         * math/libm-test.inc (MAX_EXP): Define.
57458         (ULPDIFF): Define.
57459         (ulp): New function.
57460         (check_float_internal): Use ULPDIFF.
57461         (cpow_test): Disable failing test.
57462         (check_ulp): Test ulp() implementation.
57463         (main): Call check_ulp before starting tests.
57465 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57467         * math/gen-libm-test.pl (generate_testfile): Do not handle
57468         START_DATA and END_DATA.
57469         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57470         END_DATA.
57471         (acos_tonearest_test_data): Likewise.
57472         (acos_towardzero_test_data): Likewise.
57473         (acos_downward_test_data): Likewise.
57474         (acos_upward_test_data): Likewise.
57475         (acosh_test_data): Likewise.
57476         (asin_test_data): Likewise.
57477         (asin_tonearest_test_data): Likewise.
57478         (asin_towardzero_test_data): Likewise.
57479         (asin_downward_test_data): Likewise.
57480         (asin_upward_test_data): Likewise.
57481         (asinh_test_data): Likewise.
57482         (atan_test_data): Likewise.
57483         (atanh_test_data): Likewise.
57484         (atan2_test_data): Likewise.
57485         (cabs_test_data): Likewise.
57486         (cacos_test_data): Likewise.
57487         (cacosh_test_data): Likewise.
57488         (carg_test_data): Likewise.
57489         (casin_test_data): Likewise.
57490         (casinh_test_data): Likewise.
57491         (catan_test_data): Likewise.
57492         (catanh_test_data): Likewise.
57493         (cbrt_test_data): Likewise.
57494         (ccos_test_data): Likewise.
57495         (ccosh_test_data): Likewise.
57496         (ceil_test_data): Likewise.
57497         (cexp_test_data): Likewise.
57498         (cimag_test_data): Likewise.
57499         (clog_test_data): Likewise.
57500         (clog10_test_data): Likewise.
57501         (conj_test_data): Likewise.
57502         (copysign_test_data): Likewise.
57503         (cos_test_data): Likewise.
57504         (cos_tonearest_test_data): Likewise.
57505         (cos_towardzero_test_data): Likewise.
57506         (cos_downward_test_data): Likewise.
57507         (cos_upward_test_data): Likewise.
57508         (cosh_test_data): Likewise.
57509         (cosh_tonearest_test_data): Likewise.
57510         (cosh_towardzero_test_data): Likewise.
57511         (cosh_downward_test_data): Likewise.
57512         (cosh_upward_test_data): Likewise.
57513         (cpow_test_data): Likewise.
57514         (cproj_test_data): Likewise.
57515         (creal_test_data): Likewise.
57516         (csin_test_data): Likewise.
57517         (csinh_test_data): Likewise.
57518         (csqrt_test_data): Likewise.
57519         (ctan_test_data): Likewise.
57520         (ctan_tonearest_test_data): Likewise.
57521         (ctan_towardzero_test_data): Likewise.
57522         (ctan_downward_test_data): Likewise.
57523         (ctan_upward_test_data): Likewise.
57524         (ctanh_test_data): Likewise.
57525         (ctanh_tonearest_test_data): Likewise.
57526         (ctanh_towardzero_test_data): Likewise.
57527         (ctanh_downward_test_data): Likewise.
57528         (ctanh_upward_test_data): Likewise.
57529         (erf_test_data): Likewise.
57530         (erfc_test_data): Likewise.
57531         (exp_test_data): Likewise.
57532         (exp_tonearest_test_data): Likewise.
57533         (exp_towardzero_test_data): Likewise.
57534         (exp_downward_test_data): Likewise.
57535         (exp_upward_test_data): Likewise.
57536         (exp10_test_data): Likewise.
57537         (exp2_test_data): Likewise.
57538         (expm1_test_data): Likewise.
57539         (fabs_test_data): Likewise.
57540         (fdim_test_data): Likewise.
57541         (finite_test_data): Likewise.
57542         (floor_test_data): Likewise.
57543         (fma_test_data): Likewise.
57544         (fma_towardzero_test_data): Likewise.
57545         (fma_downward_test_data): Likewise.
57546         (fma_upward_test_data): Likewise.
57547         (fmax_test_data): Likewise.
57548         (fmin_test_data): Likewise.
57549         (fmod_test_data): Likewise.
57550         (fpclassify_test_data): Likewise.
57551         (frexp_test_data): Likewise.
57552         (gamma_test_data): Likewise.
57553         (hypot_test_data): Likewise.
57554         (ilogb_test_data): Likewise.
57555         (isfinite_test_data): Likewise.
57556         (isgreater_test_data): Likewise.
57557         (isgreaterequal_test_data): Likewise.
57558         (isinf_test_data): Likewise.
57559         (isless_test_data): Likewise.
57560         (islessequal_test_data): Likewise.
57561         (islessgreater_test_data): Likewise.
57562         (isnan_test_data): Likewise.
57563         (isnormal_test_data): Likewise.
57564         (issignaling_test_data): Likewise.
57565         (isunordered_test_data): Likewise.
57566         (j0_test_data): Likewise.
57567         (j1_test_data): Likewise.
57568         (jn_test_data): Likewise.
57569         (ldexp_test_data): Likewise.
57570         (lgamma_test_data): Likewise.
57571         (lrint_test_data): Likewise.
57572         (lrint_tonearest_test_data): Likewise.
57573         (lrint_towardzero_test_data): Likewise.
57574         (lrint_downward_test_data): Likewise.
57575         (lrint_upward_test_data): Likewise.
57576         (llrint_test_data): Likewise.
57577         (llrint_tonearest_test_data): Likewise.
57578         (llrint_towardzero_test_data): Likewise.
57579         (llrint_downward_test_data): Likewise.
57580         (llrint_upward_test_data): Likewise.
57581         (log_test_data): Likewise.
57582         (log10_test_data): Likewise.
57583         (log1p_test_data): Likewise.
57584         (log2_test_data): Likewise.
57585         (logb_test_data): Likewise.
57586         (logb_downward_test_data): Likewise.
57587         (lround_test_data): Likewise.
57588         (llround_test_data): Likewise.
57589         (modf_test_data): Likewise.
57590         (nearbyint_test_data): Likewise.
57591         (nextafter_test_data): Likewise.
57592         (nexttoward_test_data): Likewise.
57593         (pow_test_data): Likewise.
57594         (pow_tonearest_test_data): Likewise.
57595         (pow_towardzero_test_data): Likewise.
57596         (pow_downward_test_data): Likewise.
57597         (pow_upward_test_data): Likewise.
57598         (remainder_test_data): Likewise.
57599         (remainder_tonearest_test_data): Likewise.
57600         (remainder_towardzero_test_data): Likewise.
57601         (remainder_downward_test_data): Likewise.
57602         (remainder_upward_test_data): Likewise.
57603         (remquo_test_data): Likewise.
57604         (rint_test_data): Likewise.
57605         (rint_tonearest_test_data): Likewise.
57606         (rint_towardzero_test_data): Likewise.
57607         (rint_downward_test_data): Likewise.
57608         (rint_upward_test_data): Likewise.
57609         (round_test_data): Likewise.
57610         (scalb_test_data): Likewise.
57611         (scalbn_test_data): Likewise.
57612         (scalbln_test_data): Likewise.
57613         (signbit_test_data): Likewise.
57614         (sin_test_data): Likewise.
57615         (sin_tonearest_test_data): Likewise.
57616         (sin_towardzero_test_data): Likewise.
57617         (sin_downward_test_data): Likewise.
57618         (sin_upward_test_data): Likewise.
57619         (sincos_test_data): Likewise.
57620         (sinh_test_data): Likewise.
57621         (sinh_tonearest_test_data): Likewise.
57622         (sinh_towardzero_test_data): Likewise.
57623         (sinh_downward_test_data): Likewise.
57624         (sinh_upward_test_data): Likewise.
57625         (sqrt_test_data): Likewise.
57626         (tan_test_data): Likewise.
57627         (tan_tonearest_test_data): Likewise.
57628         (tan_towardzero_test_data): Likewise.
57629         (tan_downward_test_data): Likewise.
57630         (tan_upward_test_data): Likewise.
57631         (tanh_test_data): Likewise.
57632         (tgamma_test_data): Likewise.
57633         (trunc_test_data): Likewise.
57634         (y0_test_data): Likewise.
57635         (y1_test_data): Likewise.
57636         (yn_test_data): Likewise.
57637         (significand_test_data): Likewise.
57639         * math/gen-libm-test.pl (@functions): Remove variable.
57640         (generate_testfile): Don't handle START and END lines.
57641         * math/libm-test.inc (START): New macro.
57642         (END): Likewise.
57643         (END_COMPLEX): Likewise.
57644         (acos_test): Use END macro without arguments.
57645         (acos_test_tonearest): Likewise.
57646         (acos_test_towardzero): Likewise.
57647         (acos_test_downward): Likewise.
57648         (acos_test_upward): Likewise.
57649         (acosh_test): Likewise.
57650         (asin_test): Likewise.
57651         (asin_test_tonearest): Likewise.
57652         (asin_test_towardzero): Likewise.
57653         (asin_test_downward): Likewise.
57654         (asin_test_upward): Likewise.
57655         (asinh_test): Likewise.
57656         (atan_test): Likewise.
57657         (atanh_test): Likewise.
57658         (atan2_test): Likewise.
57659         (cabs_test): Likewise.
57660         (cacos_test): Use END_COMPLEX macro without arguments.
57661         (cacosh_test): Likewise.
57662         (carg_test): Use END macro without arguments.
57663         (casin_test): Use END_COMPLEX macro without arguments.
57664         (casinh_test): Likewise.
57665         (catan_test): Likewise.
57666         (catanh_test): Likewise.
57667         (cbrt_test): Use END macro without arguments.
57668         (ccos_test): Use END_COMPLEX macro without arguments.
57669         (ccosh_test): Likewise.
57670         (ceil_test): Use END macro without arguments.
57671         (cexp_test): Use END_COMPLEX macro without arguments.
57672         (cimag_test): Use END macro without arguments.
57673         (clog_test): Use END_COMPLEX macro without arguments.
57674         (clog10_test): Likewise.
57675         (conj_test): Likewise.
57676         (copysign_test): Use END macro without arguments.
57677         (cos_test): Likewise.
57678         (cos_test_tonearest): Likewise.
57679         (cos_test_towardzero): Likewise.
57680         (cos_test_downward): Likewise.
57681         (cos_test_upward): Likewise.
57682         (cosh_test): Likewise.
57683         (cosh_test_tonearest): Likewise.
57684         (cosh_test_towardzero): Likewise.
57685         (cosh_test_downward): Likewise.
57686         (cosh_test_upward): Likewise.
57687         (cpow_test): Use END_COMPLEX macro without arguments.
57688         (cproj_test): Likewise.
57689         (creal_test): Use END macro without arguments.
57690         (csin_test): Use END_COMPLEX macro without arguments.
57691         (csinh_test): Likewise.
57692         (csqrt_test): Likewise.
57693         (ctan_test): Likewise.
57694         (ctan_test_tonearest): Likewise.
57695         (ctan_test_towardzero): Likewise.
57696         (ctan_test_downward): Likewise.
57697         (ctan_test_upward): Likewise.
57698         (ctanh_test): Likewise.
57699         (ctanh_test_tonearest): Likewise.
57700         (ctanh_test_towardzero): Likewise.
57701         (ctanh_test_downward): Likewise.
57702         (ctanh_test_upward): Likewise.
57703         (erf_test): Use END macro without arguments.
57704         (erfc_test): Likewise.
57705         (exp_test): Likewise.
57706         (exp_test_tonearest): Likewise.
57707         (exp_test_towardzero): Likewise.
57708         (exp_test_downward): Likewise.
57709         (exp_test_upward): Likewise.
57710         (exp10_test): Likewise.
57711         (exp2_test): Likewise.
57712         (expm1_test): Likewise.
57713         (fabs_test): Likewise.
57714         (fdim_test): Likewise.
57715         (finite_test): Likewise.
57716         (floor_test): Likewise.
57717         (fma_test): Likewise.
57718         (fma_test_towardzero): Likewise.
57719         (fma_test_downward): Likewise.
57720         (fma_test_upward): Likewise.
57721         (fmax_test): Likewise.
57722         (fmin_test): Likewise.
57723         (fmod_test): Likewise.
57724         (fpclassify_test): Likewise.
57725         (frexp_test): Likewise.
57726         (gamma_test): Likewise.
57727         (hypot_test): Likewise.
57728         (ilogb_test): Likewise.
57729         (isfinite_test): Likewise.
57730         (isgreater_test): Likewise.
57731         (isgreaterequal_test): Likewise.
57732         (isinf_test): Likewise.
57733         (isless_test): Likewise.
57734         (islessequal_test): Likewise.
57735         (islessgreater_test): Likewise.
57736         (isnan_test): Likewise.
57737         (isnormal_test): Likewise.
57738         (issignaling_test): Likewise.
57739         (isunordered_test): Likewise.
57740         (j0_test): Likewise.
57741         (j1_test): Likewise.
57742         (jn_test): Likewise.
57743         (ldexp_test): Likewise.
57744         (lgamma_test): Likewise.
57745         (lrint_test): Likewise.
57746         (lrint_test_tonearest): Likewise.
57747         (lrint_test_towardzero): Likewise.
57748         (lrint_test_downward): Likewise.
57749         (lrint_test_upward): Likewise.
57750         (llrint_test): Likewise.
57751         (llrint_test_tonearest): Likewise.
57752         (llrint_test_towardzero): Likewise.
57753         (llrint_test_downward): Likewise.
57754         (llrint_test_upward): Likewise.
57755         (log_test): Likewise.
57756         (log10_test): Likewise.
57757         (log1p_test): Likewise.
57758         (log2_test): Likewise.
57759         (logb_test): Likewise.
57760         (logb_test_downward): Likewise.
57761         (lround_test): Likewise.
57762         (llround_test): Likewise.
57763         (modf_test): Likewise.
57764         (nearbyint_test): Likewise.
57765         (nextafter_test): Likewise.
57766         (nexttoward_test): Likewise.
57767         (pow_test): Likewise.
57768         (pow_test_tonearest): Likewise.
57769         (pow_test_towardzero): Likewise.
57770         (pow_test_downward): Likewise.
57771         (pow_test_upward): Likewise.
57772         (remainder_test): Likewise.
57773         (remainder_test_tonearest): Likewise.
57774         (remainder_test_towardzero): Likewise.
57775         (remainder_test_downward): Likewise.
57776         (remainder_test_upward): Likewise.
57777         (remquo_test): Likewise.
57778         (rint_test): Likewise.
57779         (rint_test_tonearest): Likewise.
57780         (rint_test_towardzero): Likewise.
57781         (rint_test_downward): Likewise.
57782         (rint_test_upward): Likewise.
57783         (round_test): Likewise.
57784         (scalb_test): Likewise.
57785         (scalbn_test): Likewise.
57786         (scalbln_test): Likewise.
57787         (signbit_test): Likewise.
57788         (sin_test): Likewise.
57789         (sin_test_tonearest): Likewise.
57790         (sin_test_towardzero): Likewise.
57791         (sin_test_downward): Likewise.
57792         (sin_test_upward): Likewise.
57793         (sincos_test): Likewise.
57794         (sinh_test): Likewise.
57795         (sinh_test_tonearest): Likewise.
57796         (sinh_test_towardzero): Likewise.
57797         (sinh_test_downward): Likewise.
57798         (sinh_test_upward): Likewise.
57799         (sqrt_test): Likewise.
57800         (tan_test): Likewise.
57801         (tan_test_tonearest): Likewise.
57802         (tan_test_towardzero): Likewise.
57803         (tan_test_downward): Likewise.
57804         (tan_test_upward): Likewise.
57805         (tanh_test): Likewise.
57806         (tgamma_test): Likewise.
57807         (trunc_test): Likewise.
57808         (y0_test): Likewise.
57809         (y1_test): Likewise.
57810         (yn_test): Likewise.
57811         (significand_test): Likewise.
57813 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57815         [BZ #15381]
57816         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57818 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57820         [BZ #14894]
57821         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57822         __ppc_mdoio and __ppc_mdoom.
57823         * manual/platform.texi: Document new functions __ppc_yield,
57824         __ppc_mdoio and __ppc_mdoom.
57826 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57828         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57829         (main): Mention "tls" pseudo-hwcap is legacy.
57830         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57832 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57834         * math/gen-libm-test.pl (parse_args): Output only string of
57835         arguments as text for test name, not full call or descriptions of
57836         tests for extra outputs.
57837         (generate_testfile): Do not pass function name to parse_args.
57838         Generate this_func variable from START.
57839         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57840         field to arg_str.
57841         (struct test_ff_f_data): Likewise.
57842         (test_ff_f_data_nexttoward): Likewise.
57843         (struct test_fi_f_data): Likewise.
57844         (struct test_fl_f_data): Likewise.
57845         (struct test_if_f_data): Likewise.
57846         (struct test_fff_f_data): Likewise.
57847         (struct test_c_f_data): Likewise.
57848         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57849         (struct test_fF_f1_data): Likewise.
57850         (struct test_ffI_f1_data): Likewise.
57851         (struct test_c_c_data): Rename test_name field to arg_str.
57852         (struct test_cc_c_data): Likewise.
57853         (struct test_f_i_data): Likewise.
57854         (struct test_ff_i_data): Likewise.
57855         (struct test_f_l_data): Likewise.
57856         (struct test_f_L_data): Likewise.
57857         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57858         and extra2_name.
57859         (COMMON_TEST_SETUP): New macro.
57860         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57861         (COMMON_TEST_CLEANUP): Likewise.
57862         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57863         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57864         macros.
57865         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57866         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57867         macros.
57868         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57869         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57870         cleanup macros.
57871         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57872         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57873         macros.
57874         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57875         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57876         macros.
57877         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57878         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57879         cleanup macros.
57880         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57881         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57882         cleanup macros.
57883         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57884         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57885         cleanup macros.
57886         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57887         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57888         macros.
57889         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57890         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57891         macros.
57892         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57893         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57894         macros.
57895         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57896         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57897         cleanup macros.
57898         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57899         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57900         cleanup macros.
57901         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57902         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57903         macros.
57904         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57905         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57906         cleanup macros.
57907         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57908         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57909         macros.
57910         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57911         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57912         macros.
57913         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57914         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57915         cleanup macros.
57916         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57918 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57920         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57921         to _sifields.sigfault.
57922         (si_addr_lsb): Define new macro.
57923         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57924         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57925         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57927 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57929         [BZ #15441]
57930         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57931         returns -1.
57932         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57933         null return -1.
57934         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57935         loading the domain.
57937 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57939         * math/gen-libm-test.pl (parse_args): Do not include expected
57940         result in test name.
57941         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57942         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57943         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57944         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57945         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57948 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57950         * benchtests/Makefile: Sort function entries.
57952         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57953         tanh, asinh, acosh, atanh.
57954         * benchtests/acos-inputs: New file.
57955         * benchtests/acosh-inputs: New file.
57956         * benchtests/asin-inputs: New file.
57957         * benchtests/asinh-inputs: New file.
57958         * benchtests/atanh-inputs: New file.
57959         * benchtests/cosh-inputs: New file.
57960         * benchtests/log-inputs: New file.
57961         * benchtests/sinh-inputs: New file.
57962         * benchtests/tanh-inputs: New file.
57964 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57966         [BZ #15339]
57967         * posix/tst-getaddrinfo4.c: New test.
57968         * posix/Makefile (tests): Add it.
57970 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57972         [BZ #15339]
57973         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57974         when no services were used.
57975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57976         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57978 2013-05-21  Andreas Schwab  <schwab@suse.de>
57980         [BZ #15014]
57981         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57982         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57983         successful.
57984         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57985         redundant variable declarations and reallocation of buffer when
57986         parsing as IPv6 address.  Always set NSS status when called from
57987         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57988         buffer too small.  Correct computation of needed size.
57989         * nss/Makefile (tests): Add test-digits-dots.
57990         * nss/test-digits-dots.c: New test.
57992 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57994         * benchtests/Makefile: Remove instructions for adding
57995         benchmark tests.
57996         * benchtests/README: New file to explain how to execute and
57997         enhance the benchmark tests.
57999 2013-05-21  Andreas Schwab  <schwab@suse.de>
58001         [BZ #15493]
58002         * setjmp/Makefile (tests): Add tst-sigsetjmp.
58003         * setjmp/tst-sigsetjmp.c: New test.
58005 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58007         * sysdeps/x86_64/memset.S (memset): New implementation.
58008         (__bzero): Likewise.
58009         (__memset_tail): New function.
58011 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58013         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
58014         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
58015         __memcpy_sse2_unaligned ifunc selection.
58016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58017         Add memcpy-sse2-unaligned.S.
58018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58019         Add: __memcpy_sse2_unaligned.
58021 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
58023         [BZ #15490]
58024         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58025         math_force_eval before restoring floating-point envrionment.
58026         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
58027         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
58028         Likewise.
58029         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
58030         <math_private.h>.
58031         (__nearbyintl): Use math_force_eval before restoring
58032         floating-point environment.
58033         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
58035         * math/gen-libm-test.pl (special_functions): Remove.
58036         (parse_args): Don't handle TEST_extra.  Handle functions with no
58037         return value.
58038         * math/libm-test.inc (struct test_sincos_data): Replace with
58039         struct test_fFF_11_data.
58040         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
58041         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58042         (sincos_test_data): Change element type to struct
58043         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58044         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58045         RUN_TEST_LOOP_sincos.
58046         * math/README.libm-test: Don't mention special handling of
58047         individual functions.
58048         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58049         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58050         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58051         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58052         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58055         * math/gen-libm-test.pl (get_variable): Remove function.
58056         (parse_args): Don't show pointer parameters to call in test
58057         names.  Use "extra output N" in test names for extra outputs
58058         rather than naming variables.
58060 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58062         [BZ #15488]
58063         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58064         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58065         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58066         double tests.
58067         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58068         disable.
58069         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58070         check_long_double.
58072         * math/gen-libm-test.pl (@tests): Remove variable.
58073         ($count): Likewise.
58074         (new_test): Remove function.
58075         (show_exceptions): New function.
58076         (special_functions): Use show_exceptions instead of new_test.
58077         (parse_args): Likewise.
58078         (generate_testfile): Pass only function name in generated call to
58079         print_max_error or print_complex_max_error.
58080         (get_ulps): Do not handle complex tests specially.
58081         (output_test): Rename to ...
58082         (get_all_ulps_for_test): ... this.  Return a string rather than
58083         printing to a file.  Require ulps to be present.
58084         (output_ulps): Generate arrays rather than #defines.
58085         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58086         (struct ulp_data): New type.
58087         (BUILD_COMPLEX_ULP): Remove macro.
58088         (compare_ulp_data): New function.
58089         (find_ulps): Likewise.
58090         (find_test_ulps): Likewise.
58091         (find_function_ulps): Likewise.
58092         (find_complex_function_ulps): Likewise.
58093         (print_max_error): Determine allowed ulps using
58094         find_function_ulps.
58095         (print_complex_max_error): Determine allowed ulps using
58096         find_complex_function_ulps.
58097         (check_float_internal): Determine max ulps using find_test_ulps.
58098         (check_float): Do not take max_ulp parameter.  Update call to
58099         check_float_internal.
58100         (check_complex): Likewise.
58101         (check_int): Do not take max_ulp parameter.
58102         (check_long): Likewise.
58103         (check_bool): Likewise.
58104         (check_longlong): Likewise.
58105         (struct test_f_f_data): Remove max_ulp field.
58106         (struct test_ff_f_data): Likewise.
58107         (struct test_ff_f_data_nexttoward): Likewise.
58108         (struct test_fi_f_data): Likewise.
58109         (struct test_fl_f_data): Likewise.
58110         (struct test_if_f_data): Likewise.
58111         (struct test_fff_f_data): Likewise.
58112         (struct test_c_f_data): Likewise.
58113         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58114         (struct test_fF_f1_data): Likewise.
58115         (struct test_ffI_f1_data): Likewise.
58116         (struct test_c_c_data): Remove max_ulp field.
58117         (struct test_cc_c_data): Likewise.
58118         (struct test_f_i_data): Likewise.
58119         (struct test_ff_i_data): Likewise.
58120         (struct test_f_l_data): Likewise.
58121         (struct test_f_L_data): Likewise.
58122         (struct test_sincos_data): Likewise.
58123         (RUN_TEST_f_f): Do not handle ulps.
58124         (RUN_TEST_LOOP_f_f): Likewise.
58125         (RUN_TEST_2_f): Likewise.
58126         (RUN_TEST_LOOP_2_f): Likewise.
58127         (RUN_TEST_fff_f): Likewise.
58128         (RUN_TEST_LOOP_fff_f): Likewise.
58129         (RUN_TEST_c_f): Likewise.
58130         (RUN_TEST_LOOP_c_f): Likewise.
58131         (RUN_TEST_f_f1): Likewise.
58132         (RUN_TEST_LOOP_f_f1): Likewise.
58133         (RUN_TEST_fF_f1): Likewise.
58134         (RUN_TEST_LOOP_fF_f1): Likewise.
58135         (RUN_TEST_fI_f1): Likewise.
58136         (RUN_TEST_LOOP_fI_f1): Likewise.
58137         (RUN_TEST_ffI_f1): Likewise.
58138         (RUN_TEST_LOOP_ffI_f1): Likewise.
58139         (RUN_TEST_c_c): Likewise.
58140         (RUN_TEST_LOOP_c_c): Likewise.
58141         (RUN_TEST_cc_c): Likewise.
58142         (RUN_TEST_LOOP_cc_c): Likewise.
58143         (RUN_TEST_f_i): Likewise.
58144         (RUN_TEST_LOOP_f_i): Likewise.
58145         (RUN_TEST_f_i_tg): Likewise.
58146         (RUN_TEST_LOOP_f_i_tg): Likewise.
58147         (RUN_TEST_ff_i_tg): Likewise.
58148         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58149         (RUN_TEST_f_b): Likewise.
58150         (RUN_TEST_LOOP_f_b): Likewise.
58151         (RUN_TEST_f_b_tg): Likewise.
58152         (RUN_TEST_LOOP_f_b_tg): Likewise.
58153         (RUN_TEST_f_l): Likewise.
58154         (RUN_TEST_LOOP_f_l): Likewise.
58155         (RUN_TEST_f_L): Likewise.
58156         (RUN_TEST_LOOP_f_L): Likewise.
58157         (RUN_TEST_sincos): Likewise.
58158         (RUN_TEST_LOOP_sincos): Likewise.
58160 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58162         [BZ #15480]
58163         [BZ #15485]
58164         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58165         main case of finite arguments, set rounding mode to FE_TONEAREST
58166         and discard exceptions.
58167         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58168         exceptions.
58169         (remainder_tonearest_test_data): New variable.
58170         (remainder_test_tonearest): New function.
58171         (remainder_towardzero_test_data): New variable.
58172         (remainder_test_towardzero): New function.
58173         (remainder_downward_test_data): New variable.
58174         (remainder_test_downward): New function.
58175         (remainder_upward_test_data): New variable.
58176         (remainder_test_upward): New function.
58177         (main): Call the new test functions.
58179         * math/libm-test.inc (struct test_f_f1_data): Remove field
58180         extra_init.
58181         (struct test_fF_f1_data): Likewise.
58182         (struct test_ffI_f1_data): Likewise.
58183         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58184         based on value of EXTRA_EXPECTED.
58185         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58186         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58187         EXTRA_VAR based on value of EXTRA_EXPECTED.
58188         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58189         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58190         EXTRA_VAR based on value of EXTRA_EXPECTED.
58191         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58192         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58193         EXTRA_VAR based on value of EXTRA_EXPECTED.
58194         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58195         * math/gen-libm-test.pl (parse_args): Don't output initializers
58196         for extra output values.
58198         * math/libm-test.inc (check_int): Expect result to be exactly
58199         equal to expected value and do not handle ulps.
58200         (check_long): Likewise.
58201         (check_longlong): Likewise.
58203         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58204         exceptions.
58205         (cimag_test_data): Likewise.
58206         (conj_test_data): Likewise.
58207         (copysign_test_data): Likewise.
58208         (cproj_test_data): Likewise.
58209         (creal_test_data): Likewise.
58210         (fabs_test_data): Likewise.
58211         (fdim_test_data): Likewise.
58212         (finite_test_data): Likewise.
58213         (floor_test_data): Likewise.
58214         (fmax_test_data): Likewise.
58215         (fmin_test_data): Likewise.
58216         (fmod_test_data): Likewise.
58217         (fpclassify_test_data): Likewise.
58218         (frexp_test_data): Likewise.
58219         (ilogb_test_data): Likewise.
58220         (isfinite_test_data): Likewise.
58221         (isgreater_test_data): Likewise.
58222         (isgreaterequal_test_data): Likewise.
58223         (isinf_test_data): Likewise.
58224         (isless_test_data): Likewise.
58225         (islessequal_test_data): Likewise.
58226         (islessgreater_test_data): Likewise.
58227         (isnan_test_data): Likewise.
58228         (isnormal_test_data): Likewise.
58229         (issignaling_test_data): Likewise.
58230         (isunordered_test_data): Likewise.
58231         (ldexp_test_data): Likewise.
58232         (lrint_test_data): Likewise.
58233         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58234         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58235         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58236         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58237         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58238         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58239         test input.
58240         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58241         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58242         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58243         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58244         that test input.
58245         (lrint_downward_test_data): Test for "inexact" exceptions.
58246         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58247         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58248         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58249         test input.
58250         (lrint_upward_test_data): Test for "inexact" exceptions.
58251         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58252         test input.
58253         (llrint_test_data): Test for "inexact" exceptions.
58254         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58255         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58256         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58257         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58258         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58259         (llrint_downward_test_data): Test for "inexact" exceptions.
58260         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58261         (llrint_upward_test_data): Test for "inexact" exceptions.
58262         (logb_test_data): Likewise.
58263         (logb_downward_test_data): Likewise.
58264         (nextafter_test_data): Likewise.
58265         (nexttoward_test_data): Likewise.
58266         (remainder_test_data): Likewise.
58267         (remquo_test_data): Likewise.
58268         (scalbn_test_data): Likewise.
58269         (scalbln_test_data): Likewise.
58270         (signbit_test_data): Likewise.
58271         (sqrt_test_data): Likewise.
58272         (significand_test_data): Likewise.
58274 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58276         [BZ #15424]
58277         * benchtests/bench-modf.c (struct args): Mark arg0 as
58278         volatile.
58279         * scripts/bench.pl: Mark members of struct args as volatile.
58281 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58283         [BZ # 15497]
58284         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58285         negative infinity on POWER6 or lower.
58286         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58288 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58290         [BZ #15442]
58291         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58292         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58293         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58294         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58295         (_FP_SETQNAN): New macro.
58296         (_FP_SETQNAN_SEMIRAW): Likewise.
58297         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58298         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58299         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58300         (FP_EXTEND): Use _FP_FRAC_SNANP.
58301         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58302         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58303         into account.
58304         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58305         New macro.
58306         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58307         Likewise.
58309 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58311         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58312         with DIVIDE_BY_ZERO_EXCEPTION.
58313         (gamma_test_data): Likewise.
58314         (lgamma_test_data): Likewise.
58315         (log_test_data): Likewise.
58316         (log10_test_data): Likewise.
58317         (log2_test_data): Likewise.
58318         (tgamma_test_data): Likewise.
58320         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58321         (acos_test_tonearest): Likewise.
58322         (acos_test_towardzero): Likewise.
58323         (acos_test_downward): Likewise.
58324         (acos_test_upward): Likewise.
58325         (acosh_test): Likewise.
58326         (asin_test): Likewise.
58327         (asin_test_tonearest): Likewise.
58328         (asin_test_towardzero): Likewise.
58329         (asin_test_downward): Likewise.
58330         (asin_test_upward): Likewise.
58331         (asinh_test): Likewise.
58332         (atan_test): Likewise.
58333         (atanh_test): Likewise.
58334         (atan2_test): Likewise.
58335         (cabs_test): Likewise.
58336         (cacos_test): Likewise.
58337         (cacosh_test): Likewise.
58338         (casin_test): Likewise.
58339         (casinh_test): Likewise.
58340         (catan_test): Likewise.
58341         (catanh_test): Likewise.
58342         (cbrt_test): Likewise.
58343         (ccos_test): Likewise.
58344         (ccosh_test): Likewise.
58345         (cexp_test): Likewise.
58346         (clog_test): Likewise.
58347         (clog10_test): Likewise.
58348         (cos_test): Likewise.
58349         (cos_test_tonearest): Likewise.
58350         (cos_test_towardzero): Likewise.
58351         (cos_test_downward): Likewise.
58352         (cos_test_upward): Likewise.
58353         (cosh_test): Likewise.
58354         (cosh_test_tonearest): Likewise.
58355         (cosh_test_towardzero): Likewise.
58356         (cosh_test_downward): Likewise.
58357         (cosh_test_upward): Likewise.
58358         (cpow_test): Likewise.
58359         (csin_test): Likewise.
58360         (csinh_test): Likewise.
58361         (csqrt_test): Likewise.
58362         (ctan_test): Likewise.
58363         (ctan_test_tonearest): Likewise.
58364         (ctan_test_towardzero): Likewise.
58365         (ctan_test_downward): Likewise.
58366         (ctan_test_upward): Likewise.
58367         (ctanh_test): Likewise.
58368         (ctanh_test_tonearest): Likewise.
58369         (ctanh_test_towardzero): Likewise.
58370         (ctanh_test_downward): Likewise.
58371         (ctanh_test_upward): Likewise.
58372         (erf_test): Likewise.
58373         (erfc_test): Likewise.
58374         (exp_test): Likewise.
58375         (exp_test_tonearest): Likewise.
58376         (exp_test_towardzero): Likewise.
58377         (exp_test_downward): Likewise.
58378         (exp_test_upward): Likewise.
58379         (exp10_test): Likewise.
58380         (exp2_test): Likewise.
58381         (expm1_test): Likewise.
58382         (fmod_test): Likewise.
58383         (gamma_test): Likewise.
58384         (hypot_test): Likewise.
58385         (j0_test): Likewise.
58386         (j1_test): Likewise.
58387         (jn_test): Likewise.
58388         (lgamma_test): Likewise.
58389         (log_test): Likewise.
58390         (log10_test): Likewise.
58391         (log1p_test): Likewise.
58392         (log2_test): Likewise.
58393         (logb_test_downward): Likewise.
58394         (pow_test): Likewise.
58395         (pow_test_tonearest): Likewise.
58396         (pow_test_towardzero): Likewise.
58397         (pow_test_downward): Likewise.
58398         (pow_test_upward): Likewise.
58399         (remainder_test): Likewise.
58400         (remquo_test): Likewise.
58401         (sin_test): Likewise.
58402         (sin_test_tonearest): Likewise.
58403         (sin_test_towardzero): Likewise.
58404         (sin_test_downward): Likewise.
58405         (sin_test_upward): Likewise.
58406         (sincos_test): Likewise.
58407         (sinh_test): Likewise.
58408         (sinh_test_tonearest): Likewise.
58409         (sinh_test_towardzero): Likewise.
58410         (sinh_test_downward): Likewise.
58411         (sinh_test_upward): Likewise.
58412         (sqrt_test): Likewise.
58413         (tan_test): Likewise.
58414         (tan_test_tonearest): Likewise.
58415         (tan_test_towardzero): Likewise.
58416         (tan_test_downward): Likewise.
58417         (tan_test_upward): Likewise.
58418         (tanh_test): Likewise.
58419         (tgamma_test): Likewise.
58420         (y0_test): Likewise.
58421         (y1_test): Likewise.
58422         (yn_test): Likewise.
58424         * math/gen-libm-test.pl (adjust_arg): Remove function.
58425         (special_function): Remove argument $in_func.  Only handle
58426         generating output for tables of tests, not inside functions.
58427         (parse_args): Likewise.
58428         (generate_testfile): Remove variable $in_func.  Update call to
58429         parse_args.
58430         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
58431         (MINUS_ZERO_INIT): Rename macro to minus_zero.
58432         (PLUS_INFTY_INIT): Rename macro to plus_infty.
58433         (MINUS_INFTY_INIT): Rename macro to minus_infty.
58434         (QNAN_VALUE_INIT): Rename macro to qnan_value.
58435         (MAX_VALUE_INIT): Rename macro to max_value.
58436         (MIN_VALUE_INIT): Rename macro to min_value.
58437         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
58438         (plus_zero): Remove variable.
58439         (minus_zero): Likewise.
58440         (plus_infty): Likewise.
58441         (minus_infty): Likewise.
58442         (qnan_value): Likewise.
58443         (max_value): Likewise.
58444         (min_value): Likewise.
58445         (min_subnorm_value): Likewise.
58447 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58449         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
58450         uint64_t or uint32_t usage.
58451         * crypt/sha256-block.c: Likewise.
58452         * crypt/sha256-crypt.c: Likewise.
58453         * crypt/sha256.c: Likewise.
58454         * crypt/sha512-block.c: Likewise.
58455         * crypt/sha512-crypt.c: Likewise.
58456         * crypt/sha512.c: Likewise.
58457         * debug/backtrace-tst.c: Likewise.
58458         * debug/pcprofiledump.c: Likewise.
58459         * elf/cache.c: Likewise.
58460         * elf/dl-cache.c: Likewise.
58461         * elf/dl-misc.c: Likewise.
58462         * elf/dl-profile.c: Likewise.
58463         * elf/dl-support.c: Likewise.
58464         * elf/ldconfig.c: Likewise.
58465         * elf/sprof.c: Likewise.
58466         * iconv/dummy-repertoire.c: Likewise.
58467         * iconv/iconv_charmap.c: Likewise.
58468         * iconv/skeleton.c: Likewise.
58469         * iconvdata/8bit-generic.c: Likewise.
58470         * iconvdata/cp737.h: Likewise.
58471         * iconvdata/cp775.h: Likewise.
58472         * iconvdata/ibm1008.h: Likewise.
58473         * iconvdata/ibm1025.h: Likewise.
58474         * iconvdata/ibm1046.h: Likewise.
58475         * iconvdata/ibm1097.h: Likewise.
58476         * iconvdata/ibm1112.h: Likewise.
58477         * iconvdata/ibm1122.h: Likewise.
58478         * iconvdata/ibm1123.h: Likewise.
58479         * iconvdata/ibm1124.h: Likewise.
58480         * iconvdata/ibm1129.h: Likewise.
58481         * iconvdata/ibm1130.h: Likewise.
58482         * iconvdata/ibm1132.h: Likewise.
58483         * iconvdata/ibm1133.h: Likewise.
58484         * iconvdata/ibm1137.h: Likewise.
58485         * iconvdata/ibm1140.h: Likewise.
58486         * iconvdata/ibm1141.h: Likewise.
58487         * iconvdata/ibm1142.h: Likewise.
58488         * iconvdata/ibm1143.h: Likewise.
58489         * iconvdata/ibm1144.h: Likewise.
58490         * iconvdata/ibm1145.h: Likewise.
58491         * iconvdata/ibm1146.h: Likewise.
58492         * iconvdata/ibm1147.h: Likewise.
58493         * iconvdata/ibm1148.h: Likewise.
58494         * iconvdata/ibm1149.h: Likewise.
58495         * iconvdata/ibm1153.h: Likewise.
58496         * iconvdata/ibm1154.h: Likewise.
58497         * iconvdata/ibm1155.h: Likewise.
58498         * iconvdata/ibm1156.h: Likewise.
58499         * iconvdata/ibm1157.h: Likewise.
58500         * iconvdata/ibm1158.h: Likewise.
58501         * iconvdata/ibm1160.h: Likewise.
58502         * iconvdata/ibm1161.h: Likewise.
58503         * iconvdata/ibm1162.h: Likewise.
58504         * iconvdata/ibm1163.h: Likewise.
58505         * iconvdata/ibm1164.h: Likewise.
58506         * iconvdata/ibm1166.h: Likewise.
58507         * iconvdata/ibm1167.h: Likewise.
58508         * iconvdata/ibm12712.h: Likewise.
58509         * iconvdata/ibm1390.h: Likewise.
58510         * iconvdata/ibm1399.h: Likewise.
58511         * iconvdata/ibm16804.h: Likewise.
58512         * iconvdata/ibm4517.h: Likewise.
58513         * iconvdata/ibm4899.h: Likewise.
58514         * iconvdata/ibm4909.h: Likewise.
58515         * iconvdata/ibm4971.h: Likewise.
58516         * iconvdata/ibm5347.h: Likewise.
58517         * iconvdata/ibm803.h: Likewise.
58518         * iconvdata/ibm856.h: Likewise.
58519         * iconvdata/ibm901.h: Likewise.
58520         * iconvdata/ibm902.h: Likewise.
58521         * iconvdata/ibm9030.h: Likewise.
58522         * iconvdata/ibm9066.h: Likewise.
58523         * iconvdata/ibm921.h: Likewise.
58524         * iconvdata/ibm922.h: Likewise.
58525         * iconvdata/ibm9448.h: Likewise.
58526         * iconvdata/isiri-3342.h: Likewise.
58527         * iconvdata/jis0201.h: Likewise.
58528         * include/link.h: Likewise.
58529         * include/netdb.h: Likewise.
58530         * inet/check_native.c: Likewise.
58531         * inet/check_pf.c: Likewise.
58532         * inet/getipv4sourcefilter.c: Likewise.
58533         * inet/getnameinfo.c: Likewise.
58534         * inet/getsourcefilter.c: Likewise.
58535         * inet/htonl.c: Likewise.
58536         * inet/setipv4sourcefilter.c: Likewise.
58537         * inet/setsourcefilter.c: Likewise.
58538         * inet/test-inet6_opt.c: Likewise.
58539         * inet/tst-network.c: Likewise.
58540         * locale/C-collate.c: Likewise.
58541         * locale/C-ctype.c: Likewise.
58542         * locale/C-time.c: Likewise.
58543         * locale/C-translit.h: Likewise.
58544         * locale/loadarchive.c: Likewise.
58545         * locale/programs/3level.h: Likewise.
58546         * locale/programs/charmap.c: Likewise.
58547         * locale/programs/charmap.h: Likewise.
58548         * locale/programs/ld-address.c: Likewise.
58549         * locale/programs/ld-collate.c: Likewise.
58550         * locale/programs/ld-ctype.c: Likewise.
58551         * locale/programs/ld-identification.c: Likewise.
58552         * locale/programs/ld-measurement.c: Likewise.
58553         * locale/programs/ld-messages.c: Likewise.
58554         * locale/programs/ld-monetary.c: Likewise.
58555         * locale/programs/ld-name.c: Likewise.
58556         * locale/programs/ld-numeric.c: Likewise.
58557         * locale/programs/ld-paper.c: Likewise.
58558         * locale/programs/ld-telephone.c: Likewise.
58559         * locale/programs/ld-time.c: Likewise.
58560         * locale/programs/linereader.c: Likewise.
58561         * locale/programs/locale.c: Likewise.
58562         * locale/programs/locarchive.c: Likewise.
58563         * locale/programs/locfile.h: Likewise.
58564         * locale/programs/repertoire.c: Likewise.
58565         * locale/programs/simple-hash.c: Likewise.
58566         * locale/programs/simple-hash.h: Likewise.
58567         * malloc/memusage.c: Likewise.
58568         * malloc/memusagestat.c: Likewise.
58569         * nis/nis_defaults.c: Likewise.
58570         * nis/nis_hash.c: Likewise.
58571         * nis/nis_print.c: Likewise.
58572         * nis/nis_xdr.c: Likewise.
58573         * nscd/connections.c: Likewise.
58574         * nscd/hstcache.c: Likewise.
58575         * nscd/nscd_gethst_r.c: Likewise.
58576         * nscd/nscd_getserv_r.c: Likewise.
58577         * nscd/nscd_helper.c: Likewise.
58578         * nscd/servicescache.c: Likewise.
58579         * nss/makedb.c: Likewise.
58580         * nss/nss_db/db-XXX.c: Likewise.
58581         * nss/nss_db/db-initgroups.c: Likewise.
58582         * nss/nss_db/db-netgrp.c: Likewise.
58583         * nss/nss_files/files-network.c: Likewise.
58584         * nss/nss_files/files-parse.c: Likewise.
58585         * posix/bug-regex5.c: Likewise.
58586         * posix/fnmatch_loop.c: Likewise.
58587         * posix/regcomp.c: Likewise.
58588         * posix/regexec.c: Likewise.
58589         * posix/tst-rfc3484-2.c: Likewise.
58590         * posix/tst-rfc3484-3.c: Likewise.
58591         * posix/tst-rfc3484.c: Likewise.
58592         * resolv/nss_dns/dns-canon.c: Likewise.
58593         * resolv/nss_dns/dns-network.c: Likewise.
58594         * resolv/res_init.c: Likewise.
58595         * resolv/res_mkquery.c: Likewise.
58596         * resolv/tst-aton.c: Likewise.
58597         * stdlib/cxa_atexit.c: Likewise.
58598         * stdlib/cxa_finalize.c: Likewise.
58599         * stdlib/gen-fpioconst.c: Likewise.
58600         * stdlib/strtol_l.c: Likewise.
58601         * string/tst-endian.c: Likewise.
58602         * sunrpc/auth_des.c: Likewise.
58603         * sunrpc/clnt_udp.c: Likewise.
58604         * sunrpc/rtime.c: Likewise.
58605         * sunrpc/svcauth_des.c: Likewise.
58606         * sunrpc/xdr.c: Likewise.
58607         * sunrpc/xdr_intXX_t.c: Likewise.
58608         * sunrpc/xdr_rec.c: Likewise.
58609         * sysdeps/generic/ldconfig.h: Likewise.
58610         * sysdeps/generic/ldsodefs.h: Likewise.
58611         * sysdeps/generic/memusage.h: Likewise.
58612         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58613         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58614         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58615         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58616         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58617         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58618         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58619         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58620         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58621         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58622         * sysdeps/posix/getaddrinfo.c: Likewise.
58623         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58624         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58625         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58626         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58627         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58628         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58629         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58630         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58631         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58632         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58633         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58634         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58635         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58636         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58637         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58638         * sysdeps/x86_64/dl-tls.h: Likewise.
58639         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58640         * time/alt_digit.c: Likewise.
58641         * time/era.c: Likewise.
58642         * wcsmbs/tst-c16c32-1.c: Likewise.
58644 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58646         * math/libm-test.inc (struct test_sincos_data): New type.
58647         (RUN_TEST_LOOP_sincos): New macro.
58648         (sincos_test_data): New variable.
58649         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58651 2013-05-16  Richard Henderson  <rth@redhat.com>
58653         * math/atest-exp2.c (LIMB64): New macro.
58654         (CONSTSZ): New macro.
58655         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58656         (hexdig): Move ...
58657         (print_mpn_fp): ... to function scope.
58658         (read_mpn_hex): Remove.
58659         (get_log2): Remove.
58660         (exp2_mpn): Use mp_log2.
58661         (main): Use mp_exp1.
58663 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58665         * math/libm-test.inc: Remove comment about not testing "inexact"
58666         exceptions.
58667         (INEXACT_EXCEPTION): New macro.
58668         (NO_INEXACT_EXCEPTION): Likewise.
58669         (INVALID_EXCEPTION_OK): Update value.
58670         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58671         (OVERFLOW_EXCEPTION_OK): Likewise.
58672         (UNDERFLOW_EXCEPTION_OK): Likewise.
58673         (IGNORE_ZERO_INF_SIGN): Likewise.
58674         (ERRNO_UNCHANGED): Likewise.
58675         (ERRNO_EDOM): Likewise.
58676         (ERRNO_ERANGE): Likewise.
58677         (test_exceptions): Handle testing "inexact" exceptions.
58678         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58679         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58680         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58681         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58682         INEXACT_EXCEPTION.
58683         (rint_towardzero_test_data): Likewise.
58684         (rint_downward_test_data): Likewise.
58685         (rint_upward_test_data): Likewise.
58687         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58688         with OVERFLOW_EXCEPTION.
58689         (exp10_test_data): Likewise.
58690         (exp2_test_data): Likewise.
58691         (expm1_test_data): Likewise.
58692         (lgamma_test_data): Likewise.
58693         (pow_test_data): Likewise.
58694         (tgamma_test_data): Likewise.
58695         (yn_test_data): Remove duplicate test of overflow.
58697         * math/libm-test.inc (struct test_cc_c_data): New type.
58698         (RUN_TEST_LOOP_cc_c): New macro.
58699         (cpow_test_data): New variable.
58700         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58702         * math/libm-test.inc (struct test_f_L_data): New type.
58703         (RUN_TEST_LOOP_f_L): New macro.
58704         (llrint_test_data): New variable.
58705         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58706         (llrint_tonearest_test_data): New variable.
58707         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58708         (llrint_towardzero_test_data): New variable.
58709         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58710         (llrint_downward_test_data): New variable.
58711         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58712         (llrint_upward_test_data): New variable.
58713         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58714         (llround_test_data): New variable.
58715         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58717 2013-05-13  Peter Collingbourne  <pcc@google.com>
58719         * math/atest-exp2.c (get_log2): Remove const attribute.
58721 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58723         * math/libm-test.inc (struct test_f_l_data): New type.
58724         (RUN_TEST_LOOP_f_l): New macro.
58725         (lrint_test_data): New variable.
58726         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58727         (lrint_tonearest_test_data): New variable.
58728         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58729         (lrint_towardzero_test_data): New variable.
58730         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58731         (lrint_downward_test_data): New variable.
58732         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58733         (lrint_upward_test_data): New variable.
58734         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58735         (lround_test_data): New variable.
58736         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58738 2013-05-15  Peter Collingbourne  <pcc@google.com>
58740         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58741         (EXTRACT_WORDS64) Use where appropriate.
58742         (INSERT_WORDS64) Likewise.
58744         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58745         constraints with x constraints.
58746         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58748         * malloc/obstack.c (_obstack_compat): Add initializer.
58750 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58752         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58753         si_trapno and add si_addr_lsb to _sifields.sigfault.
58754         (si_trapno): Remove macro.
58755         (si_addr_lsb): Define new macro.
58756         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58758 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58760         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58761         instead of TEST_f_l.
58762         (llrint_test_tonearest): Likewise.
58763         (llrint_test_towardzero): Likewise.
58764         (llrint_test_downward): Likewise.
58765         (llrint_test_upward): Likewise.
58766         (llround_test): Likewise.
58768         * math/libm-test.inc (struct test_f_i_data): Add comment.
58769         (RUN_TEST_LOOP_f_b): New macro.
58770         (RUN_TEST_LOOP_f_b_tg): Likewise.
58771         (finite_test_data): New variable.
58772         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58773         (isfinite_test_data): New variable.
58774         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58775         (isinf_test_data): New variable.
58776         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58777         (isnan_test_data): New variable.
58778         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58779         (isnormal_test_data): New variable.
58780         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58781         (issignaling_test_data): New variable.
58782         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58783         (signbit_test_data): New variable.
58784         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58786         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58787         with INVALID_EXCEPTION.
58788         (acosh_test_data): Likewise.
58789         (asin_test_data): Likewise.
58790         (atanh_test_data): Likewise.
58791         (fmod_test_data): Likewise.
58792         (log_test_data): Likewise.
58793         (log10_test_data): Likewise.
58794         (log2_test_data): Likewise.
58795         (pow_test_data): Likewise.
58796         (sqrt_test_data): Likewise.
58797         (y0_test_data): Likewise.
58798         (y1_test_data): Likewise.
58799         (yn_test_data): Likewise.
58801         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58802         function contents.
58804         * math/libm-test.inc (struct test_ff_i_data): New type.
58805         (RUN_TEST_LOOP_ff_i_tg): New macro.
58806         (isgreater_test_data): New variable.
58807         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58808         (isgreaterequal_test_data): New variable.
58809         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58810         (isless_test_data): New variable.
58811         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58812         (islessequal_test_data): New variable.
58813         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58814         (islessgreater_test_data): New variable.
58815         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58816         (isunordered_test_data): New variable.
58817         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58819 2013-05-14  David S. Miller  <davem@davemloft.net>
58821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58823 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58825         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58827         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58828         extra_test to int.
58829         (struct test_f_i_data): Change type of max_ulp to int.
58831         * math/libm-test.inc (test_ffI_f1_data): New type.
58832         (RUN_TEST_LOOP_ffI_f1): New macro.
58833         (remquo_test_data): New variable.
58834         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58836         * setjmp/tst-setjmp-fp.c: New file.
58837         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58838         (link-libm): New variable.
58839         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58841         * math/libm-test.inc (struct test_f_i_data): New type.
58842         (RUN_TEST_LOOP_f_i): New macro.
58843         (RUN_TEST_LOOP_f_i_tg): Likewise.
58844         (fpclassify_test_data): New variable.
58845         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58846         (ilogb_test_data): New variable.
58847         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58849         * math/libm-test.inc (scalbln_test): Correct function name in END
58850         call.
58852         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58853         (RUN_TEST_LOOP_fI_f1): New macro.
58854         (frexp_test_data): New variable.
58855         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58857         * math/libm-test.inc (struct test_fF_f1_data): New type.
58858         (RUN_TEST_LOOP_fF_f1): New macro.
58859         (modf_test_data): New variable.
58860         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58862         * math/libm-test.inc (struct test_f_f1_data): New type.
58863         (RUN_TEST_LOOP_f_f1): New macro.
58864         (gamma_test_data): New variable.
58865         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58866         (lgamma_test_data): New variable.
58867         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58869 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58871         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58872         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58873         (main): Comment "tls" pseudo-hwcap.
58875 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58877         * math/libm-test.inc (struct test_fl_f_data): New type.
58878         (RUN_TEST_LOOP_fl_f): New variable.
58879         (scalbln_test_data): New variable.
58880         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58882         * math/libm-test.inc (struct test_fi_f_data): New type.
58883         (RUN_TEST_LOOP_fi_f): New macro.
58884         (ldexp_test_data): New variable.
58885         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58886         (scalbn_test_data): New variable.
58887         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58889         * math/libm-test.inc (struct test_c_f_data): New type.
58890         (RUN_TEST_LOOP_c_f): New macro.
58891         (cabs_test_data): New variable.
58892         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58893         (carg_test_data): New variable.
58894         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58895         (cimag_test_data): New variable.
58896         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58897         (creal_test_data): New variable.
58898         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58900         * math/libm-test.inc (struct test_if_f_data): New type.
58901         (RUN_TEST_LOOP_if_f): New macro.
58902         (jn_test_data): New variable.
58903         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58904         (yn_test_data): New variable.
58905         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58907         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58909 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58911         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58912         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58914 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58916         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58917         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58918         (bench-deps): Add bench-timing.h.
58919         * benchtests-bench-skeleton.c: Include bench-timing.h.
58920         (main): Use TIMING_* macros instead of clock_gettime.
58921         * benchtests/bench-timing.h: New file.
58923         [BZ #14582]
58924         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58925         Renamed from _LIB_VERSION.
58926         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58928 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58930         * math/libm-test.inc (struct test_fff_f_data): New type.
58931         (RUN_TEST_LOOP_fff_f): New macro.
58932         (fma_test_data): New variable.
58933         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58934         (fma_towardzero_test_data): New variable.
58935         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58936         (fma_downward_test_data): New variable.
58937         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58938         (fma_upward_test_data): New variable.
58939         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58941         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58942         (struct test_c_c_data): New type.
58943         (RUN_TEST_LOOP_c_c): New macro.
58944         (cacos_test_data): New variable.
58945         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58946         (cacosh_test_data): New variable.
58947         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58948         (casin_test_data): New variable.
58949         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58950         (casinh_test_data): New variable.
58951         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58952         (catan_test_data): New variable.
58953         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58954         (catanh_test_data): New variable.
58955         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58956         (ccos_test_data): New variable.
58957         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58958         (ccosh_test_data): New variable.
58959         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58960         (cexp_test_data): New variable.
58961         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58962         (clog_test_data): New variable.
58963         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58964         (clog10_test_data): New variable.
58965         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58966         (conj_test_data): New variable.
58967         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58968         (cproj_test_data): New variable.
58969         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58970         (csin_test_data): New variable.
58971         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58972         (csinh_test_data): New variable.
58973         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58974         (csqrt_test_data): New variable.
58975         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58976         (ctan_test_data): New variable.
58977         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58978         (ctan_tonearest_test_data): New variable.
58979         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58980         (ctan_towardzero_test_data): New variable.
58981         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58982         (ctan_downward_test_data): New variable.
58983         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58984         (ctan_upward_test_data): New variable.
58985         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58986         (ctanh_test_data): New variable.
58987         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58988         (ctanh_tonearest_test_data): New variable.
58989         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58990         (ctanh_towardzero_test_data): New variable.
58991         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58992         (ctanh_downward_test_data): New variable.
58993         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58994         (ctanh_upward_test_data): New variable.
58995         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58996         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58997         of BUILD_COMPLEX.
58999         * math/libm-test.inc (struct test_ff_f_data): New type.
59000         (struct test_ff_f_data_nexttoward): Likewise.
59001         (RUN_TEST_LOOP_2_f): New macro.
59002         (RUN_TEST_LOOP_ff_f): Likewise.
59003         (atan2_test_data): New variable.
59004         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
59005         (copysign_test_data): New variable.
59006         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
59007         (fdim_test_data): New variable.
59008         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
59009         (fmax_test_data): New variable.
59010         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
59011         (fmin_test_data): New variable.
59012         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
59013         (fmod_test_data): New variable.
59014         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
59015         (hypot_test_data): New variable.
59016         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
59017         (nextafter_test_data): New variable.
59018         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
59019         (nexttoward_test_data): New variable.
59020         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
59021         (pow_test_data): New variable.
59022         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
59023         (pow_tonearest_test_data): New variable.
59024         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
59025         (pow_towardzero_test_data): New variable.
59026         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
59027         (pow_downward_test_data): New variable.
59028         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
59029         (pow_upward_test_data): New variable.
59030         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
59031         (remainder_test_data): New variable.
59032         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
59033         (scalb_test_data): New variable.
59034         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
59035         * sysdeps/i386/fpu/libm-test-ulps: Update.
59037 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
59039         * math/libm-test.inc (fma_test): Use max_value instead of local
59040         variable fltmax.
59041         (nextafter_test): Likewise.
59043         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59044         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59045         (acos_downward_test_data): New variable.
59046         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59047         (acos_upward_test_data): New variable.
59048         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59049         (acosh_test_data): New variable.
59050         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59051         (asin_test_data): New variable.
59052         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59053         (asin_tonearest_test_data): New variable.
59054         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59055         (asin_towardzero_test_data): New variable.
59056         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59057         (asin_downward_test_data): New variable.
59058         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59059         (asin_upward_test_data): New variable.
59060         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59061         (asinh_test_data): New variable.
59062         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59063         (atan_test_data): New variable.
59064         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59065         (atanh_test_data): New variable.
59066         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59067         (cbrt_test_data): New variable.
59068         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59069         (ceil_test_data): New variable.
59070         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59071         (cos_test_data): New variable.
59072         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59073         (cos_tonearest_test_data): New variable.
59074         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59075         (cos_towardzero_test_data): New variable.
59076         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59077         (cos_downward_test_data): New variable.
59078         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59079         (cos_upward_test_data): New variable.
59080         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59081         (cosh_test_data): New variable.
59082         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59083         (cosh_tonearest_test_data): New variable.
59084         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59085         (cosh_towardzero_test_data): New variable.
59086         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59087         (cosh_downward_test_data): New variable.
59088         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59089         (cosh_upward_test_data): New variable.
59090         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59091         (erf_test_data): New variable.
59092         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59093         (erfc_test_data): New variable.
59094         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59095         (exp_test_data): New variable.
59096         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59097         (exp_tonearest_test_data): New variable.
59098         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59099         (exp_towardzero_test_data): New variable.
59100         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59101         (exp_downward_test_data): New variable.
59102         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59103         (exp_upward_test_data): New variable.
59104         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59105         (exp10_test_data): New variable.
59106         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59107         (exp2_test_data): New variable.
59108         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59109         (expm1_test_data): New variable.
59110         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59111         (fabs_test_data): New variable.
59112         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59113         (floor_test_data): New variable.
59114         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59115         (j0_test_data): New variable.
59116         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59117         (j1_test_data): New variable.
59118         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59119         (log_test_data): New variable.
59120         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59121         (log10_test_data): New variable.
59122         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59123         (log1p_test_data): New variable.
59124         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59125         (log2_test_data): New variable.
59126         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59127         (logb_test_data): New variable.
59128         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59129         (logb_downward_test_data): New variable.
59130         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59131         (nearbyint_test_data): New variable.
59132         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59133         (rint_test_data): New variable.
59134         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59135         (rint_tonearest_test_data): New variable.
59136         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59137         (rint_towardzero_test_data): New variable.
59138         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59139         (rint_downward_test_data): New variable.
59140         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59141         (rint_upward_test_data): New variable.
59142         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59143         (round_test_data): New variable.
59144         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59145         (sin_test_data): New variable.
59146         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59147         (sin_tonearest_test_data): New variable.
59148         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59149         (sin_towardzero_test_data): New variable.
59150         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59151         (sin_downward_test_data): New variable.
59152         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59153         (sin_upward_test_data): New variable.
59154         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59155         (sinh_test_data): New variable.
59156         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59157         (sinh_tonearest_test_data): New variable.
59158         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59159         (sinh_towardzero_test_data): New variable.
59160         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59161         (sinh_downward_test_data): New variable.
59162         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59163         (sinh_upward_test_data): New variable.
59164         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59165         (sqrt_test_data): New variable.
59166         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59167         (tan_test_data): New variable.
59168         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59169         (tan_tonearest_test_data): New variable.
59170         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59171         (tan_towardzero_test_data): New variable.
59172         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59173         (tan_downward_test_data): New variable.
59174         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59175         (tan_upward_test_data): New variable.
59176         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59177         (tanh_test_data): New variable.
59178         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59179         (tgamma_test_data): New variable.
59180         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59181         (trunc_test_data): New variable.
59182         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59183         (y0_test_data): New variable.
59184         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59185         (y1_test_data): New variable.
59186         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59187         (significand_test_data): New variable.
59188         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59190 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59192         [BZ #12387]
59193         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59195 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59197         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59199 2013-05-10  Andreas Jaeger  <aj@suse.de>
59201         [BZ #15448]
59202         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59203         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59205 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59207         * math/gen-libm-test.pl (adjust_arg): New function.
59208         (special_functions): Handle generating output in both functions
59209         and arrays.
59210         (parse_args): Likewise.
59211         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59212         $in_func argument to parse_args.
59213         * math/libm-test.inc (struct test_f_f_data): New type.
59214         (IF_ROUND_INIT_): New macro.
59215         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59216         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59217         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59218         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59219         (ROUND_RESTORE_): Likewise.
59220         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59221         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59222         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59223         (ROUND_RESTORE_FE_UPWARD): Likewise.
59224         (RUN_TEST_LOOP_f_f): New macro.
59225         (acos_test_data): New variable.
59226         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59227         (acos_tonearest_test_data): New variable.
59228         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59230 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59232         * benchtests/bench-skeleton.c (startup): Fix coding style.
59234 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59236         [BZ #6809]
59237         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59238         negative infinity argument.
59239         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59240         negative infinity argument.
59241         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59242         negative infinity argument.
59243         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59244         domain errors.
59246 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59248         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59249         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59250         * iconv/iconv_prog.c (main): Likewise.
59251         * locale/programs/charmap-dir.c (charmap_readdir)
59252         (fopen_uncompressed): Likewise.
59253         * locale/programs/locfile.c (siblings_uncached)
59254         (write_locale_data): Use lstat64 instead of lstat.
59255         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59256         stat.
59258 2013-05-10  Andreas Jaeger  <aj@suse.de>
59260         [BZ #15395]
59261         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59262         localization.
59263         Include <locale.h>.
59265 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59267         * elf/dl-close.c (_dl_close_worker): Add comments.
59269 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59271         [BZ #15359]
59272         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59273         high part of pi/2.
59274         (__ieee754_rem_pio2l): Update comments.
59276         [BZ #15429]
59277         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59278         high part of pi/2.
59279         (__ieee754_rem_pio2l): Update comments.
59281         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59282         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59284         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59285         M_PI_4l.
59287         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59288         (M_PI_34_LOG10El): Likewise.
59289         (M_PI2_LOG10El): Likewise.
59290         (M_PI4_LOG10El): Likewise.
59291         (M_PI_LOG10El): Likewise.
59293 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59297 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59299         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59300         (MINUS_ZERO_INIT): Likewise.
59301         (PLUS_INFTY_INIT): Likewise.
59302         (MINUS_INFTY_INIT): Likewise.
59303         (QNAN_VALUE_INIT): Likewise.
59304         (MAX_VALUE_INIT): Likewise.
59305         (MIN_VALUE_INIT): Likewise.
59306         (MIN_SUBNORM_VALUE_INIT): Likewise.
59307         (plus_zero): Initialize with PLUS_ZERO_INIT.
59308         (minus_zero): Initialize with MINUS_ZERO_INIT.
59309         (plus_infty): Initialize with PLUS_INFTY_INIT.
59310         (minus_infty): Initialize with MINUS_INFTY_INIT.
59311         (qnan_value): Initialize with QNAN_VALUE_INIT.
59312         (max_value): Initialize with MAX_VALUE_INIT.
59313         (min_value): Initialize with MIN_VALUE_INIT.
59314         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59316         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59317         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59318         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59319         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59321         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59322         (RUN_TEST_2_f): Likewise.
59323         (RUN_TEST_ff_f): Likewise.
59324         (RUN_TEST_fi_f): Likewise.
59325         (RUN_TEST_fl_f): Likewise.
59326         (RUN_TEST_fff_f): Likewise.
59327         (RUN_TEST_c_f): Likewise.
59328         (RUN_TEST_f_f1): Likewise.
59329         (RUN_TEST_fF_f1): Likewise.
59330         (RUN_TEST_fI_f1): Likewise.
59331         (RUN_TEST_ffI_f1): Likewise.
59332         (RUN_TEST_c_c): Likewise.
59333         (RUN_TEST_cc_c): Likewise.
59334         (RUN_TEST_f_i): Likewise.
59335         (RUN_TEST_f_i_tg): Likewise.
59336         (RUN_TEST_ff_i_tg): Likewise.
59337         (RUN_TEST_f_b): Likewise.
59338         (RUN_TEST_f_b_tg): Likewise.
59339         (RUN_TEST_f_l): Likewise.
59340         (RUN_TEST_f_L): Likewise.
59341         (RUN_TEST_sincos): Likewise.
59342         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59343         whether to show exceptions.  Do not include ");\n" in return
59344         value.
59345         (special_functions): Output call to RUN_TEST_sincos instead of
59346         check_float calls.  Update calls to new_test.
59347         (parse_args): Output call to single RUN_TEST_* macro instead of
59348         check_* calls and other assignments.  Update calls to new_test.
59350         [BZ #2546]
59351         [BZ #2560]
59352         [BZ #5159]
59353         [BZ #15426]
59354         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59355         input to result for tgamma overflow.
59356         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59357         (gamma_coeff): New variable.
59358         (NCOEFF): New macro.
59359         (gamma_positive): New function.
59360         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59361         underflow here.  Use gamma_positive instead of exp (lgamma) for
59362         other arguments.
59363         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59364         (gamma_coeff): New variable.
59365         (NCOEFF): New macro.
59366         (gammaf_positive): New function.
59367         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59368         underflow here.  Use gamma_positive instead of exp (lgamma) for
59369         other arguments.
59370         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59371         (gamma_coeff): New variable.
59372         (NCOEFF): New macro.
59373         (gammal_positive): New function.
59374         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59375         underflow here.  Use gamma_positive instead of exp (lgamma) for
59376         other arguments.
59377         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59378         (gamma_coeff): New variable.
59379         (NCOEFF): New macro.
59380         (gammal_positive): New function.
59381         (__ieee754_gammal_r): Handle positive infinity, overflow and
59382         underflow here.  Handle NaN the same as positive infinity.  Remove
59383         check x < 0xffffffff for negative integers.  Use gamma_positive
59384         instead of exp (lgamma) for other arguments.
59385         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
59386         (gamma_coeff): New variable.
59387         (NCOEFF): New macro.
59388         (gammal_positive): New function.
59389         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
59390         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
59391         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
59392         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
59393         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
59394         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
59395         * sysdeps/generic/math_private.h (__gamma_productf): New
59396         prototype.
59397         (__gamma_product): Likewise.
59398         (__gamma_productl): Likewise.
59399         * math/Makefile (libm-calls): Add gamma_product.
59400         * math/libm-test.inc (tgamma_test): Add more tests.
59401         * sysdeps/i386/fpu/libm-test-ulps: Update.
59402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59404 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
59406         * benchtests/bench-skeleton.c (main): Preheat CPU.
59408 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
59410         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
59412 2013-05-07  Roland McGrath  <roland@hack.frob.com>
59414         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
59415         and _dl_skip_args_internal.
59417 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
59419         * manual/message.texi (Message Translation): Talk about users.
59420         Message to key mapping impacts design.
59422 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59424         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
59426         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
59428         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
59429         * sysdeps/wordsize-64/glob64.c: ... here.
59431         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
59432         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
59433         New macros.
59435         * debug/getlogin_r_chk.c: Moved to ...
59436         * login/getlogin_r_chk.c: ... here.
59437         * debug/Makefile (routines): Move getlogin_r_chk to ...
59438         * login/Makefile (routines): ... here.
59439         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
59440         * login/Versions (libc: GLIBC_2.4): ... here.
59442         * io/poll.c (__poll): Renamed from poll.
59443         Add libc_hidden_def.
59444         (poll): Define as weak alias.
59446         * debug/ptsname_r_chk.c: Moved to ...
59447         * login/ptsname_r_chk.c: ... here.
59448         * debug/Makefile (routines): Move ptsname_r_chk to ...
59449         * login/Makefile (routines): ... here.
59450         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
59451         * login/Versions (libc: GLIBC_2.4): ... here.
59453         * posix/getlogin.c: Moved to ...
59454         * login/getlogin.c: ... here.
59455         * posix/getlogin_r.c: Moved to ...
59456         * login/getlogin_r.c: ... here.
59457         * posix/getlogin_r.c: Moved to ...
59458         * login/getlogin_r.c: ... here.
59459         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59460         * login/Makefile (routines): ... here.
59461         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59462         * login/Versions (libc: GLIBC_2.0): ... here.
59464         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59465         (setrlimit): Define as weak alias.
59467         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59468         Call __ names for open, ftruncate, and close.
59469         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59470         (truncate): Define as weak alias.
59472 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59474         * math/gen-libm-test.pl (parse_args): Initialize x before each
59475         test of frexp, modf and remquo.
59477         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59478         test signgam value.
59480 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59482         [BZ #15418]
59483         [BZ #15419]
59484         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59485         internal tests.
59486         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59488 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59490         * elf/dl-writev.h: New file.
59491         * elf/dl-misc.c: Include it.
59492         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59493         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59495 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59497         * math/libm-test.inc (noXFails): Remove variable.
59498         (noXPasses): Likewise.
59499         (BUILD_COMPLEX_INT): Remove macro.
59500         (print_screen): Remove xfail argument.
59501         (print_screen_max_error): Likewise.
59502         (update_stats): Likewise.
59503         (print_max_error): Likewise.  Update calls to other affected
59504         functions.
59505         (print_complex_max_error): Likewise.
59506         (test_single_exception): Update calls to print_screen.
59507         (test_single_errno): Likewise.
59508         (check_float_internal): Remove xfail argument.  Update calls to
59509         other affected functions.
59510         (check_float): Likewise.
59511         (check_complex): Likewise.
59512         (check_int): Likewise.
59513         (check_long): Likewise.
59514         (check_bool): Likewise.
59515         (check_longlong): Likewise.
59516         (main): Don't print noXFails and noXPasses.
59517         * math/gen-libm-test.pl (top level): Don't mention expected
59518         failure handling in comment.
59519         (new_test): Don't handle expected failures.
59520         (parse_args): Don't mention expected failure handling in comment.
59521         (generate_testfile): Don't handle expected failures.
59522         (parse_ulps): Likewise.
59523         (print_ulps_file): Likewise.
59524         (get_failure): Remove function.
59525         (output_test): Don't handle expected failures.
59526         * make/README.libm-test: Don't mention expected failure handling.
59528         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59529         (minus_zero): Likewise.
59530         (plus_infty): Likewise.
59531         (minus_infty): Likewise.
59532         (qnan_value): Likewise.
59533         (max_value): Likewise.
59534         (min_value): Likewise.
59535         (min_subnorm_value): Likewise.
59536         (initialize): Do not initialize those variables dynamically.
59538 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59540         * io/open.c (__open_2): Moved to ...
59541         * io/open_2.c: ... this new file.
59542         * io/open64.c (__open64_2): Moved to ...
59543         * io/open64_2.c: ... this new file.
59544         * io/openat.c (__openat_2): Moved to ...
59545         * io/openat_2.c: ... this new file.
59546         * io/openat64.c (__openat64_2): Moved to ...
59547         * io/openat64_2.c: ... this new file.
59548         * io/Makefile (routines): Add them.
59549         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59550         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59551         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59552         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59553         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59554         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59555         (__openat64): Add hidden_ver.
59556         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59557         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59559         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59560         Separately conditionalize setting of GLRO(dl_sysinfo) so
59561         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59562         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59564 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59566         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59567         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59568         definition.
59569         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59570         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59571         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59572         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59573         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59575 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59577         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59578         test signgam value.
59580         * math/libm-test.inc (hypot_test): Do not use
59581         IGNORE_ZERO_INF_SIGN.
59583 2013-05-03  Andreas Jaeger  <aj@suse.de>
59585         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59586         Linux 3.9.
59587         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59588         (PF_MAX): Adjust for VSOCK change.
59590 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59594 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59596         [BZ #15264]
59597         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59598         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59599         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59601 2013-05-02  David S. Miller  <davem@davemloft.net>
59603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59605 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59607         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59609 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59611         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59613 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59615         [BZ #14952]
59616         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59617         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59618         Use __attribute__ ((__gnu_inline__)).
59619         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59620         Don't use __attribute__ ((__gnu_inline__)).
59622 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59624         [BZ #15423]
59625         * math/s_catan.c (__catan): Handle small real or imaginary part of
59626         input specially to avoid spurious underflow.
59627         * math/s_catanf.c (__catanf): Likewise.
59628         * math/s_catanh.c (__catanh): Likewise.
59629         * math/s_catanhf.c (__catanhf): Likewise.
59630         * math/s_catanhl.c (__catanhl): Likewise.
59631         * math/s_catanl.c (__catanl): Likewise.
59632         * math/libm-test.inc (catan_test): Add more tests.
59633         (catanh_test): Likewise.
59634         * sysdeps/i386/fpu/libm-test-ulps: Update.
59635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59637 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59641 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59643         [BZ #15416]
59644         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59645         accurately for denominator in atan2.
59646         * math/s_catanf.c (__catanf): Likewise.
59647         * math/s_catanh.c (__catanh): Likewise.
59648         * math/s_catanhf.c (__catanhf): Likewise.
59649         * math/s_catanhl.c (__catanhl): Likewise.
59650         * math/s_catanl.c (__catanl): Likewise.
59651         * math/libm-test.inc (catan_test): Add more tests.
59652         (catanh_test): Likewise.
59653         * sysdeps/i386/fpu/libm-test-ulps: Update.
59654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59656 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59658         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59660         * benchtests/Makefile (bench): Remove slow benchmarks.
59661         * benchtests/atan-inputs: Add slow benchmark inputs.
59662         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59663         (BENCH_FUNC): Accept variant offset.
59664         (VARIANT): Define.
59665         * benchtests/bench-skeleton.c (main): Run benchmark for each
59666         variant.
59667         * benchtests/cos-inputs: Add slow benchmark inputs.
59668         * benchtests/exp-inputs: Likewise.
59669         * benchtests/pow-inputs: Likewise.
59670         * benchtests/sin-inputs: Likewise.
59671         * benchtests/slowatan-inputs: Remove.
59672         * benchtests/slowatan.c: Remove.
59673         * benchtests/slowcos-inputs: Remove.
59674         * benchtests/slowcos.c: Remove.
59675         * benchtests/slowexp-inputs: Remove.
59676         * benchtests/slowexp.c: Remove.
59677         * benchtests/slowpow-inputs: Remove.
59678         * benchtests/slowpow.c: Remove.
59679         * benchtests/slowsin-inputs: Remove.
59680         * benchtests/slowsin.c: Remove.
59681         * benchtests/slowtan-inputs: Remove.
59682         * benchtests/slowtan.c: Remove.
59683         * benchtests/tan-inputs: Add slow benchmark inputs.
59684         * scripts/bench.pl: Parse comments and directives.
59686         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59687         in CPPFLAGS.
59688         ($(objpfx)bench-%.c): Remove *-ITER.
59689         * benchtests/bench-modf.c: Remove definition of ITER.
59690         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59691         (main): Loop for DURATION seconds instead of fixed number of
59692         iterations.
59693         * scripts/bench.pl: Don't expect iterations in parameters.
59695 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59697         * io/fchdir.c (__fchdir): Renamed from fchdir.
59698         (fchdir): Define as weak alias.
59700 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59702         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59703         (ERRNO_EDOM): Likewise.
59704         (ERRNO_ERANGE): Likewise.
59705         (noErrnoTests): New variable.
59706         (init_max_error): Set errno to 0.
59707         (test_single_errno): New function.
59708         (test_errno): Likewise.
59709         (check_float_internal): Call test_errno.  Set errno to 0.
59710         (check_complex): Refer to errno tests in comment.
59711         (check_int): Call test_errno.  Set errno to 0.
59712         (check_long): Likewise.
59713         (check_bool): Likewise.
59714         (check_longlong): Likewise.
59715         (cos_test): Use ERRNO_* flags for errno tests instead of
59716         check_int.
59717         (expm1_test): Likewise.
59718         (fmod_test): Likewise.
59719         (ilogb_test): Likewise.
59720         (lgamma_test): Likewise.
59721         (pow_test): Likewise.
59722         (remainder_test): Likewise.
59723         (sin_test): Likewise.
59724         (tan_test): Likewise.
59725         (yn_test): Likewise.
59726         (initialize): Set errno to 0.
59727         (main): Print number of errno tests.
59728         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59730 2013-04-29  Andreas Jaeger  <aj@suse.de>
59732         [BZ #15084]
59733         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59734         and RES_USEVC.
59736         [BZ #15085]
59737         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59738         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59739         unimplemented.
59741         [BZ #15380]
59742         * stdlib/random.c (__initstate): Return NULL if
59743         __initstate fails.
59745         [BZ #15086]
59746         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59747         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59748         RES_SNGLKUPREOP.
59750 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59754 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59756         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59757         of individual tests.
59758         (casin_test): Likewise.
59759         (casinh_test): Likewise.
59761 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59763         [BZ #15409]
59764         * math/s_catan.c (__catan): Handle arguments with large real or
59765         imaginary part separately without squaring.
59766         * math/s_catanf.c (__catanf): Likewise.
59767         * math/s_catanh.c (__catanh): Likewise.
59768         * math/s_catanhf.c (__catanhf): Likewise.
59769         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59770         and redefine.
59771         (__catanhl): Handle arguments with large real or imaginary part
59772         separately without squaring.
59773         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59774         and redefine.
59775         (__catanl): Handle arguments with large real or imaginary part
59776         separately without squaring.
59777         * math/libm-test.inc (catan_test): Add more tests.
59778         (catanh_test): Likewise.
59779         * sysdeps/i386/fpu/libm-test-ulps: Update.
59780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59782 2013-04-27  Andreas Jaeger  <aj@suse.de>
59784         [BZ #15007]
59785         * stdlib/stdlib.h: Update guards for qecvt.
59786         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59787         <stdlib.h>.
59789 2013-04-27  Allan McRae  <allan@archlinux.org>
59791         * sysdeps/i386/fpu/libm-test-ulps: Update.
59793 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59795         [BZ #15406]
59796         * math/s_catan.c: Include <float.h>.
59797         (__catan): Ensure underflow exception occurs for underflowed
59798         result.
59799         * math/s_catanf.c: Include <float.h>.
59800         (__catanf): Ensure underflow exception occurs for underflowed
59801         result.
59802         * math/s_catanh.c: Include <float.h>.
59803         (__catanh): Ensure underflow exception occurs for underflowed
59804         result.
59805         * math/s_catanhf.c: Include <float.h>.
59806         (__catanhf): Ensure underflow exception occurs for underflowed
59807         result.
59808         * math/s_catanhl.c: Include <float.h>.
59809         (__catanhl): Ensure underflow exception occurs for underflowed
59810         result.
59811         * math/s_catanl.c: Include <float.h>.
59812         (__catanl): Ensure underflow exception occurs for underflowed
59813         result.
59814         * math/libm-test.inc (catan_test): Add more tests.
59815         (catanh_test): Likewise.
59817         [BZ #15405]
59818         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59819         underflowed result.
59820         * math/s_ccoshf.c (__ccoshf): Likewise.
59821         * math/s_ccoshl.c (__ccoshl): Likewise.
59822         * math/s_csin.c (__csin): Likewise.
59823         * math/s_csinf.c (__csinf): Likewise.
59824         * math/s_csinh.c (__csinh): Likewise.
59825         * math/s_csinhf.c (__csinhf): Likewise.
59826         * math/s_csinhl.c (__csinhl): Likewise.
59827         * math/s_csinl.c (__csinl): Likewise.
59828         * math/libm-test.inc (ccos_test): Add more tests.
59829         (ccosh_test): Likewise.
59830         (csin_test): Likewise.
59831         (csinh_test): Likewise.
59833 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59835         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59836         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59837         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59838         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59839         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59840         powerpc/power5+/fpu folders.
59841         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59844 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59848 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59850         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59851         additions to variable.
59852         [$(config-machine) = x86_64] (modules-names): Likewise.
59853         ($(objpfx)tst-audit3): Remove dependency.
59854         ($(objpfx)tst-audit3.out): Likewise.
59855         ($(objpfx)tst-audit4): Likewise.
59856         ($(objpfx)tst-audit4.out): Likewise.
59857         ($(objpfx)tst-audit5): Likewise.
59858         ($(objpfx)tst-audit5.out): Likewise.
59859         ($(objpfx)tst-audit6): Likewise.
59860         ($(objpfx)tst-audit6.out): Likewise.
59861         ($(objpfx)tst-audit7): Likewise.
59862         ($(objpfx)tst-audit7.out): Likewise.
59863         (tst-audit3-ENV): Remove variable.
59864         (tst-audit4-ENV): Likewise.
59865         (tst-audit5-ENV): Likewise.
59866         (tst-audit6-ENV): Likewise.
59867         (tst-audit7-ENV): Likewise.
59868         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59869         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59870         addition to variable.
59871         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59872         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59873         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59874         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59875         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59876         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59877         tst-audit3, tst-audit4 and tst-audit5.
59878         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59879         tst-audit6 and tst-audit7.
59880         [$(subdir) = elf] (modules-names): Add audit modules for those
59881         tests.
59882         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59883         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59884         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59885         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59886         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59887         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59888         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59889         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59890         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59891         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59892         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59893         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59894         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59895         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59896         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59897         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59898         Likewise.
59899         [$(subdir) = elf && $(config-cflags-avx) = yes]
59900         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59901         [$(subdir) = elf && $(config-cflags-avx) = yes]
59902         (CFLAGS-tst-auditmod4a.c): Likewise.
59903         [$(subdir) = elf && $(config-cflags-avx) = yes]
59904         (CFLAGS-tst-auditmod4b.c): Likewise.
59905         [$(subdir) = elf && $(config-cflags-avx) = yes]
59906         (CFLAGS-tst-auditmod6b.c): Likewise.
59907         [$(subdir) = elf && $(config-cflags-avx) = yes]
59908         (CFLAGS-tst-auditmod6c.c): Likewise.
59909         [$(subdir) = elf && $(config-cflags-avx) = yes]
59910         (CFLAGS-tst-auditmod7b.c): Likewise.
59911         * elf/tst-audit3.c: Move to ...
59912         * sysdeps/x86_64/tst-audit3.c: ... here.
59913         * elf/tst-audit4.c: Move to ...
59914         * sysdeps/x86_64/tst-audit4.c: ... here.
59915         * elf/tst-audit5.c: Move to ...
59916         * sysdeps/x86_64/tst-audit5.c: ... here.
59917         * elf/tst-audit6.c: Move to ...
59918         * sysdeps/x86_64/tst-audit6.c: ... here.
59919         * elf/tst-audit7.c: Move to ...
59920         * sysdeps/x86_64/tst-audit7.c: ... here.
59921         * elf/tst-auditmod3a.c: Move to ...
59922         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59923         * elf/tst-auditmod3b.c: Move to ...
59924         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59925         * elf/tst-auditmod4a.c: Move to ...
59926         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59927         * elf/tst-auditmod4b.c: Move to ...
59928         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59929         * elf/tst-auditmod5a.c: Move to ...
59930         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59931         * elf/tst-auditmod5b.c: Move to ...
59932         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59933         * elf/tst-auditmod6a.c: Move to ...
59934         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59935         * elf/tst-auditmod6b.c: Move to ...
59936         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59937         * elf/tst-auditmod6c.c: Move to ...
59938         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59939         * elf/tst-auditmod7a.c: Move to ...
59940         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59941         * elf/tst-auditmod7b.c: Move to ...
59942         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59944 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59946         [BZ #15366]
59947         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59948         define unconditionally.
59949         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59950         define unconditionally.
59951         (INT8_C, INT16_C, etc.): Likewise.
59953 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59955         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59956         __ehdr_start with hidden visibility.
59958         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59960 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59962         * math/libm-test.inc (cos_test): Use accurate hex constants.
59963         (sincost_test): Likewise.
59965 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59967         * math/libm-test.inc (catan_test): Add more tests.
59968         (catanh_test): Likewise.
59970         * math/s_catanf.c (__catanf): Use suffixed floating-point
59971         constants.
59972         * math/s_catanhf.c (__catanhf): Likewise.
59973         * math/s_catanhl.c (__catanhl): Likewise.
59974         * math/s_catanl.c (__catanl): Likewise.
59976         [BZ #15394]
59977         * math/s_catan.c (__catan): Calculate imaginary part of result
59978         with log1p not log unless computing log of number close to 0.
59979         * math/s_catanf.c (__catanf): Likewise.
59980         * math/s_catanl.c (__catanl): Likewise.
59981         * math/s_catanh.c (__catanh): Calculate real part of result with
59982         log1p not log unless computing log of number close to 0.
59983         * math/s_catanhf.c (__catanhf): Likewise.
59984         * math/s_catanhl.c (__catanhl): Likewise.
59985         * math/libm-test.inc (catan_test): Add more tests.
59986         (catanh_test): Likewise.
59987         * sysdeps/i386/fpu/libm-test-ulps: Update.
59988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59990 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59992         * benchtests/Makefile: Mention files in which fast and slow
59993         paths of math functions are implemented.
59995 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59997         * sysdeps/posix/timespec_get.c: New file.
59999 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60001         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
60002         POWER.
60003         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
60004         for POWER.
60005         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
60006         powerpc/power5/fpu folders.
60007         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
60008         * benchtests/Makefile: Add modf testcase.
60009         * benchtests/bench-modf.c: New file: Benchmark test for mo
60011 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60013         [BZ #14888]
60014         * time/Makefile (tests): Add tst-strptime-whitespace.
60015         * time/strptime_l.c (get_number): Use ISSPACE.
60016         (__strptime_internal): Likewise.
60017         * time/tst-strptime-whitespace.c: New test case.
60019 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
60021         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
60022         member.
60023         (_nss_files_init): Set it here.
60025 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
60027         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
60028         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
60029         unsigned.
60031 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
60033         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
60035 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60037         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
60038         size just once.
60040 2013-04-21  David S. Miller  <davem@davemloft.net>
60042         * po/ru.po: Update Russion translation from translation project.
60044 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60046         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60047         and setfsgid.
60049 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60051         * configure.in: Remove i386 configure warning. Remove i386 case.
60052         * configure: Regenerate.
60053         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60054         Add example to error message.
60055         * sysdeps/i386/configure: Regenerate.
60057 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60059         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60060         slowtan.
60061         * benchtests/cos-inputs: New file.
60062         * benchtests/slowcos-inputs: New file.
60063         * benchtests/slowcos.c: New file.
60064         * benchtests/slowtan-inputs: New file.
60065         * benchtests/slowtan.c: New file.
60066         * benchtests/tan-inputs: New file.
60068 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60070         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60071         considered kosher.
60073 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60075         * benchtests/Makefile: Include cppflags-iterator.mk to add
60076         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60078         * Makefile.in (bench-clean): New target.
60079         * benchtests/Makefile (bench-clean): Likewise.
60081 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60083         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60085 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60087         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60089 2013-04-15  Andreas Schwab  <schwab@suse.de>
60091         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60092         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60093         * nscd/pwdcache.c (cache_addpw): Likewise.
60094         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60095         more than recsize.
60097 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60099         * benchtests/Makefile (bench): Write all output to
60100         bench-out.tmp together.
60102 2013-04-15  Andreas Schwab  <schwab@suse.de>
60104         * nscd/nscd.c (main): Don't fork again after closing files.
60106 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60108         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60110         * benchtests/Rules (bench-deps): Collect dependencies into a
60111         single variable.  Add Makefile to dependencies.
60112         ($(objpfx)bench-%.c): Depend on bench-deps.
60114 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60115             Xavier Roche  <roche+kml2@exalead.com>
60117         [BZ #15361]
60118         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60119         just that it's a file descriptor.
60120         * manual/llio.texi (Synchronizing AIO Operations): Update description
60121         for EBADF error from aio_fsync.
60123 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60125         * Rules (bench): Move target definition...
60126         * benchtests/Makefile: ... here.
60128 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60130         * math/libm-test.inc (cos_test): Fix PI/2 test.
60131         (sincos_test): Likewise.
60132         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60133         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60135 2013-04-11  Andreas Schwab  <schwab@suse.de>
60137         [BZ #13988]
60138         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60139         accept exponent character only when digits were seen.
60140         * stdio-common/Makefile (tests): Add bug26.
60141         * stdio-common/bug26.c: New file.
60143         [BZ #14293]
60144         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60145         non-freeable.
60147 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60149         * Makeconfig (rtld-prefix): Define built linker prefix.
60150         * Rules (run-bench): Use it.
60151         * math/Makefile (run-regen-ulps): Likewise.
60153         * Rules (bench): Remove eval.
60155 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60156             Roland McGrath  <roland@hack.frob.com>
60157             Ondrej Bilka  <neleai@seznam.cz>
60159         [BZ #15346]
60160         * time/getdate.c: Include ctype.h and alloca.h.
60161         (__getdate_r): Trim leading and trailing spaces of input.
60162         * time/tst-getdate.c (tests): Add tests with leading and
60163         trailing spaces.
60165 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60167         [BZ #14280]
60168         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60169         when computing value.
60171 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60173         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60174         Use testrun.sh to run libm tests.
60176         [BZ #15309]
60177         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60179 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60181         [BZ #15264]
60182         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60184 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60186         * Makefile.in (regen-ulps): New target.
60187         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60188         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60189         [ifneq (no,$(PERL)] (regen-ulps): New target.
60190         [ifeq (no,$(PERL)] (regen-ulps): New target.
60191         * math/libm-test.inc (ulps_file_name): Define.
60192         (output_dir): New variable.
60193         (options): Add "output-dir" option.
60194         (parse_opt): Handle 'o' case.
60195         (main): If output_dir is non-NULL use it as a prefix
60196         otherwise use "".
60197         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60199 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60201         [BZ #10060, #10062]
60202         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60203         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60204         fail configure if __sync_val_compare_and_swap is not inlined.
60205         * sysdeps/i386/configure: Regenerate.
60206         * configure.in: Build for i686 when configured for i386.
60207         * configure: Regenerate.
60208         * README: Remove i386 reference.
60210 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60212         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60213         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60215 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60217         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60218         (lmsnanval): New variables.
60219         (F): Add conversion tests.
60220         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60221         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60223         * stdio-common/tstdiomisc.c (F): Properly collect individual
60224         tests' results.
60226         [BZ #14686, #15336]
60227         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60228         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60229         Instead, use input NaN values or generate a qNaN by arithmetic
60230         operation.  Also fix bugs to comply with the standard.
60231         * math/libm-test.inc (remainder_test): Add more tests.
60233         [BZ #15335, #15342]
60234         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60235         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60236         input NaN values or generate a qNaN by arithmetic operation.
60238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60239         unreachable code.
60241         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60242         definitions.
60244 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60246         [BZ #14478]
60247         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60248         underflowed result.
60249         * math/s_cexpf.c (__cexpf): Likewise.
60250         * math/s_cexpl.c (__cexpl): Likewise.
60251         * math/libm-test.inc (cexp_test): Add more tests.
60253 2013-04-03  Andreas Schwab  <schwab@suse.de>
60255         [BZ #15330]
60256         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60257         order arrays from heap if bigger than alloca cutoff.
60259 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60261         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60262         (SNAN_TESTS_double): Refer to GCC PR56831.
60263         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60264         GCC PR56828.
60266 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60268         * Rules (bench): Move bench.out after the run is complete.
60270         * Rules (bench): Echo currently running benchmark.
60272         * benchtests/Makefile (bench): Add atan and slowatan.
60273         * benchtests/atan-inputs: New file.
60274         * benchtests/slowatan-inputs: New file.
60275         * benchtests/slowatan.c: New file.
60277         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60278         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60279         its value.
60281         [BZ #15305]
60282         * sysdeps/unix/sysv/linux/kernel-features.h
60283         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60284         __ASSUME_XFS_RESTRICTED_CHOWN.
60285         * sysdeps/unix/sysv/linux/pathconf.c
60286         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60287         Save and restore errno.
60289 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60291         [BZ #15327]
60292         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60293         arguments using __kernel_casinh.
60294         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60295         arguments using __kernel_casinhf.
60296         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60297         arguments using __kernel_casinhl.
60298         * math/libm-test.inc (cacosh_test): Add more tests.
60299         * sysdeps/i386/fpu/libm-test-ulps: Update.
60300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60302 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60304         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60305         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60307         * bench/Makefile (bench): Add sin and slowsin.
60308         * benchtests/sin-inputs: New file.
60309         * benchtests/slowsin-inputs: New file.
60310         * benchtests/slowsin.c: New file.
60312         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60313         (bench): Add slowexp and slowpow.
60314         (exp-ITER): Increase iterations.
60315         (pow-ITER): Likewise.
60316         * benchtests/exp-inputs: Change input.
60317         * benchtests/pow-inputs: Likewise.
60318         * benchtests/slowexp-inputs: New file.
60319         * benchtests/slowexp.c: New file.
60320         * benchtests/slowpow-inputs: New file.
60321         * benchtests/slowpow.c: New file.
60323 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60325         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60326         instructions.
60327         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60328         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60329         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60330         * benchtests/Makefile: Add rint benchtest.
60331         * benchtests/rint-inputs: Input for rint benchtest.
60333 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60335         * Versions.def (libm): Add GLIBC_2.18.
60336         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60337         hidden libm prototypes.
60338         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60339         * math/Makefile (libm-calls): Add s_issignaling.
60340         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60341         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60342         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60343         declaration.
60344         * math/math.h [__USE_GNU] (issignaling): New macro.
60345         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60346         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60347         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60348         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60349         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60350         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60351         * manual/arith.texi (issignaling): New section.
60352         * manual/libm-err-tab.pl (@all_functions): Update comment.
60353         * math/gen-libm-test.pl (parse_args): Apply special handling for
60354         issignaling.
60355         * math/libm-test.inc (print_float, issignaling_test): New
60356         functions.
60357         (check_float_internal): Add issignaling checks.
60358         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60359         default definition.
60360         * sysdeps/powerpc/math-tests.h: New file.
60361         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60362         tests.
60363         * math/test-snan.c (TEST_FUNC): Likewise.
60365 2013-03-30  David S. Miller  <davem@davemloft.net>
60367         * po/de.po: Update from translation team.
60369 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60371         [BZ #10357]
60372         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60373         imaginary part less than 1.0 and real part less than 0.5
60374         specially.
60375         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60376         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60377         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60378         (cacos_test): Add more tests.
60379         (casin_test): Likewise.
60380         (casinh_test): Likewise.
60381         * sysdeps/i386/fpu/libm-test-ulps: Update.
60382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60384 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60386         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
60387         ONE with its value.
60389         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
60390         (__pow_mp): Replace ONE and MONE with their values.
60391         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60392         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
60393         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60394         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
60395         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60396         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60398         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
60400         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
60401         (__pow_mp): Replace ZERO and MZERO with their values.
60402         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60403         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60404         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60405         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60406         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60407         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
60408         (__sqr): Likewise.
60410         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
60412         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
60414 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60416         * include/stdlib.h [!SHARED] (__call_tls_dtors):
60417         Declare with __attribute__ ((weak)).
60418         * stdlib/exit.c (__libc_atexit) [!SHARED]:
60419         Call __call_tls_dtors only if it's not NULL.
60421 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60423         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
60424         didn't do it already, then set _dl_phdr and _dl_phnum based on the
60425         magic __ehdr_start linker symbol if it's defined.
60426         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
60427         them up here if it was already done.
60429         * elf/dl-support.c (_dl_phdr): Make pointer to const.
60430         (_dl_aux_init): Use const in cast when setting it.
60431         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
60432         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
60433         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
60435         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
60436         Declare them here.
60437         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
60438         * csu/libc-tls.c: Nor here.
60439         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
60441         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
60442         (__libc_message): Never call vsyslog.
60444 2013-03-28  Alan Modra  <amodra@gmail.com>
60446         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
60447         Define as empty.
60448         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
60449         Likewise.
60451 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60453         [BZ #15214]
60454         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
60455         underflow.
60456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60458 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60460         [BZ #15304]
60461         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60462         Don't add gid passed as argument.
60464         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60466 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60468         [BZ #15307]
60469         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60470         imaginary part between 1.0 and 1.5 and real part less than 0.5
60471         specially.
60472         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60473         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60474         * math/libm-test.inc (cacos_test): Add more tests.
60475         (casin_test): Likewise.
60476         (casinh_test): Likewise.
60477         * sysdeps/i386/fpu/libm-test-ulps: Update.
60478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60480 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60482         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60483         constants.
60484         (norm): Likewise.
60485         (denorm): Likewise.
60486         (__dbl_mp): Likewise.
60487         (add_magnitudes): Likewise.
60488         (sub_magnitudes): Likewise.
60489         (__add): Likewise.
60490         (__sub): Likewise.
60491         (__mul): Likewise.
60492         (__sqr): Likewise.
60493         (__inv): Likewise.
60494         (__dvd): Likewise.
60496         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60497         commented code.
60498         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60499         (__dubcos): Likewise.
60500         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60501         (__ieee754_acos): Likewise.
60502         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60503         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60504         (__exp1): Likewise.
60505         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60506         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60507         (log1): Likewise.
60508         (my_log2): Likewise.
60509         (checkint): Likewise.
60510         * sysdeps/ieee754/dbl-64/e_remainder.c
60511         (__ieee754_remainder): Likewise.
60512         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60513         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60514         (bsloww): Likewise.
60515         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60517         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60518         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60519         MANTISSA_STORE_T to store computations on mantissa.  Use
60520         macros for rounding and division.
60521         (denorm): Likewise.
60522         (__dbl_mp): Likewise.
60523         (add_magnitudes): Likewise.
60524         (sub_magnitudes): Likewise.
60525         (__mul): Likewise.
60526         (__sqr): Likewise.
60527         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60528         powers of two in terms of TWOPOW macro.
60529         (mp_no): Make type of mantissa as MANTISSA_T.
60530         [!RADIXI]: Define RADIXI.
60531         [!TWO52]: Define TWO52.
60532         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60534 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60536         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60537         llroundl symbol when building for PPC32.
60539 2013-03-24  Mark H Weaver  <mhw@netris.org>
60541         * manual/arith.texi (Normalization Functions): Fix prototypes for
60542         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60544 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60546         [BZ #13889]
60547         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60548         high value to check if expl overflow.
60549         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60550         to check for underflow and overflow.
60551         * math/libm-test.inc: Add exp test.
60553 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60555         [BZ #11120]
60556         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60557         with NOT_IN_libc.
60559 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60561         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60562         symbol.
60564 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60566         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60567         wrap blocks consisting of several statements.
60569         * sysdeps/generic/math-tests.h: New file.
60570         * sysdeps/i386/fpu/math-tests.h: Likewise.
60571         * math/test-snan.c: Include it.
60572         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60574 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60576         [BZ #15285]
60577         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60578         (__ieee754_j0l): Do not improve calculations using cos of twice
60579         input for inputs above LDBL_MAX / 2.0L.
60580         (__ieee754_y0l): Likewise.
60581         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60582         (__ieee754_j1l): Do not improve calculations using cos of twice
60583         input for inputs above LDBL_MAX / 2.0L.
60584         (__ieee754_y1l): Likewise.
60585         * math/libm-test.inc (j0_test): Add another test.
60586         (j1_test): Likewise.
60587         (y0_test): Likewise.
60588         (y1_test): Likewise.
60589         * sysdeps/i386/fpu/libm-test-ulps: Update.
60591 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60593         * Rules ($(objpfx)bench-%.c): Include code from a C source
60594         file.
60596 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60598         [BZ #15287]
60599         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60600         imaginary part 1.0 and real part less than 0.5 specially.
60601         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60602         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60603         * math/libm-test.inc (cacos_test): Add more tests.
60604         (casin_test): Likewise.
60605         (casinh_test): Likewise.
60606         * sysdeps/i386/fpu/libm-test-ulps: Update.
60607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60609 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60611         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60612         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60614 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60616         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60617         * config.make.in (config-cflags-sse4): Remove variable.
60618         (config-cflags-avx): Likewise.
60619         (config-cflags-sse2avx): Likewise.
60620         (config-cflags-novzeroupper): Likewise.
60621         (config-asflags-i686): Likewise.
60622         (have-mfma4): Likewise.
60623         (have-as-vis3): Likewise.
60624         (MIG): Likewise.
60625         * configure.in (MIG): Do not AC_SUBST.
60626         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60627         (libc_cv_cc_sse4): Do not AC_SUBST.
60628         (libc_cv_cc_avx): Likewise.
60629         (libc_cv_cc_sse2avx): Likewise.
60630         (libc_cv_cc_novzeroupper): Likewise.
60631         (libc_cv_cc_fma4): Likewise.
60632         (libc_cv_as_i686): Likewise.
60633         (libc_cv_sparc_as_vis3): Likewise.
60634         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60635         LIBC_CONFIG_VAR.
60636         (config-asflags-i686): Likewise.
60637         (config-cflags-avx): Likewise.
60638         (config-cflags-sse2avx): Likewise.
60639         (have-mfma4): Likewise.
60640         (config-cflags-novzeroupper): Likewise.
60641         * sysdeps/mach/configure.in (MIG): Likewise.
60642         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60643         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60644         LIBC_CONFIG_VAR.
60645         (config-cflags-avx): Likewise.
60646         (config-cflags-sse2avx): Likewise.
60647         (have-mfma4): Likewise.
60648         (config-cflags-novzeroupper): Likewise.
60649         * configure: Regenerated.
60650         * sysdeps/i386/configure: Likewise.
60651         * sysdeps/mach/configure: Likewise.
60652         * sysdeps/sparc/configure: Likewise.
60653         * sysdeps/x86_64/configure: Likewise.
60655 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60657         [BZ #14812]
60658         * locale/programs/localedef.c (options): Put N_ translation marker
60659         on argument names, not just descriptions.
60661 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60663         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60665 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60667         [BZ #14176]
60668         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60670 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60672         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60673         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60674         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60675         [!BEFORE_ABORT] (before_abort): New function.
60676         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60677         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60678         (writev_for_fatal): New function.
60679         (WRITEV_FOR_FATAL): New macro; call that.
60680         (backtrace_and_maps): New function.
60681         (BEFORE_ABORT): New macro; call that.
60682         (struct str_list): Type removed.
60683         (__libc_message, __libc_fatal): Functions removed.
60684         Include <sysdeps/posix/libc_fatal.c> instead.
60686 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60688         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60689         constants.
60690         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60691         double constants.
60693 2013-03-19  Andreas Schwab  <schwab@suse.de>
60695         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60696         * sysdeps/gnu/configure: Regenerate.
60698         * configure.in: Substitute libc_cv_rtlddir.
60699         * configure: Regenerate.
60700         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60701         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60702         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60703         * elf/Makefile (install-others, CFLAGS-interp.c)
60704         (ldso_install, common-ldd-rewrite): Likewise.
60705         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60706         $(inst_slibdir)/$(rtld-installed-name).
60707         * scripts/rellns-sh: Add -p option.
60708         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60709         for source.
60711 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60713         * manual/nptl.texi: Renamed to ...
60714         * manual/threads.texi: ... this.
60715         * manual/Makefile (chapters): Update.
60717 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60719         [BZ #14812]
60720         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60721         on argument names, not just descriptions.
60722         * malloc/memusagestat.c (options): Likewise.
60723         * nss/getent.c (options): Likewise.
60725 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60727         [BZ #14812]
60728         * iconv/iconv_prog.c (options): Put N_ translation marker
60729         on argument names, not just descriptions.
60730         * iconv/iconvconfig.c (options): Likewise.
60732 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60734         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60735         implementation which is faster on all x86_64 architectures.
60736         Tested on AMD, Intel Nehalem, SNB, IVB.
60737         * sysdeps/x86_64/strnlen.S: Likewise.
60739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60740         Remove all multiarch strlen and strnlen versions.
60741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60742         Remove strlen and strnlen related parts.
60744         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60745         Inline strlen part.
60746         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60748         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60749         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60750         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60751         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60752         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60753         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60755 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60757         * manual/memory.texi (Malloc Tunable Parameters):
60758         Sort parameters alphabetically. Add comments for missing entries.
60760 2013-03-17  David S. Miller  <davem@davemloft.net>
60762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60764 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60766         [BZ #15283]
60767         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60768         for arguments at most half maximum finite value.
60769         * math/libm-test.inc (j0_test): Add more tests.
60770         (j1_test): Likewise.
60771         (y0_test): Likewise.
60772         (y1_test): Likewise.
60773         * sysdeps/i386/fpu/libm-test-ulps: Update.
60774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60776         [BZ #14155]
60777         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60778         1 / x and functions P and Q for arguments above 0x1p256L.
60779         (__ieee754_y0l): Likewise.
60780         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60781         (__ieee754_y1l): Likewise.
60782         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60783         (j1_test): Likewise.
60784         (y0_test): Likewise.
60785         (y1_test): Likewise.
60787 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60789         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60790         variable.
60792 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60794         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60795         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60796         zero since it's initialized to EXEC_PAGESIZE.
60798         * sysdeps/unix/sysv/linux/ldsodefs.h
60799         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60800         * sysdeps/generic/ldsodefs.h: ... here.
60802 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60804         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60806         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60807         math/test-snan.c.
60808         * math/test-snan.c: Renamed from
60809         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60810         * math/Makefile (tests): Add test-snan.
60811         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60812         test-powerpc-snan.
60814         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60815         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60816         functions.
60817         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60818         __builtin_nan family of functions.
60819         * math/libm-test.inc (initialize): Initialize qnan_value with
60820         __builtin_nan family of functions.
60821         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60822         Remove variables.
60823         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60824         Remove functions.
60825         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60826         storage class.  Initialize qNaN_var and sNaN_var with
60827         __builtin_nan and __builtin_nans families of functions,
60828         respectively.
60830         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60831         (sqrt_test): Remove duplicate test with qNaN input.
60832         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60833         (round_test, signbit_test, significand_test): Note missing +/-Inf
60834         as well as qNaN tests.
60836         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60837         qNaN_var.  Fix a few strings, too.
60838         * math/libm-test.inc (nan_value): Rename to qnan_value.
60839         * math/gen-libm-test.pl (%beautify): Adjust to that.
60840         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60841         * math/test-misc.c (main): Likewise.
60842         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60843         to __qnan_bytes, and __qnan_union, respectively.
60844         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60845         Likewise.
60846         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60847         and lqnanval, respectively.
60848         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60849         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60850         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60851         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60853         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60854         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60855         doubles.
60857         * math/test-misc.c (main): Fix copy'n'pastos.
60858         * misc/tst-efgcvt.c (special): Likewise.
60860         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60861         Remove declarations.
60863 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60865         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60866         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60867         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60868         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60870 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60872         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60873         macro to return vdso values correctly in IFUNC implementations.
60874         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60875         Optimization by using IFUNC.
60877 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60878             Richard Henderson  <rth@redhat.com>
60879             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60881         * Makefile.in (bench): New target.
60882         * NEWS: Mention the benchmark framework.
60883         * Rules (bench): Likewise.
60884         (binaries-bench): Generate binaries for functions to
60885         benchmark.
60886         * benchtests/Makefile: New makefile for benchmark tests.
60887         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60888         programs.
60889         * benchtests/exp-inputs: New input file for EXP function.
60890         * benchtests/pow-inputs: New input file for POW function.
60891         * scripts/bench.pl: New script to generate source files for
60892         benchmark programs.
60894 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60896         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60897         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60898         computations on mantissa.  Use macros for rounding and
60899         division.
60900         (denorm): Likewise.
60901         (__dbl_mp): Likewise.
60902         (add_magnitudes): Likewise.
60903         (sub_magnitudes): Likewise.
60904         (__mul): Likewise.
60905         (__sqr): Likewise.
60906         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60907         powers of two in terms of TWOPOW macro.
60908         (mp_no): Make type of mantissa as MANTISSA_T.
60909         [!RADIXI]: Define RADIXI.
60910         [!TWO52]: Define TWO52.
60911         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60913         * manual/nptl.texi (cindex): Modify threads to pthreads.
60915 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60917         * sysdeps/x86_64/preconfigure: Regenerated.
60919 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60921         [BZ #14155]
60922         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60923         0x1p28 and above.
60924         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60925         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60926         0x1p28 and above.
60927         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60928         * math/libm-test.inc (j0_test): Do not allow one spurious
60929         underflow exception.
60930         (y1_test): Likewise.
60932 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60934         * manual/Makefile (chapters): Add nptl.
60935         * manual/debug.texi (Debugging Support): Add link to Threads
60936         chapter.
60937         * manual/nptl.texi: New file.
60939         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60941 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60943         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60944         for non-NULL pointer before the memory validity test. Pointed
60945         out by Holger Brunck <holger.brunck@keymile.com>.
60947 2013-03-13  Andreas Schwab  <schwab@suse.de>
60949         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60950         instead of .os.
60952 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60954         * timezone/zic.c: Update from tzcode 2013b.
60956 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60958         * manual/install.texi (Configuring and compiling):
60959         Mention i686 and i586.
60960         * INSTALL: Regenerate.
60962 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60964         * sysdeps/init_array/elf-init.c: New file.
60965         * csu/elf-init.c
60966         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60967         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60969         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60970         __gmon_start__ as global, but as static with a .preinit_array pointer.
60971         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60972         * sysdeps/init_array/crti.S: New file, empty except for comments.
60973         * sysdeps/init_array/crtn.S: Likewise.
60975 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60977         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60978         definining bcopy.
60979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60980         Remove Prefer_SSE_for_memop.
60981         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60982         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60983         HAS_PREFER_SSE_FOR_MEMOP.
60984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60985         memset-x86-64.
60986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60987         Remove bzero, memset ifunc support.
60988         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60989         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60990         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60991         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60993 2013-03-11  Andreas Schwab  <schwab@suse.de>
60995         [BZ #15234]
60996         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60997         by SHLIB_COMPAT.
60998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60999         (GLIBC_2.16): Remove pthread_atfork.
61001 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
61003         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
61004         (ptestcases.h): Likewise.
61006 2013-03-08  Roland McGrath  <roland@hack.frob.com>
61008         * Makeconfig ($(common-objpfx)config.status): Depend on
61009         sysdeps/*/preconfigure{,.in} too.
61011 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
61013         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
61014         (__free_hook): Use void * instead of __malloc_ptr_t.
61015         (__malloc_hook): Likewise.
61016         (__realloc_hook): Likewise.
61017         (__memalign_hook): Likewise.
61018         (__after_morecore_hook): Likewise.
61019         * malloc/arena.c (save_malloc_hook): Likewise.
61020         (save_free_hook): Likewise.
61021         * malloc/hooks.c (malloc_hook_ini): Likewise.
61022         (realloc_hook_ini): Likewise.
61023         (memalign_hook_ini): Likewise.
61024         * malloc/malloc.c (malloc_hook_ini): Likewise.
61025         (realloc_hook_ini): Likewise.
61026         (memalign_hook_ini): Likewise.
61027         (__free_hook): Likewise.
61028         (__malloc_hook): Likewise.
61029         (__realloc_hook): Likewise.
61030         (__memalign_hook): Likewise.
61031         (__libc_malloc): Likewise.
61032         (__libc_free): Likewise.
61033         (__libc_realloc): Likewise.
61034         (__libc_memalign): Likewise.
61035         (__libc_valloc): Likewise.
61036         (__libc_pvalloc): Likewise.
61037         (__libc_calloc): Likewise.
61038         (__posix_memalign): Likewise.
61039         * malloc/morecore.c (__sbrk): Likewise.
61040         (__default_morecore): Likewise.
61042         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61044         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61045         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61046         __malloc_ptrdiff_t.
61048         * malloc/malloc.h (__malloc_size_t): Remove macro.
61049         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61050         __malloc_size_t.
61051         (old_memalign_hook): Likewise.
61052         (old_realloc_hook): Likewise.
61053         (struct hdr): Likewise.
61054         (flood): Likewise.
61055         (mallochook): Likewise.
61056         (memalignhook): Likewise.
61057         (reallochook): Likewise.
61058         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61059         (tr_old_realloc_hook): Likewise.
61060         (tr_old_memalign_hook): Likewise.
61061         (tr_mallochook): Likewise.
61062         (tr_reallochook): Likewise.
61063         (tr_memalignhook): Likewise.
61065 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61067         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61068         default_ldbl_pack and using as default implementation.
61069         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61070         implementation.
61071         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61072         redundant definition.
61073         (ldbl_insert_mantissa): Likewise.
61074         (ldbl_canonicalize): Likewise.
61075         (ldbl_nearbyint): Likewise.
61076         (ldbl_pack): Rename to ldbl_pack_ppc.
61077         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61078         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61079         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61081 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61084         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61085         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61086         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61087         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61088         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61089         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61090         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61092 2013-03-07  Andreas Jaeger  <aj@suse.de>
61094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61095         bits/mman-linux.h.
61097 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61099         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61100         Include mpa.h and declare __MPEXP.
61101         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61102         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61103         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61104         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61105         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61106         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61107         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61109         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61110         (__slowpow): Use long double EXPL and LOGL functions to
61111         compute POW.
61112         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61113         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61114         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61115         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61116         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61117         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61120         intermediate variable to calculate exponent.
61121         (__sqr): Likewise.
61122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61123         Likewise.
61124         (__sqr): Likewise.
61126         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61127         [!NO__SQR]: Define __sqr.
61128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61129         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61130         sysdeps/ieee754/dbl-64/mpa.c.
61131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61133         [BZ #12723]
61134         * posix/Makefile (tests): Add tst-pathconf.
61135         * posix/tst-pathconf.c: New test case.
61136         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61137         _PC_PIPE_BUF.
61138         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61140 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61142         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61144 2013-03-06  Andreas Jaeger  <aj@suse.de>
61146         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61147         definition via __MAP_ANONYMOUS.
61149         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61150         it's not part of Linux headers.
61152         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61153         (MAP_HUGE_MASK): Define.
61155         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61156         Define.
61157         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61158         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61159         Define.
61160         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61161         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61162         Define.
61163         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61164         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61165         Define.
61166         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61168         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61169         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61170         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61171         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61172         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61173         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61175         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61176         Handle f2fs.
61178         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61179         Handle f2fs and efivarfs.
61181         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61182         f2fs.
61184         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61185         (EFIVARFS_MAGIC): Add.
61186         (F2FS_LINK_MAX): Add.
61188 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61190         * stdio-common/vfprintf.c: Replace __builtin_expect with
61191         __glibc_unlikely.
61193 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61195         [BZ #13550]
61196         * sysdeps/generic/bp-sym.h: Remove file.
61197         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61198         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61199         <bp-sym.h> and <bp-asm.h>.
61200         (__longjmp): Don't use BP_SYM.
61201         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61202         and <bp-asm.h>.
61203         (memcpy): Don't use BP_SYM.
61204         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61205         <bp-sym.h> and <bp-asm.h>.
61206         (memcpy): Don't use BP_SYM.
61207         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61208         <bp-asm.h>.
61209         (memcpy): Don't use BP_SYM.
61210         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61211         <bp-asm.h>.
61212         (memset): Don't use BP_SYM.
61213         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61214         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61215         (__bzero): Don't use BP_SYM.
61216         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61217         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61218         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61219         <bp-sym.h> and <bp-asm.h>.
61220         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61221         pointers.
61222         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61223         <bp-sym.h> and <bp-asm.h>.
61224         (memcpy): Don't use BP_SYM.
61225         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61226         <bp-sym.h> and <bp-asm.h>.
61227         (memset): Don't use BP_SYM.
61228         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61229         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61230         (__bzero): Don't use BP_SYM.
61231         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61232         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61233         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61234         <bp-sym.h> and <bp-asm.h>.
61235         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61236         pointers.
61237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61238         <bp-sym.h> and <bp-asm.h>.
61239         (memcpy): Don't use BP_SYM.
61240         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61241         <bp-sym.h> and <bp-asm.h>.
61242         (memset): Don't use BP_SYM.
61243         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61244         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61245         (__bzero): Don't use BP_SYM.
61246         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61247         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61248         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61249         <bp-sym.h> and <bp-asm.h>.
61250         (__memchr): Don't use BP_SYM.
61251         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61252         <bp-sym.h> and <bp-asm.h>.
61253         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61254         pointers.
61255         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61256         <bp-sym.h> and <bp-asm.h>.
61257         (memcpy): Don't use BP_SYM.
61258         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61259         <bp-sym.h> and <bp-asm.h>.
61260         (__mempcpy): Don't use BP_SYM.
61261         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61262         <bp-sym.h> and <bp-asm.h>.
61263         (__memrchr): Don't use BP_SYM.
61264         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61265         <bp-sym.h> and <bp-asm.h>.
61266         (memset): Don't use BP_SYM.
61267         (__bzero): Likewise.
61268         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61269         <bp-sym.h> and <bp-asm.h>.
61270         (__rawmemchr): Don't use BP_SYM.
61271         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61272         <bp-sym.h> and <bp-asm.h>.
61273         (__STRCMP): Don't use BP_SYM.
61274         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61275         <bp-sym.h> and <bp-asm.h>.
61276         (strchr): Don't use BP_SYM.
61277         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61278         <bp-sym.h> and <bp-asm.h>.
61279         (__strchrnul): Don't use BP_SYM.
61280         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61281         <bp-sym.h> and <bp-asm.h>.
61282         (strlen): Don't use BP_SYM.
61283         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61284         <bp-sym.h> and <bp-asm.h>.
61285         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61286         pointers.
61287         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61288         <bp-sym.h> and <bp-asm.h>.
61289         (__strnlen): Don't use BP_SYM.
61290         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61291         <bp-sym.h> and <bp-asm.h>.
61292         (__GI__setjmp): Don't use BP_SYM.
61293         (_setjmp): Likewise.
61294         (__sigsetjmp): Likewise.
61295         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61296         (L(start_addresses)): Don't use BP_SYM.
61297         (_start): Likewise.
61298         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61299         <bp-asm.h>.
61300         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61301         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61302         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61303         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61304         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61305         <bp-asm.h>.
61306         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61307         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61308         about bounded pointers.
61309         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61310         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61311         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61312         <bp-asm.h>.
61313         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61314         about bounded pointers.  Remove GKM FIXME comments.
61315         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61316         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61317         <bp-asm.h>.
61318         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61319         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61320         Remove GKM FIXME comments.
61321         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61322         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61323         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61324         <bp-asm.h>.
61325         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61326         about bounded pointers.  Remove GKM FIXME comment.
61327         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61328         and <bp-asm.h>.
61329         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61330         pointers.
61331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61332         <bp-sym.h> and <bp-asm.h>.
61333         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61335         <bp-sym.h> and <bp-asm.h>.
61336         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61337         comment.
61339 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61341         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61342         call free(NULL).
61344 2013-03-05  David S. Miller  <davem@davemloft.net>
61346         * po/es.po: Update from translation team.
61348 2013-03-05  Andreas Jaeger  <aj@suse.de>
61350         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61351         <bits/mman-linux.h>.
61352         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61353         is fine.
61354         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61355         <bits/mman-linux.h> to end of file.
61356         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61357         is fine.
61358         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61359         <bits/mman-linux.h> to end of file.
61360         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61361         is fine.
61362         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61363         <bits/mman-linux.h> to end of file.
61365         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61366         (MCL_CURRENT, MCL_FUTURE): Define here.
61368 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61370         [BZ #15232]
61371         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61372         attribute_hidden.
61373         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61375 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61377         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61378         fourth parameter needed for rt_sigprocmask syscall.
61379         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
61380         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61381         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
61382         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61383         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61384         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
61386 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
61388         [BZ #13550]
61389         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
61390         comment about bounded pointers.
61391         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
61392         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
61394 2013-03-04  Andreas Jaeger  <aj@suse.de>
61396         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
61397         common definitions.
61399         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61400         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
61401         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
61402         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61403         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61404         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61406 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61408         [BZ #15055]
61409         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
61410         __ieee754_sqrl instead of __sqrl.
61412 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
61414         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
61415         * sysdeps/powerpc/fpu_control.h: ... here.
61416         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
61417         * sysdeps/powerpc/bits/fenvinline.h: ... here.
61418         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
61419         * sysdeps/powerpc/bits/mathinline.h: ... here.
61421 2013-03-01  Roland McGrath  <roland@hack.frob.com>
61423         * elf/dl-hwcaps.c (_dl_important_hwcaps):
61424         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
61425         to just [NEED_DL_SYSINFO_DSO].
61426         * elf/dl-support.c: Likewise.
61427         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
61428         * elf/rtld.c (dl_main): Likewise.
61429         * elf/setup-vdso.h (setup_vdso): Likewise.
61430         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
61431         * sysdeps/unix/sysv/linux/dl-sysdep.c
61432         (_dl_discover_osversion): Likewise.
61434 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
61436         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
61437         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61439 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
61441         * NEWS: Mention libm performance improvements and non-x86 PI
61442         futex support.
61444         * csu/libc-start.c (__pthread_initialize_minimal): Change
61445         function arguments.
61446         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61448 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
61450         [BZ #13550]
61451         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
61452         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
61453         <bp-sym.h> and <bp-asm.h>.
61454         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61455         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61456         and <bp-asm.h>.
61457         (memcpy): Don't use BP_SYM.
61458         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61459         <bp-asm.h>.
61460         (__mpn_add_n): Don't use BP_SYM.
61461         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61462         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61463         and <bp-asm.h>.
61464         (__mpn_addmul_1): Don't use BP_SYM.
61465         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61466         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61467         <bp-sym.h>.
61468         (_setjmp): Don't use BP_SYM.
61469         (__novmx_setjmp): Likewise.
61470         (__GI__setjmp): Likewise.
61471         (__vmx_setjmp): Likewise.
61472         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61473         <bp-sym.h>.
61474         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61475         (__bzero): Don't use BP_SYM.
61476         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61477         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61478         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61479         <bp-sym.h> and <bp-asm.h>.
61480         (memcpy): Don't use BP_SYM.
61481         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61482         <bp-sym.h> and <bp-asm.h>.
61483         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61484         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61485         <bp-sym.h> and <bp-asm.h>.
61486         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61487         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61488         <bp-asm.h>.
61489         (__mpn_lshift): Don't use BP_SYM.
61490         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61491         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61492         <bp-asm.h>.
61493         (memset): Don't use BP_SYM.
61494         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61495         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61496         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61497         <bp-asm.h>.
61498         (__mpn_mul_1): Don't use BP_SYM.
61499         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61500         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61501         <bp-sym.h> and <bp-asm.h>.
61502         (memcmp): Don't use BP_SYM.
61503         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61504         <bp-sym.h> and <bp-asm.h>.
61505         (memcpy): Don't use BP_SYM.
61506         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61507         <bp-sym.h> and <bp-asm.h>.
61508         (memset): Don't use BP_SYM.
61509         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61510         <bp-sym.h> and <bp-asm.h>.
61511         (strncmp): Don't use BP_SYM.
61512         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61513         <bp-sym.h> and <bp-asm.h>.
61514         (memcpy): Don't use BP_SYM.
61515         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61516         <bp-sym.h> and <bp-asm.h>.
61517         (memset): Don't use BP_SYM.
61518         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61519         <bp-sym.h> and <bp-asm.h>.
61520         (__memchr): Don't use BP_SYM.
61521         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61522         <bp-sym.h> and <bp-asm.h>.
61523         (memcmp): Don't use BP_SYM.
61524         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61525         <bp-sym.h> and <bp-asm.h>.
61526         (memcpy): Don't use BP_SYM.
61527         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61528         <bp-sym.h> and <bp-asm.h>.
61529         (__mempcpy): Don't use BP_SYM.
61530         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61531         <bp-sym.h> and <bp-asm.h>.
61532         (__memrchr): Don't use BP_SYM.
61533         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61534         <bp-sym.h> and <bp-asm.h>.
61535         (memset): Don't use BP_SYM.
61536         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61537         <bp-sym.h> and <bp-asm.h>.
61538         (__rawmemchr): Don't use BP_SYM.
61539         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61540         <bp-sym.h> and <bp-asm.h>.
61541         (__STRCMP): Don't use BP_SYM.
61542         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61543         <bp-sym.h> and <bp-asm.h>.
61544         (strchr): Don't use BP_SYM.
61545         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61546         <bp-sym.h> and <bp-asm.h>.
61547         (__strchrnul): Don't use BP_SYM.
61548         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61549         <bp-sym.h> and <bp-asm.h>.
61550         (strlen): Don't use BP_SYM.
61551         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61552         <bp-sym.h> and <bp-asm.h>.
61553         (strncmp): Don't use BP_SYM.
61554         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61555         <bp-sym.h> and <bp-asm.h>.
61556         (__strnlen): Don't use BP_SYM.
61557         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61558         <bp-asm.h>.
61559         (__mpn_rshift): Don't use BP_SYM.
61560         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61561         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61562         <bp-sym.h> and <bp-asm.h>.
61563         (__sigsetjmp): Don't use BP_SYM.
61564         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61565         (L(start_addresses)): Don't use BP_SYM.
61566         (_start): Likewise.
61567         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61568         <bp-asm.h>.
61569         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61570         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61571         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61572         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61573         <bp-asm.h>.
61574         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61575         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61576         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61577         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61578         <bp-asm.h>.
61579         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61580         comments.
61581         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61582         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61583         <bp-asm.h>.
61584         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61585         FIXME comments.
61586         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61587         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61588         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61589         <bp-asm.h>.
61590         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61591         comment.
61592         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61593         and <bp-asm.h>.
61594         (strncmp): Don't use BP_SYM,
61595         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61596         <bp-asm.h>.
61597         (__mpn_sub_n): Don't use BP_SYM.
61598         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61599         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61600         and <bp-asm.h>.
61601         (__mpn_submul_1): Don't use BP_SYM.
61602         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61604         <bp-sym.h> and <bp-asm.h>.
61605         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61607         <bp-sym.h> and <bp-asm.h>.
61608         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61609         comment.
61611 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61614         Use ZK to minimize writes to Z.
61615         (sub_magnitudes): Simplify code a bit.
61616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61617         Use ZK to minimize writes to Z.
61618         (sub_magnitudes): Simplify code a bit.
61620 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61622         * csu/gmon-start.c: Add special exception to license text.
61624 2013-02-27  Richard Henderson  <rth@redhat.com>
61626         * scripts/config.guess: Update from config.git.
61627         * scripts/config.sub: Likewise.
61629 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61631         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61633         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61635         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61637         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61639         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61641 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61643         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61644         [$(build-shared = yes].
61646 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61648         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61649         (__mul): Reduce iterations for calculating mantissa.
61651         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61652         MPTWO.
61653         (__mpranred): Likewise.
61655         [BZ #15160]
61656         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61657         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61659 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61661         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61662         Define __attribute__.
61664 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61666         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61667         unused.
61668         * posix/regex_internal.h (__attribute): Remove.
61669         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61670         (re_string_context_at): Likewise.
61671         (bitset_not): Use __attribute__ and mark function as possibly
61672         unused.
61673         (bitset_merge): Likewise.
61674         (bitset_mask): Likewise.
61675         (re_string_char_size_at): Likewise.
61676         (re_string_wchar_at): Likewise.
61677         (re_string_elem_size_at): Likewise.
61679 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61681         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61682         code.
61683         (cc32): Likewise.
61685         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61686         (__acr): Likewise.
61687         (__cpy): Likewise.
61688         (norm): Likewise.
61689         (denorm): Likewise.
61690         (__dbl_mp): Likewise.
61691         (add_magnitudes): Likewise.
61692         (sub_magnitudes): Likewise.
61693         (__mul): Likewise.
61694         (__inv): Likewise.
61696         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61697         style.
61699         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61700         style.
61702         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61703         code.
61705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61706         up changes with default code.
61707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61708         Likewise.
61710 2013-02-24  Allan McRae  <allan@archlinux.org>
61712         * manual/socket.texi (The Internet Namespace): Order menu items
61713         to match that in the file.
61715         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61716         node listing of the info page menu.
61718 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61720         [BZ #13550]
61721         * sysdeps/i386/bp-asm.h: Remove file.
61722         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61723         (PARMS): Do not use macros from bp-asm.h.
61724         (S1): Likewise.
61725         (S2): Likewise.
61726         (SIZE): Likewise.
61727         (__mpn_add_n): Do not use BP_SYM
61728         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61729         "bp-asm.h".
61730         (PARMS): Do not use macros from bp-asm.h.
61731         (S1): Likewise.
61732         (SIZE): Likewise.
61733         (__mpn_addmul_1): Do not use BP_SYM
61734         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61735         "bp-asm.h".
61736         (PARMS): Do not use macros from bp-asm.h.
61737         (SIGMSK): Likewise.
61738         (_setjmp): Likewise.  Do not use BP_SYM.
61739         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61740         "bp-asm.h".
61741         (PARMS): Do not use macros from bp-asm.h.
61742         (SIGMSK): Likewise.
61743         (setjmp): Likewise.  Do not use BP_SYM.
61744         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61745         "bp-asm.h".
61746         (PARMS): Do not use macros from bp-asm.h.
61747         (__frexp): Do not use BP_SYM.
61748         (frexp): Likewise.
61749         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61750         "bp-asm.h".
61751         (PARMS): Do not use macros from bp-asm.h.
61752         (__frexpf): Do not use BP_SYM.
61753         (frexpf): Likewise.
61754         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61755         "bp-asm.h".
61756         (PARMS): Do not use macros from bp-asm.h.
61757         (__frexpl): Do not use BP_SYM.
61758         (frexpl): Likewise.
61759         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61760         "bp-asm.h".
61761         (PARMS): Do not use macros from bp-asm.h.
61762         (__remquo): Do not use BP_SYM.
61763         (remquo): Likewise.
61764         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61765         "bp-asm.h".
61766         (PARMS): Do not use macros from bp-asm.h.
61767         (__remquof): Do not use BP_SYM.
61768         (remquof): Likewise.
61769         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61770         "bp-asm.h".
61771         (PARMS): Do not use macros from bp-asm.h.
61772         (__remquol): Do not use BP_SYM.
61773         (remquol): Likewise.
61774         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61775         "bp-asm.h".
61776         (PARMS): Do not use macros from bp-asm.h.
61777         (DEST): Likewise.
61778         (SRC): Likewise.
61779         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61780         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61781         "bp-asm.h".
61782         (PARMS): Do not use macros from bp-asm.h.
61783         (strlen): Do not use BP_SYM.
61784         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61785         "bp-asm.h".
61786         (PARMS): Do not use macros from bp-asm.h.
61787         (S1): Likewise.
61788         (S2): Likewise.
61789         (SIZE): Likewise.
61790         (__mpn_add_n): Do not use BP_SYM.
61791         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61792         "bp-asm.h".
61793         (PARMS): Do not use macros from bp-asm.h.
61794         (S1): Likewise.
61795         (SIZE): Likewise.
61796         (__mpn_addmul_1): Do not use BP_SYM.
61797         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61798         weak_alias.
61799         (bzero): Likewise.
61800         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61801         "bp-asm.h".
61802         (PARMS): Do not use macros from bp-asm.h.
61803         (S): Likewise.
61804         (SIZE): Likewise.
61805         (__mpn_lshift): Do not use BP_SYM.
61806         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61807         "bp-asm.h".
61808         (PARMS): Do not use macros from bp-asm.h.
61809         (DEST): Likewise.
61810         (SRC): Likewise.
61811         (LEN): Likewise.
61812         (memcpy): Likewise.  Do not use BP_SYM.
61813         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61814         libc_hidden_def and weak_alias.
61815         (mempcpy): Do not use BP_SYM in weak_alias.
61816         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61817         "bp-asm.h".
61818         (PARMS): Do not use macros from bp-asm.h.
61819         (DEST): Likewise.
61820         (LEN): Likewise.
61821         [!BZERO_P] (CHR): Likewise.
61822         (memset): Likewise.  Do not use BP_SYM.
61823         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61824         "bp-asm.h".
61825         (PARMS): Do not use macros from bp-asm.h.
61826         (S1): Likewise.
61827         (SIZE): Likewise.
61828         (__mpn_mul_1): Do not use BP_SYM.
61829         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61830         "bp-asm.h".
61831         (PARMS): Do not use macros from bp-asm.h.
61832         (S): Likewise.
61833         (SIZE): Likewise.
61834         (__mpn_rshift): Do not use BP_SYM.
61835         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61836         "bp-asm.h".
61837         (PARMS): Do not use macros from bp-asm.h.
61838         (STR): Likewise.
61839         (CHR): Likewise.
61840         (strchr): Likewise.  Do not use BP_SYM.
61841         (index): Do not use BP_SYM in weak_alias.
61842         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61843         "bp-asm.h".
61844         (PARMS): Do not use macros from bp-asm.h.
61845         (DEST): Likewise.
61846         (SRC): Likewise.
61847         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61848         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61849         "bp-asm.h".
61850         (PARMS): Do not use macros from bp-asm.h.
61851         (strlen): Do not use BP_SYM.
61852         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61853         "bp-asm.h".
61854         (PARMS): Do not use macros from bp-asm.h.
61855         (S1): Likewise.
61856         (S2): Likewise.
61857         (SIZE): Likewise.
61858         (__mpn_sub_n): Do not use BP_SYM.
61859         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61860         "bp-asm.h".
61861         (PARMS): Do not use macros from bp-asm.h.
61862         (S1): Likewise.
61863         (SIZE): Likewise.
61864         (__mpn_submul_1): Do not use BP_SYM.
61865         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61866         "bp-asm.h".
61867         (PARMS): Do not use macros from bp-asm.h.
61868         (S1): Likewise.
61869         (S2): Likewise.
61870         (SIZE): Likewise.
61871         (__mpn_add_n): Do not use BP_SYM.
61872         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61873         weak_alias.
61874         (bzero): Likewise.
61875         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61876         "bp-asm.h".
61877         (PARMS): Do not use macros from bp-asm.h.
61878         (BLK2): Likewise.
61879         (LEN): Likewise.
61880         (memcmp): Do not use BP_SYM.
61881         (bcmp): Do not use BP_SYM in weak_alias.
61882         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61883         "bp-asm.h".
61884         (PARMS): Do not use macros from bp-asm.h.
61885         (DEST): Likewise.
61886         (SRC): Likewise.
61887         (LEN): Likewise.
61888         (memcpy): Likewise.  Do not use BP_SYM.
61889         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61890         "bp-asm.h".
61891         (PARMS): Do not use macros from bp-asm.h.
61892         (DEST): Likewise.
61893         (SRC): Likewise.
61894         (LEN): Likewise.
61895         (memmove): Likewise.  Do not use BP_SYM.
61896         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61897         "bp-asm.h".
61898         (PARMS): Do not use macros from bp-asm.h.
61899         (DEST): Likewise.
61900         (SRC): Likewise.
61901         (LEN): Likewise.
61902         (__mempcpy): Likewise.  Do not use BP_SYM.
61903         (mempcpy): Do not use BP_SYM in weak_alias.
61904         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61905         "bp-asm.h".
61906         (PARMS): Do not use macros from bp-asm.h.
61907         (DEST): Likewise.
61908         (LEN): Likewise.
61909         [!BZERO_P] (CHR): Likewise.
61910         (memset): Likewise.  Do not use BP_SYM.
61911         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61912         "bp-asm.h".
61913         (PARMS): Do not use macros from bp-asm.h.
61914         (STR2): Likewise.
61915         (strcmp): Do not use BP_SYM.
61916         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61917         "bp-asm.h".
61918         (PARMS): Do not use macros from bp-asm.h.
61919         (STR): Likewise.
61920         (DELIM): Likewise.
61921         [USE_AS_STRTOK_R] (SAVE): Likewise.
61922         (FUNCTION): Likewise.  Do not use BP_SYM.
61923         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61924         aliases.
61925         (strtok_r): Likewise.
61926         (__GI___strtok_r): Likewise.
61927         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61928         (PARMS): Do not use macros from bp-asm.h.
61929         (S): Likewise.
61930         (SIZE): Likewise.
61931         (__mpn_lshift): Do not use BP_SYM.
61932         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61933         (PARMS): Do not use macros from bp-asm.h.
61934         (STR): Likewise.
61935         (CHR): Likewise.
61936         (__memchr): Do not use BP_SYM.
61937         (memchr): Do not use BP_SYM in weak_alias.
61938         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61939         (PARMS): Do not use macros from bp-asm.h.
61940         (BLK2): Likewise.
61941         (LEN): Likewise.
61942         (memcmp): Do not use BP_SYM.
61943         (bcmp): Do not use BP_SYM in weak_alias.
61944         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61945         (PARMS): Do not use macros from bp-asm.h.
61946         (S1): Likewise.
61947         (SIZE): Likewise.
61948         (__mpn_mul_1): Do not use BP_SYM.
61949         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61950         "bp-asm.h".
61951         (PARMS): Do not use macros from bp-asm.h.
61952         (STR): Likewise.
61953         (CHR): Likewise.
61954         (__rawmemchr): Do not use BP_SYM.
61955         (rawmemchr): Do not use BP_SYM in weak_alias.
61956         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61957         (PARMS): Do not use macros from bp-asm.h.
61958         (S): Likewise.
61959         (SIZE): Likewise.
61960         (__mpn_rshift): Do not use BP_SYM.
61961         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61962         (PARMS): Do not use macros from bp-asm.h.
61963         (SIGMSK): Likewise.
61964         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61965         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61966         (_start): Do not use BP_SYM.
61967         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61968         (PARMS): Do not use macros from bp-asm.h.
61969         (DEST): Likewise.
61970         (SRC): Likewise.
61971         (__stpcpy): Likewise.  Do not use BP_SYM.
61972         (stpcpy): Do not use BP_SYM in weak_alias.
61973         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61974         "bp-asm.h".
61975         (PARMS): Do not use macros from bp-asm.h.
61976         (DEST): Likewise.
61977         (SRC): Likewise.
61978         (LEN): Likewise.
61979         (__stpncpy): Likewise.  Do not use BP_SYM.
61980         (stpncpy): Do not use BP_SYM in weak_alias.
61981         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61982         (PARMS): Do not use macros from bp-asm.h.
61983         (STR): Likewise.
61984         (CHR): Likewise.
61985         (strchr): Likewise.  Do not use BP_SYM.
61986         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61987         "bp-asm.h".
61988         (PARMS): Do not use macros from bp-asm.h.
61989         (STR): Likewise.
61990         (CHR): Likewise.
61991         (__strchrnul): Likewise.  Do not use BP_SYM.
61992         (strchrnul): Do not use BP_SYM in weak_alias.
61993         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61994         "bp-asm.h".
61995         (PARMS): Do not use macros from bp-asm.h.
61996         (STOP): Likewise.
61997         (strcspn): Do not use BP_SYM.
61998         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61999         "bp-asm.h".
62000         (PARMS): Do not use macros from bp-asm.h.
62001         (STR): Likewise.
62002         (STOP): Likewise.
62003         (strpbrk): Likewise.  Do not use BP_SYM.
62004         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
62005         "bp-asm.h".
62006         (PARMS): Do not use macros from bp-asm.h.
62007         (STR): Likewise.
62008         (CHR): Likewise.
62009         (strrchr): Likewise.  Do not use BP_SYM.
62010         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
62011         (PARMS): Do not use macros from bp-asm.h.
62012         (SKIP): Likewise.
62013         (strspn): Do not use BP_SYM.
62014         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
62015         (PARMS): Do not use macros from bp-asm.h.
62016         (STR): Likewise.
62017         (DELIM): Likewise.
62018         (SAVE): Likewise.
62019         (FUNCTION): Likewise.  Do not use BP_SYM.
62020         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
62021         aliases.
62022         (strtok_r): Likewise.
62023         (__GI___strtok_r): Likewise.
62024         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62025         (PARMS): Do not use macros from bp-asm.h.
62026         (S1): Likewise.
62027         (S2): Likewise.
62028         (SIZE): Likewise.
62029         (__mpn_sub_n): Do not use BP_SYM.
62030         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
62031         "bp-asm.h".
62032         (PARMS): Do not use macros from bp-asm.h.
62033         (S1): Likewise.
62034         (SIZE): Likewise.
62035         (__mpn_submul_1): Do not use BP_SYM.
62036         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
62037         <bp-sym.h>.
62038         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
62039         and <bp-asm.h>.
62040         (PARMS): Do not use macros from bp-asm.h.
62041         (FLAGS): Likewise.
62042         (PTID): Likewise.
62043         (TLS): Likewise.
62044         (CTID): Likewise.
62045         (__clone): Do not use BP_SYM.
62046         (clone): Do not use BP_SYM in weak_alias.
62047         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62048         and <bp-asm.h>.
62049         (PARMS): Do not use macros from bp-asm.h.
62050         (LEN): Likewise.
62051         (__mmap64): Do not use BP_SYM.
62052         (mmap64): Do not use BP_SYM in weak_alias.
62053         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62054         <bp-sym.h> and <bp-asm.h>.
62055         (PARMS): Do not use macros from bp-asm.h.
62056         (__posix_fadvise64_l64): Do not use BP_SYM.
62057         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62058         (PARMS): Do not use macros from bp-asm.h.
62059         (NSOPS): Likewise.
62060         (semtimedop): Do not use BP_SYM.
62061         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62062         and <bp-asm.h>.
62064 2013-02-21  Allan McRae  <allan@archlinux.org>
62066         * manual/message.texi (Charset conversion in gettext):
62067         Move @end statement to beginning of line.
62069 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62072         static.
62073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62074         Likewise.
62076         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62077         (denorm): Likewise.
62078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62081 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62083         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62084         tail-call to the resolved function if pltexit isn't needed.
62086 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62089         or Y being zero as being unlikely.
62090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62091         Likewise.
62093 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62095         * manual/nss.texi (System Databases and Name Service Switch):
62096         Remove frobnicate @pxref.
62098 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62100         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62101         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62103 2013-02-20  Petr Machata  <pmachata@redhat.com>
62105         * elf/elf.h (R_ARM_TARGET1): New macro.
62106         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62107         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62108         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62109         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62110         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62111         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62112         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62113         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62114         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62115         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62116         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62117         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62118         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62119         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62120         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62121         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62122         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62123         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62124         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62125         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62126         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62127         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62128         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62129         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62130         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62131         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62132         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62133         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62134         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62135         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62136         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62137         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62138         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62139         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62140         (R_ARM_THM_GOT_BREL12): Likewise.
62141         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62142         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62143         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62144         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62145         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62146         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62147         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62148         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62149         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62151 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62153         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62154         __attribute_used__ to __attribute__ ((unused)).
62156 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62158         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62159         powerpc mpa.c.
62160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62161         comment formatting.
62162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62164 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62166         [BZ #13550]
62167         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62168         Remove macro.
62169         (ENTER): Remove both macro definitions.
62170         (LEAVE): Likewise.
62171         (CHECK_BOUNDS_LOW): Likewise.
62172         (CHECK_BOUNDS_HIGH): Likewise.
62173         (CHECK_BOUNDS_BOTH): Likewise.
62174         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62175         (RETURN_BOUNDED_POINTER): Likewise.
62176         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62177         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62178         (POP_ERRNO_LOCATION_RETURN): Likewise.
62179         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62180         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62181         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62182         macros.
62183         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62184         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62185         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62186         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62187         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62188         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62189         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62190         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62191         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62192         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62193         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62194         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62195         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62196         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62197         removed macros.
62198         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62199         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62200         macros.
62201         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62202         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62203         * sysdeps/i386/i586/memset.S (memset): Likewise.
62204         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62205         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62206         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62207         macros.
62208         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62209         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62210         Change uses of L(2) to L(out).
62211         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62212         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62213         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62214         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62215         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62216         removed macros.
62217         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62218         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62219         macros.
62220         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62221         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62222         (RETURN): Do not use macro LEAVE.
62223         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62224         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62225         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62226         * sysdeps/i386/i686/memset.S (memset): Likewise.
62227         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62228         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62229         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62230         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62231         Likewise.
62232         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62233         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62234         L(1_2) and L(1_3) into L(1).
62235         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62236         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62237         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62238         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62239         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62240         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62241         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62242         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62243         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62244         macros.
62245         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62246         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62247         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62248         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62249         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62250         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62251         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62252         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62253         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62254         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62255         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62256         * sysdeps/i386/strspn.S (strspn): Likewise.
62257         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62258         conditional code.
62259         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62260         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62261         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62262         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62263         L(1_3) into L(1_1).
62264         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62265         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62266         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62267         macros.
62268         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62270 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62272         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62273         macro.
62275 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62277         * math/atest-exp.c (exp_mpn): Remove ROUND.
62278         * math/atest-exp2.c (exp_mpn): Likewise.
62279         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62281         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62282         * stdlib/tst-tls-atexit-lib.c: Likewise.
62283         * stdlib/tst-tls-atexit.c: Likewise.
62285 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62287         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62288         and __attribute_alloc_size__.
62290 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62292         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62293         __attribute_alloc_size__.
62294         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62295         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62297 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62299         * include/programs/xmalloc.h: New file.
62300         * catgets/gencat.c: Include it.
62301         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62302         * elf/pldd.c: Likewise.
62303         * iconv/iconv_charmap.c: Likewise.
62304         * iconv/iconvconfig.c: Likewise.
62305         * iconv/strtab.c: Likewise.
62306         * locale/programs/locale.c: Likewise.
62307         * locale/programs/localedef.h: Likewise.
62308         * locale/programs/simple-hash.c: Likewise.
62309         * nscd/nscd.h: Likewise.
62310         * nss/makedb.c: Likewise.
62311         * sysdeps/generic/ldconfig.h: Likewise.
62313 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62315         * Versions.def: Add GLIBC_2.18.
62316         * include/link.h (struct link_map): New member l_tls_dtor_count.
62317         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62318         (__call_tls_dtors): Likewise.
62319         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62320         __cxa_thread_atexit_impl.
62321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62322         Likewise.
62323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62324         Likewise.
62325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62326         Likewise.
62327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62328         Likewise.
62329         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62331         Likewise.
62332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62333         Likewise.
62334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62336         Likewise.
62337         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62338         (tests): Add test case tst-tls-atexit.
62339         (modules-names): Add shared library for tst-tls-atexit.
62340         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62341         (GLIBC_PRIVATE): Add __call_tls_dtors.
62342         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62343         for libstdc++.
62344         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62345         * stdlib/tst-tls-atexit.c: New test case.
62346         * stdlib/tst-tls-atexit-lib.c: New test case.
62348         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62350         * elf/Versions (ld): Add _dl_find_dso_for_object.
62351         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62352         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62353         (dl_open_worker): Use _dl_find_dso_for_object.
62354         * elf/dl-sym.c (do_sym): Likewise.
62355         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62357 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62359         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62360         Syntactic changes only.
62361         (_dl_runtime_profile): Do a tail-call to the resolved function.
62363 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62365         [BZ #13550]
62366         * sysdeps/x86_64/bp-asm.h: Remove file.
62367         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62368         <bp-sym.h> and <bp-asm.h>.
62369         (__clone): Do not use BP_SYM.
62370         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62371         <bp-sym.h> and <bp-asm.h>.
62372         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62373         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62374         "bp-asm.h".
62375         (_setjmp): Do not use BP_SYM.
62376         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62377         "bp-asm.h".
62378         (setjmp): Do not use BP_SYM.
62379         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
62380         libc_hidden_def.
62381         (mempcpy): Do not use BP_SYM in weak_alias.
62382         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
62383         "bp-asm.h".
62384         (strchr): Do not use BP_SYM.
62385         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
62386         "bp-asm.h".
62387         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
62388         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
62389         (_start): Do not use BP_SYM.
62390         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
62391         "bp-asm.h".
62392         (strcat): Do not use BP_SYM.
62393         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
62394         "bp-asm.h".
62395         (STRCMP): Do not use BP_SYM.
62396         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
62397         "bp-asm.h".
62398         (STRCPY): Do not use BP_SYM.
62399         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
62400         "bp-asm.h".
62401         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
62402         "bp-asm.h".
62403         (FUNCTION): Do not use BP_SYM.
62404         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
62405         weak_alias.
62406         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
62408 2013-02-17  Andreas Jaeger  <aj@suse.de>
62410         * time/Versions: Sort entries.
62411         * string/Versions: Likewise.
62412         * resolv/Versions: Likewise.
62413         * posix/Versions: Likewise.
62414         * iconv/Versions: Likewise.
62415         * elf/Versions: Likewise.
62416         * wcsmbs/Versions: Likewise.
62418 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62420         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
62421         loop termination condition.
62423         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
62424         variable to calculate EZ.
62425         (__sqr): Likewise.
62427         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
62428         the lower precision input.
62430 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
62432         [BZ #13550]
62433         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
62434         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
62435         (run-via-rtld-prefix): Do not handle %-bp tests.
62436         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
62437         (all-object-suffixes): Remove .ob.
62438         (bppfx): Remove variable.
62439         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
62440         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
62441         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
62442         [$(build-bounded) = yes] (libtype.ob): Likewise.
62443         * Makerules (elide-routines.ob): Remove variable.
62444         (do-tests-clean): Do not handle *-bp.out.
62445         (common-mostlyclean): Do not handle *-bp and *-bp.out.
62446         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
62447         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
62448         (tests): Do not include $(tests-bp.out).
62449         (xtests): Do not include $(xtests-bp.out).
62450         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
62451         [$(build-bounded) = yes] ($(addprefix
62452         $(objpfx),$(binaries-bounded))): Remove rule.
62453         ($(objpfx)%-bp.out): Remove rule.
62454         * config.make.in (build-bounded): Remove variable.
62455         * crypt/Makefile [$(build-bounded) = yes]
62456         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62457         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62458         append to variable.
62459         [$(build-bounded) = yes] (install-lib): Likewise.
62460         [$(build-bounded) = yes] (generated): Likewise.
62461         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62462         Remove rule.
62463         * intl/Makefile [$(build-bounded) = yes]
62464         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62465         * math/Makefile [$(build-bounded) = yes]
62466         ($(tests:%=$(objpfx)%-bp): Likewise.
62467         * misc/Makefile [$(build-bounded) = yes]
62468         ($(objpfx)tst-tsearch-bp): Likewise.
62469         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62470         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62471         Remove dependency.
62472         * string/Makefile (o-objects.ob): Remove variable.
62473         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62474         (CFLAGS-.ob): Remove variable.
62475         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62476         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62477         both definitions of variable.
62478         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62479         (ASFLAGS-.ob): Remove variable.
62481 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62483         [BZ #13550]
62484         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62485         Remove __BOUNDED_POINTERS__ from condition.
62486         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62487         * string/bits/string2.h [!__NO_STRING_INLINES &&
62488         !__BOUNDED_POINTERS__]: Likewise.
62489         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62490         Likewise.
62491         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62492         Remove conditional code.
62493         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62494         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62495         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62496         condition.
62498         [BZ #13550]
62499         * csu/libc-start.c: Do not include <bp-sym.h>.
62500         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62501         * elf/dl-open.c: Do not include <bp-sym.h>.
62502         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62503         * math/fegetenv.c: Do not include <bp-sym.h>.
62504         (fegetenv): Do not use BP_SYM in versioned symbols.
62505         * nptl/sysdeps/pthread/bits/libc-lockP.h
62506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62507         <bp-sym.h>.
62508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62509         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62511         (__pthread_mutex_destroy): Likewise.
62512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62513         (__pthread_mutex_lock): Likewise.
62514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62515         (__pthread_mutex_trylock): Likewise.
62516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62517         (__pthread_mutex_unlock): Likewise.
62518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62519         (__pthread_mutexattr_init): Likewise.
62520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62521         (__pthread_mutexattr_destroy): Likewise.
62522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62523         (__pthread_mutexattr_settype): Likewise.
62524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62525         (__pthread_rwlock_init): Likewise.
62526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62527         (__pthread_rwlock_destroy): Likewise.
62528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62529         (__pthread_rwlock_rdlock): Likewise.
62530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62531         (__pthread_rwlock_tryrdlock): Likewise.
62532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62533         (__pthread_rwlock_wrlock): Likewise.
62534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62535         (__pthread_rwlock_trywrlock): Likewise.
62536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62537         (__pthread_rwlock_unlock): Likewise.
62538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62539         (__pthread_key_create): Likewise.
62540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62541         (__pthread_setspecific): Likewise.
62542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62543         (__pthread_getspecific): Likewise.
62544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62545         Likewise.
62546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62547         (_pthread_cleanup_push_defer): Likewise.
62548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62549         (_pthread_cleanup_pop_restore): Likewise.
62550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62551         (pthread_setcancelstate): Likewise.
62552         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62553         <bp-sym.h>.
62554         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62555         (memchr): Do not use BP_SYM in weak_alias.
62556         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62557         (fegetenv): Do not use BP_SYM in versioned symbols.
62558         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62559         (fesetenv): Do not use BP_SYM in versioned symbols.
62560         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62561         (feupdateenv): Do not use BP_SYM in versioned symbols.
62562         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62563         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62564         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62565         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62566         (open64): Do not use BP_SYM in weak_alias.
62567         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62568         (fegetenv): Do not use BP_SYM in versioned symbols.
62569         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62570         (fesetenv): Do not use BP_SYM in versioned symbols.
62571         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62572         (feupdateenv): Do not use BP_SYM in versioned symbols.
62573         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62574         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62575         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62576         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62577         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62578         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62579         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62580         <bp-sym.h>.
62581         (__libc_start_main): Do not use BP_SYM.
62583 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62586         redundant return line.
62587         (norm): Likewise.
62588         (denorm): Likewise.
62589         (dbl_mp): Likewise.
62590         (sub_magnitudes): Likewise.
62591         (__add): Likewise.
62592         (__sub): Likewise.
62593         (__mul): Likewise.
62594         (__inv): Likewise.
62595         (__dvd): Likewise.
62596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62597         (norm): Likewise.
62598         (denorm): Likewise.
62599         (dbl_mp): Likewise.
62600         (sub_magnitudes): Likewise.
62601         (__add): Likewise.
62602         (__sub): Likewise.
62603         (__mul): Likewise.
62604         (__inv): Likewise.
62605         (__dvd): Likewise.
62607         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62608         instead of __mul.
62609         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62610         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62611         (cc32): Likewise.
62613         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62614         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62616         of __mul for squares.
62617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62618         function
62619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62620         Likewise.
62621         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62622         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62624 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62626         [BZ #13550]
62627         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62628         code.
62629         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62630         prototype or function definition.  Rename ubp_* variables and
62631         parameters.  Remove argv definitions conditional on
62632         [__BOUNDED_POINTERS__].
62633         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62634         * elf/dl-runtime.c (_dl_fixup): Likewise.
62635         * include/set-hooks.h (RUN_HOOK): Likewise.
62636         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62637         definition.
62638         * string/strcpy.c (strcpy): Do not use __unbounded.
62639         * sysdeps/generic/frame.h (struct layout): Likewise.
62640         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62641         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62642         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62643         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62644         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62645         (__backtrace): Likewise.
62646         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62647         use __ptrvalue.
62648         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62649         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62650         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62651         Likewise.
62652         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62653         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62654         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62655         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62656         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62657         Do not use __unbounded.
62658         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62659         Rename __unboundedrlimits parameter to rlimits in prototype.
62660         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62661         Do not use __unbounded.
62662         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62663         not use __ptrvalue.
62664         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62665         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62666         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62667         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62668         __ptrvalue or __unbounded.
62669         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62670         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62671         use __unbounded.
62672         (__new_msgctl): Do not use __ptrvalue.
62673         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62674         __unbounded.
62675         (__libc_msgrcv): Do not use __ptrvalue.
62676         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62677         startup_info): Do not use __unbounded.
62678         (__libc_start_main): Likewise.  Rename ubp_* variables and
62679         parameters.  Remove argv definitions conditional on
62680         [__BOUNDED_POINTERS__].
62681         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62682         __ptrvalue.
62683         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62684         use __unbounded.
62685         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62686         or __ptrvalue.
62687         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62688         use __unbounded.
62689         (__new_shmctl): Do not use __ptrvalue.
62690         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62691         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62692         Likewise.
62693         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62694         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62695         (__libc_sigaction): Likewise.
62696         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62697         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62698         Likewise.
62699         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62701 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62703         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62705         * string/mempcpy.c: Implement by calling memcpy.
62707 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62711         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62712         evaluation.
62714         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62715         values in the mantissa.
62717         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62718         minimize writes to Z.
62719         (sub_magnitudes): Simplify code a bit.
62721 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62723         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62724         from the message.  The linker prefixes all warnings with that already.
62726 2013-02-12  Andreas Schwab  <schwab@suse.de>
62728         [BZ #15078]
62729         * posix/regexec.c (extend_buffers): Add parameter min_len.
62730         (check_matching): Pass minimum needed length.
62731         (clean_state_log_if_needed): Likewise.
62732         (get_subexp): Likewise.
62733         * posix/Makefile (tests): Add bug-regex34.
62734         (bug-regex34-ENV): Define.
62735         * posix/bug-regex34.c: New file.
62737         [BZ #11561]
62738         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62739         elements compare against the byte sequence of it, not its name.
62740         * posix/Makefile (tests): Add bug-regex35.
62741         (bug-regex35-ENV): Define.
62742         * posix/bug-regex35.c: New file.
62744 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62746         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62747         comment.
62748         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62749         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62750         (CHECK_EOL): Add undef.
62752 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62754         * bits/stdlib-bsearch.h: New file.
62755         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62756         * stdlib/stdlib.h: Likewise.
62758 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62760         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62761         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62762         declaration.
62763         * manual/search.texi (Array Search Function): Add missing const in
62764         lfind prototype.
62765         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62766         declaration to use rlim_t.
62767         (Basic Scheduling Functions): Remove erroneous const from
62768         sched_getparam prototype.  Remove erroneous * from
62769         sched_get_priority_max and sched_get_priority_min prototypes.
62770         (Resource Usage): Fix summary @comment on vtimes to refer to
62771         sys/vtimes.h rather than vtimes.h.
62772         Add missing *s in vtimes prototype.
62773         (Limits on Resources): Fix ulimit prototype to return long int.
62774         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62775         prototypes to use long int rather than double.
62776         (BSD Random): Fix initstate and setstate to use char *, not void *.
62777         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62778         prototype to make second argument 'struct aiocb64 *const[]'.
62779         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62780         (Status of AIO Operations): Remove erroneous const in aio_return and
62781         aio_return64 prototypes.
62782         (Synchronizing I/O): Fix sync prototype to return void.
62783         * manual/startup.texi (Suboptions): Remove an erroneous const in
62784         getsubopt prototype.
62785         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62786         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62787         use size_t rather than int.
62788         (Scanning All Users): Likewise for getpwent_r.
62789         (Setting Groups): Add missing const to setgroups prototype.
62790         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62791         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62792         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62793         'const void *' rather than 'const char *'.
62794         (Host Address Functions): Likewise for inet_ntop.
62795         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62796         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62797         ssize_t for return value.
62798         (Sending Data): Likewise for send, sendto, sendmsg.
62799         (Socket Option Functions): Add a missing const in setsockopt prototype.
62800         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62801         use wchar_t for the argument.
62802         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62803         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62804         take no arguments.
62805         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62806         double/float/long double for second argument.
62807         Fix return types of significand, significandf, significandl.
62808         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62809         argument in fchmod prototype.
62810         (File Owner): Use uid_t and gid_t in fchown prototype.
62811         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62812         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62813         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62814         use 'const struct dirent **' as argument types to CMP function pointer
62815         argument.
62816         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62817         (File Times): Fix summary magic @comment for struct utimbuf and utime
62818         to refer to utime.h, not time.h.
62819         * manual/string.texi (Argz Functions): Add missing const in
62820         argz_extract and argz_next prototypes.
62821         (Finding Tokens in a String): Likewise for basename.
62822         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62823         (Copying and Concatenation): Fix typo in wmemmove prototype.
62824         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62825         (Signal Stack): Remove erroneous const in sigstack prototype.
62826         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62827         prototype.
62828         (Simple Calendar Time): Likewise for stime.
62829         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62830         prototype.
62831         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62832         say sys/sysctl.h instead.
62833         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62834         and vsyslog prototypes.
62836 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62838         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62839         Remove.
62841 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62843         * misc/sys/mman.h: Fix typo in mremap comment.
62845 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62847         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62848         the '\0' terminator.
62850 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62852         [BZ #13550]
62853         * debug/segfault.c: Don't include <bp-checks.h>.
62854         * sysdeps/generic/bp-checks.h: Remove file.
62855         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62856         (__GETDENTS): Don't use CHECK_N.
62857         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62858         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62859         (__getgroups): Don't use CHECK_N.
62860         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62861         (setgroups): Don't use CHECK_N.
62862         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62863         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62864         (__libc_msgrcv): Don't use CHECK_N.
62865         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62866         (__libc_msgsnd): Don't use CHECK_N.
62867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62868         <bp-checks.h>.
62869         (__libc_pread): Don't use CHECK_N.
62870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62871         include <bp-checks.h>.
62872         (__libc_pread64): Don't use CHECK_N.
62873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62874         include <bp-checks.h>.
62875         (__libc_pwrite): Don't use CHECK_N.
62876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62877         include <bp-checks.h>.
62878         (__libc_pwrite64): Don't use CHECK_N.
62879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62880         <bp-checks.h>.
62881         (__libc_pread): Don't use CHECK_N.
62882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62883         include <bp-checks.h>.
62884         (__libc_pread64): Don't use CHECK_N.
62885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62886         include <bp-checks.h>.
62887         (__libc_pwrite): Don't use CHECK_N.
62888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62889         include <bp-checks.h>.
62890         (__libc_pwrite64): Don't use CHECK_N.
62891         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62892         (do_pread): Don't use CHECK_N.
62893         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62894         (do_pread64): Don't use CHECK_N.
62895         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62896         (do_pwrite): Don't use CHECK_N.
62897         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62898         (do_pwrite64): Don't use CHECK_N.
62899         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62900         (__libc_readv): Don't use CHECK_N.
62901         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62902         (semop): Don't use CHECK_N.
62903         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62904         <bp-checks.h>.
62905         (semtimedop): Don't use CHECK_N.
62906         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62907         (__libc_pread): Don't use CHECK_N.
62908         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62909         <bp-checks.h>.
62910         (__libc_pread64): Don't use CHECK_N.
62911         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62912         <bp-checks.h>.
62913         (__libc_pwrite): Don't use CHECK_N.
62914         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62915         <bp-checks.h>.
62916         (__libc_pwrite64): Don't use CHECK_N.
62917         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62918         <bp-checks.h>.
62919         (__libc_msgrcv): Don't use CHECK_N.
62920         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62921         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62922         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62923         (__libc_writev): Don't use CHECK_N.
62925 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62927         * string/strcpy.c: Removed unused variable.
62929         * Makeconfig (+sysdep-includes): Define with := rather than =.
62930         Use an existing include/ subdir of each sysdeps dir before it.
62932 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62934         * nscd/connection.c (register_traced_file): Comment function.
62935         [HAVE_INOTIFY] (union __inev): Define.
62936         [HAVE_INOTIFY] (inotify_check_files): New function.
62937         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62938         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62939         clear_db_cache.
62940         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62942 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62944         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62945         loaded if not already and that a failure is permanent.
62947 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62949         [BZ #15006]
62950         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62951         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62953 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62955         [BZ #13550]
62956         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62957         (CHECK_1_NULL_OK): Likewise.
62958         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62959         (__fxstat): Do not use CHECK_1.
62960         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62961         <bp-checks.h>.
62962         (___fxstat64): Do not use CHECK_1.
62963         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62964         <bp-checks.h>.
62965         (__fxstatat): Do not use CHECK_1.
62966         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62967         <bp-checks.h>.
62968         (__fxstatat64): Do not use CHECK_1.
62969         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62970         <bp-checks.h>.
62971         (__fxstat): Do not use CHECK_1.
62972         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62973         <bp-checks.h>.
62974         (__fxstatat): Do not use CHECK_1.
62975         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62976         <bp-checks.h>.
62977         (__getresgid): Do not use CHECK_1.
62978         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62979         <bp-checks.h>.
62980         (__getresuid): Do not use CHECK_1.
62981         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62982         <bp-checks.h>.
62983         (__lxstat): Do not use CHECK_1.
62984         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62985         <bp-checks.h>.
62986         (__old_msgctl): Do not use CHECK_1.
62987         (__new_msgctl): Likewise.
62988         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62989         <bp-checks.h>.
62990         (__new_setrlimit): Do not use CHECK_1.
62991         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62992         <bp-checks.h>.
62993         (__old_shmctl): Do not use CHECK_1.
62994         (__new_shmctl): Likewise.
62995         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62996         <bp-checks.h>.
62997         (__xstat): Do not use CHECK_1.
62998         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62999         (__lxstat): Do not use CHECK_1.
63000         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
63001         <bp-checks.h>.
63002         (___lxstat64): Do not use CHECK_1.
63003         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
63004         (__old_msgctl): Do not use CHECK_1.
63005         (__new_msgctl): Likewise.
63006         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
63007         <bp-checks.h>.
63008         (__gettimeofday): Do not use CHECK_1.
63009         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
63010         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
63011         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
63012         <bp-checks.h>.
63013         (__gettimeofday): Do not use CHECK_1.
63014         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
63015         (__old_shmctl): Do not use CHECK_1_NULL_OK.
63016         (__new_shmctl): Do not use CHECK_1.
63017         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
63018         <bp-checks.h>.
63019         (do_sigtimedwait): Do not use CHECK_1.
63020         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
63021         <bp-checks.h>.
63022         (do_sigwaitinfo): Do not use CHECK_1.
63023         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
63024         <bp-checks.h>.
63025         (msgctl): Do not use CHECK_1.
63026         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
63027         <bp-checks.h>.
63028         (shmctl): Do not use CHECK_1.
63029         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
63030         (ustat): Do not use CHECK_1.
63031         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
63032         <bp-checks.h>.
63033         (__fxstat): Do not use CHECK_1.
63034         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
63035         <bp-checks.h>.
63036         (__fxstatat): Do not use CHECK_1.
63037         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
63038         <bp-checks.h>.
63039         (__lxstat): Do not use CHECK_1.
63040         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
63041         <bp-checks.h>.
63042         (__xstat): Do not use CHECK_1.
63043         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63044         (__xstat): Do not use CHECK_1.
63045         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63046         (___xstat64): Do not use CHECK_1.
63048         [BZ #13550]
63049         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63050         definitions.
63051         (CHECK_BOUNDS_HIGH): Likewise.
63052         * string/strcpy.c: Do not include <bp-checks.h>.
63053         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63055 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63057         * nscd/nscd-client.h (__nscd_drop_map_ref):
63058         Add __attribute__ ((unused)).
63059         * nis/nss-nisplus.h (niserr2nss): Likewise.
63061         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63062         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63064         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63065         Remove inline keyword.
63066         * include/rounding-mode.h (round_away): Likewise.
63067         * libio/wfileops.c (adjust_wide_data): Likewise.
63068         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63069         (__m128i_strloadu_tolower): Likewise.
63070         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63071         (__m128i_strloadu_tolower): Likewise.
63072         * time/mktime.c (ydhms_diff): Likewise.
63073         * locale/elem-hash.h (elem_hash): Likewise.
63074         * locale/setlocale.c (setdata): Likewise.
63075         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63076         (re_string_wchar_at): Likewise.
63077         (bitset_not, bitset_merge, bitset_mask): Likewise.
63078         [!(__GNUC__ > 3)] (inline): Remove macro.
63079         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63080         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63081         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63082         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63083         * string/memcmp.c (memcmp_bytes): Likewise.
63084         * locale/programs/locarchive.c (compute_hashval): Likewise.
63085         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63086         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63087         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63088         * nss/getent.c (print_rpc, print_protocols): Likewise.
63089         (print_passwd, print_group, print_aliases): Likewise.
63090         * nis/nss-nisplus.h (niserr2nss): Likewise.
63091         * nscd/connections.c (restart_p): Likewise.
63092         Change return type to bool.
63094 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63096         * Makeconfig (all-Depend-files): Add existing
63097         $(sorted-subdirs:=/Depend) files.
63098         (all-subdirs): Remove nss.
63099         * sysdeps/unix/inet/Subdirs: Add it here instead.
63100         * hesiod/Depend: New file.
63102         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63103         instead of calling alloca.
63105         * io/lseek.c (__lseek): Rename to __libc_lseek.
63106         Define __lseek as an alias.
63108         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63110 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63112         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63113         else clause and remove check for non-standard endianness.
63115 2013-02-04  David S. Miller  <davem@davemloft.net>
63117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63119 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63121         [BZ #13550]
63122         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63123         (__ubp_memchr): Remove prototype.
63124         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63125         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63126         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63127         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63128         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63129         Remove alias.
63130         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63131         (__ubp_memchr): Likewise.
63132         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63133         (__ubp_memchr): Likewise.
63134         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63135         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63136         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63137         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63138         CHECK_STRING.
63139         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63140         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63141         (__getcwd): Do not use CHECK_STRING.
63142         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63143         <bp-checks.h>.
63144         (__real_chown): Do not use CHECK_STRING.
63145         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63146         <bp-checks.h>.
63147         (fchownat): Do not use CHECK_STRING.
63148         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63149         CHECK_STRING.
63150         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63151         <bp-checks.h>.
63152         (__lchown): Do not use CHECK_STRING.
63153         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63154         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63155         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63156         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63158         include <bp-checks.h>.
63159         (truncate64): Do not use CHECK_STRING.
63160         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63161         <bp-checks.h>.
63162         (__real_chown): Do not use CHECK_STRING.
63163         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63164         <bp-checks.h>.
63165         (__lchown): Do not use CHECK_STRING.
63166         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63167         <bp-checks.h>.
63168         (__chown): Do not use CHECK_STRING.
63169         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63170         <bp-checks.h>.
63171         (truncate64): Do not use CHECK_STRING.
63172         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63173         Likewise.
63174         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63175         (__xmknod): Do not use CHECK_STRING.
63176         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63177         <bp-checks.h>.
63178         (__xmknodat): Do not use CHECK_STRING.
63179         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63180         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63182 2013-02-04  Andreas Schwab  <schwab@suse.de>
63184         [BZ #14142]
63185         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63186         * include/netdb.h: Likewise for h_errno.
63187         * elf/tst-stackguard1.c: Include <tls.h>.
63189 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63191         * elf/link.h (struct link_map): Extend the l_addr comment.
63192         * include/link.h (struct link_map): Likewise.
63194 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63196         [BZ #13550]
63197         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63198         (BOUNDED_1): Remove macro.
63199         * debug/backtrace.c: Don't include <bp-checks.h>.
63200         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63201         (__backtrace): Likewise.
63202         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63203         <bp-checks.h>.
63204         (__backtrace): Don't use BOUNDED_1.
63205         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63206         <bp-checks.h>.
63207         (__backtrace): Don't use BOUNDED_1.
63208         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63209         (__backtrace): Don't use BOUNDED_1.
63210         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63211         (shmat): Don't use BOUNDED_N.
63213 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63215         [BZ #13550]
63216         * sysdeps/generic/bp-start.h: Remove file.
63217         * csu/libc-start.c: Don't include <bp-start.h>.
63218         (LIBC_START_MAIN): Set up __environ directly instead of using
63219         INIT_ARGV_and_ENVIRON.
63220         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63221         <bp-start.h>.
63223         [BZ #13550]
63224         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63225         definitions.
63226         (CHECK_FCNTL): Likewise.
63227         (CHECK_N_PAGES): Likewise.
63229         [BZ #13550]
63230         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63231         definitions.
63232         (CHECK_SIGSET_NULL_OK): Likewise.
63233         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63234         <bp-checks.h>.
63235         (sigpending): Don't use CHECK_SIGSET.
63236         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63237         <bp-checks.h>.
63238         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63239         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63240         <bp-checks.h>.
63241         (do_sigsuspend): Don't use CHECK_SIGSET.
63242         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63243         use CHECK_SIGSET.
63244         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63245         (do_sigwait): Don't use CHECK_SIGSET.
63246         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63247         use CHECK_SIGSET.
63248         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63249         include <bp-checks.h>.
63250         (sigpending): Don't use CHECK_SIGSET.
63251         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63252         include <bp-checks.h>.
63253         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63254         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63255         <bp-checks.h>.
63256         (sigpending): Don't use CHECK_SIGSET.
63257         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63258         <bp-checks.h>.
63259         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63261         [BZ #13550]
63262         * sysdeps/generic/bp-semctl.h: Remove file.
63263         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
63264         <bp-checks.h> and <bp-semctl.h>.
63265         (__old_semctl): Don't use CHECK_SEMCTL.
63266         (__new_semctl): Likewise.
63267         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
63268         and <bp-semctl.h>.
63269         (__old_semctl): Don't use CHECK_SEMCTL.
63270         (__new_semctl): Likewise.
63271         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63272         <bp-checks.h> and <bp-semctl.h>.
63273         (__old_semctl): Don't use CHECK_SEMCTL.
63274         (__new_semctl): Likewise.
63275         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63276         <bp-checks.h> and <bp-semctl.h>.
63277         (semctl): Don't use CHECK_SEMCTL.
63279         [BZ #13550]
63280         * Makerules (elide-bp-thunks): Remove variable.
63281         (elide-routines.oS): Don't use $(elide-bp-thunks).
63282         (elide-routines.os): Likewise.
63283         (elide-routines.o): Likewise.
63284         (elide-routines.op): Likewise.
63285         (elide-routines.og): Likewise.
63286         (objects): Don't use $(bp-thunks).
63287         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63288         include.
63289         (common-generated): Do not add s-proto-bp.d.
63290         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63291         (int): Likewise.
63292         (typ): Likewise.
63293         Do not generate makefile rules for bounded-pointer thunks.
63294         * sysdeps/generic/bp-thunks.h: Remove file.
63295         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63296         * sysdeps/unix/s-proto-bp.S: Likewise.
63298         [BZ #15062]
63299         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63300         parts of result separately when argument is not close to line from
63301         -i to i and one part of argument is small.
63302         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63303         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63304         * math/libm-test.inc (cacos_test): Add more tests.
63305         (casin_test): Likewise.
63306         (casinh_test): Likewise.
63307         * sysdeps/i386/fpu/libm-test-ulps: Update.
63308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63310 2013-01-31  David S. Miller  <davem@davemloft.net>
63312         * po/de.po: Update from translation team.
63314 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63316         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63318 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63320         * configure.in (_AC_PROG_CC_C89): New definition.
63321         * configure: Regenerate.
63323         * configure.in (AC_PROG_CPP): New definition.
63324         * configure: Regenerate.
63326 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63328         * debug/tst-backtrace.h: New file.
63329         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63330         (ret): Remove variable.
63331         (x): Likewise.
63332         (FAIL): Remove macro.
63333         (NO_INLINE): Likewise.
63334         (fn1): Use match function instead of strstr.
63335         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63336         (ret): Remove variable.
63337         (x): Likewise.
63338         (FAIL): Remove macro.
63339         (NO_INLINE): Likewise.
63340         (fn): Use match function instead of strstr.
63341         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63342         (ret): Remove variable.
63343         (x): Likewise.
63344         (FAIL): Remove macro.
63345         (NO_INLINE): Likewise.
63346         (handle_signal): Use match function instead of strstr.
63347         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63348         (ret): Remove variable.
63349         (x): Likewise.
63350         (FAIL): Remove macro.
63351         (NO_INLINE): Likewise.
63352         (handle_signal): Use match function instead of strstr.
63354 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63356         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63358 2013-01-23  David S. Miller  <davem@davemloft.net>
63360         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63361         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63362         argument of CAS if possible.
63363         * sysdeps/sparc/sparc64/bits/atomic.h
63364         (__arch_compare_and_exchange_val_32_acq): Likewise.
63365         (__arch_compare_and_exchange_val_64_acq): Likewise.
63367 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63369         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63370         * sysdeps/posix/ulimit.c: ... this.
63371         Include <limits.h>.
63372         * sysdeps/unix/bsd/ulimit.c: Remove file.
63374 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63376         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63377         (LDFLAGS-tst-array5): Likewise.
63379 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63381         [BZ #15036]
63382         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
63383         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
63384         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
63385         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
63387 2013-01-21  David S. Miller  <davem@davemloft.net>
63389         * sysdeps/sparc/backtrace.c: New file.
63390         * sysdeps/sparc/sparc32/backtrace.h: New file.
63391         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
63392         * sysdeps/sparc/sparc64/backtrace.h: New file.
63393         * sysdeps/sparc/sparc64/backtrace.c: Delete.
63394         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
63395         -funwind-tables.
63397 2013-01-21  Andreas Schwab  <schwab@suse.de>
63399         [BZ #15020]
63400         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
63401         closed its stdout.
63403 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
63405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
63406         "mpa2.h".
63407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63409 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
63410             Mark Mitchell  <mark@codesourcery.com>
63411             Tom de Vries  <tom@codesourcery.com>
63412             Paul Pluzhnikov  <ppluzhnikov@google.com>
63414         * debug/tst-backtrace2.c: New file.
63415         * debug/tst-backtrace3.c: Likewise.
63416         * debug/tst-backtrace4.c: Likewise.
63417         * debug/tst-backtrace5.c: Likewise.
63418         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
63419         (CFLAGS-tst-backtrace3.c): Likewise.
63420         (CFLAGS-tst-backtrace4.c): Likewise.
63421         (CFLAGS-tst-backtrace5.c): Likewise.
63422         (LDFLAGS-tst-backtrace2): Likewise.
63423         (LDFLAGS-tst-backtrace3): Likewise.
63424         (LDFLAGS-tst-backtrace4): Likewise.
63425         (LDFLAGS-tst-backtrace5): Likewise.
63426         (tests): Add new tests tst-backtrace2, tst-backtrace3,
63427         tst-backtrace4 and tst-backtrace5.
63429 2013-01-18  Anton Blanchard  <anton@samba.org>
63430             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63432         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
63433         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
63434         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
63435         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63437         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
63438         "+r" and remove output regs list as redundant.  Add explicit inline
63439         asm to specify register of return val to work around compiler codegen
63440         bug.  Remove (int) cast on return value.  Add return type parameter to
63441         use in macro so that this macro does not truncate return value for
63442         64-bit values.
63443         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
63444         pass to INTERNAL_VSYSCALL_NCS.
63445         (INLINE_VSYSCALL): Add 'long int' as return type to
63446         INTERNAL_VSYSCALL_NCS macro invocation.
63447         (INTERNAL_VSYSCALL): Add 'long int' as return type to
63448         INTERNAL_VSYSCALL_NCS macro invocation.
63449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63451 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63453         [BZ #14496]
63454         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
63455         Fix application of SIMD FP exception mask.
63457         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63458         mp_no from a power of two.
63459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63460         __mpexp_twomm1.  Use __pow_mp.
63462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63463         multiplication.
63465 2013-01-17  David S. Miller  <davem@davemloft.net>
63467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63469 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63471         [BZ #15023]
63472         * include/complex.h: Condition contents on [!_COMPLEX_H].
63473         (__kernel_casinhf): New prototype.
63474         (__kernel_casinh): Likewise.
63475         (__kernel_casinhl): Likewise.
63476         * math/Makefile (libm_calls): Add k_casinh.
63477         * math/k_casinh.c: New file.
63478         * math/k_casinhf.c: Likewise.
63479         * math/k_casinhl.c: Likewise.
63480         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63481         finite nonzero arguments.
63482         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63483         finite nonzero arguments.
63484         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63485         finite nonzero arguments.
63486         * math/s_casinh.c: Do not include <float.h>.
63487         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63488         * math/s_casinhf.c: Do not include <float.h>.
63489         (__casinhf): Move code for finite nonzero arguments to
63490         k_casinhf.c.
63491         * math/s_casinhl.c: Do not include <float.h>.
63492         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63493         redefine.
63494         (__casinhl): Move code for finite nonzero arguments to
63495         k_casinhl.c.
63496         * math/libm-test.inc (cacos_test): Add more tests.
63497         * sysdeps/i386/fpu/libm-test-ulps: Update.
63498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63500 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63502         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63503         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63504         [!HAVE_MREMAP]: Remove [defined linux] case.
63505         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63507 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63509         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63511 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63513         * elf/elf.h (R_386_SIZE32): New relocation.
63514         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63515         R_386_SIZE32.
63516         (elf_machine_rela): Likewise.
63517         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63518         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63520 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63522         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63523         (FP_FAST_FMA): Do not define.
63524         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63525         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63526         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63527         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63528         !_SOFT_FLOAT]: Likewise.
63529         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63530         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63531         value.
63532         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63533         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63534         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63535         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63536         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63537         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63538         file.
63540 2013-01-16  Andreas Schwab  <schwab@suse.de>
63542         [BZ #14327]
63543         * include/stdlib.h (__mktemp): Add declaration.
63544         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63545         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63547 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63549         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63550         definitions.
63551         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63552         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63553         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63554         definitions here.
63555         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63556         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63557         definitions.
63558         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63559         and ONE.
63560         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63561         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63562         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63563         definitions.
63564         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63565         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63566         definitions.
63567         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63569         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63571 2013-01-15  David S. Miller  <davem@davemloft.net>
63573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63574         trunc{,f} to libm-sysdep_routes.
63575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63577         file.
63578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63580         file.
63581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63582         file.
63583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63585         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63586         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63587         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63588         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63589         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63590         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63593         nearbyint{,f} to libm-sysdep_routes.
63594         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63596         New file.
63597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63598         file.
63599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63600         New file.
63601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63602         file.
63603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63605         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63606         file.
63607         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63608         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63609         file.
63610         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63611         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63612         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63614         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63615         libc_feholdexcept and libc_fesetenv.
63617 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63619         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63621 2013-01-14  David S. Miller  <davem@davemloft.net>
63623         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63624         (SPARC_ASM_VIS2_IFUNC): Likewise.
63625         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63627         use of 'siam' instruction.
63628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63629         Likewise.
63630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63631         Likewise.
63632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63633         Likewise.
63634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63639         file.
63640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63641         file.
63642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63643         file.
63644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63645         file.
63646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63651         new VIS2 routines.
63652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63655         Likewise.
63656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63661         routines to libm-sysdep_routines.
63662         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63665         fdim/fdimf to libm-sysdep_routines.
63666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63667         file.
63668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63670         file.
63671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63674         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63675         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63676         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63677         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63679 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63681         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63682         to optimize copies.
63684         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63689         local variable MPTWO.
63690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63691         Likewise.
63693 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63695         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63696         GLOB_NOESCAPE.
63698 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63700         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63702 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63704         * manual/pattern.texi (glob_t): Document gl_flags.
63705         (glob64_t): Likewise.
63707 2013-01-11  David S. Miller  <davem@davemloft.net>
63709         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63710         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63711         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63712         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63713         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63714         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63715         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63716         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63717         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63718         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63719         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63720         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63721         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63723         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63724         sparc V9 rather than using V8 code.
63725         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63726         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63728         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63729         Move to...
63730         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63731         Here.
63733 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63735         [BZ #14941]
63736         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63737         not in the main loop.
63738         * configure: Regenerated.
63740 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63742         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63743         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63744         to just #else.
63745         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63746         [!__GLIBC_HAVE_LONG_LONG] case.
63747         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63748         condition to just #else.
63749         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63750         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63751         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63752         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63753         unconditional.
63754         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63755         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63756         #elif condition to just #else.
63757         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63758         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63759         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63760         #elif condition to just #else.
63762 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63764         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63765         (EF_MIPS_ARCH_64): Fix value.
63766         (EF_MIPS_ARCH_32R2): New.
63767         (EF_MIPS_ARCH_64R2): New.
63769 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63771         * Makeconfig (+link-pie-before-libc): New.
63772         (+link-pie-after-libc): Likewise.
63773         (+link-pie-tests): Likewise.
63774         (+link-pie): Rewritten.
63775         (link-before-libc): Remove $(config-LDFLAGS).
63776         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63777         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63778         (config-LDFLAGS): Renamed to ...
63779         (rtld-LDFLAGS): This.
63780         (rtld-tests-LDFLAGS): New macro.
63781         (link-libc-rpath-link): Likewise.
63782         (link-libc-tests-rpath-link): Likewise.
63783         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63784         (link-libc): Prepand $(link-libc-rpath-link).
63785         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63786         (test-program-prefix): New macro.
63787         (test-via-rtld-prefix): Likewise.
63788         (test-program-cmd): Likewise.
63789         (host-test-program-cmd): Likewise.
63790         * Makefile ($(common-objpfx)testrun.sh): Replace
63791         $(run-program-prefix) with $(test-program-prefix).
63792         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63793         $(rtld-LDFLAGS).
63794         ($(common-objpfx)shlib.lds): Likewise.
63795         (build-module-helper): Likewise.
63796         ($(common-objpfx)format.lds): Likewise.
63797         * Rules (binaries-pie-tests): New.
63798         (binaries-pie-notests): Likewise.
63799         (binaries-pie): Rewritten.
63800         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63801         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63802         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63803         (make-test-out): Replace $(host-built-program-cmd) with
63804         $(host-test-program-cmd).
63805         * config.make.in (build-hardcoded-path-in-tests): New variable.
63806         * configure.in (--enable-hardcoded-path-in-tests): New configure
63807         option.
63808         (hardcoded_path_in_tests): New AC_SUBST.
63809         * configure: Regenerated.
63810         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63811         $(built-program-cmd) with $(test-program-cmd).
63812         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63813         (test_program_cmd): This.
63814         * elf/Makefile ($(objpfx)order.out): Run test with
63815         $(test-program-prefix).
63816         ($(objpfx)order2.out): Likewise.
63817         ($(objpfx)tst-initorder.out): Likewise.
63818         ($(objpfx)tst-initorder2.out): Likewise.
63819         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63820         $(test-program-cmd).
63821         ($(objpfx)tst-array1-static.out): Likewise.
63822         ($(objpfx)tst-array2.out): Likewise.
63823         ($(objpfx)tst-array3.out): Likewise.
63824         ($(objpfx)tst-array4.out): Likewise.
63825         ($(objpfx)tst-array5.out): Likewise.
63826         ($(objpfx)tst-array5-static.out): Likewise.
63827         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63828         $(test-program-cmd).
63829         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63830         $(run-program-prefix) with $(test-program-prefix).
63831         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63832         (test_program_prefix): This.
63833         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63834         $(run-program-prefix) with $(test-program-prefix).
63835         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63836         (test_program_prefix): This.
63837         * iconvdata/tst-tables.sh: Likewise.
63838         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63839         $(run-program-prefix) with $(test-program-prefix).
63840         ($(objpfx)tst-translit.out): Likewise.
63841         ($(objpfx)tst-gettext2.out): Likewise.
63842         ($(objpfx)tst-gettext4.out): Likewise.
63843         ($(objpfx)tst-gettext6.out): Likewise.
63844         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63845         (test_program_prefix): This.
63846         * intl/tst-gettext2.sh: Likewise.
63847         * intl/tst-gettext4.sh  Likewise.
63848         * intl/tst-gettext6.sh: Likewise.
63849         * intl/tst-translit.sh: Likewise.
63850         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63851         with $(test-program-cmd).
63852         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63853         $(run-program-prefix) with $(test-program-prefix).
63854         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63855         (test_program_prefix): This.
63856         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63857         $(run-program-prefix) with $(test-program-prefix).
63858         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63859         (test_program_prefix): This.
63860         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63861         * posix/Makefile ($(objpfx)globtest.out): Replace
63862         $(run-via-rtld-prefix) and $(test-wrapper) with
63863         $(test-program-prefix) and $(test-via-rtld-prefix).
63864         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63865         $(test-program-prefix).
63866         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63867         $(host-test-program-cmd).
63868         (tst-spawn-ARGS): Likewise.
63869         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63870         $(test-program-prefix).
63871         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63872         (test_via_rtld_prefix): This.
63873         (test_wrapper): Renamed to ...
63874         (test_program_prefix): This.
63875         (run_program_prefix): Replaced by test_program_prefix.
63876         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63877         (test_program_prefix): This.
63878         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63879         with $(host-test-program-cmd).
63880         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63881         $(run-program-prefix) with $(test-program-prefix).
63882         ($(objpfx)tst-printf.out): Likewise.
63883         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63884         $(test-program-cmd).
63885         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63886         (test_program_prefix): This.
63887         * stdio-common/tst-unbputc.sh: Likewise.
63888         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63889         $(run-program-prefix) with $(test-program-prefix).
63890         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63891         (test_program_prefix): This.
63892         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63893         $(built-program-cmd) with $(test-program-cmd).
63895 2013-01-11  Andreas Jaeger  <aj@suse.de>
63897         [BZ #15003]
63898         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63899         value. Sync with Linux 3.7.
63901 2013-01-10  David S. Miller  <davem@davemloft.net>
63903         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63904         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63905         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63907 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63909         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63910         never set.
63911         * configure: Regenerated.
63913 2013-01-10  David S. Miller  <davem@davemloft.net>
63915         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63916         sparc V9 rather than using V8 code.
63917         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63918         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63920 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63922         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63923         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63924         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63925         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63926         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63927         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63928         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63929         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63930         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63931         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63932         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63933         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63934         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63935         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63936         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63937         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63938         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63939         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63940         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63941         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63942         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63943         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63944         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63945         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63946         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63947         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63948         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63950 2013-01-10  David S. Miller  <davem@davemloft.net>
63952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63954 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63956         * posix/Makefile (tests-static): New variable.
63957         (tests): Add $(tests-static).
63958         (tst-exec-static-ARGS): New variable.
63959         (tst-spawn-static-ARGS): Likewise.
63960         * posix/tst-exec-static.c: New file.
63961         * posix/tst-spawn-static.c: Likewise.
63962         * posix/tst-exec.c: Support run directly.
63963         * posix/tst-spawn.c: Likewise.
63965 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63967         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63968         long.
63969         * math/bits/mathcalls.h (llrint): Likewise.
63970         (llround): Likewise.
63971         * stdlib/stdlib.h (struct drand48_data): Likewise.
63972         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63973         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63974         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63975         Likewise.
63976         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63977         Likewise.
63978         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63979         (elf_greg_t): Likewise.
63980         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63981         (__jmp_buf): Likewise.
63982         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63983         definitions.
63984         (llrint): Likewise, for all definitions.
63985         (llrintl): Likewise.
63987         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63988         Remove [__GNUC__] condition.
63989         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63990         condition to just [__USE_ISOC99].
63991         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63993 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63995         [BZ #14200]
63996         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63997         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63998         defined.
63999         (_POSIX_V6_ILP32_OFF32): Likewise.
64000         (_XBS5_ILP32_OFF32): Likewise.
64001         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
64002         (__ILP32_OFFBIG_LDFLAGS): Likewise.
64004 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64006         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
64008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
64009         doubles __mpexp_twomm1.  Adjust usage.
64010         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
64011         Remove.
64013 2013-01-10  Andreas Schwab  <schwab@suse.de>
64015         [BZ #14964]
64016         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
64017         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
64019 2013-01-09  David S. Miller  <davem@davemloft.net>
64021         [BZ #15003]
64022         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
64023         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
64024         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
64025         (TCP_FASTOPEN): Define.
64026         (tcp_repair_opt): New structure.
64027         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
64028         enum values.
64029         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
64030         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
64031         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
64032         (tcp_cookie_transactions): New structure.
64034 2013-01-09  Anton Blanchard  <anton@samba.org>
64036         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
64037         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
64038         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
64039         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
64041 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64043         * include/features.h (__USE_ANSI): Remove.
64045 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64047         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64049         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64051 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64053         * sysdeps/s390/fpu/libm-test-ulps: Update.
64055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64057         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64058         (__acr): Likewise.
64059         (__cpy): Likewise.
64060         (norm): Likewise.
64061         (denorm): Likewise.
64062         (__mp_dbl): Likewise.
64063         (__dbl_mp): Likewise.
64064         (add_magnitudes): Likewise.
64065         (sub_magnitudes): Likewise.
64066         (__add): Likewise.
64067         (__sub): Likewise.
64068         (__mul): Likewise.
64069         (__inv): Likewise.
64070         (__dvd): Likewise.
64071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64072         (__acr): Likewise.
64073         (__cpy): Likewise.
64074         (norm): Likewise.
64075         (denorm): Likewise.
64076         (__mp_dbl): Likewise.
64077         (__dbl_mp): Likewise.
64078         (add_magnitudes): Likewise.
64079         (sub_magnitudes): Likewise.
64080         (__add): Likewise.
64081         (__sub): Likewise.
64082         (__mul): Likewise.
64083         (__inv): Likewise.
64084         (__dvd): Likewise.
64085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64086         (__acr): Likewise.
64087         (__cpy): Likewise.
64088         (norm): Likewise.
64089         (denorm): Likewise.
64090         (__mp_dbl): Likewise.
64091         (__dbl_mp): Likewise.
64092         (add_magnitudes): Likewise.
64093         (sub_magnitudes): Likewise.
64094         (__add): Likewise.
64095         (__sub): Likewise.
64096         (__mul): Likewise.
64097         (__inv): Likewise.
64098         (__dvd): Likewise.
64100 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64102         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64103         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64104         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64105         2 && __USE_EXTERN_INLINES]: Likewise.
64107 2013-01-08  Andreas Jaeger  <aj@suse.de>
64109         [BZ# 14985]
64110         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64111         Remove.
64112         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64113         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64115 2013-01-07  Anton Blanchard  <anton@samba.org>
64117         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64118         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64119         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64120         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64121         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64122         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64123         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64124         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64126         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64127         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64128         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64129         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64130         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64131         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64132         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64133         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64134         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64135         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64136         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64137         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64138         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64139         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64140         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64141         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64142         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64143         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64144         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64146         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64147         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64149         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64150         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64151         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64152         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64153         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64154         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64155         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64156         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64157         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64158         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64159         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64161 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64163         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64164         (__MALLOC_PMT): Likewise.
64165         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64166         [__GNUC__], only on [_LIBC].
64167         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64168         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64169         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64170         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64171         forward declaration.
64172         (realloc_hook_ini): Likewise.
64173         (memalign_hook_ini): Likewise.
64174         (__libc_memalign): Do not use __MALLOC_PMT in variable
64175         declaration.
64176         (__libc_valloc): Likewise.
64177         (__libc_pvalloc): Likewise.
64178         (__libc_calloc): Likewise.
64179         (__posix_memalign): Likewise.
64181         [BZ #14996]
64182         * math/s_casinh.c: Include <float.h>.
64183         (__casinh): Do not do computation with squaring and square root
64184         for large arguments.
64185         * math/s_casinhf.c: Include <float.h>.
64186         (__casinhf): Do not do computation with squaring and square root
64187         for large arguments.
64188         * math/s_casinhl.c: Include <float.h>.
64189         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64190         (__casinhl): Do not do computation with squaring and square root
64191         for large arguments.
64192         * math/libm-test.inc (casin_test): Add more tests.
64193         (casinh_test): Likewise.
64194         * sysdeps/i386/fpu/libm-test-ulps: Update.
64195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64197 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64199         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64200         (__x86_64_raw_data_cache_size): Likewise.
64201         (__x86_64_data_cache_size_half): Likewise.
64202         (__x86_64_raw_data_cache_size_half): Likewise.
64203         (__x86_64_shared_cache_size): Likewise.
64204         (__x86_64_raw_shared_cache_size): Likewise.
64205         (__x86_64_shared_cache_size_half): Likewise.
64206         (__x86_64_raw_shared_cache_size_half): Likewise.
64207         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64208         to ...
64209         (__x86_data_cache_size): This.
64210         (__x86_64_raw_data_cache_size): Renamed to ...
64211         (__x86_raw_data_cache_size): This.
64212         (__x86_64_data_cache_size_half): Renamed to ...
64213         (__x86_data_cache_size_half): This.
64214         (__x86_64_raw_data_cache_size_half): Renamed to ...
64215         (__x86_raw_data_cache_size_half): This.
64216         (__x86_64_shared_cache_size): Renamed to ...
64217         (__x86_shared_cache_size): This.
64218         (__x86_64_raw_shared_cache_size): Renamed to ...
64219         (__x86_raw_shared_cache_size): This.
64220         (__x86_64_shared_cache_size_half): Renamed to ...
64221         (__x86_shared_cache_size_half): This.
64222         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64223         (__x86_raw_shared_cache_size_half): This.
64224         * sysdeps/x86_64/memcpy.S: Updated.
64225         * sysdeps/x86_64/memset.S: Likewise.
64226         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64227         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64228         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64230 2013-01-04  David S. Miller  <davem@davemloft.net>
64232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64234 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64236         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64237         1 to avoid redefinition warning.
64238         (__USE_GNU): Don't define.
64239         (init_signaling_nan): Protoize.
64241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64243 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64245         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64247         (__cpymn): Likewise.
64248         (norm): Remove commented code.
64249         (denorm): Likewise.
64250         (__mp_dbl): Likewise.
64251         (__inv): Likewise.
64252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64253         (__cpymn): Likewise.
64254         (norm): Remove commented code.
64255         (denorm): Likewise.
64256         (__mp_dbl): Likewise.
64257         (__inv): Likewise.
64259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64260         mp_no value for 1.0 and 2.0.
64261         (norm): Use RADIXI instead of radixi.d.
64262         (denorm): Likewise.
64263         (__mul): Use 0.0 instead of zero.d.
64264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64265         mp_no value for 1.0 and 2.0.
64266         (norm): Use RADIXI instead of radixi.d.
64267         (denorm): Likewise.
64268         (__mul): Use 0.0 instead of zero.d.
64270 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64272         [BZ #14994]
64273         * math/s_casinh.c (__casinh): Reduce finite argument to first
64274         quadrant then set signs of results at the end.
64275         * math/s_casinhf.c (__casinhf): Likewise.
64276         * math/s_casinhl.c (__casinhl): Likewise.
64277         * math/libm-test.inc (casin_test): Add more tests.
64278         (casinh_test): Likewise.
64279         * sysdeps/i386/fpu/libm-test-ulps: Update.
64280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64282 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64284         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64286         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64288         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64289         declarations.
64290         (denorm): Likewise.
64291         (__mp_dbl): Likewise.
64292         (__inv): Likewise.
64294         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64295         and adjust the header comment.
64297         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64298         variable name from declaration.
64300 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64303         Initialize COMMON_CPUID_INDEX_7 element.
64304         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64305         (CPUID_RTM): Likewise.
64306         (HAS_RTM): Likewise.
64307         (COMMON_CPUID_INDEX_7): New enum.
64309 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64311         [BZ #14981]
64312         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64313         size is zero, record memory as freed.
64315 2013-01-03  Andreas Jaeger  <aj@suse.de>
64317         * po/ia.po: Add new Interlingua translation.
64319 2012-01-03  Allan McRae  <allan@archlinux.org>
64321         * locale/programs/localedef.c: Fix description of '--posix' flag.
64323 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64325         * NEWS: Update dates in second copyright notice.
64326         * README: Update copyright dates in example.
64327         * manual/libc.texinfo: Update copyright dates.
64328         * scripts/test-installation.pl: Update copyright date in --version
64329         output.
64331         * hurd/ctty-input.c: Fix copyright notice formatting.
64332         * hurd/ctty-output.c: Likewise.
64333         * hurd/dtable.c: Likewise.
64334         * hurd/hurd-raise.c: Likewise.
64335         * hurd/hurdprio.c: Likewise.
64336         * hurd/msgportdemux.c: Likewise.
64337         * misc/sys/file.h: Likewise.
64338         * misc/sys/ioctl.h: Likewise.
64339         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64340         * sysdeps/mach/hurd/chdir.c: Likewise.
64341         * sysdeps/mach/hurd/fchdir.c: Likewise.
64342         * sysdeps/mach/hurd/rename.c: Likewise.
64343         * sysdeps/mach/hurd/rmdir.c: Likewise.
64344         * sysdeps/mach/hurd/seekdir.c: Likewise.
64345         * sysdeps/mach/hurd/setsid.c: Likewise.
64346         * sysdeps/posix/wait3.c: Likewise.
64348         * All files with FSF copyright notices: Update copyright dates
64349         using scripts/update-copyrights.
64350         * intl/plural.c: Regenerated.
64351         * locale/programs/charmap-kw.h: Likewise.
64352         * locale/programs/locfile-kw.h: Likewise.
64354 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64356         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64357         four values.
64359         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64360         calculation loop and add branch prediction.
64362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64363         check access beyond bounds of m1np.
64365         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64366         MPTWO.
64367         (__inv): Remove local variable MPTWO to use the global
64368         constant.
64369         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64371         variable MPTWO.
64372         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64373         MP3HALFS static const.
64375 2013-01-01  David S. Miller  <davem@davemloft.net>
64377         * po/ca.po: Update from translation team.
64379 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
64381         * scripts/update-copyrights: New file.
64382         * Makeconfig: Reformat copyright notice.
64383         * ctype/ctype.h: Likewise.
64384         * debug/swprintf_chk.c: Likewise.
64385         * elf/dl-cache.c: Likewise.
64386         * elf/dl-debug.c: Likewise.
64387         * elf/dl-object.c: Likewise.
64388         * grp/initgroups.c: Likewise.
64389         * hurd/Makefile: Likewise.
64390         * hurd/hurd/signal.h: Likewise.
64391         * hurd/hurdfault.c: Likewise.
64392         * hurd/hurdioctl.c: Likewise.
64393         * hurd/hurdlookup.c: Likewise.
64394         * hurd/intr-msg.c: Likewise.
64395         * iconv/gconv_open.c: Likewise.
64396         * libio/swprintf.c: Likewise.
64397         * locale/lc-ctype.c: Likewise.
64398         * locale/nl_langinfo.c: Likewise.
64399         * mach/Machrules: Likewise.
64400         * mach/Makefile: Likewise.
64401         * malloc/obstack.h: Likewise.
64402         * manual/Makefile: Likewise.
64403         * manual/tsort.awk: Likewise.
64404         * misc/bits/stab.def: Likewise.
64405         * nis/nis_print_group_entry.c: Likewise.
64406         * nis/nis_table.c: Likewise.
64407         * nis/nss_compat/compat-pwd.c: Likewise.
64408         * nis/nss_compat/compat-spwd.c: Likewise.
64409         * po/Makefile: Likewise.
64410         * posix/fnmatch.c: Likewise.
64411         * posix/regex.h: Likewise.
64412         * resolv/Makefile: Likewise.
64413         * resolv/nss_dns/dns-network.c: Likewise.
64414         * resolv/res_hconf.c: Likewise.
64415         * scripts/gen-sorted.awk: Likewise.
64416         * soft-fp/soft-fp.h: Likewise.
64417         * stdio-common/printf.h: Likewise.
64418         * stdlib/monetary.h: Likewise.
64419         * stdlib/random.c: Likewise.
64420         * stdlib/random_r.c: Likewise.
64421         * sysdeps/generic/Makefile: Likewise.
64422         * sysdeps/gnu/Makefile: Likewise.
64423         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64424         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64425         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64426         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64427         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64429         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64430         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64431         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64432         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64433         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64434         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64435         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64436         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64437         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64438         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64439         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64440         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64441         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64442         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64443         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64444         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64445         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64446         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64447         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
64448         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64449         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
64450         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
64451         * sysdeps/mach/hurd/errnos.awk: Likewise.
64452         * sysdeps/mach/hurd/fork.c: Likewise.
64453         * sysdeps/mach/hurd/getcwd.c: Likewise.
64454         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
64455         * sysdeps/mach/hurd/mmap.c: Likewise.
64456         * sysdeps/mach/hurd/utimes.c: Likewise.
64457         * sysdeps/mach/hurd/xmknod.c: Likewise.
64458         * sysdeps/posix/profil.c: Likewise.
64459         * sysdeps/posix/readdir_r.c: Likewise.
64460         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64461         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64462         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64463         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64465         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64466         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64467         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64469         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64470         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64471         * sysdeps/pthread/lio_listio.c: Likewise.
64472         * sysdeps/sparc/dl-procinfo.h: Likewise.
64473         * sysdeps/unix/i386/sysdep.S: Likewise.
64474         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64475         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64476         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64477         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64479         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64480         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64481         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64482         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64483         * sysdeps/wordsize-32/divdi3.c: Likewise.
64484         * time/sys/time.h: Likewise.
64485         * wcsmbs/Makefile: Likewise.
64487 2013-01-01  David S. Miller  <davem@davemloft.net>
64489         * po/fr.po: Update from translation team.
64491         * catgets/gencat.c: Update copyright year.
64492         * csu/version.c: Likewise.
64493         * debug/catchsegv.sh: Likewise.
64494         * debug/pcprofiledump.c: Likewise.
64495         * debug/xtrace.sh: Likewise.
64496         * elf/ldconfig.c: Likewise.
64497         * elf/ldd.bash.in: Likewise.
64498         * elf/pldd.c: Likewise.
64499         * elf/sotruss.ksh: Likewise.
64500         * elf/sprof.c: Likewise.
64501         * iconv/iconv_prog.c: Likewise.
64502         * iconv/iconvconfig.c: Likewise.
64503         * locale/programs/locale.c: Likewise.
64504         * locale/programs/localedef.c: Likewise.
64505         * login/programs/pt_chown.c: Likewise.
64506         * malloc/memusage.sh: Likewise.
64507         * malloc/memusagestat.c: Likewise.
64508         * malloc/mtrace.pl: Likewise.
64509         * nscd/nscd.c: Likewise.
64510         * nss/getent.c: Likewise.
64511         * nss/makedb.c: Likewise.
64512         * posix/getconf.c: Likewise.
64514 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64516         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64517         numbers.
64519 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64521         * math/bits/mathcalls.h (modf): Use __nonnull.
64523 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64525         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64526         (split): Use macro CN instead of the bare value.
64527         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64528         could be used.
64529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64530         instead of the bare value.
64531         (power1): Likewise.
64533 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64535         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64536         __ATAN_TWOM.
64537         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64539         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64540         their values.
64541         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64542         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64543         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64544         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64546 2012-12-28  Andreas Jaeger  <aj@suse.de>
64548         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64549         values are from Linux 3.7.
64551         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64552         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64554 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64556         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64557         TRUE case.
64559         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64560         (norm): Likewise.
64561         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64562         variables with preprocessor constants.
64563         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64564         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64565         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64567 2012-12-27  Bruno Haible  <bruno@clisp.org>
64569         [BZ #14317]
64570         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64571         only if needed.
64573 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64576         and use variable directly.
64577         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64579         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64580         MPONE.
64581         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64582         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64583         variable MPONE.
64584         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64586         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64587         include directive.  Remove local variable MPONE.
64588         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64589         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64590         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64592 2012-12-25  David S. Miller  <davem@davemloft.net>
64594         * version.h (RELEASE): Set to "development".
64595         (VERSION): Set to "2.17.90".
64596         * NEWS: Add 2.18 section.
64598 2012-12-21  David S. Miller  <davem@davemloft.net>
64600         * po/hr.po: Update from translation team.
64602 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64604         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64606 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64608         * NEWS:  Mention new memcpy for MIPS.
64610 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64612         * manual/contrib.texi (Contributors): Spelling correction.
64614 2012-12-15  David S. Miller  <davem@davemloft.net>
64616         * po/ru.po: Update from translation team.
64618 2012-12-13  David S. Miller  <davem@davemloft.net>
64620         * NEWS: Mention IFUNC testsuite enhancements.
64622         * po/pl.po: Update from translation team.
64623         * po/bg.po: Likewise.
64625         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64626         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64628 2012-12-11  David S. Miller  <davem@davemloft.net>
64630         * po/sv.po: Update from translation team.
64632         * po/vi.po: Update from translation team.
64634         * po/cs.po: Update from translation team.
64636         * po/de.po: Update from translation team.
64637         * po/eo.po: Likewise.
64638         * po/nl.po: Likewise.
64640 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64642         [BZ #14246]
64643         * manual/argp.texi (Argp Helper Functions): Move node to follow
64644         Argp Parsing State.
64646         [BZ #14872]
64647         * manual/conf.texi (Limits on File System Capacity): Mention if
64648         terminating null is included in the max size.
64650 2012-12-10  Andreas Jaeger  <aj@suse.de>
64652         * po/cs.po: Update from translation team.
64654 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64656         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64657         void pointer and cast to uintptr_t.
64658         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64659         path.
64660         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64661         * sysdeps/s390/s390-64/memset.S: Likewise.
64663 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64665         [BZ #14833]
64666         * menual/message.texi (Message Translation): Fix typos.
64667         (Helper programs for gettext): Likewise.
64669 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64671         [BZ #14898]
64672         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64673         Change to -1.
64675 2012-12-07  David S. Miller  <davem@davemloft.net>
64677         * po/libc.pot: Update.
64679 2012-12-07  Richard Henderson  <rth@redhat.com>
64681         [BZ #10114]
64682         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64683         normal/normal case to before the switch.
64684         (_FP_DIV): Likewise.
64686 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64687             Mike Frysinger  <vapier@gentoo.org>
64689         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64690         check for __NR_fadvise64_64.
64692 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64694         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64695         0, not just to plain "0" as a statement.
64696         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64697         with cw.
64699 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64701         * NEWS: Use sourceware.org in Bugzilla URL.
64703 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64706         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64708         * stdio-common/tst-put-error.c (do_test): Add newline to the
64709         padded test to ensure flush.
64711 2012-12-05  Jeff Law  <law@redhat.com>
64713         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64715 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64717         * README: Don't refer to ports add-on as distributed separately.
64718         Mention AArch64 in list of systems supported in the ports add-on.
64720         * LICENSES: Add more non-FSF copyright and license notices.
64722         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64723         ((unused)).
64725         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64727         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64728         10000 as width of padded output.
64730 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64732         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64734         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64735         variable LX with __attribute__ ((unused)).
64736         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64737         Likewise.
64738         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64739         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64740         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64741         with __attribute__ ((unused)).
64743 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64745         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64747 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64749         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64750         (CFLAGS-nldbl-acos.c): New variable.
64751         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64752         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64753         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64754         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64755         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64756         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64757         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64758         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64759         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64760         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64761         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64762         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64763         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64764         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64765         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64766         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64767         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64768         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64769         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64770         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64771         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64772         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64773         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64774         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64775         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64776         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64777         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64778         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64779         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64780         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64781         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64782         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64783         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64784         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64785         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64786         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64787         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64788         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64789         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64790         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64791         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64792         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64793         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64794         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64795         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64796         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64797         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64798         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64799         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64800         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64801         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64802         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64803         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64804         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64805         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64806         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64807         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64808         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64809         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64810         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64811         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64812         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64813         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64814         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64815         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64816         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64817         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64818         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64819         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64820         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64821         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64822         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64823         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64824         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64825         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64826         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64827         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64828         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64829         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64830         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64831         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64832         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64833         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64834         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64835         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64836         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64837         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64838         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64839         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64840         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64841         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64842         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64843         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64844         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64845         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64846         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64847         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64850         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64852         [BZ #14914]
64853         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64854         whole low double instead of just low 47 bits when splitting values
64855         into two parts.
64857 2012-12-03  Allan McRae  <allan@archlinux.org>
64859         * manual/stdio.texi (Predefined Printf Handlers): Remove
64860         @hsep and @vsep usage.
64862 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64864         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64865         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64867 2012-12-03  Jeff Law  <law@redhat.com>
64869         * time/sys/time.h (settimeofday): Do not mark TV argument
64870         as __nonnull.
64872 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64874         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64875         when currently writing and seek to current position when not.
64876         * libio/Makefile (tests): Remove bug-fclose1.
64877         * libio/bug-fclose1.c: Delete.
64879 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64881         * manual/arith.texi (feenableexcept): Fix typo.
64882         (fedisableexcept): Likewise.
64884 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64886         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64887         second, differently-typed declaration, rather than a cast.
64889 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64891         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64892         * include/rpc/svc.h: ... here.
64894 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64896         [BZ #13013]
64897         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64898         depending n and resplen2 to catch cases where answer
64899         equals answerp2.
64901 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64903         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64904         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64906 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64908         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64910 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64912         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64914 2012-11-28  Jeff Law  <law@redhat.com>
64916         [BZ #13761]
64917         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64918         dataset_temporary.  Track alloca usage into alloca_used.
64919         If dataset is large allocate and release it via malloc/free.
64921 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64923         [BZ #14197]
64924         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64926 2012-11-28  David S. Miller  <davem@davemloft.net>
64928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64930 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64932         [BZ #14803]
64933         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64934         of pi/2 rounded to nearest to 64 bits.
64935         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64936         nearest to 64 bits.
64937         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64938         bits.
64940 2012-11-28  Jeff Law <law@redhat.com>
64941             Martin Osvald <mosvald@redhat.com>
64943         [BZ #14889]
64944         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64945         * sunrpc/svc.c: Include time.h.
64946         (__svc_accept_failed): New function.
64947         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64948         any reason other than EINTR, call __svc_accept_failed.
64949         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64950         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64952 2012-11-28  Andreas Schwab  <schwab@suse.de>
64954         * scripts/abilist.awk: Also handle indirect functions in .opd
64955         section.
64957 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64959         [BZ #13881]
64960         * sysdeps/x86/fpu/powl_helper.c: New file.
64961         * sysdeps/x86/fpu/Makefile: Likewise.
64962         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64963         (p3): New object.
64964         (__ieee754_powl): Use __powl_helper for finite arguments except
64965         integer exponents below 8.
64966         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64967         (p3): New object.
64968         (__ieee754_powl): Use __powl_helper for finite arguments except
64969         integer exponents below 8.
64970         * math/libm-test.inc (pow_test): Add more tests and enable some
64971         previously disabled tests.
64972         * sysdeps/i386/fpu/libm-test-ulps: Update.
64973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64975 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64976             Carlos O'Donell  <carlos_odonell@mentor.com>
64978         * nss/makedb.c (is_prime): Assert that input is odd and greater
64979         than 4.  Note that fact in a comment too.
64980         (next_prime): Add 4 to input.
64982 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64984         [BZ #11741]
64985         * libio/Makefile (tests): Add test case tst-fwrite-error.
64986         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64987         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64988         * libio/tst-fwrite-error.c: New test case.
64990 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64992         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64993         before casting to void *.
64994         * include/libc-internal.h (__pointer_type): New macro.
64995         (__integer_if_pointer_type_sub): Likewise.
64996         (__integer_if_pointer_type): Likewise.
64997         (cast_to_integer): Likewise.
64998         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64999         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
65000         before casting to atomic64_t.
65001         (atomic_exchange_acq): Likewise.
65002         (__arch_exchange_and_add_body): Likewise.
65003         (__arch_add_body): Likewise.
65004         (atomic_add_negative): Likewise.
65005         (atomic_add_zero): Likewise.
65007 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
65009         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
65010         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
65011         (add_fdes): Likewise.
65012         (linear_search_fdes): Likewise.
65013         (binary_search_unencoded_fdes): Likewise.
65015 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
65017         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
65019 2012-11-24  Adam Conrad  <adconrad@0c3.net>
65021         * configure.in: Autodetect C++ header directories.
65022         * configure: Regenerated.
65024 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
65026         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
65028 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
65030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65032 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
65034         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
65035         LDBL_MANT_DIG == 106]: Disable some tests.
65036         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65037         Likewise.
65038         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65039         Likewise.
65041         [BZ #14871]
65042         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65043         input for small inputs.  Return +/- pi/2 for large inputs.
65044         * math/libm-test.inc (atan_test): Add more tests.
65046         * sysdeps/generic/unwind-dw2-fde-glibc.c
65047         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65048         __attribute__ ((unused)).
65050         [BZ #14645]
65051         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65052         x * y if x and y are nonzero and z is zero.
65054         [BZ #14811]
65055         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65056         nonzero exponents with absolute value below 0x1p-117 to +/-
65057         0x1p-117.
65059         [BZ #14869]
65060         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65061         up arguments below 2**-450, not just those below 2**-500.
65062         * math/libm-test.inc (hypot_test): Add another test.
65064         [BZ #14868]
65065         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65066         Return a+b for ratio over 2**120, not 2**60.
65067         * math/libm-test.inc (hypot_test): Add another test.
65069         * math/libm-test.inc (clog_test): Use
65070         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65071         (clog10_test): Likewise.
65073         [BZ #6778]
65074         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65076 2012-11-22  Andreas Schwab  <schwab@suse.de>
65078         * sysdeps/i386/fpu/libm-test-ulps: Update.
65080 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65082         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65083         printf output with newline.
65085 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65087         [BZ #14865]
65088         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65089         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65090         -z nodlopen, -z initfirst and -z execstack support.
65091         * configure: Regenerated.
65093         * elf/elf.h (DF_1_NODIRECT): New macro.
65094         (DF_1_IGNMULDEF): Likewise.
65095         (DF_1_NOKSYMS): Likewise.
65096         (DF_1_NOHDR): Likewise.
65097         (DF_1_EDITED): Likewise.
65098         (DF_1_NORELOC): Likewise.
65099         (DF_1_SYMINTPOSE): Likewise.
65100         (DF_1_GLOBAUDIT): Likewise.
65101         (DF_1_SINGLETON): Likewise.
65102         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65103         DT_1_SUPPORTED_MASK bits.
65104         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65106 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65108         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65110 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65112         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65113         macro.
65115         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65116         (sendmmsg): Move declarations...
65117         * socket/sys/socket.h: ... here.
65118         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65119         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65120         include it from...
65121         * socket/recvmmsg.c: ... this new file.
65122         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65123         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65124         definition of __sendmmsg hidden.
65125         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65126         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65127         Move ENOSYS stub into and include it from...
65128         * socket/sendmmsg.c: ... this new file.
65129         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65130         (sysdep_routines): Move recvmmsg and sendmmsg...
65131         * socket/Makefile (routines): ... here.
65132         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65133         (GLIBC_PRIVATE): Add __sendmmsg.
65134         * include/sys/socket.h (__sendmmsg): Add declarations.
65135         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65136         sendmmsg.
65138 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65140         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65141         variable I1 with __attribute__ ((unused)).
65142         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65144 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65146         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65147         DUMMY variables with __attribute__ ((unused)).
65149         * bits/byteswap.h: Include <bits/types.h>.
65150         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65152 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65154         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65155         string_t.  Do not manually set errno.
65156         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65157         length with __strnlen.  Make sure to both set errno and return it on
65158         failure.
65160 2012-11-19  David S. Miller  <davem@davemloft.net>
65162         With help from Joseph Myers.
65163         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65164         very large arguments properly.
65165         * math/libm-test.inc (atan_test): New tests.
65166         (atan2_test): New tests.
65167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65170 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65172         [BZ #14856]
65173         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65174         Define to 3.
65176         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65177         [POSIX] (EADDRNOTAVAIL): Likewise.
65178         [POSIX] (EAFNOSUPPORT): Likewise.
65179         [POSIX] (EALREADY): Likewise.
65180         [POSIX] (ECONNABORTED): Likewise.
65181         [POSIX] (ECONNREFUSED): Likewise.
65182         [POSIX] (ECONNRESET): Likewise.
65183         [POSIX] (EDESTADDRREQ): Likewise.
65184         [POSIX] (EDQUOT): Likewise.
65185         [POSIX] (EHOSTUNREACH): Likewise.
65186         [POSIX] (EIDRM): Likewise.
65187         [POSIX] (EISCONN): Likewise.
65188         [POSIX] (ELOOP): Likewise.
65189         [POSIX] (EMULTIHOP): Likewise.
65190         [POSIX] (ENETDOWN): Likewise.
65191         [POSIX] (ENETUNREACH): Likewise.
65192         [POSIX] (ENOBUFS): Likewise.
65193         [POSIX] (ENODATA): Likewise.
65194         [POSIX] (ENOLINK): Likewise.
65195         [POSIX] (ENOMSG): Likewise.
65196         [POSIX] (ENOPROTOOPT): Likewise.
65197         [POSIX] (ENOSR): Likewise.
65198         [POSIX] (ENOSTR): Likewise.
65199         [POSIX] (ENOTCONN): Likewise.
65200         [POSIX] (ENOTSOCK): Likewise.
65201         [POSIX] (EOPNOTSUPP): Likewise.
65202         [POSIX] (EOVERFLOW): Likewise.
65203         [POSIX] (EPROTO): Likewise.
65204         [POSIX] (EPROTONOSUPPORT): Likewise.
65205         [POSIX] (EPROTOTYPE): Likewise.
65206         [POSIX] (ESTALE): Likewise.
65207         [POSIX] (ETIME): Likewise.
65208         [POSIX] (ETXTBSY): Likewise.
65209         [POSIX] (EWOULDBLOCK): Likewise.
65210         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65211         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65212         [POSIX] (SEEK_CUR): Likewise.
65213         [POSIX] (SEEK_END): Likewise.
65214         [POSIX || UNIX98] (mode_t): Do not require.
65215         [POSIX] (off_t): Likewise.
65216         [POSIX] (pid_t): Likewise.
65217         [POSIX] (sys/stat.h): Do not allow header.
65218         [POSIX] (unistd.h): Likewise.
65219         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65220         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65221         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65222         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65223         require.
65224         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65225         sigevent): Specify elements.
65226         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65227         entry.
65228         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65229         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65231         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65232         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65233         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65234         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65235         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65236         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65237         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65238         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65239         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65240         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65241         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65242         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65243         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65244         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65245         Likewise.
65246         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65247         Likewise.
65248         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65249         Likewise.
65250         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65251         Likewise.
65252         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65253         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65254         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65255         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65256         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65257         Specify lower bound on value.
65258         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65259         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65260         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65261         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65262         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65263         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65264         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65265         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65266         value.
65267         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65268         as optional.
65269         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65270         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65271         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65272         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65273         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65274         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65275         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65276         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65277         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65278         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65279         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65280         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65281         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65282         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65283         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65284         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65285         entry.
65286         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65287         optional.
65288         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65289         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65290         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65291         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65292         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65293         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65294         Likewise.
65295         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65296         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65297         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65298         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65299         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65300         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65301         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65302         as optional.
65303         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65304         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65305         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65306         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65307         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65308         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65309         specify as optional.
65310         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65311         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65312         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65313         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65314         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65315         [XPG3] (NL_LANGMAX): Likewise.
65316         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65317         [POSIX || XPG3] (NL_NMAX): Likewise.
65318         [POSIX || XPG3] (NL_SETMAX): Likewise.
65319         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65320         [XPG3] (NZERO): Likewise.
65321         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65322         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65323         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65324         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65325         (REG_ERANGE): Expect.
65326         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65327         optional-constant.
65328         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65329         Use (void) in prototype.
65330         [POSIX] (*_t): Allow.
65331         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65332         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65333         (WRDE_BADVAL): Expect.
65335         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65336         expect.
65337         [XPG3 || XPG4] (O_RSYNC): Likewise.
65338         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65339         Likewise.
65340         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65341         [XPG3 || XPG4] (sigqueue): Likewise.
65342         [XPG3 || XPG4] (sigtimedwait): Likewise.
65343         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65344         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65345         [XPG3 || XPG4] (vsnprintf): Likewise.
65346         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65347         Likewise.
65348         [XPG3 || XPG4] (blksize_t): Likewise.
65349         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65350         Likewise.
65351         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65352         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65353         [XPG3 || XPG4] (struct itimerspec): Likewise.
65354         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65355         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65356         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65357         [XPG3 || XPG4] (clockid_t): Likewise.
65358         [XPG3 || XPG4] (timer_t): Likewise.
65359         [XPG3 || XPG4] (clock_getres): Likewise.
65360         [XPG3 || XPG4] (clock_gettime): Likewise.
65361         [XPG3 || XPG4] (clock_settime): Likewise.
65362         [XPG3 || XPG4] (nanosleep): Likewise.
65363         [XPG3 || XPG4] (timer_create): Likewise.
65364         [XPG3 || XPG4] (timer_delete): Likewise.
65365         [XPG3 || XPG4] (timer_gettime): Likewise.
65366         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65367         [XPG3 || XPG4] (timer_settime): Likewise.
65368         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65369         [XPG3 || XPG4] (getlogin_r): Likewise.
65370         [XPG3 || XPG4] (pread): Likewise.
65371         [XPG3 || XPG4] (pthread_atfork): Likewise.
65372         [XPG3 || XPG4] (pwrite): Likewise.
65374         [BZ #14835]
65375         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65376         <bits/siginfo.h>.
65378 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65380         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
65381         finalizing MALLSTREAM.
65383         * sysdeps/mach/hurd/syncfs.c: New file.
65385 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65387         [BZ #14719]
65388         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
65389         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
65390         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
65391         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
65392         (_nss_dns_gethostbyname4_r): Likewise.
65393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
65394         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
65396 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
65398         [BZ #13763]
65399         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
65401 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
65403         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
65404         * elf/cache.c (print_entry): Print ",AArch64" for
65405         FLAG_AARCH64_LIB64
65407         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
65408         * elf/cache.c (print_entry): Print ",hard-float" for
65409         FLAG_ARM_LIBHF.
65411 2012-11-18  David S. Miller  <davem@davemloft.net>
65413         With help from Joseph Myers.
65414         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
65415         cutoff to 2**-13.
65416         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
65417         cutoff to 2**-25.
65418         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
65419         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
65420         small.
65421         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
65422         * math/libm-test.inc (y0_test): New tests.
65423         (y1_test): New tests.
65424         * sysdeps/i386/fpu/libm-test-ulps: Update.
65425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65428 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
65430         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
65431         64-bit targets.
65432         * configure: Regenerated.
65434 2012-11-17  David S. Miller  <davem@davemloft.net>
65436         [BZ #14811]
65437         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
65438         nonzero exponents with absolute value below 0x1p-128 to +/-
65439         0x1p-128.
65441 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
65443         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
65445         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
65447         * posix/getconf-speclist.c: New file.
65448         * posix/posix-envs.def: Likewise.
65449         * posix/confstr.c (START_ENV_GROUP): New macro.
65450         (END_ENV_GROUP): Likewise.
65451         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65452         (KNOWN_PRESENT_ENV_STRING): Likewise.
65453         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65454         (UNKNOWN_ENVIRONMENT): Likewise.
65455         (confstr): Include posix-envs.def instead of handling
65456         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65457         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65458         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65459         (END_ENV_GROUP): Likewise.
65460         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65461         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65462         (UNKNOWN_ENVIRONMENT): Likewise.
65463         (__sysconf): Include posix-envs.def instead of handling associated
65464         cases directly here.
65465         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65466         preprocessing getconf-speclist.c rather than running getconf or
65467         generating empty file.
65469 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65471         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65473 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65475         [BZ #14672]
65476         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65478 2012-11-16  David S. Miller  <davem@davemloft.net>
65480         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65481         smaller than LDBL_EPSILON/2.0L, just return xm1.
65483 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65485         * elf/tst-array1.c (init): Set constructor priority to 1000.
65486         (fini): Set destructor priority to 1000.
65487         * elf/tst-array2dep.c: Likewise.
65489 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65491         [BZ #11741]
65492         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65493         (_IO_new_file_xsputn): Also return EOF if none of the input
65494         data was written when overflow failed.
65495         * libio/iopadn.c (_IO_padn): Likewise.
65496         * libio/iowpadn.c (_IO_wpadn): Likewise.
65497         * stdio-common/tst-put-error.c: Add copyright notice.
65498         (do_test): Add case for printing padded string.
65499         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65500         _IO_padn returned error.
65501         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65502         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65503         return EOF.
65505 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65507         * libio/libioP.h: Add comment note that the references to C++
65508         bits are now obsolete.
65510 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65512         * math/libm-test.inc (check_complex): Use asprintf.
65514 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65516         * debug/pcprofiledump.c (print_version): Update copyright year.
65517         * malloc/memusagestat.c (print_version): Likewise.
65519 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65521         [BZ #14831]
65522         * elf/Makefile (tests): Add tst-audit8.
65523         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65524         ($(objpfx)tst-audit8.out): New target.
65525         (tst-audit8-ENV): New variable.
65526         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65527         audit if l_reloc_result is NULL.
65528         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65529         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65530         * elf/tst-audit8.c: New file.
65532 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65534         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65535         * misc/Makefile (CFLAGS-select.c): Define.
65536         * posix/Makefile (CFLAGS-pause.c): Define.
65538 2012-11-13  David S. Miller  <davem@davemloft.net>
65540         * crypt/Makefile: Move test targets after toplevel Rules
65541         inclusion.  Grab any necessary sysdep routines when linking.
65542         * crypt/md5.c (md5_process_block): Remove define, we will always
65543         name it __md5_process_block.
65544         (md5_finish_ctx): Update md5_process_block call.
65545         (md5_stream): Likewise.
65546         (md5_process_bytes): Likewise.
65547         (md5_process_block): Rename to __md5_process_block and move to ...
65548         * crypt/md5-block.c: ... here.
65549         * crypt/sha256.c (sha256_process_block): Move to ...
65550         * crypt/sha256-block.c: ... here.
65551         * crypt/sha512.c (sha512_process_block): Move to ...
65552         * crypt/sha512-block.c: ... here.
65553         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65554         path.
65555         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65556         * sysdeps/sparc/sparc64/multiarch/Makefile
65557         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65558         crypt subdir.
65559         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65560         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65561         multiarch changes.
65562         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65563         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65564         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65565         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65566         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65567         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65568         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65569         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65570         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65571         file.
65572         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65573         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65574         file.
65575         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65577 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65579         * timezone/tzselect.ksh: Update from tzcode git revision
65580         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65581         * timezone/zdump.c: Likewise.
65582         * timezone/zic.c: Likewise.
65583         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65584         in TZVERSION setting, not $(PKGVERSION).
65585         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65586         REPORT_BUGS_TO settings.
65588         [BZ #14838]
65589         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65590         macro.
65592 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65594         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65595         detection to immediately after _FP_ROUND().
65596         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65597         bits are 0.
65599 2012-11-11  David S. Miller  <davem@davemloft.net>
65601         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65602         inttypes.h
65603         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65604         __close rather than their public counterparts.
65606 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65608         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65609         file.
65610         [UNIX98] (sem_timedwait): Do not expect.
65611         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65612         [XPG4 || UNIX98] (sockatmark): Do not expect.
65613         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65614         (clock_getcpuclockid): Do not expect.
65615         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65616         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65617         Do not expect.
65618         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65619         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65620         [UNIX98] (vwscanf): Likewise.
65621         [UNIX98] (vswscanf): Likewise.
65623 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65625         * timezone/version.h: Remove file.
65626         * timezone/README: Do not refer to version.h.
65627         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65628         $(objpfx)version.h.
65629         ($(objpfx)zdump.o): Likewise.
65630         ($(objpfx)version.h): New target.
65632         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65633         2012i.
65634         * timezone/README: Don't mention modification to tzselect.ksh.
65635         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65636         work on unmodified tzselect.ksh.  Substitute version numbers in
65637         tzselect.ksh.
65639         * Makefile (format-me): Remove.
65640         (INSTALL): Adjust indentation.  Use commands directly instead of
65641         using $(format-me).
65643         * aclocal.m4 (ACX_PKGVERSION): New macro.
65644         (ACX_BUGURL): Likewise.
65645         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65646         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65647         (REPORT_BUGS_TO): Likewise.
65648         * configure: Regenerated.
65649         * config.h.in (PKGVERSION): New macro.
65650         (REPORT_BUGS_TO): Likewise.
65651         * config.make.in (PKGVERSION): New variable.
65652         (PKGVERSION_TEXI): Likewise.
65653         (REPORT_BUGS_TO): Likewise.
65654         (REPORT_BUGS_TEXI): Likewise.
65655         * Makefile (format-me): Use -I$(common-objpfx)manual.
65656         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65657         ($(common-objpfx)manual/%): New target.
65658         (manual/%): Remove target.
65659         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65660         (print_version): Use PKGVERSION.
65661         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65662         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65663         and REPORT_BUGS_TO.
65664         ($(objpfx)xtrace): Likewise.
65665         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65666         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65667         (print_version): Use PKGVERSION.
65668         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65669         (do_version): Use PKGVERSION.
65670         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65671         REPORT_BUGS_TO.
65672         (common-ldd-rewrite): Likewise.
65673         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65674         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65675         (print_version): Use PKGVERSION.
65676         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65677         * elf/pldd.c (argp_program_bug_address): Remove variable.
65678         (more_help): New function.
65679         (argp): Use more_help.
65680         (print_version): Use PKGVERSION.
65681         * elf/sln.c (main): Use PKGVERSION.
65682         (usage): Use REPORT_BUGS_TO.
65683         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65684         (top level): Use PKGVERSION.
65685         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65686         (print_version): Use PKGVERSION.
65687         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65688         (print_version): Use PKGVERSION.
65689         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65690         (print_version): Use PKGVERSION.
65691         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65692         (print_version): Use PKGVERSION.
65693         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65694         (print_version): Use PKGVERSION.
65695         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65696         (print_version): Use PKGVERSION.
65697         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65698         and BUGURL.
65699         ($(objpfx)memusage): Likewise.
65700         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65701         (do_version): Use PKGVERSION.
65702         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65703         (print_version): Use PKGVERSION.
65704         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65705         ($PKGVERSION): New variable.
65706         ($REPORT_BUGS_TO): Likewise.
65707         (usage): Use $REPORT_BUGS_TO.
65708         (top level): Use $PKGVERSION.
65709         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65710         ($(objpfx)pkgvers.texi): New rule.
65711         ($(objpfx)stamp-pkgvers): Likewise.
65712         * manual/install.texi: Include pkgvers.texi.
65713         (--with-pkgversion): Document new configure option.
65714         (--with-bugurl): Likewise.
65715         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65716         than necessarily for this particular distribution.  Use
65717         REPORT_BUGS_TO for where to report bugs.
65718         * INSTALL: Regenerated.
65719         * manual/libc.texinfo: Include pkgvers.texi.
65720         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65721         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65722         (print_version): Use PKGVERSION.
65723         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65724         (print_version): Use PKGVERSION.
65725         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65726         (print_version): Use PKGVERSION.
65727         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65728         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65729         macro.
65730         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65731         (print_version): Use PKGVERSION.
65732         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65733         (print_version): Use PKGVERSION.
65734         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65735         and PKGVERSION.
65737         * timezone/checktab.awk: Update from tzcode 2012i.
65738         * timezone/ialloc.c: Likewise.
65739         * timezone/private.h: Likewise.
65740         * timezone/scheck.c: Likewise.
65741         * timezone/tzfile.h: Likewise.
65742         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65743         (TZVERSION): Hardcode tzcode version number.
65744         * timezone/zdump.c: Update from tzcode 2012i.
65745         * timezone/zic.c: Likewise.
65746         * timezone/version.h: New file.
65747         * timezone/README: Describe version.h.  Update upstream location.
65749         [BZ #14824]
65750         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65751         (mktemp): Enable declaration.
65752         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65753         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65754         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65755         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65756         Likewise.
65757         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65758         Likewise.
65759         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65760         Likewise.
65761         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65762         Likewise.
65763         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65764         Likewise.
65765         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65766         Likewise.
65768         [BZ #14821]
65769         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65770         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65771         for copies of such integer values.
65772         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65773         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65775 2012-11-09  Andreas Jaeger  <aj@suse.de>
65777         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65778         definitions and declarations that are provided by
65779         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65781 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65783         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65784         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65785         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65786         definition.
65788 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65790         * elf/elf.h: Update comment before AArch64 relocations.
65792 2012-11-07  David S. Miller  <davem@davemloft.net>
65794         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65795         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65796         (__start_context): Declare.
65797         (__makecontext_ret): Delete.
65798         (__makecontext): Hook up __start_context instead of
65799         __makecontext_ret.
65800         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65801         (sysdep_routines): Add __start_context when in stdlib.
65803 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65805         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65806         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65807         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65808         hardcoded "nm".
65809         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65810         (READELF): New variable.  Use it instead of hardcoded "readelf".
65812 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65814         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65815         * sysdeps/x86/Makefile: Here.
65816         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65817         * sysdeps/x86/tst-xmmymm.sh: This.
65819 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65821         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65822         expectations.
65823         [UNIX98] (pthread_barrier_t): Do not expect.
65824         [UNIX98] (pthread_barrierattr_t): Likewise.
65825         [UNIX98] (pthread_spinlock_t): Likewise.
65826         [UNIX98] (pthread_barrier_destroy): Likewise.
65827         [UNIX98] (pthread_barrier_init): Likewise.
65828         [UNIX98] (pthread_barrier_wait): Likewise.
65829         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65830         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65831         [UNIX98] (pthread_barrierattr_init): Likewise.
65832         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65833         [UNIX98] (pthread_getcpuclockid): Likewise.
65834         [UNIX98] (pthread_mutex_timedlock): Likewise.
65835         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65836         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65837         [UNIX98] (pthread_sigmask): Likewise.
65838         [UNIX98] (pthread_spin_destroy): Likewise.
65839         [UNIX98] (pthread_spin_init): Likewise.
65840         [UNIX98] (pthread_spin_lock): Likewise.
65841         [UNIX98] (pthread_spin_trylock): Likewise.
65842         [UNIX98] (pthread_spin_unlock): Likewise.
65843         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65844         Do not expect.
65845         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65846         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65847         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65848         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65849         [XPG3 || XPG4] (pthread_key_t): Likewise.
65850         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65851         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65852         [XPG3 || XPG4] (pthread_once_t): Likewise.
65853         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65854         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65855         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65856         [XPG3 || XPG4] (pthread_t): Likewise.
65858         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65859         not expect.
65860         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65862         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65863         Change function return type to int.
65865         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65866         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65867         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65868         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65869         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65870         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65871         [!POSIX] (posix_madvise): Likewise.
65872         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65873         && !UNIX98].
65874         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65875         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65876         (mode_t): Likewise.
65877         (posix_mem_offset): Likewise.
65878         (posix_typed_mem_get_info): Likewise.
65879         (posix_typed_mem_open): Likewise.
65881         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65882         Change condition to [XOPEN2K8].
65884         * conform/conformtest.pl: Preprocess allow-header data with -x c
65885         instead of from stdin.
65886         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65887         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65888         [C99-based standards] (cerfc): Likewise.
65889         [C99-based standards] (cexp2): Likewise.
65890         [C99-based standards] (cexpm1): Likewise.
65891         [C99-based standards] (clog10): Likewise.
65892         [C99-based standards] (clog1p): Likewise.
65893         [C99-based standards] (clog2): Likewise.
65894         [C99-based standards] (clgamma): Likewise.
65895         [C99-based standards] (ctgamma): Likewise.
65896         [C99-based standards] (cerff): Likewise.
65897         [C99-based standards] (cerfcf): Likewise.
65898         [C99-based standards] (cexp2f): Likewise.
65899         [C99-based standards] (cexpm1f): Likewise.
65900         [C99-based standards] (clog10f): Likewise.
65901         [C99-based standards] (clog1pf): Likewise.
65902         [C99-based standards] (clog2f): Likewise.
65903         [C99-based standards] (clgammaf): Likewise.
65904         [C99-based standards] (ctgammaf): Likewise.
65905         [C99-based standards] (cerfl): Likewise.
65906         [C99-based standards] (cerfcl): Likewise.
65907         [C99-based standards] (cexp2l): Likewise.
65908         [C99-based standards] (cexpm1l): Likewise.
65909         [C99-based standards] (clog10l): Likewise.
65910         [C99-based standards] (clog1pl): Likewise.
65911         [C99-based standards] (clog2l): Likewise.
65912         [C99-based standards] (clgammal): Likewise.
65913         [C99-based standards] (ctgammal): Likewise.
65914         * conform/data/inttypes.h-data [C99-based standards]: Include
65915         stdint.h-data.  Remove all expectations for stdint.h contents.
65916         [C99-based standards] (PRI*): Do not allow.
65917         [C99-based standards] (SCN*): Likewise.
65918         [C99-based standards] (*_t): Likewise.
65919         [C99-based-standards] (PRId8): Expect macro.
65920         [C99-based-standards] (PRIi8): Likewise.
65921         [C99-based-standards] (PRIo8): Likewise.
65922         [C99-based-standards] (PRIu8): Likewise.
65923         [C99-based-standards] (PRIx8): Likewise.
65924         [C99-based-standards] (PRIX8): Likewise.
65925         [C99-based-standards] (SCNd8): Likewise.
65926         [C99-based-standards] (SCNi8): Likewise.
65927         [C99-based-standards] (SCNo8): Likewise.
65928         [C99-based-standards] (SCNu8): Likewise.
65929         [C99-based-standards] (SCNx8): Likewise.
65930         [C99-based-standards] (PRIdLEAST8): Likewise.
65931         [C99-based-standards] (PRIiLEAST8): Likewise.
65932         [C99-based-standards] (PRIoLEAST8): Likewise.
65933         [C99-based-standards] (PRIuLEAST8): Likewise.
65934         [C99-based-standards] (PRIxLEAST8): Likewise.
65935         [C99-based-standards] (PRIXLEAST8): Likewise.
65936         [C99-based-standards] (SCNdLEAST8): Likewise.
65937         [C99-based-standards] (SCNiLEAST8): Likewise.
65938         [C99-based-standards] (SCNoLEAST8): Likewise.
65939         [C99-based-standards] (SCNuLEAST8): Likewise.
65940         [C99-based-standards] (SCNxLEAST8): Likewise.
65941         [C99-based-standards] (PRIdFAST8): Likewise.
65942         [C99-based-standards] (PRIiFAST8): Likewise.
65943         [C99-based-standards] (PRIoFAST8): Likewise.
65944         [C99-based-standards] (PRIuFAST8): Likewise.
65945         [C99-based-standards] (PRIxFAST8): Likewise.
65946         [C99-based-standards] (PRIXFAST8): Likewise.
65947         [C99-based-standards] (SCNdFAST8): Likewise.
65948         [C99-based-standards] (SCNiFAST8): Likewise.
65949         [C99-based-standards] (SCNoFAST8): Likewise.
65950         [C99-based-standards] (SCNuFAST8): Likewise.
65951         [C99-based-standards] (SCNxFAST8): Likewise.
65952         [C99-based-standards] (PRId16): Likewise.
65953         [C99-based-standards] (PRIi16): Likewise.
65954         [C99-based-standards] (PRIo16): Likewise.
65955         [C99-based-standards] (PRIu16): Likewise.
65956         [C99-based-standards] (PRIx16): Likewise.
65957         [C99-based-standards] (PRIX16): Likewise.
65958         [C99-based-standards] (SCNd16): Likewise.
65959         [C99-based-standards] (SCNi16): Likewise.
65960         [C99-based-standards] (SCNo16): Likewise.
65961         [C99-based-standards] (SCNu16): Likewise.
65962         [C99-based-standards] (SCNx16): Likewise.
65963         [C99-based-standards] (PRIdLEAST16): Likewise.
65964         [C99-based-standards] (PRIiLEAST16): Likewise.
65965         [C99-based-standards] (PRIoLEAST16): Likewise.
65966         [C99-based-standards] (PRIuLEAST16): Likewise.
65967         [C99-based-standards] (PRIxLEAST16): Likewise.
65968         [C99-based-standards] (PRIXLEAST16): Likewise.
65969         [C99-based-standards] (SCNdLEAST16): Likewise.
65970         [C99-based-standards] (SCNiLEAST16): Likewise.
65971         [C99-based-standards] (SCNoLEAST16): Likewise.
65972         [C99-based-standards] (SCNuLEAST16): Likewise.
65973         [C99-based-standards] (SCNxLEAST16): Likewise.
65974         [C99-based-standards] (PRIdFAST16): Likewise.
65975         [C99-based-standards] (PRIiFAST16): Likewise.
65976         [C99-based-standards] (PRIoFAST16): Likewise.
65977         [C99-based-standards] (PRIuFAST16): Likewise.
65978         [C99-based-standards] (PRIxFAST16): Likewise.
65979         [C99-based-standards] (PRIXFAST16): Likewise.
65980         [C99-based-standards] (SCNdFAST16): Likewise.
65981         [C99-based-standards] (SCNiFAST16): Likewise.
65982         [C99-based-standards] (SCNoFAST16): Likewise.
65983         [C99-based-standards] (SCNuFAST16): Likewise.
65984         [C99-based-standards] (SCNxFAST16): Likewise.
65985         [C99-based-standards] (PRId32): Likewise.
65986         [C99-based-standards] (PRIi32): Likewise.
65987         [C99-based-standards] (PRIo32): Likewise.
65988         [C99-based-standards] (PRIu32): Likewise.
65989         [C99-based-standards] (PRIx32): Likewise.
65990         [C99-based-standards] (PRIX32): Likewise.
65991         [C99-based-standards] (SCNd32): Likewise.
65992         [C99-based-standards] (SCNi32): Likewise.
65993         [C99-based-standards] (SCNo32): Likewise.
65994         [C99-based-standards] (SCNu32): Likewise.
65995         [C99-based-standards] (SCNx32): Likewise.
65996         [C99-based-standards] (PRIdLEAST32): Likewise.
65997         [C99-based-standards] (PRIiLEAST32): Likewise.
65998         [C99-based-standards] (PRIoLEAST32): Likewise.
65999         [C99-based-standards] (PRIuLEAST32): Likewise.
66000         [C99-based-standards] (PRIxLEAST32): Likewise.
66001         [C99-based-standards] (PRIXLEAST32): Likewise.
66002         [C99-based-standards] (SCNdLEAST32): Likewise.
66003         [C99-based-standards] (SCNiLEAST32): Likewise.
66004         [C99-based-standards] (SCNoLEAST32): Likewise.
66005         [C99-based-standards] (SCNuLEAST32): Likewise.
66006         [C99-based-standards] (SCNxLEAST32): Likewise.
66007         [C99-based-standards] (PRIdFAST32): Likewise.
66008         [C99-based-standards] (PRIiFAST32): Likewise.
66009         [C99-based-standards] (PRIoFAST32): Likewise.
66010         [C99-based-standards] (PRIuFAST32): Likewise.
66011         [C99-based-standards] (PRIxFAST32): Likewise.
66012         [C99-based-standards] (PRIXFAST32): Likewise.
66013         [C99-based-standards] (SCNdFAST32): Likewise.
66014         [C99-based-standards] (SCNiFAST32): Likewise.
66015         [C99-based-standards] (SCNoFAST32): Likewise.
66016         [C99-based-standards] (SCNuFAST32): Likewise.
66017         [C99-based-standards] (SCNxFAST32): Likewise.
66018         [C99-based-standards] (PRId64): Likewise.
66019         [C99-based-standards] (PRIi64): Likewise.
66020         [C99-based-standards] (PRIo64): Likewise.
66021         [C99-based-standards] (PRIu64): Likewise.
66022         [C99-based-standards] (PRIx64): Likewise.
66023         [C99-based-standards] (PRIX64): Likewise.
66024         [C99-based-standards] (SCNd64): Likewise.
66025         [C99-based-standards] (SCNi64): Likewise.
66026         [C99-based-standards] (SCNo64): Likewise.
66027         [C99-based-standards] (SCNu64): Likewise.
66028         [C99-based-standards] (SCNx64): Likewise.
66029         [C99-based-standards] (PRIdLEAST64): Likewise.
66030         [C99-based-standards] (PRIiLEAST64): Likewise.
66031         [C99-based-standards] (PRIoLEAST64): Likewise.
66032         [C99-based-standards] (PRIuLEAST64): Likewise.
66033         [C99-based-standards] (PRIxLEAST64): Likewise.
66034         [C99-based-standards] (PRIXLEAST64): Likewise.
66035         [C99-based-standards] (SCNdLEAST64): Likewise.
66036         [C99-based-standards] (SCNiLEAST64): Likewise.
66037         [C99-based-standards] (SCNoLEAST64): Likewise.
66038         [C99-based-standards] (SCNuLEAST64): Likewise.
66039         [C99-based-standards] (SCNxLEAST64): Likewise.
66040         [C99-based-standards] (PRIdFAST64): Likewise.
66041         [C99-based-standards] (PRIiFAST64): Likewise.
66042         [C99-based-standards] (PRIoFAST64): Likewise.
66043         [C99-based-standards] (PRIuFAST64): Likewise.
66044         [C99-based-standards] (PRIxFAST64): Likewise.
66045         [C99-based-standards] (PRIXFAST64): Likewise.
66046         [C99-based-standards] (SCNdFAST64): Likewise.
66047         [C99-based-standards] (SCNiFAST64): Likewise.
66048         [C99-based-standards] (SCNoFAST64): Likewise.
66049         [C99-based-standards] (SCNuFAST64): Likewise.
66050         [C99-based-standards] (SCNxFAST64): Likewise.
66051         [C99-based-standards] (PRIdMAX): Likewise.
66052         [C99-based-standards] (PRIiMAX): Likewise.
66053         [C99-based-standards] (PRIoMAX): Likewise.
66054         [C99-based-standards] (PRIuMAX): Likewise.
66055         [C99-based-standards] (PRIxMAX): Likewise.
66056         [C99-based-standards] (PRIXMAX): Likewise.
66057         [C99-based-standards] (SCNdMAX): Likewise.
66058         [C99-based-standards] (SCNiMAX): Likewise.
66059         [C99-based-standards] (SCNoMAX): Likewise.
66060         [C99-based-standards] (SCNuMAX): Likewise.
66061         [C99-based-standards] (SCNxMAX): Likewise.
66062         [C99-based-standards] (PRIdPTR): Likewise.
66063         [C99-based-standards] (PRIiPTR): Likewise.
66064         [C99-based-standards] (PRIoPTR): Likewise.
66065         [C99-based-standards] (PRIuPTR): Likewise.
66066         [C99-based-standards] (PRIxPTR): Likewise.
66067         [C99-based-standards] (PRIXPTR): Likewise.
66068         [C99-based-standards] (SCNdPTR): Likewise.
66069         [C99-based-standards] (SCNiPTR): Likewise.
66070         [C99-based-standards] (SCNoPTR): Likewise.
66071         [C99-based-standards] (SCNuPTR): Likewise.
66072         [C99-based-standards] (SCNxPTR): Likewise.
66073         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66074         allow.
66075         * conform/data/stdint.h-data: Update comments to clarify
66076         requirements.
66077         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66078         type.
66079         [C99-based standards] (INT8_MAX): Likewise.
66080         [C99-based standards] (INT16_MIN): Likewise.
66081         [C99-based standards] (INT16_MAX): Likewise.
66082         [C99-based standards] (INT32_MIN): Likewise.
66083         [C99-based standards] (INT32_MAX): Likewise.
66084         [C99-based standards] (INT64_MIN): Likewise.
66085         [C99-based standards] (INT64_MAX): Likewise.
66086         [C99-based standards] (UINT8_MAX): Likewise.
66087         [C99-based standards] (UINT16_MAX): Likewise.
66088         [C99-based standards] (UINT32_MAX): Likewise.
66089         [C99-based standards] (UINT64_MAX): Likewise.
66090         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66091         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66092         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66093         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66094         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66095         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66096         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66097         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66098         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66099         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66100         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66101         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66102         [C99-based standards] (INT_FAST8_MIN): Likewise.
66103         [C99-based standards] (INT_FAST8_MAX): Likewise.
66104         [C99-based standards] (INT_FAST16_MIN): Likewise.
66105         [C99-based standards] (INT_FAST16_MAX): Likewise.
66106         [C99-based standards] (INT_FAST32_MIN): Likewise.
66107         [C99-based standards] (INT_FAST32_MAX): Likewise.
66108         [C99-based standards] (INT_FAST64_MIN): Likewise.
66109         [C99-based standards] (INT_FAST64_MAX): Likewise.
66110         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66111         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66112         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66113         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66114         [C99-based standards] (INTPTR_MIN): Likewise.
66115         [C99-based standards] (INTPTR_MAX): Likewise.
66116         [C99-based standards] (UINTPTR_MAX): Likewise.
66117         [C99-based standards] (INTMAX_MIN): Likewise.
66118         [C99-based standards] (INTMAX_MAX): Likewise.
66119         [C99-based standards] (UINTMAX_MAX): Likewise.
66120         [C99-based standards] (PTRDIFF_MIN): Likewise.
66121         [C99-based standards] (PTRDIFF_MAX): Likewise.
66122         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66123         [C99-based standards] (SIZE_MAX): Likewise.
66124         [C99-based standards] (WCHAR_MAX): Likewise.
66125         [C99-based standards] (WINT_MAX): Likewise.
66126         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66127         constraint on value.
66128         [C99-based standards] (WCHAR_MIN): Likewise.
66129         [C99-based standards] (WINT_MIN): Likewise.
66130         [C99-based standards] (*_t): Allow.
66131         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66132         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66133         Include math.h-data and complex.h-data.  Remove all expectations
66134         of math.h and complex.h contents.
66135         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66136         at end of line.
66137         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66138         (struct tm): Expect tag.
66139         [C99-based-standards] (wcstof): Expect function.
66140         [C99-based-standards] (wcstold): Likewise.
66141         [C99-based-standards] (wcstoll): Likewise.
66142         [C99-based-standards] (wcstoull): Likewise.
66143         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66144         macro-int-constant.  Specify type.
66145         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66146         constraint on value.
66147         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66148         Specify type.
66149         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66150         Specify value.
66151         [ISO C standards]: Do not allow headers.
66152         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66153         wcs[abcdefghijklmnopqrstuvwxyz]*.
66154         [ISO C standards] (*_t): Do not allow.
66155         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66156         Expect function.
66157         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66158         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66159         Specify type.
66160         [ISO C standards]: Do not allow headers.
66161         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66162         is[abcdefghijklmnopqrstuvwxyz]*.
66163         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66164         to[abcdefghijklmnopqrstuvwxyz]*.
66165         [ISO C standards] (*_t): Do not allow.
66166         * conform/data/stdalign.h-data: New file.
66167         * conform/data/stdbool.h-data: Likewise.
66168         * conform/data/stdnoreturn.h-data: Likewise.
66170 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66172         [BZ #14815]
66173         * manual/filesys.texi (Directory Entries): Typo fix.
66174         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66176 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66178         * elf/elf.h (EM_AARCH64): New macro.
66179         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66180         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66181         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66182         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66183         (R_AARCH64_TLSDESC): Likewise.
66184         (NT_ARM_TLS): Likewise.
66185         (NT_ARM_HW_BREAK): Likewise.
66186         (NT_ARM_HW_WATCH): Likewise.
66188 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66190         [BZ #14811]
66191         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66192         (__ieee754_powl): Saturate nonzero exponents with absolute value
66193         below 0x1p-79 to +/- 0x1p-79.
66194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66195         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66196         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66197         nonzero exponents with absolute value below 0x1p-32 to +/-
66198         0x1p-32.
66199         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66200         (__ieee754_powl): Saturate nonzero exponents with absolute value
66201         below 0x1p-79 to +/- 0x1p-79.
66202         * math/libm-test.inc (pow_test): Add more tests.
66204 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66206         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66207         _dl_s390_cap_flags with kernel. Increase string length.
66208         (_dl_s390_platforms): Add z196 and zEC12.
66210 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66212         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66213         Change XOPEN21K to XOPEN2K.
66215 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66217         * string/memmove.c: Use memcpy when possible.
66219 2012-11-06  Andreas Jaeger  <aj@suse.de>
66221         * po/eo.po: Update from translation team.
66223 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66225         [BZ #14793]
66226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66227         exponent and small x and y exponents, scale x or y up.  Increase
66228         by 2 the exponent used in scaling up.
66229         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66231         * math/libm-test.inc (fma_test): Add more tests.
66232         (fma_test_towardzero): Likewise.
66233         (fma_test_downward): Likewise.
66234         (fma_test_upward): Likewise.
66236 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66238         [BZ #14805]
66239         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66240         fenv_t *.
66242         [BZ #14801]
66243         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66244         namespace for names of struct fields.
66245         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66246         fenv_t fields.
66247         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66248         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66250 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66252         [BZ #3665]
66253         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66255 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66257         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66258         PTR_DEMANGLE.
66260         [BZ #5246]
66261         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66262         PTR_DEMANGLE.
66264 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66266         [BZ #14797]
66267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66268         definitely overflow as x * y not x * y + z.
66269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66271         * math/libm-test.inc (fma_test): Add more tests.
66272         (fma_test_towardzero): Likewise.
66273         (fma_test_downward): Likewise.
66274         (fma_test_upward): Likewise.
66276 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66278         [BZ #157]
66280         * include/stub-tag.h: Remove file.
66281         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66282         '#include' of it.
66283         * manual/maint.texi (Porting): Don't reference it.
66284         * Makerules ($(objpfx)stubs): Likewise.
66285         * dirent/closedir.c: Don't include <stub-tag.h>.
66286         * dirent/dirfd.c: Likewise.
66287         * dirent/fdopendir.c: Likewise.
66288         * dirent/getdents.c: Likewise.
66289         * dirent/getdents64.c: Likewise.
66290         * dirent/opendir.c: Likewise.
66291         * dirent/readdir.c: Likewise.
66292         * dirent/readdir64.c: Likewise.
66293         * dirent/readdir64_r.c: Likewise.
66294         * dirent/readdir_r.c: Likewise.
66295         * dirent/rewinddir.c: Likewise.
66296         * dirent/seekdir.c: Likewise.
66297         * dirent/telldir.c: Likewise.
66298         * gmon/profil.c: Likewise.
66299         * grp/setgroups.c: Likewise.
66300         * inet/if_index.c: Likewise.
66301         * io/access.c: Likewise.
66302         * io/chdir.c: Likewise.
66303         * io/chmod.c: Likewise.
66304         * io/chown.c: Likewise.
66305         * io/close.c: Likewise.
66306         * io/dup.c: Likewise.
66307         * io/dup2.c: Likewise.
66308         * io/dup3.c: Likewise.
66309         * io/euidaccess.c: Likewise.
66310         * io/faccessat.c: Likewise.
66311         * io/fchdir.c: Likewise.
66312         * io/fchmod.c: Likewise.
66313         * io/fchmodat.c: Likewise.
66314         * io/fchown.c: Likewise.
66315         * io/fchownat.c: Likewise.
66316         * io/fcntl.c: Likewise.
66317         * io/flock.c: Likewise.
66318         * io/fstatfs.c: Likewise.
66319         * io/fstatfs64.c: Likewise.
66320         * io/fstatvfs.c: Likewise.
66321         * io/fstatvfs64.c: Likewise.
66322         * io/futimens.c: Likewise.
66323         * io/fxstat.c: Likewise.
66324         * io/fxstat64.c: Likewise.
66325         * io/fxstatat.c: Likewise.
66326         * io/fxstatat64.c: Likewise.
66327         * io/getcwd.c: Likewise.
66328         * io/isatty.c: Likewise.
66329         * io/lchmod.c: Likewise.
66330         * io/lchown.c: Likewise.
66331         * io/link.c: Likewise.
66332         * io/linkat.c: Likewise.
66333         * io/lseek.c: Likewise.
66334         * io/lseek64.c: Likewise.
66335         * io/lxstat64.c: Likewise.
66336         * io/mkdir.c: Likewise.
66337         * io/mkdirat.c: Likewise.
66338         * io/mkfifo.c: Likewise.
66339         * io/mkfifoat.c: Likewise.
66340         * io/open.c: Likewise.
66341         * io/open64.c: Likewise.
66342         * io/openat.c: Likewise.
66343         * io/openat64.c: Likewise.
66344         * io/pipe.c: Likewise.
66345         * io/pipe2.c: Likewise.
66346         * io/poll.c: Likewise.
66347         * io/posix_fadvise.c: Likewise.
66348         * io/posix_fadvise64.c: Likewise.
66349         * io/posix_fallocate.c: Likewise.
66350         * io/posix_fallocate64.c: Likewise.
66351         * io/read.c: Likewise.
66352         * io/readlink.c: Likewise.
66353         * io/readlinkat.c: Likewise.
66354         * io/rmdir.c: Likewise.
66355         * io/sendfile.c: Likewise.
66356         * io/sendfile64.c: Likewise.
66357         * io/statfs.c: Likewise.
66358         * io/statfs64.c: Likewise.
66359         * io/statvfs.c: Likewise.
66360         * io/statvfs64.c: Likewise.
66361         * io/symlink.c: Likewise.
66362         * io/symlinkat.c: Likewise.
66363         * io/ttyname.c: Likewise.
66364         * io/ttyname_r.c: Likewise.
66365         * io/umask.c: Likewise.
66366         * io/unlink.c: Likewise.
66367         * io/unlinkat.c: Likewise.
66368         * io/utime.c: Likewise.
66369         * io/utimensat.c: Likewise.
66370         * io/write.c: Likewise.
66371         * io/xmknod.c: Likewise.
66372         * io/xmknodat.c: Likewise.
66373         * io/xstat.c: Likewise.
66374         * io/xstat64.c: Likewise.
66375         * login/getpt.c: Likewise.
66376         * login/grantpt.c: Likewise.
66377         * login/unlockpt.c: Likewise.
66378         * math/e_acoshl.c: Likewise.
66379         * math/e_acosl.c: Likewise.
66380         * math/e_asinl.c: Likewise.
66381         * math/e_atan2l.c: Likewise.
66382         * math/e_atanhl.c: Likewise.
66383         * math/e_coshl.c: Likewise.
66384         * math/e_expl.c: Likewise.
66385         * math/e_fmodl.c: Likewise.
66386         * math/e_gammal_r.c: Likewise.
66387         * math/e_hypotl.c: Likewise.
66388         * math/e_j0l.c: Likewise.
66389         * math/e_j1l.c: Likewise.
66390         * math/e_jnl.c: Likewise.
66391         * math/e_lgammal_r.c: Likewise.
66392         * math/e_log10l.c: Likewise.
66393         * math/e_log2l.c: Likewise.
66394         * math/e_logl.c: Likewise.
66395         * math/e_powl.c: Likewise.
66396         * math/e_rem_pio2l.c: Likewise.
66397         * math/e_sinhl.c: Likewise.
66398         * math/e_sqrtl.c: Likewise.
66399         * math/fclrexcpt.c: Likewise.
66400         * math/fedisblxcpt.c: Likewise.
66401         * math/feenablxcpt.c: Likewise.
66402         * math/fegetenv.c: Likewise.
66403         * math/fegetexcept.c: Likewise.
66404         * math/fegetround.c: Likewise.
66405         * math/feholdexcpt.c: Likewise.
66406         * math/fesetenv.c: Likewise.
66407         * math/fesetround.c: Likewise.
66408         * math/feupdateenv.c: Likewise.
66409         * math/fgetexcptflg.c: Likewise.
66410         * math/fraiseexcpt.c: Likewise.
66411         * math/fsetexcptflg.c: Likewise.
66412         * math/ftestexcept.c: Likewise.
66413         * math/k_cosl.c: Likewise.
66414         * math/k_rem_pio2l.c: Likewise.
66415         * math/k_sinl.c: Likewise.
66416         * math/k_tanl.c: Likewise.
66417         * math/s_asinhl.c: Likewise.
66418         * math/s_atanl.c: Likewise.
66419         * math/s_cbrtl.c: Likewise.
66420         * math/s_erfl.c: Likewise.
66421         * math/s_expm1l.c: Likewise.
66422         * math/s_log1pl.c: Likewise.
66423         * math/s_tanhl.c: Likewise.
66424         * misc/acct.c: Likewise.
66425         * misc/brk.c: Likewise.
66426         * misc/chflags.c: Likewise.
66427         * misc/chroot.c: Likewise.
66428         * misc/fchflags.c: Likewise.
66429         * misc/fgetxattr.c: Likewise.
66430         * misc/flistxattr.c: Likewise.
66431         * misc/fremovexattr.c: Likewise.
66432         * misc/fsetxattr.c: Likewise.
66433         * misc/fsync.c: Likewise.
66434         * misc/ftruncate.c: Likewise.
66435         * misc/futimes.c: Likewise.
66436         * misc/futimesat.c: Likewise.
66437         * misc/getdomain.c: Likewise.
66438         * misc/getdtsz.c: Likewise.
66439         * misc/gethostid.c: Likewise.
66440         * misc/gethostname.c: Likewise.
66441         * misc/getloadavg.c: Likewise.
66442         * misc/getpagesize.c: Likewise.
66443         * misc/getsysstats.c: Likewise.
66444         * misc/getxattr.c: Likewise.
66445         * misc/gtty.c: Likewise.
66446         * misc/ioctl.c: Likewise.
66447         * misc/lgetxattr.c: Likewise.
66448         * misc/listxattr.c: Likewise.
66449         * misc/llistxattr.c: Likewise.
66450         * misc/lremovexattr.c: Likewise.
66451         * misc/lsetxattr.c: Likewise.
66452         * misc/lutimes.c: Likewise.
66453         * misc/madvise.c: Likewise.
66454         * misc/mincore.c: Likewise.
66455         * misc/mlock.c: Likewise.
66456         * misc/mlockall.c: Likewise.
66457         * misc/mmap.c: Likewise.
66458         * misc/mprotect.c: Likewise.
66459         * misc/msync.c: Likewise.
66460         * misc/munlock.c: Likewise.
66461         * misc/munlockall.c: Likewise.
66462         * misc/munmap.c: Likewise.
66463         * misc/preadv.c: Likewise.
66464         * misc/preadv64.c: Likewise.
66465         * misc/ptrace.c: Likewise.
66466         * misc/pwritev.c: Likewise.
66467         * misc/pwritev64.c: Likewise.
66468         * misc/readv.c: Likewise.
66469         * misc/reboot.c: Likewise.
66470         * misc/remap_file_pages.c: Likewise.
66471         * misc/removexattr.c: Likewise.
66472         * misc/revoke.c: Likewise.
66473         * misc/select.c: Likewise.
66474         * misc/setdomain.c: Likewise.
66475         * misc/setegid.c: Likewise.
66476         * misc/seteuid.c: Likewise.
66477         * misc/sethostid.c: Likewise.
66478         * misc/sethostname.c: Likewise.
66479         * misc/setregid.c: Likewise.
66480         * misc/setreuid.c: Likewise.
66481         * misc/setxattr.c: Likewise.
66482         * misc/sstk.c: Likewise.
66483         * misc/stty.c: Likewise.
66484         * misc/swapoff.c: Likewise.
66485         * misc/swapon.c: Likewise.
66486         * misc/sync.c: Likewise.
66487         * misc/syncfs.c: Likewise.
66488         * misc/syscall.c: Likewise.
66489         * misc/truncate.c: Likewise.
66490         * misc/ualarm.c: Likewise.
66491         * misc/usleep.c: Likewise.
66492         * misc/ustat.c: Likewise.
66493         * misc/utimes.c: Likewise.
66494         * misc/vhangup.c: Likewise.
66495         * misc/writev.c: Likewise.
66496         * posix/_exit.c: Likewise.
66497         * posix/alarm.c: Likewise.
66498         * posix/execve.c: Likewise.
66499         * posix/fexecve.c: Likewise.
66500         * posix/fork.c: Likewise.
66501         * posix/fpathconf.c: Likewise.
66502         * posix/getaddrinfo.c: Likewise.
66503         * posix/getegid.c: Likewise.
66504         * posix/geteuid.c: Likewise.
66505         * posix/getgid.c: Likewise.
66506         * posix/getgroups.c: Likewise.
66507         * posix/getlogin.c: Likewise.
66508         * posix/getlogin_r.c: Likewise.
66509         * posix/getpgid.c: Likewise.
66510         * posix/getpid.c: Likewise.
66511         * posix/getppid.c: Likewise.
66512         * posix/getresgid.c: Likewise.
66513         * posix/getresuid.c: Likewise.
66514         * posix/getsid.c: Likewise.
66515         * posix/getuid.c: Likewise.
66516         * posix/glob64.c: Likewise.
66517         * posix/nanosleep.c: Likewise.
66518         * posix/pathconf.c: Likewise.
66519         * posix/pause.c: Likewise.
66520         * posix/posix_madvise.c: Likewise.
66521         * posix/pread.c: Likewise.
66522         * posix/pread64.c: Likewise.
66523         * posix/pwrite.c: Likewise.
66524         * posix/pwrite64.c: Likewise.
66525         * posix/sched_getaffinity.c: Likewise.
66526         * posix/sched_getp.c: Likewise.
66527         * posix/sched_gets.c: Likewise.
66528         * posix/sched_primax.c: Likewise.
66529         * posix/sched_primin.c: Likewise.
66530         * posix/sched_rr_gi.c: Likewise.
66531         * posix/sched_setaffinity.c: Likewise.
66532         * posix/sched_setp.c: Likewise.
66533         * posix/sched_sets.c: Likewise.
66534         * posix/sched_yield.c: Likewise.
66535         * posix/setgid.c: Likewise.
66536         * posix/setlogin.c: Likewise.
66537         * posix/setpgid.c: Likewise.
66538         * posix/setresgid.c: Likewise.
66539         * posix/setresuid.c: Likewise.
66540         * posix/setsid.c: Likewise.
66541         * posix/setuid.c: Likewise.
66542         * posix/sleep.c: Likewise.
66543         * posix/spawni.c: Likewise.
66544         * posix/sysconf.c: Likewise.
66545         * posix/times.c: Likewise.
66546         * posix/wait.c: Likewise.
66547         * posix/wait3.c: Likewise.
66548         * posix/wait4.c: Likewise.
66549         * posix/waitpid.c: Likewise.
66550         * resolv/gai_sigqueue.c: Likewise.
66551         * resource/getpriority.c: Likewise.
66552         * resource/getrlimit.c: Likewise.
66553         * resource/getrusage.c: Likewise.
66554         * resource/nice.c: Likewise.
66555         * resource/setpriority.c: Likewise.
66556         * resource/setrlimit.c: Likewise.
66557         * resource/ulimit.c: Likewise.
66558         * rt/aio_cancel.c: Likewise.
66559         * rt/aio_fsync.c: Likewise.
66560         * rt/aio_read.c: Likewise.
66561         * rt/aio_sigqueue.c: Likewise.
66562         * rt/aio_suspend.c: Likewise.
66563         * rt/aio_write.c: Likewise.
66564         * rt/clock_getres.c: Likewise.
66565         * rt/clock_gettime.c: Likewise.
66566         * rt/clock_nanosleep.c: Likewise.
66567         * rt/clock_settime.c: Likewise.
66568         * rt/lio_listio.c: Likewise.
66569         * rt/mq_close.c: Likewise.
66570         * rt/mq_getattr.c: Likewise.
66571         * rt/mq_notify.c: Likewise.
66572         * rt/mq_open.c: Likewise.
66573         * rt/mq_receive.c: Likewise.
66574         * rt/mq_send.c: Likewise.
66575         * rt/mq_setattr.c: Likewise.
66576         * rt/mq_timedreceive.c: Likewise.
66577         * rt/mq_timedsend.c: Likewise.
66578         * rt/mq_unlink.c: Likewise.
66579         * rt/shm_open.c: Likewise.
66580         * rt/shm_unlink.c: Likewise.
66581         * rt/timer_create.c: Likewise.
66582         * rt/timer_delete.c: Likewise.
66583         * rt/timer_getoverr.c: Likewise.
66584         * rt/timer_gettime.c: Likewise.
66585         * rt/timer_settime.c: Likewise.
66586         * setjmp/__longjmp.c: Likewise.
66587         * setjmp/setjmp.c: Likewise.
66588         * signal/kill.c: Likewise.
66589         * signal/killpg.c: Likewise.
66590         * signal/raise.c: Likewise.
66591         * signal/sigaction.c: Likewise.
66592         * signal/sigaltstack.c: Likewise.
66593         * signal/sigblock.c: Likewise.
66594         * signal/sigignore.c: Likewise.
66595         * signal/sigintr.c: Likewise.
66596         * signal/signal.c: Likewise.
66597         * signal/sigpause.c: Likewise.
66598         * signal/sigpending.c: Likewise.
66599         * signal/sigqueue.c: Likewise.
66600         * signal/sigreturn.c: Likewise.
66601         * signal/sigset.c: Likewise.
66602         * signal/sigsetmask.c: Likewise.
66603         * signal/sigstack.c: Likewise.
66604         * signal/sigsuspend.c: Likewise.
66605         * signal/sigtimedwait.c: Likewise.
66606         * signal/sigvec.c: Likewise.
66607         * signal/sigwait.c: Likewise.
66608         * signal/sigwaitinfo.c: Likewise.
66609         * signal/sysv_signal.c: Likewise.
66610         * socket/accept.c: Likewise.
66611         * socket/accept4.c: Likewise.
66612         * socket/bind.c: Likewise.
66613         * socket/connect.c: Likewise.
66614         * socket/getpeername.c: Likewise.
66615         * socket/getsockname.c: Likewise.
66616         * socket/getsockopt.c: Likewise.
66617         * socket/isfdtype.c: Likewise.
66618         * socket/listen.c: Likewise.
66619         * socket/recv.c: Likewise.
66620         * socket/recvfrom.c: Likewise.
66621         * socket/recvmsg.c: Likewise.
66622         * socket/send.c: Likewise.
66623         * socket/sendmsg.c: Likewise.
66624         * socket/sendto.c: Likewise.
66625         * socket/setsockopt.c: Likewise.
66626         * socket/shutdown.c: Likewise.
66627         * socket/sockatmark.c: Likewise.
66628         * socket/socket.c: Likewise.
66629         * socket/socketpair.c: Likewise.
66630         * stdio-common/ctermid.c: Likewise.
66631         * stdio-common/cuserid.c: Likewise.
66632         * stdio-common/remove.c: Likewise.
66633         * stdio-common/rename.c: Likewise.
66634         * stdio-common/renameat.c: Likewise.
66635         * stdio-common/tempname.c: Likewise.
66636         * stdlib/getcontext.c: Likewise.
66637         * stdlib/makecontext.c: Likewise.
66638         * stdlib/setcontext.c: Likewise.
66639         * stdlib/swapcontext.c: Likewise.
66640         * stdlib/system.c: Likewise.
66641         * streams/fattach.c: Likewise.
66642         * streams/fdetach.c: Likewise.
66643         * streams/getmsg.c: Likewise.
66644         * streams/getpmsg.c: Likewise.
66645         * streams/putmsg.c: Likewise.
66646         * streams/putpmsg.c: Likewise.
66647         * sysdeps/unix/bsd/getpt.c: Likewise.
66648         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66649         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66650         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66652         Likewise.
66653         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66654         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66655         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66656         * sysvipc/msgctl.c: Likewise.
66657         * sysvipc/msgget.c: Likewise.
66658         * sysvipc/msgrcv.c: Likewise.
66659         * sysvipc/msgsnd.c: Likewise.
66660         * sysvipc/semctl.c: Likewise.
66661         * sysvipc/semget.c: Likewise.
66662         * sysvipc/semop.c: Likewise.
66663         * sysvipc/semtimedop.c: Likewise.
66664         * sysvipc/shmat.c: Likewise.
66665         * sysvipc/shmctl.c: Likewise.
66666         * sysvipc/shmdt.c: Likewise.
66667         * sysvipc/shmget.c: Likewise.
66668         * termios/tcdrain.c: Likewise.
66669         * termios/tcflow.c: Likewise.
66670         * termios/tcflush.c: Likewise.
66671         * termios/tcgetattr.c: Likewise.
66672         * termios/tcgetpgrp.c: Likewise.
66673         * termios/tcsendbrk.c: Likewise.
66674         * termios/tcsetattr.c: Likewise.
66675         * termios/tcsetpgrp.c: Likewise.
66676         * time/adjtime.c: Likewise.
66677         * time/clock.c: Likewise.
66678         * time/getitimer.c: Likewise.
66679         * time/gettimeofday.c: Likewise.
66680         * time/setitimer.c: Likewise.
66681         * time/settimeofday.c: Likewise.
66682         * time/stime.c: Likewise.
66683         * time/time.c: Likewise.
66685 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66687         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66688         /usr/old/bin.
66690         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66691         instead of spaces.
66692         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66694 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66696         [BZ #14796]
66697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66698         FE_TONEAREST before applying Dekker multiplication and Knuth
66699         addition.  Clear inexact exceptions and check for exact zero
66700         results afterwards.
66701         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66702         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66704         * math/libm-test.inc (fma_test): Add more tests.
66705         (fma_test_towardzero): Likewise.
66706         (fma_test_downward): Likewise.
66707         (fma_test_upward): Likewise.
66708         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66709         function.
66710         (libc_fesetround): New macro.
66711         (libc_fesetroundf): Likewise.
66712         (libc_fesetroundl): Likewise.
66713         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66714         function.
66715         (libc_fesetround_387): Likewise.
66716         (libc_fesetroundf): New macro.
66717         (libc_fesetround): Likewise.
66718         (libc_fesetroundl): Likewise.
66719         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66720         function.
66721         (libc_fesetroundf): New macro.
66722         (libc_fesetround): Likewise.
66723         (libc_fesetroundl): Likewise.
66724         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66725         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66726         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66727         libm_hidden_ver.
66728         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66729         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66730         libm_hidden_def.
66731         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66732         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66733         libm_hidden_ver.
66734         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66735         libm_hidden_def.
66737         [BZ #3439]
66738         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66739         integer constant usable in #if and use that to give value to enum
66740         constant.
66741         (FE_DIVBYZERO): Likewise.
66742         (FE_UNDERFLOW): Likewise.
66743         (FE_OVERFLOW): Likewise.
66744         (FE_INVALID): Likewise.
66745         (FE_INVALID_SNAN): Likewise.
66746         (FE_INVALID_ISI): Likewise.
66747         (FE_INVALID_IDI): Likewise.
66748         (FE_INVALID_ZDZ): Likewise.
66749         (FE_INVALID_IMZ): Likewise.
66750         (FE_INVALID_COMPARE): Likewise.
66751         (FE_INVALID_SOFTWARE): Likewise.
66752         (FE_INVALID_SQRT): Likewise.
66753         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66754         (FE_TONEAREST): Likewise.
66755         (FE_TOWARDZERO): Likewise.
66756         (FE_UPWARD): Likewise.
66757         (FE_DOWNWARD): Likewise.
66758         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66759         (FE_DIVBYZERO): Likewise.
66760         (FE_OVERFLOW): Likewise.
66761         (FE_UNDERFLOW): Likewise.
66762         (FE_INEXACT): Likewise.
66763         (FE_TONEAREST): Likewise.
66764         (FE_DOWNWARD): Likewise.
66765         (FE_UPWARD): Likewise.
66766         (FE_TOWARDZERO): Likewise.
66767         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66768         (FE_UNDERFLOW): Likewise.
66769         (FE_OVERFLOW): Likewise.
66770         (FE_DIVBYZERO): Likewise.
66771         (FE_INVALID): Likewise.
66772         (FE_TONEAREST): Likewise.
66773         (FE_TOWARDZERO): Likewise.
66774         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66775         (FE_OVERFLOW): Likewise.
66776         (FE_UNDERFLOW): Likewise.
66777         (FE_DIVBYZERO): Likewise.
66778         (FE_INEXACT): Likewise.
66779         (FE_TONEAREST): Likewise.
66780         (FE_TOWARDZERO): Likewise.
66781         (FE_UPWARD): Likewise.
66782         (FE_DOWNWARD): Likewise.
66783         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66784         (FE_DIVBYZERO): Likewise.
66785         (FE_OVERFLOW): Likewise.
66786         (FE_UNDERFLOW): Likewise.
66787         (FE_INEXACT): Likewise.
66788         (FE_TONEAREST): Likewise.
66789         (FE_DOWNWARD): Likewise.
66790         (FE_UPWARD): Likewise.
66791         (FE_TOWARDZERO): Likewise.
66793 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66795         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66797 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66799         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66800         commands.  Quote $PWD.
66801         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66802         -x" by "export".
66803         (remove_newlines): Remove.
66805 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66807         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66808         * stdlib/stdlib.h (atof): Moved to ...
66809         * include/bits/stdlib-float.h: Here.  New file.
66810         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66811         * stdlib/bits/stdlib-float.h: New file.
66812         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66813         -mno-sse -mno-mmx.
66814         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66815         <xmmintrin.h>.
66817 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66819         * conform/conformtest.pl (@headers): Add fenv.h.
66820         * conform/data/fenv.h-data: New file.
66821         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66822         include of <math/fenv.h>.
66824         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66825         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66826         && !UNIX98].  Enables tests for XOPEN2K8.
66827         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66828         POSIX2008]: Likewise.
66830         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66831         (struct rusage): Do not expect type or its members.
66833         [BZ #3439]
66834         * math/math.h (FP_NAN): Define macro to integer constant usable in
66835         #if and use that to give value to enum constant.
66836         (FP_INFINITE): Likewise.
66837         (FP_ZERO): Likewise.
66838         (FP_SUBNORMAL): Likewise.
66839         (FP_NORMAL): Likewise.
66841 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66843         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66844         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66845         arguments.
66847 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66849         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66850         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66851         autoconf-time if not.
66852         * configure.in: Remove AC_PREREQ.
66854 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66856         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66857         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66858         of the internal implementation.
66860 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66862         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66863         except include of <misc/sys/syslog.h>.
66865 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66868         function returns with a NULL context exit with zero.
66870 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66872         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66874 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66876         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66877         (run_program_cmd): This.
66878         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66879         (tst_langinfo): New variable.  Use it.
66881 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66883         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66884         floating point opcodes.
66886 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66888         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66889         variable.
66891         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66893         * sysdeps/mach/hurd/powerpc: Remove directory.
66894         * sysdeps/mach/powerpc: Likewise.
66896 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66898         * scripts/check-local-headers.sh: Ignore c++ headers.
66900 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66902         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66903         __libc_cleanup_region_start argument.
66905 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66907         [BZ #14784]
66908         [BZ #14785]
66909         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66910         x * y using scaling, not as x * y + z.
66911         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66912         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66913         * math/libm-test.inc (fma_test): Add more tests.
66914         (fma_test_towardzero): Likewise.
66915         (fma_test_downward): Likewise.
66916         (fma_test_upward): Likewise.
66918 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66920         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66922 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66924         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66925         New variable.
66927 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66929         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66931 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66934         Fix sort order.
66935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66936         Likewise.
66938 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66941         Fix the order of the list for glibc 2.17.
66942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66943         Likewise.
66945 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66949 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66951         [BZ #14610]
66952         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66953         for low part of x being zero before using __atanl (y).
66954         * math/libm-test.inc (atan2_test): Add another test.
66956         * manual/install.texi (Configuring and compiling): Document
66957         general use of test-wrapper and test-wrapper-env.
66958         * INSTALL: Regenerated.
66960         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66961         (__fma): Do not extract and scale down low bits on after-rounding
66962         systems when result rounded to normal precision would have normal
66963         exponent.
66964         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66965         (__fmal): Do not extract and scale down low bits on after-rounding
66966         systems when result rounded to normal precision would have normal
66967         exponent.
66968         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66969         (__fmal): Do not extract and scale down low bits on after-rounding
66970         systems when result rounded to normal precision would have normal
66971         exponent.
66972         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66973         macro.
66974         (fma_test): Add more tests.
66975         (fma_test_towardzero): Likewise.
66976         (fma_test_downward): Likewise.
66977         (fma_test_upward): Likewise.
66979 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66981         * sysdeps/i386/tininess.h: Renamed to ...
66982         * sysdeps/x86/tininess.h: This.
66983         * sysdeps/x86_64/tininess.h: Removed.
66985 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66987         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66988         input.  Use $(build-program-cmd).
66989         ($(objpfx)tst-array1-static.out): Likewise.
66990         ($(objpfx)tst-array2.out): Likewise.
66991         ($(objpfx)tst-array3.out): Likewise.
66992         ($(objpfx)tst-array4.out): Likewise.
66993         ($(objpfx)tst-array5.out): Likewise.
66994         ($(objpfx)tst-array5-static.out): Likewise.
66996 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66998         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66999         if defined.
67001         * nss/nsswitch.h (nss_interface_function): Provide new
67002         macro for use with NSS functions.
67003         * grp/initgroups.c: Use new macro.
67004         * nss/getXXbyYY.c: Likewise.
67005         * nss/getXXbyYY_r.c: Likewise.
67006         * nss/getXXent.c: Likewise.
67007         * nss/getXXent_r.c: Likewise.
67008         * sysdeps/posix/getaddrinfo.c: Likewise.
67010 2012-10-30  Andreas Jaeger  <aj@suse.de>
67012         * po/ru.po: Update Russion translation from translation project.
67014 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67016         [BZ #14152]
67017         [BZ #14783]
67018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
67019         result and shift together with sticky bit instead of replicating
67020         round-to-nearest rounding.
67021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67023         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
67024         missing underflow exceptions.
67025         (fma_test_towardzero): Add more tests.
67026         (fma_test_downward): Likewise.
67027         (fma_test_upward): Likewise.
67029         [BZ #14047]
67030         * sysdeps/generic/tininess.h: New file.
67031         * sysdeps/i386/tininess.h: Likewise.
67032         * sysdeps/sh/tininess.h: Likewise.
67033         * sysdeps/x86_64/tininess.h: Likewise.
67034         * stdlib/tst-strtod-underflow.c: Likewise.
67035         * stdlib/tst-tininess.c: Likewise.
67036         * stdlib/strtod_l.c: Include <tininess.h>.
67037         (round_and_return): Do not set errno for exact underflow cases.
67038         Force an underflow exception when setting errno for underflow.
67039         Determine underflow based on rounding to normal precision if
67040         TININESS_AFTER_ROUNDING.
67041         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67042         ERANGE for exact underflow cases.
67043         * stdlib/Makefile (tests): Add tst-tininess and
67044         tst-strtod-underflow.
67045         ($(objpfx)tst-tininess): Use $(link-libm).
67046         ($(objpfx)tst-strtod-underflow): Likewise.
67048 2012-10-30  Andreas Jaeger  <aj@suse.de>
67050         [BZ#14767]
67051         * elf/Makefile (tests): Remove conditional for have-initfini-array
67052         since this is now always required and the variable does not exist
67053         anymore.
67054         (tests-static): Likewise.
67055         (modules-names): Likewise.
67057         * po/eo.po: Add Esperanto translation from translation project.
67059         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67060         merged with constructor/destructor.
67061         (init_array): Likewise.
67062         * elf/tst-array2dep.c (fini_array): Likewise.
67063         (init_array): Likewise.
67065 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67067         * manual/message.texi: Delete @cartouche tags.
67069 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67071         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67072         EOPNOTSUPP.
67073         * sysdeps/mach/hurd/fsync.c: Likewise.
67075         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67076         [_POSIX_REALTIME_SIGNALS]: Change condition to
67077         [_POSIX_REALTIME_SIGNALS > 0].
67079 2012-10-27  Andreas Jaeger  <aj@suse.de>
67081         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67082         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67084         [__WORDSIZE != 64]: Likewise.
67086 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67088         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67089         *  iconvdata/tst-tables.sh: Likewise.
67091 2012-10-25  David S. Miller  <davem@davemloft.net>
67093         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67094         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67095         of strtoull.
67097         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67098         ifunc-impl-list.c
67099         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67100         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67101         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67102         file.
67104 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67106         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67107         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67108         __getdirentries.
67110 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67111             Jim Blandy  <jimb@codesourcery.com>
67113         * scripts/cross-test-ssh.sh: New file.
67114         * manual/install.texi (Configuring and compiling): Document use of
67115         cross-test-ssh.sh.
67116         * INSTALL: Regenerated.
67118 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67120         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67121         EOPNOTSUPP.
67123 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67125         * Makeconfig (run-program-prefix): Fix comment.
67127 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67128             Jim Blandy  <jimb@codesourcery.com>
67130         * Makeconfig (test-wrapper): New variable,
67131         (test-wrapper-env): Likewise.
67132         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67133         (run-built-tests): Define to yes.
67134         (run-program-prefix): Use $(test-wrapper).
67135         (built-program-cmd): Likewise.
67136         * Rules (make-test-out): Use $(test-wrapper-env) and
67137         $(host-built-program-cmd).
67138         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67139         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67140         tst-pathopt.sh.
67141         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67142         $(test-wrapper-env) to tst-rtld-load-self.sh.
67143         ($(objpfx)order2.out): Use $(test-wrapper).
67144         ($(objpfx)tst-initorder.out): Likewise.
67145         ($(objpfx)tst-initorder2.out): Likewise.
67146         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67147         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67148         (test_wrapper_env): New variable.  Use it to run ld.so.
67149         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67150         Use it to run ld.so.
67151         (test_wrapper_env): Likewise.
67152         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67153         $(test-wrapper) to run-iconv-test.sh.
67154         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67155         (ICONV): Use $test_wrapper.
67156         * posix/Makefile ($(objpfx)globtest.out): Pass
67157         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67158         globtest.sh, not $(run-program-prefix).
67159         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67160         (test_wrapper): Likewise.
67161         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67162         set together with run_via_rtld_prefix.
67163         (run_program_prefix): Define in terms of test_wrapper and
67164         run_via_rtld_prefix.
67166 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67168         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67169         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67170         Targets removed.
67172         [BZ #14743]
67173         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67174         Declare __clock_getres, __clock_gettime, __clock_settime,
67175         __clock_nanosleep, and __clock_getcpuclockid.
67176         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67177         Remove librt_hidden_def (clock_gettime).
67178         * sysdeps/unix/clock_gettime.c: Likewise.
67179         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67180         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67181         * rt/clock_getres.c: Define __clock_getres as an alias.
67182         * sysdeps/posix/clock_getres.c: Likewise.
67183         * rt/clock_settime.c: Define __clock_settime as an alias.
67184         * sysdeps/unix/clock_settime.c: Likewise.
67185         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67186         * sysdeps/unix/clock_nanosleep.c: Likewise.
67187         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67188         * rt/clock-compat.c: New file.
67189         * rt/Makefile (librt-routines): Add clock-compat and move
67190         $(clock-routines) to ...
67191         (routines): ... here, new variable.
67192         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67193         Don't add get_clockfreq here.
67194         * rt/Versions (libc: GLIBC_2.17): New version set.
67195         Add clock_* symbols here.
67196         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67197         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67198         (GLIBC_2.17): Add clock_* symbols.
67199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67201         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67203         Likewise.
67204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67205         Likewise.
67206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67210         * NEWS: Mention the move.
67212         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67213         Use __open, __read, __close rather than their public counterparts.
67214         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67215         (__get_clockfreq_via_cpuinfo): Likewise.
67216         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67217         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67219         * config.h.in (HAVE_IFUNC): New #undef.
67220         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67221         was successful.
67222         * configure: Regenerated.
67224 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67226         * configure.in: Move READELF check to start of file.
67227         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67228         libc_cv_asm_gnu_indirect_function in the process.
67229         * configure: Regenerated.
67231 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67233         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67234         send the output to /dev/null.
67235         (libc_cv_cc_with_libunwind): Likewise.
67236         (libc_cv_as_noexecstack): Likewise.
67237         * configure: Regenerate.
67239 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67241         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67243         * posix/globtest.sh (TMPDIR): Do not set.
67244         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67245         (testout): Likewise.
67247 2012-10-24  Andreas Jaeger  <aj@suse.de>
67249         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67250         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67251         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67252         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67253         posix_fadvise64, posix_fallocate64.
67255         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67256         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67257         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67258         Likewise.
67259         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67260         Likewise.
67261         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67264         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67265         <bits/fcntl-linux.h>.
67266         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67268         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67269         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67270         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67271         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67272         [__WORDSIZE != 64]: Likewise.
67274 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67276         * Makeconfig (run-built-tests): New variable.
67277         * Rules [$(cross-compiling) = yes]: Change condition to
67278         [$(run-built-tests) = no].
67279         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67280         to [$(run-built-tests) = yes].
67281         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67282         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67283         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67284         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67285         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67286         * io/Makefile [$(cross-compiling) = no]: Likewise.
67287         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67288         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67289         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67290         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67291         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67292         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67293         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67294         * string/Makefile [$(cross-compiling) = no]: Likewise.
67296         * posix/Makefile ($(objpfx)globtest.out): Pass
67297         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67298         $(rtld-installed-name).
67299         * posix/globtest.sh (elf_objpfx): Remove variable.
67300         (rtld_installed_name): Likewise.
67301         (library_path): Likewise.
67302         (run_program_prefix): New variable.  Use for running globtest
67303         binary.
67305 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67306             Joseph Myers  <joseph@codesourcery.com>
67308         * Makeconfig (host-built-program-cmd): New variable.
67309         * elf/Makefile (tst-stackguard1-ARGS): Use
67310         $(host-built-program-cmd).
67311         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67312         (tst-spawn-ARGS): Likewise.
67313         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67315 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67316             Jim Blandy  <jimb@codesourcery.com>
67318         * Makeconfig (run-via-rtld-prefix): New variable.
67319         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67320         (built-program-cmd): Likewise.
67322 2012-10-22  Andreas Jaeger  <aj@suse.de>
67324         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67325         __O_RSYNC if it exists, otherwise to O_SYNC.
67327 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67328             Joseph Myers  <joseph@codesourcery.com>
67330         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67331         /dev/null.
67332         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67333         from /dev/null
67334         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67335         /dev/null.
67337 2012-10-22  Andreas Jaeger  <aj@suse.de>
67339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67340         Define always.
67341         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67344         bits/fcntl-linux.h.
67346         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67347         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67349         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67350         to __O_LARGEFILE.
67351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67352         to __O_LARGEFILE.
67354 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67355             Joseph Myers  <joseph@codesourcery.com>
67357         * config.make.in (NM): New variable.
67359 2012-10-21  Andreas Jaeger  <aj@suse.de>
67361         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67362         definitions and declarations that are provided by
67363         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67365 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67367         [BZ #14683]
67368         * elf/Makefile (tests-static): Add tst-leaks1-static.
67369         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67370         ($(objpfx)tst-leaks1-static): New rule.
67371         ($(objpfx)tst-leaks1-static-mem): Likewise.
67372         (tst-leaks1-static-ENV): New macro.
67373         * elf/dl-open.c (dl_open_worker): Check the main application
67374         only if SHARED is defined.
67375         * elf/tst-leaks1-static.c: New file.
67377 2012-10-20  Andreas Jaeger  <aj@suse.de>
67379         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
67380         generic values for Linux.
67381         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
67382         and declarations that are provided by <bits/fcntl-linux.h> and
67383         include <bits/fcntl-linux.h>.
67384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67385         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67387 2012-10-20  Roland McGrath  <roland@hack.frob.com>
67389         * io/fcntl.h: Move include of <bits/types.h> to the top and
67390         include it unconditionally.
67392 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67394         * wcsmbs/Makefile (tests-ifunc): New variable.
67395         (tests): Add $(tests-ifunc).
67396         * wcsmbs/test-wcschr-ifunc.c: New file.
67397         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
67398         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
67399         * wcsmbs/test-wcslen-ifunc.c: Likewise.
67400         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
67401         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
67403         * string/Makefile (tests-ifunc): New variable.
67404         (tests): Add $(tests-ifunc).
67405         * string/test-memccpy.c (TEST_NAME): New macro.
67406         * string/test-memchr.c (TEST_NAME): Likewise.
67407         * string/test-memcmp.c (TEST_NAME): Likewise.
67408         * string/test-memcpy.c (TEST_NAME): Likewise.
67409         * string/test-memmem.c (TEST_NAME): Likewise.
67410         * string/test-memmove.c (TEST_NAME): Likewise.
67411         * string/test-memset.c (TEST_NAME): Likewise.
67412         * string/test-rawmemchr.c (TEST_NAME): Likewise.
67413         * string/test-stpcpy.c (TEST_NAME): Likewise.
67414         * string/test-stpncpy.c (TEST_NAME): Likewise.
67415         * string/test-strcasecmp.c (TEST_NAME): Likewise.
67416         * string/test-strcasestr.c (TEST_NAME): Likewise.
67417         * string/test-strcat.c (TEST_NAME): Likewise.
67418         * string/test-strchr.c (TEST_NAME): Likewise.
67419         * string/test-strcmp.c(TEST_NAME): Likewise.
67420         * string/test-strcpy.c (TEST_NAME): Likewise.
67421         * string/test-strcspn.c (TEST_NAME): Likewise.
67422         * string/test-strlen.c (TEST_NAME): Likewise.
67423         * string/test-strncasecmp.c (TEST_NAME): Likewise.
67424         * string/test-strncmp.c (TEST_NAME): Likewise.
67425         * string/test-strncpy.c (TEST_NAME): Likewise.
67426         * string/test-strnlen.c (TEST_NAME): Likewise.
67427         * string/test-strpbrk.c (TEST_NAME): Likewise.
67428         * string/test-strrchr.c (TEST_NAME): Likewise.
67429         * string/test-strspn.c (TEST_NAME): Likewise.
67430         * string/test-strstr.c (TEST_NAME): Likewise.
67431         * string/test-bcopy-ifunc.c: New file.
67432         * string/test-bzero-ifunc.c: Likewise.
67433         * string/test-memccpy-ifunc.c: Likewise.
67434         * string/test-memchr-ifunc.c: Likewise.
67435         * string/test-memcmp-ifunc.c: Likewise.
67436         * string/test-memcpy-ifunc.c: Likewise.
67437         * string/test-memmem-ifunc.c: Likewise.
67438         * string/test-memmove-ifunc.c: Likewise.
67439         * string/test-mempcpy-ifunc.c: Likewise.
67440         * string/test-memset-ifunc.c: Likewise.
67441         * string/test-rawmemchr-ifunc.c: Likewise.
67442         * string/test-stpcpy-ifunc.c: Likewise.
67443         * string/test-stpncpy-ifunc.c: Likewise.
67444         * string/test-strcasecmp-ifunc.c: Likewise.
67445         * string/test-strcasestr-ifunc.c: Likewise.
67446         * string/test-strcat-ifunc.c: Likewise.
67447         * string/test-strchr-ifunc.c: Likewise.
67448         * string/test-strchrnul-ifunc.c: Likewise.
67449         * string/test-strcmp-ifunc.c: Likewise.
67450         * string/test-strcpy-ifunc.c: Likewise.
67451         * string/test-strcspn-ifunc.c: Likewise.
67452         * string/test-strlen-ifunc.c: Likewise.
67453         * string/test-strncasecmp-ifunc.c: Likewise.
67454         * string/test-strncat-ifunc.c: Likewise.
67455         * string/test-strncmp-ifunc.c: Likewise.
67456         * string/test-strncpy-ifunc.c: Likewise.
67457         * string/test-strnlen-ifunc.c: Likewise.
67458         * string/test-strpbrk-ifunc.c: Likewise.
67459         * string/test-strrchr-ifunc.c: Likewise.
67460         * string/test-strspn-ifunc.c: Likewise.
67461         * string/test-strstr-ifunc.c: Likewise.
67463         * debug/Makefile (tests-ifunc): New variable.
67464         (tests): Add $(tests-ifunc).
67465         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67466         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67467         * debug/test-stpcpy_chk-ifunc.c: New file.
67468         * debug/test-strcpy_chk-ifunc.c: Likewise.
67470 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67472         [BZ #13601]
67473         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67474         header is not read in.
67476 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67478         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67479         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67480         directly.  Pass built executable to script as
67481         $(built-program-cmd).
67482         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67483         $testprogram without using LD_LIBRARY_PATH and $ldso.
67485         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67486         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67487         $(rtld-installed-name).
67488         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67489         (rtld_installed_name): Likewise.
67490         (library_path): Likewise.
67491         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67492         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67493         $(run-program-prefix) to tst-tables.sh.
67494         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67495         it to run tst-table-from and tst-table-to.
67496         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67497         Pass it to tst-table.sh.
67498         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67499         $(run-program-prefix) to tst-gettext.sh.
67500         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67501         tst-translit.sh.
67502         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67503         tst-gettext2.sh.
67504         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67505         to run tst-gettext.
67506         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67507         to run tst-gettext2.
67508         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67509         to run tst-translit.
67510         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67511         $(run-program-prefix) to tst-mtrace.sh.
67512         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67513         to run tst-mtrace.
67514         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67515         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67516         $(rtld-installed-name).
67517         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67518         (rtld_installed_name): Likewise.
67519         (run_program_prefix): New variable.  Use it to run wordexp-test.
67521         * Makeconfig (ARCH): Remove all definitions.
67522         (machine): Likewise.
67523         [ARCH]: Remove conditional code.
67524         [!objdir]: Give error.
67525         [!objdir] (objpfx): Remove.
67526         [!objdir] (common-objpfx): Likewise.
67527         [!objdir] (common-objdir): Likewise.
67528         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67529         AC_CONFIG_FILES call.
67530         * configure: Regenerated.
67532         [BZ #13888]
67533         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67534         or TMPDIR.
67535         (testout): Likewise.
67537         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67538         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67539         $(rtld-installed-name).
67540         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67541         (rtld_installed_name): Likewise.
67542         (runit): Remove function.
67543         (run_getconf): New variable,  Use it for running getconf binary.
67545 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67547         [BZ #14716]
67548         * string/test-memmem.c (check_result): New function.
67549         (do_one_test): Use it.
67550         (check1): New function.
67551         (test_main): Use it.
67553 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67555         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67557 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67559         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67560         (_G_LSEEK64): Likewise.
67561         (_G_MMAP64): Likewise.
67562         (_G_FSTAT64): Likewise.
67563         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67564         (_G_LSEEK64): Likewise.
67565         (_G_MMAP64): Likewise.
67566         (_G_FSTAT64): Likewise.
67567         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67568         unconditional.  Call __mmap64 directly.
67569         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67570         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67571         __lseek64 directly.
67572         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67573         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67574         __mmap64 directly.
67575         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67576         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67577         __lseek64 directly.
67578         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67579         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67580         __lseek64 directly.
67581         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67582         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67583         __lseek64 directly.
67584         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67585         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67586         __fxstat64 directly.
67587         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67588         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67589         unconditional.
67590         (freopen64) [!_G_OPEN64]: Remove conditional code.
67591         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67592         unconditional.
67593         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67594         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67595         unconditional.
67596         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67597         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67598         unconditional.
67599         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67600         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67601         unconditional.
67602         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67603         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67604         unconditional.
67605         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67606         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67607         unconditional.
67608         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67609         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67610         unconditional.
67611         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67613 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67615         [BZ #12140]
67616         * manual/memory.texi (Malloc Tunable Parameters): Add note
67617         about free list pointers overwriting some perturb bytes.
67618         Wording suggested by Roland McGrath.
67620 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67622         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67623         (lgamma_test): Likewise.
67624         (tgamma_test): Likewise.
67626 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67628         [BZ #14700]
67629         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67630         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67632 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67634         * NEWS: Mention BZ #14716.
67635         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67636         when removing AVAILABLE1_USES_J macro.
67638 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67640         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67641         (__bswap_64): __uint64_t for unsigned 64-bit int.
67643 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67645         * include/string.h (memmem): Declare libc hidden alias.
67646         * string/memmem.c (memmem): Define libc hidden alias.
67647         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67648         __read, __close instead of open, read, close.
67650 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67653         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67654         global and hidden.
67655         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67656         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67657         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67658         Likewise.
67659         (__rawmemchr_sse2): Likewise.
67660         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67661         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67662         (__strchr_sse2): Likewise.
67663         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67664         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67665         (__strcasecmp_sse2): Likewise.
67666         (__strncasecmp_sse2): Likewise.
67667         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67668         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67669         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67670         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67671         (__strrchr_sse2): Likewise.
67672         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67673         ifunc-impl-list.c.
67674         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67675         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67676         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67677         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67678         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67679         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67680         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67681         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67682         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67683         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67684         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67685         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67686         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67687         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67688         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67689         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67690         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67691         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67692         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67693         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67694         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67695         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67696         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67697         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67698         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67699         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67700         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67701         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67702         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67703         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67705         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67706         global and hidden.
67707         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67708         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67709         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67710         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67711         Likewise.
67712         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67713         Likewise.
67714         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67715         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67716         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67717         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67718         ifunc-impl-list.c.
67719         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67720         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67721         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67722         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67723         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67724         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67725         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67726         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67727         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67728         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67729         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67730         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67731         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67732         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67733         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67734         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67735         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67736         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67737         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67738         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67739         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67740         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67741         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67742         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67743         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67744         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67745         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67746         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67747         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67748         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67749         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67750         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67751         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67752         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67753         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67754         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67755         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67756         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67757         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67758         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67759         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67761         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67762         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67763         * include/ifunc-impl-list.h: New file.
67764         * misc/ifunc-impl-list.c: Likewise.
67765         * misc/Makefile (routines): Add ifunc-impl-list.
67766         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67767         * string/test-string.h: Include <ifunc-impl-list.h>.
67768         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67769         TEST_NAME]: New variables.
67770         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67771         are defined.
67772         (test_init): Call __libc_ifunc_impl_list to initialize
67773         func_list if TEST_IFUNC and TEST_NAME are defined.
67775         * string/Makefile (strop-tests): Add bcopy and bzero.
67776         * string/test-bcopy.c: New file.
67777         * string/test-bzero.c: Likewise.
67778         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67779         defined.
67780         * string/test-memset.c: Support bzero test if TEST_BZERO is
67781         defined.
67782         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67783         __libc_memmove.
67784         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67785         __libc_memset.
67786         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67787         of memset.
67789 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67791         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67792         * configure: Regenerated.
67794         * Makeconfig (+link-static-before-libc): Don't include
67795         $(link-static-libc).
67797         * libio/libio.h (_IO_pos_t): Remove.
67799 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67801         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67802         McGrath.
67804 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67806         * crypt/crypt-entry.c: Include fips-private.h.
67807         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67808         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67809         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67810         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67812 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67814         * crypt/crypt-private.h: Include stdbool.h.
67815         (_ufc_setup_salt_r): Return bool.
67816         * crypt/crypt-entry.c: Include errno.h.
67817         (__crypt_r): Return NULL with EINVAL for bad salt.
67818         * crypt/crypt_util.c (bad_for_salt): New.
67819         (_ufc_setup_salt_r): Check that salt is long enough and within
67820         the specified alphabet.
67821         * crypt/badsalttest.c: New file.
67822         * crypt/Makefile (tests): Add it.
67823         ($(objpfx)badsalttest): New.
67825 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67827         * NEWS: Add entry for BZ #14602.
67829 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67831         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67832         type-generic.
67833         * math/libm-test.inc: Update comment listing what functions and
67834         macros are tested.
67835         (isgreater_test): New function.
67836         (isgreaterequal_test): Likewise.
67837         (isless_test): Likewise.
67838         (islessequal_test): Likewise.
67839         (islessgreater_test): Likewise.
67840         (isunordered_test): Likewise.
67841         (main): Call the new functions.
67843 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67845         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67846         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67847         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67848         * sysdeps/i386/configure: Regenerated.
67849         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67850         * sysdeps/mach/configure: Regenerated.
67851         * sysdeps/mach/hurd/configure: Regenerated.
67852         * sysdeps/powerpc/configure: Regenerated.
67853         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67854         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67855         * sysdeps/s390/s390-32/configure: Regenerated.
67856         * sysdeps/s390/s390-64/configure: Regenerated.
67857         * sysdeps/sh/configure: Regenerated.
67858         * sysdeps/sparc/configure: Regenerated.
67859         * sysdeps/unix/sysv/linux/configure: Regenerated.
67860         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67861         * sysdeps/x86_64/configure: Regenerated.
67863         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67864         defined.  Don't check if MAP is NULL.
67866 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67868         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67869         (_G_stat64): Likewise.
67870         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67871         (_G_stat64): Likewise.
67872         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67873         instead of struct _G_stat64.
67874         * libio/fileops.c (mmap_remap_check): Likewise.
67875         (decide_maybe_mmap): Likewise.
67876         (_IO_new_file_seekoff): Likewise.
67877         (_IO_file_stat): Likewise.
67878         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67879         _G_off64_t.
67880         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67881         instead of struct _G_stat64.
67882         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67884 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67886         [BZ #14602]
67887         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67888         Replace with ...
67889         (CHECK_EOL): New macro.
67890         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67891         CHECK_EOL.
67892         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67893         Replace with CHECK_EOL.
67894         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67895         Replace with CHECK_EOL.
67897 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67899         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67900         type-generic.
67901         * math/libm-test.inc: Update comment listing what functions and
67902         macros are tested.
67903         (finite_test): New function.
67904         (isinf_test): Likewise.
67905         (isnan_test): Likewise.
67906         (fpclassify_test): Test subnormal input.
67907         (isfinite_test): Likewise.
67908         (isnormal_test): Likewise.
67909         (main): Call the new functions.
67911 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67913         [BZ #14660]
67914         * Makerules (%.dynsym): Force C locale when running
67915         $(OBJDUMP) --dynamic-syms.
67917 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67919         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67920         <stdint.h>.
67922 2012-10-06  David S. Miller  <davem@davemloft.net>
67924         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67925         upper 32-bits of the length value in %o2 since we use branch-on-register
67926         tests which consider the entire 64-bit register.
67928 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67930         * string/test-strstr.c (check2): Add a test for page boundary.
67932 2012-10-05  David S. Miller  <davem@davemloft.net>
67934         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67935         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67936         file.
67937         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67938         sysdep_routines.
67939         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67940         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67941         and bzero when HWCAP_SPARC_CRYPTO is present.
67943 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67945         [BZ #14602]
67946         * string/test-strstr.c (check2): New function.
67947         (test_main): Call check2.
67949         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67950         and bug-strchr1.
67951         * string/bug-strcasestr1.c (do_test): Moved to ...
67952         * string/test-strcasestr.c (check1): Here.  New function.
67953         (do_one_test): Break out result checking code into ...
67954         (check_result): This.  New function.
67955         (do_one_test): Call check_result.
67956         (test_main): Call check1.
67957         * string/bug-strchr1.c (do_test): Moved to ...
67958         * string/test-strchr.c (check1): Here.  New function.
67959         (do_one_test): Break out result checking code into ...
67960         (check_result): This.  New function.
67961         (do_one_test): Call check_result.
67962         (test_main): Call check1.
67963         * string/bug-strstr1.c (main): Moved to ...
67964         * string/test-strstr.c (check1): Here.  New function.
67965         (do_one_test): Break out result checking code into ...
67966         (check_result): This.  New function.
67967         (do_one_test): Call check_result.
67968         (test_main): Call check1.
67969         * string/bug-strcasestr1.c: Removed.
67970         * string/bug-strchr1.c: Likewise.
67971         * string/bug-strstr1.c: Likewise.
67973         * elf/Makefile (dl-routines): Add hwcaps.
67974         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67975         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67976         (_dl_important_hwcaps): Moved to ...
67977         * elf/dl-hwcaps.c: Here.  New file.
67978         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67980         [BZ #14557]
67981         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67982         if IS_IN_rtld isn't defined.
67984         * elf/dl-support.c (_dl_sysinfo_map): New.
67985         Include "get-dynamic-info.h" and "setup-vdso.h".
67986         (_dl_non_dynamic_init): Call setup_vdso.
67987         * elf/dynamic-link.h: Don't include <assert.h>.
67988         (elf_get_dynamic_info): Moved to ...
67989         * elf/get-dynamic-info.h: Here.  New file.
67990         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67991         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67992         * elf/setup-vdso.h: Here.  New file.
67993         * elf/rtld.c: Include "setup-vdso.h".
67994         (dl_main): Call setup_vdso.
67996 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67998         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67999         creal in comment listing functions tested.  List finite, isinf,
68000         isnan, isless, islessequal, isgreater, isgreaterequal,
68001         islessgreater, isunordered, lgamma_r and pow10 as functions and
68002         macros not tested.  Mention which functions not tested are aliases
68003         for other functions.  Fix typo.  Note that signs of NaNs are not
68004         tested.
68006         * scripts/config.guess: Update from config.git.
68007         * scripts/config.sub: Likewise.
68009 2012-10-04  Roland McGrath  <roland@hack.frob.com>
68011         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
68012         * misc/madvise.c (madvise): Renamed to __madvise.
68013         Make madvise a weak alias.
68014         * include/sys/mman.h: Declare __madvise.
68015         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
68016         * sysdeps/unix/syscalls.list
68017         (madvise): Make __madvise the strong name, and madvise a weak alias.
68018         * sysdeps/unix/sysv/linux/syscalls.list
68019         (madvise, mmap): Remove redundant entries.
68020         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
68021         * malloc/malloc.c (mtrim): Likewise.
68022         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
68024 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68026         * sysdeps/mach/hurd/dl-cache.c: File removed.
68027         * config.h.in (USE_LDCONFIG): New #undef.
68028         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
68029         * configure: Regenerated.
68030         * elf/Makefile (dl-routines): Add dl-cache only under
68031         [$(use-ldconfig) = yes].
68032         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
68033         cache on [USE_LDCONFIG].
68034         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
68035         [USE_LDCONFIG].
68036         * elf/rtld.c (dl_main): Likewise.
68038 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
68040         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
68041         _SC_LEVEL4_CACHE_LINESIZE.
68043 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68045         * sysdeps/unix/bsd/confstr.h: File removed.
68047 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68049         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68050         sys/sdt-config.h.
68052 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68054         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68055         Make 'mapoff' field ElfW(Off) rather than off_t.
68057 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68059         * nscd/Makefile: Remove nscd-cflags and all its users.
68060         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68061         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68063         [BZ #10631]
68064         * malloc.c (malloc_printerr): Clarify error message.
68066 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68068         [BZ #14648]
68069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68070         Set bit_FMA_Usable if FMA is supported.
68071         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68072         macro.
68073         (bit_FMA4_Usable): Updated.
68074         (index_FMA_Usable): New macro.
68075         (CPUID_FMA): Likewise.
68076         (HAS_FMA): Defined with bit_FMA_Usable.
68078 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68080         * bits/types.h (__swblk_t): Type removed.
68081         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68082         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68083         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68084         (__SWBLK_T_TYPE): Likewise.
68085         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68086         (__SWBLK_T_TYPE): Likewise.
68087         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68088         (__SWBLK_T_TYPE): Likewise.
68089         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68090         (__SWBLK_T_TYPE): Likewise.
68092 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68093             Honza Horak <hhorak@redhat.com>
68095         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68096         (xdr_mapname): Use YPMAXMAP as maxsize.
68097         (xdr_peername): Use YPMAXPEER as maxsize.
68098         (xdr_keydat): Use YPAXRECORD as maxsize.
68099         (xdr_valdat): Use YPMAXRECORD as maxsize.
68101 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68103         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68105         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68106         * csu/init-first.c: ... here.
68107         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68108         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68109         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68110         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68111         * sysdeps/i386/init-first.c: File removed.
68112         * sysdeps/sh/init-first.c: File removed.
68114 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68116         [BZ #14645]
68117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68118         if x * y might underflow to zero and z is zero.
68119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68121         * math/libm-test.inc (min_subnorm_value): New variable.
68122         (fma_test): Add more tests.
68123         (fma_test_towardzero): Likewise.
68124         (fma_test_downward): Likewise.
68125         (fma_test_upward): Likewise.
68126         (initialize): Set min_subnorm_value.
68128 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68130         [BZ #14638]
68131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68132         0 + 0.
68133         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68134         mode for addition resulting in exact zero.
68135         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68136         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68137         exact 0 + 0.
68138         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68139         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68140         * math/libm-test.inc (fma_test): Add more tests.
68141         (fma_test_towardzero): New function.
68142         (fma_test_downward): Likewise.
68143         (fma_test_upward): Likewise.
68144         (main): Call the new functions.
68146 2012-09-28  David S. Miller  <davem@davemloft.net>
68148         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68150 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68152         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68153         instead of SIGALRM.
68155         * sysdeps/gnu/_G_config.h: Moved to ...
68156         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68157         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68158         * sysdeps/generic/_G_config.h: ... here.
68160         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68162         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68164         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68165         Conditionalize target on [libnss_test1.so-version].
68167         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68169         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68170         (elfobjdir): Move out of conditionals.
68172         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68173         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68174         (__nss_lookup_function): Conditionalize label remove_from_tree on
68175         [!DO_STATIC_NSS || SHARED], matching its only use.
68177 2012-09-28  David S. Miller  <davem@davemloft.net>
68179         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68180         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68181         file.
68182         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68183         sysdep_routines.
68184         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68185         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68186         when HWCAP_SPARC_CRYPTO is present.
68188 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68190         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68192 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68194         [BZ #6530]
68195         * stdio-common/vfprintf.c (process_string_arg): Revert
68196         2000-07-22 change.
68198 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68200         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68201         for testcase.
68202         * stdio-common/tst-sprintf.c: Include <locale.h>
68203         (main): Test sprintf's handling of incomplete multibyte
68204         characters.
68206 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68208         * elf/dl-runtime.c (VERSYMIDX): Removed.
68209         * elf/dl-version.c (VERSYMIDX): Likewise.
68210         * elf/do-rel.h (VERSYMIDX): Likewise.
68211         (VALIDX): Likewise.
68212         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68213         * elf/rtld.c (VALIDX): Likewise.
68214         (ADDRIDX): Likewise.
68215         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68216         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68217         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68218         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68219         (VALIDX): Likewise.
68220         (ADDRIDX): Likewise.
68222 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68224         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68226 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68228         [BZ #11438]
68229         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68230         to global scope.
68231         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68232         addresses are in the same scope as 192.0.2/24.
68233         * posix/gai.conf: Document new scope table defaults.
68235 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68237         [BZ #5298]
68238         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68239         for ftell.  Compute offsets from write pointers instead.
68240         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68242 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68244         [BZ #14543]
68245         * libio/Makefile (tests): New test case tst-fseek.
68246         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68247         combination works in wide mode.
68248         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68249         state when the external buffer state changes.
68251 2012-09-27  David S. Miller  <davem@davemloft.net>
68253         [BZ #14376]
68254         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68255         pass reloc->r_addend in as the 'high' argument to
68256         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68260 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68262         * rt/tst-aio2.c: Include <pthread.h>.
68263         * rt/tst-aio3.c: Likewise.
68265 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68267         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68269 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68271         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68272         contents on [SHARED].
68274 2012-09-26  Marek Polacek  <polacek@redhat.com>
68276         [BZ #14530]
68277         [BZ #13741]
68278         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68279         for C++ and GCC <4.3 as well as for non GCC compilers.
68281 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68285 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68287         * Makefile.in (all, install): Declare with .PHONY.
68288         Reported by Michael Hope <michael.hope@linaro.org>.
68290 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68292         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68293         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68294         system header.
68295         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68296         Likewise.
68297         (sydep_routines): Add the new and the internal functions.
68298         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68299         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68301         (GLIBC_2.17): Add the new function.
68302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68303         (GLIBC_2.17): Likewise.
68304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68305         (GLIBC_2.17): Likewise.
68306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68307         (GLIBC_2.17): Likewise.
68308         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68310 2012-09-25  Alan Modra  <amodra@gmail.com>
68312         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68313         Add release barrier before setting once_control to say
68314         initialisation is done.  Add hints on lwarx.  Use macro in
68315         place of isync.
68316         (clear_once_control): Add release barrier.
68318 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68320         [BZ #13629]
68321         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68322         specially.
68323         * math/s_clog10.c (__clog10): Likewise.
68324         * math/s_clog10f.c (__clog10f): Likewise.
68325         * math/s_clog10l.c (__clog10l): Likewise.
68326         * math/s_clogf.c (__clogf): Likewise.
68327         * math/s_clogl.c (__clogl): Likewise.
68328         * math/Makefile (libm-calls): Add x2y2m1.
68329         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68330         (__x2y2m1): Likewise.
68331         (__x2y2m1l): Likewise.
68332         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68333         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68334         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68335         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68336         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68337         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68338         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68339         * sysdeps/i386/fpu/libm-test-ulps: Update.
68340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68342         [BZ #14621]
68343         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68344         int as type of variable DEPTH.
68345         (glob): Use size_t instead of int as type of variables NEWCOUNT
68346         and OLD_PATHC.
68348 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68350         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68351         Add s_sincosf-sse2.
68352         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68353         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68354         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68355         macros for using routine as __sincosf_ia32.
68356         Use macro for function declaration and weak_alias.
68357         * sysdeps/i386/fpu/libm-test-ulps: Update.
68359         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68362         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68363         subnormal argument.
68364         * math/s_cexpf.c (__cexpf): Likewise.
68365         * math/s_csinf.c (__csinf): Likewise.
68366         * math/s_csinhf.c (__csinhf): Likewise.
68367         * math/s_ctanf.c (__ctanf): Likewise.
68368         * math/s_ctanhf.c (__ctanhf): Likewise.
68369         * math/s_ccosh.c (__ccoshf): Likewise.
68370         * math/s_cexp.c (__cexpl): Likewise.
68371         * math/s_csin.c (__csin): Likewise.
68372         * math/s_csinh.c (__csinh): Likewise.
68373         * math/s_ctan.c (__ctan): Likewise.
68374         * math/s_ctanh.c (ctanh): Likewise.
68375         * math/s_ccoshl.c (__ccoshl): Likewise.
68376         * math/s_cexpl.c (__cexpl): Likewise.
68377         * math/s_csinl.c (__csinl): Likewise.
68378         * math/s_csinhl.c (__csinhl): Likewise.
68379         * math/s_ctanl.c (__ctanl): Likewise.
68380         * math/s_ctanhl.c (__ctanhl): Likewise.
68382 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68384         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68385         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
68386         (_IO_off_t): Define to __off_t, not _G_off_t.
68387         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
68388         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
68389         (_IO_wint_t): Define to wint_t, not _G_wint_t.
68390         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
68391         type of __dummy and __dummy2 fields.
68392         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
68393         (_G_ssize_t): Likewise.
68394         (_G_off_t): Likewise.
68395         (_G_pid_t): Likewise.
68396         (_G_uid_t): Likewise.
68397         (_G_wchar_t): Likewise.
68398         (_G_wint_t): Likewise.
68399         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
68400         (_G_ssize_t): Likewise.
68401         (_G_off_t): Likewise.
68402         (_G_pid_t): Likewise.
68403         (_G_uid_t): Likewise.
68404         (_G_wchar_t): Likewise.
68405         (_G_wint_t): Likewise.
68406         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
68407         (_G_ssize_t): Likewise.
68408         (_G_off_t): Likewise.
68409         (_G_pid_t): Likewise.
68410         (_G_uid_t): Likewise.
68411         (_G_wchar_t): Likewise.
68412         (_G_wint_t): Likewise.
68414 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68416         * malloc/arena.c: Include malloc-sysdep.h.
68417         (shrink_heap): Use check_may_shrink_heap to decide if madvise
68418         is sufficient to shrink the heap or an unmap is needed.
68419         * sysdeps/generic/malloc-sysdep.h: New file.  Define
68420         new function check_may_shrink_heap.
68421         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
68422         new function check_may_shrink_heap.
68424 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68426         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
68427         comments.
68429 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
68431         * catgets/test-gencat.sh: Add "set -e".
68432         * elf/tst-pathopt.sh: Likewise.
68433         * grp/tst_fgetgrent.sh: Likewise.
68434         * iconvdata/run-iconv-test.sh: Likewise.
68435         * intl/tst-gettext.sh: Likewise.
68436         * intl/tst-gettext2.sh: Likewise.
68437         * intl/tst-gettext4.sh: Likewise.
68438         * intl/tst-gettext6.sh: Likewise.
68439         * intl/tst-translit.sh: Likewise.
68440         * io/ftwtest-sh: Likewise.
68441         * libio/test-freopen.sh: Likewise.
68442         * malloc/tst-mtrace.sh: Likewise.
68443         * posix/globtest.sh: Likewise.
68444         * posix/tst-getconf.sh: Likewise.
68445         * posix/wordexp-tst.sh: Likewise.
68446         * stdio-common/tst-printf.sh: Likewise.
68447         * stdio-common/tst-unbputc.sh: Likewise.
68448         * stdlib/tst-fmtmsg.sh: Likewise.
68449         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68450         * catgets/Makefile: Do not specify -e option when running
68451         testsuite shell scripts.
68452         * elf/Makefile: Likewise.
68453         * grp/Makefile: Likewise.
68454         * iconvdata/Makefile: Likewise.
68455         * intl/Makefile: Likewise.
68456         * io/Makefile: Likewise.
68457         * libio/Makefile: Likewise.
68458         * malloc/Makefile: Likewise.
68459         * posix/Makefile: Likewise.
68460         * stdio-common/Makefile: Likewise.
68461         * stdlib/Makefile: Likewise.
68462         * sysdeps/x86_64/Makefile: Likewise.
68464         * io/ftwtest-sh: Add copyright header.
68465         * posix/globtest.sh: Likewise.
68466         * posix/tst-getconf.sh: Likewise.
68467         * posix/wordexp-tst.sh: Likewise.
68468         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68470 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68472         [BZ #13679]
68473         * Makeconfig (+link): Defined as $(+link-static) if
68474         $(build-shared) isn't yes.
68475         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68476         isn't yes.
68477         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68479         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68481         [BZ #14562]
68482         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68483         new chunk size with MALLOC_ALIGN_MASK.
68485 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68487         [BZ #5044]
68488         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68489         <rounding-mode.h>.
68490         (__printf_fphex): Determine rounding using get_rounding_mode and
68491         round_away.
68492         * stdio-common/tst-printf-round.c (struct hex_test): New
68493         structure.
68494         (hex_tests): New variable.
68495         (test_hex_in_one_mode): New function.
68496         (do_test): Also run tests for hex float output.
68498 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68500         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68501         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68502         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68503         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68504         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68505         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68506         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68507         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68509 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68511         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68512         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68513         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68514         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68516 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68518         [BZ #14579]
68519         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68520         mode only.
68521         * elf/tst-rtld-load-self.sh: New test.
68522         * elf/Makefile: Run it.
68524 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68526         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68527         (tst-writev-ENV): Remove.
68528         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68530 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68532         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68534 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68536         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68537         unconditional.
68538         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68539         Likewise.
68540         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68541         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68542         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68543         Likewise.
68545 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68547         [BZ #14587]
68548         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68549         * config.make.in (have-cpp-asm-debuginfo): Removed.
68550         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68551         * configure: Regenerated.
68553 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68555         [BZ #5044]
68556         * stdio-common/printf_fp.c: Include <stdbool.h> and
68557         <rounding-mode.h>.
68558         (___printf_fp): Determine rounding using get_rounding_mode and
68559         round_away.
68560         * stdio-common/tst-printf-round.c: New file.
68561         * stdio-common/Makefile (tests): Add tst-printf-round.
68562         (link-libm): New variable.
68563         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68565 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68567         [BZ #14576]
68568         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68569         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68570         Likewise.
68571         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68572         Likewise.
68574 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68576         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68577         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68578         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68579         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68581 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68583         [BZ #14518]
68584         * include/rounding-mode.h: New file.
68585         * sysdeps/generic/get-rounding-mode.h: Likewise.
68586         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68587         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68588         (MAX_VALUE): New macro.
68589         (MIN_VALUE): Likewise.
68590         (overflow_value): New function.
68591         (underflow_value): Likewise.
68592         (round_and_return): Use overflow_value and underflow_value to
68593         determine return values in overflow and underflow cases.  Use
68594         round_away to determine rounding depending on rounding mode.
68595         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68596         determine return values in overflow and underflow cases.
68597         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68598         (struct test_results): New structure.
68599         (struct test): Use struct test_results to store expected results
68600         for all rounding modes.
68601         (TEST): Include expected results for all rounding modes.
68602         (test_in_one_mode): New function.
68603         (do_test): Use test_in_one_mode to compute and check results.
68604         Check results for all rounding modes.
68605         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68606         $(link-libm).
68608 2012-12-09  Allan McRae  <allan@archlinux.org>
68610         * sysdeps/i386/fpu/libm-test-ulps: Update
68612 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68614         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
68615         (_G_int32_t): Likewise.
68616         (_G_uint16_t): Likewise.
68617         (_G_uint32_t): Likewise.
68618         (_G_HAVE_BOOL): Likewise.
68619         (_G_HAVE_ATEXIT): Likewise.
68620         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68621         (_G_HAVE_IO_FILE_OPEN): Likewise.
68622         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
68623         (_G_int32_t): Likewise.
68624         (_G_uint16_t): Likewise.
68625         (_G_uint32_t): Likewise.
68626         (_G_HAVE_BOOL): Likewise.
68627         (_G_HAVE_ATEXIT): Likewise.
68628         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68629         (_G_HAVE_IO_FILE_OPEN): Likewise.
68630         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68631         (_G_int32_t): Likewise.
68632         (_G_uint16_t): Likewise.
68633         (_G_uint32_t): Likewise.
68634         (_G_HAVE_BOOL): Likewise.
68635         (_G_HAVE_ATEXIT): Likewise.
68636         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68637         (_G_HAVE_IO_FILE_OPEN): Likewise.
68639 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68641         * csu/libc-tls.c: Update copyright years.
68643 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68645         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68646         [!_G_USING_THUNKS]: Remove conditional code.
68647         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68648         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68650         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68651         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68652         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68653         (_G_VTABLE_LABEL_PREFIX): Likewise.
68654         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68655         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68656         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68657         (_G_VTABLE_LABEL_PREFIX): Likewise.
68658         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68659         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68660         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68661         (_G_VTABLE_LABEL_PREFIX): Likewise.
68662         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68664 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68666         * libio/Makefile: Include ../Makeconfig before tests.
68667         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68668         only if $(build-shared) is yes.
68670         * iconv/gconv_db.c: Update copyright years.
68672 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68674         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68675         unwind info if defined PIC. Fix special cases description.
68676         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68678         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68679         DP_HI_MASK entry.
68680         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68682 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68684         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68686         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68687         is NULL.
68689         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68690         (LDLIBS-tst-chk4): This.
68691         (LDFLAGS-tst-chk5): Renamed to ...
68692         (LDLIBS-tst-chk5): This.
68693         (LDFLAGS-tst-chk6): Renamed to ...
68694         (LDLIBS-tst-chk6): This.
68695         (LDFLAGS-tst-lfschk4): Renamed to ...
68696         (LDLIBS-tst-lfschk4): This.
68697         (LDFLAGS-tst-lfschk5): Renamed to ...
68698         (LDLIBS-tst-lfschk5): This.
68699         (LDFLAGS-tst-lfschk6): Renamed to ...
68700         (LDLIBS-tst-lfschk6): This.
68702         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68703         on $(common-objpfx)soversions.mk.
68705 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68707         [BZ #10014]
68708         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68709         example host name.
68711 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68713         * malloc/arena.c (arena_get_retry): New function that gets
68714         another arena for the caller to try its request on.
68715         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68716         current arena cannot fulfill the request.
68717         (__libc_memalign): Likewise.
68718         (__libc_memalign): Likewise.
68719         (__libc_pvalloc): Likewise.
68720         (__libc_calloc): Likewise.
68722 2012-09-05  John Tobey  <john.tobey@gmail.com>
68724         [BZ #13542]
68725         * manual/arith.texi (Operations on Complex): Fix description
68726         of carg branch cut.
68728 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68730         [BZ #10014]
68731         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68732         host name.
68734         [BZ #10038]
68735         * manual/memory.texi (Memory): Make order of menu items match
68736         order of sections.
68738 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68740         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68741         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68742         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68744 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68746         * csu/libc-tls.c (static_dtv): Renamed to ...
68747         (_dl_static_dtv): This.  Make it global.
68748         (_dl_initial_dtv): Removed.
68749         (__libc_setup_tls): Updated.
68750         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68751         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68752         DL_INITIAL_DTV.
68754 2012-09-06  Petr Machata  <pmachata@redhat.com>
68756         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68757         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68758         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68759         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68761 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68763         [BZ #14545]
68764         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68765         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68766         freeing dtv[-1].
68768 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68770         [BZ #14544]
68771         * Makeconfig (link-static-before-libc): Replace $(+prector)
68772         with $(+prectorT).
68773         (link-static-after-libc): Replace $(+postctor) with
68774         $(+postctorT).
68775         (link-bounded): Replace $(+prector)/$(+postctor) with
68776         $(+prectorT)/$(+postctorT).
68777         (+prectorT): New macro.
68778         (+postctorT): Likewise.
68780 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68782         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68783         (round_str): Handle values above the maximum for IBM long double
68784         as inexact.
68785         * stdlib/tst-strtod-round.c (tests): Regenerated.
68787 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68789         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68790         assembler flag.
68791         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68792         zarch_nohighgprs around the zarch optimized routines.
68793         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68794         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68795         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68796         for zarch.
68798 2012-09-05  David S. Miller  <davem@davemloft.net>
68800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68802         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68803         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68804         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68805         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68806         entries.
68808 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68810         * malloc/arena.c: Fold copyright years.
68811         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68813 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68815         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68817 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68819         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68821 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68823         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68824         change internal state upon failure.
68826 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68828         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68829         * malloc/memusage.c (mmap): Likewise.
68830         (mmap64, mremap): Likewise.  Adjust name in comment.
68832 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68834         * libio/fileops.c: Fix typos in comments.
68835         * libio/oldfileops.c: Likewise.
68836         * libio/wfileops.c: Likewise.
68838 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68840         [BZ #1349]
68841         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68842         (tst-malloc-usable-ENV): Set environment for test case.
68843         * malloc/hooks.c (malloc_check_get_size): New function to get
68844         requested size.
68845         * malloc/malloc.c (musable): Use malloc_check_get_size.
68846         * malloc/tst-malloc-usable.c: New test case.
68848 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68850         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68852 2012-09-05  Allan McRae  <allan@archlinux.org>
68854         [BZ #13966]
68855         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68856         determine header location.
68857         * configure: Regenerated.
68859 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68861         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68862         float format.
68863         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68864         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68865         format.
68866         (test): Regenerate.
68868 2012-09-04  David S. Miller  <davem@davemloft.net>
68870         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68871         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68872         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68874 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68876         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68877         failures.
68879         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68881 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68883         [BZ #9914]
68884         * libio/iogetdelim.c: Include <limits.h>.
68885         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68886         + len + 1 would overflow.
68888 2012-09-03  Andreas Jaeger  <aj@suse.de>
68890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68891         * sysdeps/i386/fpu/libm-test-ulps: Update.
68893 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68895         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68896         Add s_sinf-sse2, s_conf-sse2.
68898         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68899         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68900         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68901         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68903         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68904         for using routine as __sinf_ia32.
68905         Use macro for function declaration and weak_alias.
68906         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68907         for using routine as __cosf_ia32.
68908         Use macro for function declaration and weak_alias.
68910         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68911         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68913         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68914         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68917         * math/libm-test.inc (cos_test): Add more test cases.
68918         (sin_test): Likewise.
68919         (sincos_test): Likewise.
68921 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68923         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68924         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68925         hidden.
68926         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68928 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68930         [BZ #14538]
68931         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68932         first element of the GOT.
68933         (elf_machine_load_address): Return the difference between
68934         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68936 2012-09-01  Allan McRae  <allan@archlinux.org>
68938         [BZ #13412]
68939         * configure.in (AWK): Require gawk version 3.0 or later.
68940         * configure: Regenerated.
68942 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68944         * sysdeps/unix/sysv/linux/kernel-features.h
68945         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68946         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68947         [__NR_clock_getres]: Make code unconditional.
68948         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68949         (clock_getcpuclockid): Remove code left unreachable by removal of
68950         conditionals.
68951         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68952         code unconditional.
68953         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68954         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68955         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68956         Make code unconditional.
68957         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68958         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68959         * sysdeps/unix/sysv/linux/clock_settime.c
68960         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68961         conditional code.
68962         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68963         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68965 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68967         [BZ #14476]
68968         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68969         scripts/test-installation.pl.
68971         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68972         and $ld_so_version if it is set.
68974 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68976         [BZ #14516]
68977         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68978         failure if reading from procfs failed.
68979         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68981 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68983         * sysdeps/unix/sysv/linux/kernel-features.h
68984         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68985         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68986         Remove conditional code.
68987         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68988         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68989         Remove conditional code.
68990         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68991         * sysdeps/unix/sysv/linux/i386/fxstat.c
68992         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68993         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68994         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68995         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68996         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68997         * sysdeps/unix/sysv/linux/i386/lxstat.c
68998         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68999         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69000         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
69001         Remove conditional code.
69002         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69003         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69004         Remove conditional code.
69005         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69006         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
69007         <kernel-features.h>.
69008         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
69009         Remove.
69010         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
69011         Remove conditional code.
69012         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69013         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
69014         Remove conditional.
69016 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
69018         [BZ #5400]
69019         * NEWS: Add fixed bug number.
69021 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69023         [BZ #14519]
69024         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
69025         underflowing exponent in case of negative sign.
69026         * stdlib/tst-strtod-round-data: Add more tests.
69027         * stdlib/tst-strtod-round.c (tests): Regenerated.
69029         [BZ #3479]
69030         * stdlib/strtod_l.c (NDIG): Remove.
69031         (HEXNDIG): Likewise.
69032         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
69033         smallest representable value.
69034         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
69035         lie within an exact representation of 1/2 ulp of the result.
69036         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
69037         unconditionally.
69038         (TENS_P9_IDX): Define unconditionally.
69039         (TENS_P9_SIZE): Likewise.
69040         (TENS_P10_IDX): Likewise.
69041         (TENS_P10_SIZE): Likewise.
69042         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69043         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69044         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69045         entries for 10^2^13 and 10^2^14.
69046         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69047         (TENS_P13_IDX): Define.
69048         (TENS_P13_SIZE): Likewise.
69049         (TENS_P14_IDX): Likewise.
69050         (TENS_P14_SIZE): Likewise.
69051         (_fpioconst_pow10): Change array size to
69052         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69053         unconditional.
69054         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69055         1024]: Add entries for 10^2^13 and 10^2^14.
69056         [LAST_POW10 > _LAST_POW10]: Remove #error.
69057         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69058         (_fpioconst_pow10): Change array size to
69059         FPIOCONST_POW10_ARRAY_SIZE.
69060         * stdlib/gen-fpioconst.c: New file.
69061         * stdlib/gen-tst-strtod-round.c: Likewise.
69062         * stdlib/tst-strtod-round-data: Likewise.
69063         * stdlib/tst-strtod-round.c: Likewise.
69064         * stdlib/Makefile (tests): Add tst-strtod-round.
69066         [BZ #14459]
69067         * stdlib/strtod_l.c: Include <stdint.h>.
69068         (NDEBUG): Do not define.
69069         (round_and_return): Change EXPONENT parameter to type intmax_t.
69070         Rearrange calculations to avoid internal overflow possibilities.
69071         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69072         Rearrange calculations to avoid internal overflow possibilities.
69073         Assert that number fits inside MPNSIZE limbs.
69074         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69075         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69076         calculations and add assertions to avoid internal overflow
69077         possibilities.  Add casts to avoid signed/unsigned operations.
69078         * stdlib/tst-strtod-overflow.c: New file.
69079         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69081 2012-08-25  Marek Polacek  <polacek@redhat.com>
69083         * time/time.h: Fix some typos in comments.
69085 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69087         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69088         * posix/tst-rfc3484-2.c: Likewise.
69089         * posix/tst-rfc3484-3.c: Likewise.
69091 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69093         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69094         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69096 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69098         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69099         #include of fxstatat64.c.
69101 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69103         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69104         * shadow/getspent_r.c: Likewise.
69105         * shadow/getspnam.c: Likewise.
69106         * shadow/getspnam_r.c: Likewise.
69107         * gshadow/getsgent.c: Likewise.
69108         * gshadow/getsgent_r.c: Likewise.
69109         * gshadow/getsgnam.c: Likewise.
69110         * gshadow/getsgnam_r.c: Likewise.
69111         * inet/getnetbyad.c: Likewise.
69112         * inet/getnetbyad_r.c: Likewise.
69113         * inet/getnetbynm.c: Likewise.
69114         * inet/getnetbynm_r.c: Likewise.
69115         * inet/getnetent.c: Likewise.
69116         * inet/getnetent_r.c: Likewise.
69117         * inet/getproto.c: Likewise.
69118         * inet/getproto_r.c: Likewise.
69119         * inet/getprtent.c: Likewise.
69120         * inet/getprtent_r.c: Likewise.
69121         * inet/getprtname.c: Likewise.
69122         * inet/getprtname_r.c: Likewise.
69123         * inet/getrpcbyname.c: Likewise.
69124         * inet/getrpcbyname_r.c: Likewise.
69125         * inet/getrpcbynumber.c: Likewise.
69126         * inet/getrpcbynumber_r.c: Likewise.
69127         * inet/getrpcent.c: Likewise.
69128         * inet/getrpcent_r.c: Likewise.
69129         * inet/getaliasent.c: Likewise.
69130         * inet/getaliasent_r.c: Likewise.
69131         * inet/getaliasname.c: Likewise.
69132         * inet/getaliasname_r.c: Likewise.
69133         * nscd/getgrgid_r.c: Likewise.
69134         * nscd/getgrnam_r.c: Likewise.
69135         * nscd/gethstbyad_r.c: Likewise.
69136         * nscd/gethstbynm3_r.c: Likewise.
69137         * nscd/getpwnam_r.c: Likewise.
69138         * nscd/getpwuid_r.c: Likewise.
69139         * nscd/getsrvbynm_r.c: Likewise.
69140         * nscd/getsrvbypt_r.c: Likewise.
69141         * nscd/gai.c: Likewise.
69143         * configure.in (build_nscd): New substituted variable, set
69144         by --disable-build-nscd and defaults to $use_nscd.
69145         * configure: Regenerated.
69146         * config.make.in (build-nscd): New substituted variable.
69147         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69148         Change conditional to require [$(build-nscd) = yes] as well.
69149         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69151         [BZ# 13696]
69152         * configure.in (use_nscd): New substituted variable, set by
69153         --disable-nscd.  If enabled, define USE_NSCD.
69154         * configure: Regenerated.
69155         * config.h.in: Add USE_NSCD.
69156         * config.make.in (use-nscd): New substituted variable.
69157         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69158         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69159         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69160         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69161         (CFLAGS-getgrnam_r.c): Likewise.
69162         (CFLAGS-initgroups.c): Likewise.
69163         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69164         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69165         Variables removed.
69166         * inet/getnetgrent_r.c
69167         (nscd_setnetgrent): New function, broken out of ...
69168         (setnetgrent): ... here.  Call it.
69169         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69170         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69171         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69172         * nscd/Makefile (routines, aux): Move definitions after include of
69173         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69174         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69175         Conditionalize on [USE_NSCD].
69176         (is_nscd, nscd_init_cb): Likewise.
69177         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69178         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69179         * nss/nss_db/db-init.c: Likewise.
69180         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69181         [USE_NSCD].
69182         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69183         (make_request): Use it.
69184         (cache_valid_p): New function.
69185         (__check_pf): Use it.
69186         * NEWS: Add item for --disable-nscd.
69188 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69190         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69191         to support sed >= 4.2.1-20-ga9bf076.
69192         * configure: Regenerated.
69194 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69196         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69197         Conditionalize whole body on [IREL].
69199 2012-08-22  Jeff Law <law@redhat.com>
69201         [BZ #14505]
69202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69203         if the family is PF_UNSPEC.
69205 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69207         * Makerules (lib-version): Rename from V.
69208         (install-lib-nosubdir): Change V to lib-version.
69210 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69212         [BZ #14252]
69213         * powerpc32/power6/wcschr.c: New file.
69214         * powerpc32/power6/wcscpy.c: New file.
69215         * powerpc32/power6/wcsrchr.c: New file.
69216         * powerpc64/power6/wcschr.c: New file.
69217         * powerpc64/power6/wcscpy.c: New file.
69218         * powerpc64/power6/wcsrchr.c: New file.
69220 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69222         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69223         (two_way_short_needle): Use it.
69224         * string/strstr.c (AVAILABLE1_USES_J): Define.
69225         * string/strcasestr.c: Likewise.
69227         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69228         array references.
69229         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69231         [BZ #11607]
69232         * NEWS: Add an entry.
69233         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69234         define their defaults.
69235         (two_way_short_needle): Detect end-of-string on-the-fly.
69236         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69237         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69238         * string/bug-strcasestr1.c: New test.
69239         * string/Makefile: Run it.
69241 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69243         [BZ #11607]
69244         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69245         the first character.
69247 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69249         * csu/elf-init.c (__libc_csu_irel): Function removed.
69250         * csu/libc-start.c (apply_irel): New function.
69251         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69253 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69255         * sysdeps/unix/sysv/linux/kernel-features.h
69256         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69257         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69258         <kernel-features.h>.
69259         [__NR_fadvise64_64]: Make code unconditional.
69260         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69261         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69262         !__NR_fadvise64_64)]: Likewise.
69263         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69264         !__NR_fadvise64_64))]: Likewise.
69265         [__NR_fadvise64]: Make code unconditional.
69266         [!__NR_fadvise64]: Remove conditional code.
69267         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69268         <kernel-features.h>.
69269         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69270         unconditional.
69271         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69272         conditional code.
69273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69274         not include <kernel-features.h>.
69275         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69276         unconditional.
69277         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69278         conditional code.
69279         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69280         include <kernel-features.h>.
69281         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69282         unconditional.
69283         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69284         conditional code.
69286 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69288         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69289         slight instruction rearrangements per scrollpipe analysis.
69290         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69292 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69294         * manual/syslog.texi (syslog; vsyslog, closelog):
69295         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69296         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69298         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69299         DSOCAPS to match condition on defining it.
69301 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69303         * sysdeps/unix/sysv/linux/kernel-features.h
69304         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69306         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69307         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69309         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69310         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69312         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69313         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69315         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69316         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69318         * sysdeps/unix/sysv/linux/kernel-features.h
69319         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69320         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69321         unconditional.
69322         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69323         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69324         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69325         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69326         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69327         Make code unconditional.
69328         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69329         (__mmap64) [!__NR_mmap2]: Likewise.
69330         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69331         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69332         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69333         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69334         [__NR_mmap2]: Make code unconditional.
69335         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69336         (__mmap64) [!__NR_mmap2]: Likewise.
69338 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69340         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69342 2012-08-18  Andreas Jaeger  <aj@suse.de>
69344         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69346 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69348         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69349         * include/unistd.h (__have_sock_cloexec): Likewise.
69350         (__have_pipe2): Likewise.
69351         (__have_dup3): Likewise.
69353 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69355         [BZ #9685]
69356         * include/unistd.h (__have_pipe2): Change define into an extern int.
69357         (__have_dup3): Likewise.
69358         * socket/have_sock_cloexec.c: Include fcntl.h.
69359         (__have_pipe2): New variable.
69360         (__have_dup3): Likewise.
69362 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69364         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69366 2012-08-17  Marek Polacek  <polacek@redhat.com>
69368         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69369         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69371 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69373         * configure.in: Add AC_SUBST for sysheaders.
69374         * configure: Regenerated.
69375         * config.make.in (sysheaders): New substituted variable.
69377         * sysdeps/unix/mkfifo.c: Moved ...
69378         * sysdeps/posix/mkfifo.c: ... here.
69379         * sysdeps/unix/mkfifoat.c: Moved ...
69380         * sysdeps/posix/mkfifoat.c: ... here.
69382         * sysdeps/unix/utime.c: Moved ...
69383         * sysdeps/posix/utime.c: ... here.
69385         * sysdeps/unix/time.c: Moved ...
69386         * sysdeps/posix/time.c: ... here.
69387         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
69388         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
69390         * sysdeps/unix/nice.c: Moved ...
69391         * sysdeps/posix/nice.c: ... here.
69393         * sysdeps/unix/alarm.c: Moved ...
69394         * sysdeps/posix/alarm.c: ... here.
69396         * intl/Makefile ($(codeset_mo)): Depend on the input file.
69398 2012-08-17  Jeff Law <law@redhat.com>
69400         * intl/Makefile (codeset_mo): New variable.
69401         ($(codeset_mo)): New target.
69402         (tst-codeset.out): Depend on that.  Remove explicit rule.
69403         (tst-gettext3.out, tst-gettext5.out): Likewise.
69404         (LOCPATH-ENV, tst-codeset-ENV): New variables.
69405         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
69406         * intl/tst-codeset.sh: Remove.
69407         * intl/tst-gettext3.sh: Likewise.
69408         * intl/tst-gettext5.sh: Likewise.
69410 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69412         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
69413         * sysdeps/unix/syscalls.list: ... here.
69415         * sysdeps/posix/getaddrinfo.c
69416         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
69417         (gaiconf_init, gaiconf_reload): Use them.
69418         [!_STATBUF_ST_NSEC]
69419         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
69420         Define using time_t rather than struct timespec.
69422         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
69423         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
69424         Macros removed.
69425         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
69426         [!NO_THREADS].
69427         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
69428         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
69429         Likewise.
69431         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
69432         __libc_cleanup_push argument.
69434         * bits/param.h: New file.
69435         * misc/sys/param.h: New file.
69436         * include/sys/param.h: New file.
69437         * misc/Makefile (headers): Add bits/param.h.
69438         * sysdeps/generic/sys/param.h: File removed.
69439         * sysdeps/unix/sysv/linux/bits/param.h: New file.
69440         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
69441         * sysdeps/mach/hurd/bits/param.h: New file.
69442         * sysdeps/mach/hurd/sys/param.h: File removed.
69444         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
69445         last change.
69447         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
69448         [_IO_MTSAFE_IO].
69449         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
69450         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
69451         New macros.
69453         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
69454         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
69455         rather than -D_IO_MTSAFE_IO conditionally.
69456         * stdio-common/Makefile (CPPFLAGS): Likewise.
69457         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69458         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69459         Use $(libio-mtsafe).
69460         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69461         of -D_IO_MTSAFE_IO.
69462         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69463         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69464         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69465         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69466         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69467         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69468         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69469         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69470         (CFLAGS-fread_u_chk.c): Likewise.
69471         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69472         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69473         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69474         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69475         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69476         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69477         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69478         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69479         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69481         * libio/Makefile: Test [$(libc-reentrant) = yes]
69482         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69484         * Makeconfig
69485         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69486         * sysdeps/pthread/configure: File removed.
69487         * sysdeps/pthread/Makeconfig: New file.
69488         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69489         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69491 2012-08-16  Gary Benson  <gbenson@redhat.com>
69493         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69494         unmapping the first object in a namespace.
69496 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69498         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69499         (__internal_setnetgrent): ... this.  Add internal_function to
69500         definition.  Add libc_hidden_def.
69501         (setnetgrent): Update caller.
69502         (internal_endnetgrent): Renamed to ...
69503         (__internal_endnetgrent): ... this.  Add internal_function to
69504         definition.  Add libc_hidden_def.
69505         (endnetgrent): Update caller.
69506         (internal_getnetgrent_r): Renamed to ...
69507         (__internal_getnetgrent_r): ... this.  Add internal_function to
69508         definition.  Add libc_hidden_def.
69509         (__getnetgrent_r): Update caller.
69510         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69512 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69514         * stdlib/longlong.h: Update from GCC.
69516 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69518         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69519         on _QL, which is set by umul_ppmm but never used.
69520         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69521         variables, which are set by GMP macros but never used.
69522         * stdio-common/_itowa.c (_itowa): Likewise.
69523         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69524         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69526 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69528         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69529         struct La_sh_regs is not constant.
69530         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69531         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69532         and struct La_sparc64_regs are not constant.
69534 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69536         * sysdeps/unix/sysv/linux/kernel-features.h
69537         (__ASSUME_POSIX_TIMERS): Remove.
69538         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69539         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69540         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69541         Make code unconditional.
69542         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69543         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69544         Make code unconditional.
69545         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69546         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69547         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69548         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69549         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69550         Make code unconditional.
69551         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69552         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69553         (__libc_missing_posix_timers): Remove.
69555 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69557         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69558         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69560         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69562         * elf/dl-sym.c: Include <stdlib.h>.
69564         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69565         constants, which avoids warnings in 32-bit builds.
69567         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69568         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69570         * misc/lseek.c: File moved to ...
69571         * io/lseek.c: ... here.
69573         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69575         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69576         shifting LEN more than 31 bits at once.
69578 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69580         [BZ #14195]
69581         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69582         segmentation fault for a case of two empty input strings.
69583         * string/test-strncasecmp.c (check1): Renamed to...
69584         (bz12205): ...this.
69585         (bz14195): Add new testcase for two empty input strings and N > 0.
69586         (test_main): Call new testcase, adapt for renamed function.
69588 2012-08-15  Andreas Jaeger  <aj@suse.de>
69590         [BZ #14090]
69591         * crypt/md5test2.c: New test, based on test supplied by Serge
69592         Belyshev <belyshev@depni.sinp.msu.ru>.
69593         * crypt/Makefile (xtests): Add md5test-giant..
69594         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69596 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69598         [BZ #14090]
69599         * crypt/md5.c (md5_process_block): Don't assume the buffer
69600         length is less than 2**32.
69601         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69602         length is less than 2**64.
69604 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69606         * string/str-two-way.h: Include <sys/param.h>.
69607         (MAX): Macro removed.
69609         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69610         Move #define and #undef of memmove to just before and after
69611         including <string.h>.
69613         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69614         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69615         and after including <string.h>.  Move declarations of
69616         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69617         to before #include "string/memmove.c".
69619         * include/dirent.h: Declare __getdirentries.
69621         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69622         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69624 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69626         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69627         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69628         * sysdeps/i386/configure: Regenerated.
69629         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69630         STABS_CURRENT_FILE, and STABS_FUN.
69631         (END): Remove call to STABS_FUN_END.
69632         (STABS_CURRENT_FILE1): Delete.
69633         (STABS_CURRENT_FILE): Likewise.
69634         (STABS_FUN): Likewise.
69635         (STABS_FUN_END): Likewise.
69636         (STABS_FUN2): Likewise.
69637         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69638         * sysdeps/x86_64/configure: Regenerated.
69640 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69642         * elf/dl-open.c: Include <atomic.h>.
69643         * elf/dl-lookup.c: Likewise.
69645 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69647         * sysdeps/unix/sysv/linux/kernel-features.h
69648         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69649         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69650         unconditionally.
69651         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69652         unconditionally.
69653         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69654         condition on __ASSUME_CLONE_THREAD_FLAGS.
69656 2012-08-14  Andreas Jaeger  <aj@suse.de>
69658         * sysdeps/i386/fpu/libm-test-ulps: Update.
69660 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69662         * include/atomic.h (atomic_exchange_and_add): Split into ...
69663         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69664         New atomic macros.
69666 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69670 2012-08-13  Jeff Law <law@redhat.com>
69672         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69673         null byte in the output string.
69675 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69677         * sysdeps/unix/sysv/linux/kernel-features.h
69678         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69679         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69680         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69681         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69682         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69683         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69684         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69686 2012-08-09  Jeff Law <law@redhat.com>
69688         [BZ #13939]
69689         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69690         When avoid_arena is set, don't retry in the that arena.  Pick the
69691         next one, whatever it might be.
69692         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69693         (arena_lock): Pass in new parameter to arena_get2.
69694         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69695         arena_get2.
69696         (__libc_malloc): Unify retrying after main arena failure with
69697         __libc_memalign version.
69698         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69700 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69702         [BZ #14166]
69703         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69704         to __redirect_strstr.
69705         (__strstr_sse42): Use typeof __redirect_strstr.
69706         (__strstr_ia32): Likewise.
69707         (__libc_strstr): New prototype.
69708         (strstr): Renamed to ...
69709         (__libc_strstr): This.
69710         (strstr): New strong alias of __libc_strstr.
69711         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69712         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69713         __redirect_time.
69714         Include <time.h>.
69715         (__libc_time): New prototype.
69716         (time_ifunc): Replace time with __libc_time.
69717         (time): New strong alias and hidden definition of __libc_time.
69718         (__GI_time): Remove strong alias.
69719         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69720         Include <stddef.h>.
69721         (memmove): Redefined to __redirect_memmove.
69722         (__memmove_sse2): Use typeof __redirect_memmove.
69723         (__memmove_ssse3): Likewise.
69724         (__memmove_ssse3_back): Likewise.
69725         (__libc_memmove): New prototype.
69726         (memmove): Renamed to ...
69727         (__libc_memmove): This.
69728         (memmove): New strong alias of __libc_memmove.
69730 2012-08-08  Mark Salter  <msalter@redhat.com>
69732         * elf/elf.h
69733         (R_MN10300_TLS_GD): Define.
69734         (R_MN10300_TLS_LD): Likewise.
69735         (R_MN10300_TLS_LDO): Likewise.
69736         (R_MN10300_TLS_GOTIE): Likewise.
69737         (R_MN10300_TLS_IE): Likewise.
69738         (R_MN10300_TLS_LE): Likewise.
69739         (R_MN10300_TLS_DTPMOD): Likewise.
69740         (R_MN10300_TLS_DTPOFF): Likewise.
69741         (R_MN10300_TLS_TPOFF): Likewise.
69742         (R_MN10300_SYM_DIFF): Likewise.
69743         (R_MN10300_ALIGN): Likewise.
69744         (R_MN10300_NUM): Update.
69746 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69748         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69749         Remove.
69751 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69753         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69755         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69756         sysdeps/unix -> sysdeps/posix move.
69757         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69759 2012-08-07      Allan McRae     <allan@archlinux.org>
69761         [BZ #14303]
69762         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69763         (SUNOS_CPP): Likewise.
69764         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69765         not found.
69766         (open_input): Call CPP using execvp.
69768 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69770         * sysdeps/unix/sysv/linux/kernel-features.h
69771         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69772         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69773         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69774         (__ASSUME_WAITID_SYSCALL): Likewise.
69775         * sysdeps/unix/sysv/linux/dl-execstack.c
69776         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69777         code unconditional.
69778         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69779         conditional code.
69780         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69781         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69782         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69783         code.
69784         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69785         unconditional.
69786         [__ASSUME_WAITID_SYSCALL]: Likewise.
69787         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69789 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69791         * sysdeps/unix/closedir.c: Renamed to ...
69792         * sysdeps/posix/closedir.c: ... here.
69793         * sysdeps/unix/dirfd.c: Renamed to ...
69794         * sysdeps/posix/dirfd.c: ... here.
69795         * sysdeps/unix/dirstream.h: Renamed to ...
69796         * sysdeps/posix/dirstream.h: ... here.
69797         * sysdeps/unix/fdopendir.c: Renamed to ...
69798         * sysdeps/posix/fdopendir.c: ... here.
69799         * sysdeps/unix/opendir.c: Renamed to ...
69800         * sysdeps/posix/opendir.c: ... here.
69801         * sysdeps/unix/readdir.c: Renamed to ...
69802         * sysdeps/posix/readdir.c: ... here.
69803         * sysdeps/unix/readdir_r.c: Renamed to ...
69804         * sysdeps/posix/readdir_r.c: ... here.
69805         * sysdeps/unix/rewinddir.c: Renamed to ...
69806         * sysdeps/posix/rewinddir.c: ... here.
69807         * sysdeps/unix/seekdir.c: Renamed to ...
69808         * sysdeps/posix/seekdir.c: ... here.
69809         * sysdeps/unix/telldir.c: Renamed to ...
69810         * sysdeps/posix/telldir.c: ... here.
69811         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69812         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69813         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69814         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69816         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69817         * bits/fcntl.h: ... here.
69819         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69820         not 0.
69821         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69822         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69823         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69824         (struct flock): Move l_start, l_len to the beginning.
69825         Use __pid_t for l_pid.
69826         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69827         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69828         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69829         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69830         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69831         [__USE_LARGEFILE64] (struct flock64): New type.
69832         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69834         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69835         * bits/dirent.h: ... here.
69837         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69838         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69840 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69842         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69843         Change from 2.6.0 to 2.6.16.
69844         * sysdeps/unix/sysv/linux/configure: Regenerated.
69845         * sysdeps/unix/sysv/linux/kernel-features.h
69846         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69847         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69848         version.
69849         (__ASSUME_UTIMES): Likewise.
69850         (__ASSUME_CLONE_STOPPED): Remove.
69851         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69852         architectures, not kernel version.
69853         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69854         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69855         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69856         (__ASSUME_WAITID_SYSCALL): Likewise.
69857         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69858         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69859         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69860         refer to older versions.
69862 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69864         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69865         Define alphasort64 as an alias.
69866         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69867         Define versionsort64 as an alias.
69868         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69869         Define scandir64 as an alias.
69870         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69871         Define scandirat64 as an alias.
69872         * dirent/alphasort64.c (alphasort64):
69873         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69874         * dirent/versionsort64.c: Likewise.
69875         * dirent/scandir64.c: Likewise.
69876         * dirent/scandirat64.c: Likewise.
69877         * sysdeps/wordsize-64/alphasort.c: File removed.
69878         * sysdeps/wordsize-64/alphasort64.c: File removed.
69879         * sysdeps/wordsize-64/scandir.c: File removed.
69880         * sysdeps/wordsize-64/scandir64.c: File removed.
69881         * sysdeps/wordsize-64/scandirat.c: File removed.
69882         * sysdeps/wordsize-64/scandirat64.c: File removed.
69883         * sysdeps/wordsize-64/versionsort.c: File removed.
69884         * sysdeps/wordsize-64/versionsort64.c: File removed.
69885         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69886         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69887         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69888         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69889         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69890         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69891         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69892         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69894         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69895         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69896         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69897         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69898         [defined __arch64__ || defined __sparcv9]
69899         (__INO_T_MATCHES_INO64_T): New macro.
69900         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69901         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69902         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69903         * sysdeps/unix/sysv/linux/bits/dirent.h
69904         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69905         (_DIRENT_MATCHES_DIRENT64): New macro.
69907         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69908         Define lockf64 as an alias.
69909         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69910         Define fseeko64 as an alias.
69911         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69912         Define ftello64 as an alias.
69913         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69914         Define _IO_fgetpos64 and fgetpos64 as aliases.
69915         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69916         Define _IO_fsetpos64 and fsetpos64 as aliases.
69917         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69918         Conditionalize body on this.
69919         * libio/fseeko64.c: Likewise.
69920         * libio/ftello64.c: Likewise.
69921         * libio/iofgetpos64.c: Likewise.
69922         * libio/iofsetpos64.c: Likewise.
69923         * sysdeps/wordsize-64/lockf.c: File removed.
69924         * sysdeps/wordsize-64/lockf64.c: File removed.
69925         * sysdeps/wordsize-64/fseeko.c: File removed.
69926         * sysdeps/wordsize-64/fseeko64.c: File removed.
69927         * sysdeps/wordsize-64/ftello.c: File removed.
69928         * sysdeps/wordsize-64/ftello64.c: File removed.
69929         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69930         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69931         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69932         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69933         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69934         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69935         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69936         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69937         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69938         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69939         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69940         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69941         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69942         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69944         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69945         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69946         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69947         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69948         [defined __arch64__ || defined __sparcv9]
69949         (__OFF_T_MATCHES_OFF64_T): New macro.
69950         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69951         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69952         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69953         (__OFF_T_MATCHES_OFF64_T): New macro.
69955 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69957         * stdlib/secure-getenv.c (__secure_getenv): Replace
69958         GLIBC_2_16 with GLIBC_2_17.
69960 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69962         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69963         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69965 2012-08-03  David S. Miller  <davem@davemloft.net>
69967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69969 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69971         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69972         Remove.
69973         (__ASSUME_CORRECT_SI_PID): Likewise.
69974         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69975         (__ASSUME_TMPFS_NAME): Likewise.
69976         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69977         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69978         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69979         (HAVE_AUX_SECURE): Make definition unconditional.
69980         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69981         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69983 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69985         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69986         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69987         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69988         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69989         __eloop_threshold instead of SYMLOOP_MAX.
69991         * sysdeps/generic/eloop-threshold.h: New file.
69992         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69993         of MAXSYMLINKS.
69994         * elf/chroot_canon.c (chroot_canon): Likewise.
69996 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69998         [BZ #13717]
69999         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70000         Change to 2.6.0 everywhere.
70001         * sysdeps/unix/sysv/linux/configure: Regenerated.
70002         * sysdeps/unix/sysv/linux/kernel-features.h
70003         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
70004         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
70005         kernel versions.
70006         (__ASSUME_POSIX_TIMERS): Define unconditionally.
70007         (__ASSUME_FUTEX_REQUEUE): Remove.
70008         (__ASSUME_STATFS64): Define unconditionally.
70009         (__ASSUME_AT_SECURE): Likewise.
70010         (__ASSUME_CORRECT_SI_PID): Likewise.
70011         (__ASSUME_TGKILL): Define without depending on kernel version for
70012         i386.
70013         (__ASSUME_UTIMES): Likewise.
70014         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
70015         kernel version.
70016         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
70017         (__ASSUME_TMPFS_NAME): Likewise.
70018         * README: Update reference to Linux kernel versions.
70020 2012-08-02  Marek Polacek  <polacek@redhat.com>
70022         [BZ# 14150]
70023         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
70024         libc_cv_asm_type_prefix with %.
70025         * configure: Regenerated.
70026         * include/libc-symbols.h: Remove comment about
70027         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70028         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70029         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
70030         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
70031         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
70032         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70033         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
70034         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
70035         * elf/tst-unique2mod1.c: Likewise.
70036         * elf/tst-unique1mod2.c: Likewise.
70037         * elf/tst-unique1mod1.c: Likewise.
70038         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
70039         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
70040         Replace ASM_TYPE_DIRECTIVE with .type.
70041         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70042         * sysdeps/i386/sysdep.h: Likewise.
70043         * sysdeps/x86_64/sysdep.h: Likewise.
70044         * sysdeps/sh/sysdep.h: Likewise.
70045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70046         Do not define ASM_TYPE_DIRECTIVE.
70047         * sysdeps/powerpc/sysdep.h: Likewise.
70048         * sysdeps/powerpc/powerpc32/sysdep.h:
70049         Replace ASM_TYPE_DIRECTIVE with .type.
70050         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70051         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70052         * sysdeps/i386/fpu/e_powf.S: Likewise.
70053         * sysdeps/i386/fpu/e_expl.S: Likewise.
70054         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70055         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70056         * sysdeps/i386/fpu/e_pow.S: Likewise.
70057         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70058         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70059         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70060         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70061         * sysdeps/i386/fpu/e_log2.S: Likewise.
70062         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70063         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70064         * sysdeps/i386/fpu/e_powl.S: Likewise.
70065         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70066         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70067         * sysdeps/i386/fpu/e_logl.S: Likewise.
70068         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70069         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70070         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70071         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70072         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70073         * sysdeps/i386/fpu/e_log.S: Likewise.
70074         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70075         * sysdeps/i386/fpu/e_logf.S: Likewise.
70076         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70077         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70078         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70079         * sysdeps/i386/fpu/e_log10.S: Likewise.
70080         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70081         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70082         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70083         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70084         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70085         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70086         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70087         * sysdeps/i386/i686/strtok.S: Likewise.
70088         * sysdeps/i386/i386-mcount.S: Likewise.
70089         * sysdeps/i386/strtok.S: Likewise.
70090         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70091         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70092         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70093         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70094         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70095         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70096         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70097         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70098         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70099         * sysdeps/x86_64/_mcount.S: Likewise.
70100         * sysdeps/x86_64/strtok.S: Likewise.
70101         * sysdeps/sh/_mcount.S: Likewise.
70103 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70105         * libio/iofopen.c: Include <fcntl.h>.
70106         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70107         (_IO_fopen64, fopen64): Define as aliases.
70108         * libio/iofopen64.c: Include <fcntl.h>.
70109         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70110         Conditionalize body on this.
70111         * sysdeps/wordsize-64/iofopen.c: File removed.
70112         * sysdeps/wordsize-64/iofopen64.c: File removed.
70114 2012-08-01  Marek Polacek  <polacek@redhat.com>
70116         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70117         Use dlfcn directly instead of a variable.
70118         (binfmt-subdir): Do not define.
70119         (dlfcn): Likewise.
70121 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70123         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70124         Remove all definitions.
70125         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70126         <kernel-features.h>.
70127         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70128         (miss_F_GETOWN_EX): Remove all definitions.
70129         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70130         macro definition.
70131         [!__ASSUME_FCNTL64]: Remove conditional code.
70132         [__ASSUME_FCNTL64]: Make code unconditional.
70133         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70134         <kernel-features.h>.
70135         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70136         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70137         (lockf64) [__NR_fcntl64]: Make code unconditional.
70138         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70140         * sysdeps/unix/sysv/linux/kernel-features.h
70141         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70142         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70143         Make code unconditional.
70144         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70145         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70147         [__NR_vfork]: Make code unconditional.
70148         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70149         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70151         [__NR_vfork]: Make code unconditional.
70152         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70153         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70155 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70157         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70158         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70160         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70161         Define mkstemp64 as an alias.
70162         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70163         Define mkstemps64 as an alias.
70164         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70165         Define mkostemp64 as an alias.
70166         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70167         Define mkostemps64 as an alias.
70168         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70169         Conditionalize body on this.
70170         * misc/mkostemp64.c: Likewise.
70171         * misc/mkostemps64.c: Likewise.
70172         * misc/mkstemps64.c: Likewise.
70173         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70174         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70175         * sysdeps/wordsize-64/mkostemp.c: File removed.
70176         * sysdeps/wordsize-64/mkstemp.c: File removed.
70177         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70178         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70179         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70180         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70182         [BZ #14138]
70183         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70184         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70185         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70186         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70188         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70189         compat_symbol macros from <shlib-compat.h> rather than the underlying
70190         default_symbol_version and symbol_version macros, so that DEFAULT
70191         lines in shlib-versions are respected.
70192         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70194 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70196         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70197         Declare with warn_unused_result.
70198         (setgid, setregid, setegid, setresgid): Likewise.
70199         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70200         Likewise.
70201         * WUR-REPORT: Remove set*id functions.
70203 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70205         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70207 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70209         [BZ #10191]
70210         * include/sys/socket.h (__libc_accept, __libc_accept4):
70211         Add attribute_hidden.
70212         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70214         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70215         use of PTR_MANGLE.
70216         * inet/getnetgrent_r.c (setup): Likewise.
70218         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70220 2012-07-31  David S. Miller  <davem@davemloft.net>
70222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70224 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70226         [BZ #13629]
70227         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70228         value between 1.0 and 2.0 and smaller part has absolute value less
70229         than 1.0.
70230         * math/s_clog10.c (__clog10): Likewise.
70231         * math/s_clog10f.c (__clog10f): Likewise.
70232         * math/s_clog10l.c (__clog10l): Likewise.
70233         * math/s_clogf.c (__clogf): Likewise.
70234         * math/s_clogl.c (__clogl): Likewise.
70235         * math/libm-test.inc (clog_test): Add more tests.
70236         (clog10_test): Likewise.
70237         * sysdeps/i386/fpu/libm-test-ulps: Update.
70238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70240 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70242         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70243         Exit with zero in case no suitable GID is found, and write a
70244         message to standard error.
70246 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70248         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70249         rather than to 1.
70250         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70251         (MAXPATHLEN): Removed.
70252         (NOGROUP, NODEV): New macros.
70253         (setbit, clrbit, isset, isclr): New macros.
70254         (howmany, roundup, powerof2): New macros.
70255         (DEV_BSIZE): New macro.
70257         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70258         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70260         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70261         definition on [!__NO_LONG_DOUBLE_MATH].
70263         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70264         PTR_MANGLE and PTR_DEMANGLE.
70266         * socket/accept4.c (accept4): Rename to __libc_accept4.
70267         Define accept4 as a weak alias.
70269         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70270         on [_DIRENT_HAVE_D_TYPE].
70271         * io/ftw.c (ftw_dir): Likewise.
70273         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70275         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70277         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70278         Use the BSD numbers rather than the arbitrary ones we had.
70279         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70280         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70281         (SIGXCPU, SIGXFSZ): New macros.
70282         (_NSIG): Now 32.
70284         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70285         initializer on [_LIBC_REENTRANT].
70287         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70288         definitions inside [_POSIX_MAPPED_FILES].
70290         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70292         * dirent/opendir.c: Include <fcntl.h>.
70294         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70295         (__libc_getspecific): Likewise.
70296         (__libc_key_create): Likewise.
70298         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70299         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70300         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70301         (tmpfile64): Define as alias.
70302         * sysdeps/wordsize-64/tmpfile.c: File removed.
70303         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70304         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70305         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70307         * stdio-common/vfscanf.c: Include <stdbool.h>.
70308         * nss/makedb.c: Likewise.
70309         * stdio-common/_i18n_number.h: Likewise.
70310         * argp/argp-help.c: Likewise.
70311         * posix/wordexp.c: Likewise.
70312         * sysdeps/posix/spawni.c: Likewise.
70313         * nss/nss_files/files-initgroups.c: Likewise.
70314         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70315         * nss/nss_files/files-initgroups.c: Likewise.
70316         * nss/nss_db/db-netgrp.c: Likewise.
70317         * nss/nss_db/db-initgroups.c: Likewise.
70318         * io/fchmodat.c: Include <sys/stat.h>.
70320         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70321         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70323         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70324         [HAVE_MMAP].
70326         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70327         Add multiple inclusion protection.
70329 2012-07-27  David S. Miller  <davem@davemloft.net>
70331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70333 2012-07-27  Gary Benson  <gbenson@redhat.com>
70335         [BZ #14298]
70336         * elf/rtld.c: Include <stap-probe.h>.
70337         (dl_main): Added static probes "init_start" and "init_complete".
70338         * elf/dl-load.c: Include <stap-probe.h>.
70339         (lose): Take new parameter "nsid".
70340         Added static probe "map_failed".
70341         (_dl_map_object_from_fd): Pass namespace id to lose.
70342         Added static probe "map_start".
70343         (open_verify): Pass namespace id to lose.
70344         * elf/dl-open.c: Include <stap-probe.h>.
70345         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70346         and "reloc_complete".
70347         * elf/dl-close.c: Include <stap-probe.h>.
70348         (_dl_close_worker): Added static probes "unmap_start" and
70349         "unmap_complete".
70350         * elf/rtld-debugger-interface.txt: New file documenting the above.
70352 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70354         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70355         rather than a string variable.
70356         * sunrpc/rpc_main.c (h_output): Likewise.
70357         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70359 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70361         * inet/check_native.c: New file.
70363 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70365         [BZ #13629]
70366         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70367         if larger part has absolute value 1.0.
70368         * math/s_clog10.c (__clog10): Likewise.
70369         * math/s_clog10f.c (__clog10f): Likewise.
70370         * math/s_clog10l.c (__clog10l): Likewise.
70371         * math/s_clogf.c (__clogf): Likewise.
70372         * math/s_clogl.c (__clogl): Likewise.
70373         * math/libm-test.inc (clog_test): Add more tests.
70374         (clog10_test): Likewise.
70375         * sysdeps/i386/fpu/libm-test-ulps: Update.
70376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70378         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
70379         (pltexit): Likewise.
70380         (La_regs): Likewise.
70381         (La_retval): Likewise.
70382         (int_retval): Likewise.
70383         Update #error for removed macros to refer only to definitions in
70384         tst-audit.h.
70385         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
70386         macro.
70387         (pltexit): Likewise.
70388         (La_regs): Likewise.
70389         (La_retval): Likewise.
70390         (int_retval): Likewise.
70391         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
70392         macro.
70393         (pltexit): Likewise.
70394         (La_regs): Likewise.
70395         (La_retval): Likewise.
70396         (int_retval): Likewise.
70397         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
70398         macro.
70399         (pltexit): Likewise.
70400         (La_regs): Likewise.
70401         (La_retval): Likewise.
70402         (int_retval): Likewise.
70403         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
70404         macro.
70405         (pltexit): Likewise.
70406         (La_regs): Likewise.
70407         (La_retval): Likewise.
70408         (int_retval): Likewise.
70409         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
70410         macro.
70411         (pltexit): Likewise.
70412         (La_regs): Likewise.
70413         (La_retval): Likewise.
70414         (int_retval): Likewise.
70415         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
70416         macro.
70417         (pltexit): Likewise.
70418         (La_regs): Likewise.
70419         (La_retval): Likewise.
70420         (int_retval): Likewise.
70421         * sysdeps/generic/tst-audit.h: Update comment to refer only to
70422         macro definitions in tst-audit.h.
70423         * sysdeps/i386/tst-audit.h: New file.
70424         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
70425         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
70426         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
70427         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
70428         * sysdeps/sh/tst-audit.h: Likewise.
70429         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
70430         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
70431         * sysdeps/x86_64/tst-audit.h: Likewise.
70433 2012-07-26  Andreas Jaeger  <aj@suse.de>
70435         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
70436         ptrace.
70438         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
70439         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
70440         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
70441         PTRACE_O_MASK.
70442         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
70443         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
70444         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70446         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
70447         value.
70449         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
70450         _sigsys.
70451         (si_call_addr, si_syscall, si_arch): Define new macro.
70452         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
70453         _sigsys.
70454         (si_call_addr, si_syscall, si_arch): Define new marcro.
70455         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70456         _sigsys.
70457         (si_call_addr, si_syscall, si_arch): Define new macro.
70458         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70459         _sigsys.
70460         (si_call_addr, si_syscall, si_arch): Define new macro.
70462 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70464         [BZ #13717]
70465         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70466         Change to 2.4.21 where previously 2.4.1.
70467         * sysdeps/unix/sysv/linux/configure: Regenerated.
70468         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70469         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70470         Linux kernel version.
70471         (__ASSUME_STD_AUXV): Remove.
70472         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70473         kernel version.
70474         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70475         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70476         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70477         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70478         (__ASSUME_NETLINK_SUPPORT): Likewise.
70479         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70480         (__no_netlink_support): Remove conditional definition.
70481         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70482         Remove.
70483         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70484         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70485         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70486         (if_nameindex_ioctl): Remove.
70487         (if_nameindex_netlink): Do not handle __no_netlink_support.
70488         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70489         code.
70490         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70491         Remove conditional code.
70492         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70493         code.
70494         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70495         unconditional.
70496         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70497         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70498         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70499         Remove.
70500         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70501         [!__ASSUME_STD_AUXV]: Remove conditional code.
70502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70503         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70504         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70506         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70507         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70508         code.
70509         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70511         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70512         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70513         conditional code.
70514         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70516         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70517         code.
70518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70519         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70520         conditional code.
70521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70522         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70523         code unconditional.
70524         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70525         conditional code.
70526         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70527         unconditional.
70528         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70529         conditional code.
70530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70531         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70532         unconditional.
70533         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70534         conditional code.
70535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70536         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70537         code unconditional.
70538         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70539         conditional code.
70540         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70541         unconditional.
70542         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70543         conditional code.
70544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70545         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70546         code unconditional.
70547         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70548         conditional code.
70549         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70550         unconditional.
70551         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70552         conditional code.
70554 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70556         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70557         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70558         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70559         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70560         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70561         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70562         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70563         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70564         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70565         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70566         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70567         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70568         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70569         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70570         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70571         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70572         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70573         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70574         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70576         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70577         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70578         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70580 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70582         * Versions.def: Add GLIBC_2.17.
70583         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70584         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70585         Introduce __libc_secure_getenv.
70586         * stdlib/Versions (2.17): Add secure_getenv
70587         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70588         * stdlib/secure-getenv.c: Rename __secure_getenv to
70589         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70590         symbol __secure_getenv for GLIBC_2.0.
70591         * stdlib/tst-secure-getenv.c: New.
70592         * stdlib/Makefile (tests): Add testcase.
70593         * manual/startup.texi (Environment Access): Document
70594         secure_getenv.
70595         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70596         __libc_secure_getenv.
70597         * inet/ruserpass.c (ruserpass): Likewise.
70598         * malloc/mtrace.c (mtrace): Likewise.
70599         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70600         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70601         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70602         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70603         HAVE_SECURE_GETENV.
70604         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70605         __secure_getenv to __libc_secure_getenv.
70606         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70608         Likewise.
70609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70610         Likewise.
70611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70613         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70619 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70621         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70622         (struct La_i86_retval): Likewise.
70623         (struct La_x86_64_regs): Likewise.
70624         (struct La_x86_64_retval): Likewise.
70625         (struct La_x32_regs): Likewise.
70626         (struct La_x32_retval): Likewise.
70627         (struct La_ppc32_regs): Likewise.
70628         (struct La_ppc32_retval): Likewise.
70629         (struct La_ppc64_regs): Likewise.
70630         (struct La_ppc64_retval): Likewise.
70631         (struct La_sh_regs): Likewise.
70632         (struct La_sh_retval): Likewise.
70633         (struct La_s390_32_regs): Likewise.
70634         (struct La_s390_32_retval): Likewise.
70635         (struct La_s390_64_regs): Likewise.
70636         (struct La_s390_64_retval): Likewise.
70637         (struct La_sparc32_regs): Likewise.
70638         (struct La_sparc32_retval): Likewise.
70639         (struct La_sparc64_regs): Likewise.
70640         (struct La_sparc64_retval): Likewise.
70641         (struct audit_ifaces): Remove architecture-specific pltenter and
70642         pltexit members.
70643         * sysdeps/i386/ldsodefs.h: New file.
70644         * sysdeps/powerpc/ldsodefs.h: Likewise.
70645         * sysdeps/s390/ldsodefs.h: Likewise.
70646         * sysdeps/sh/ldsodefs.h: Likewise.
70647         * sysdeps/sparc/ldsodefs.h: Likewise.
70648         * sysdeps/x86_64/ldsodefs.h: Likewise.
70650 2012-07-25  Marek Polacek  <polacek@redhat.com>
70652         [BZ #6808]
70653         * math/libm-test.inc (yn_test): Add another test.
70654         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70655         to ERANGE when the result is +-Inf.
70656         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70657         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70658         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70659         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70661 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70663         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70664         equal to 0.
70665         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70666         clock_t.
70667         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70669 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70671         * configure.in <sysdeps resolving>: Correct printing
70672         Implies_before.
70673         * configure: Regenerate.
70675 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70677         * math/w_ilogb.c: Include <limits.h>.
70678         * math/w_ilogbl.c: Likewise.
70680 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70682         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70683         va_copy.  Document allowing for unavailable va_copy only as
70684         pre-C99 compatibility.
70685         * manual/string.texi (Copying and Concatenation): Use va_copy
70686         instead of __va_copy in concat example.
70688 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70690         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70691         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70692         it if not null.
70694         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70695         with O_NOLINK passed to __file_name_lookup.
70697         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70698         with O_NOLINK passed to __file_name_lookup.
70700         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70701         negative N or less than NGIDS.
70703         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70704         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70705         enough.  Use memcpy instead of strncpy.
70707 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70709         * elf/Makefile (check-data): Remove.
70710         (localplt.data): New vpath directive.
70711         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70712         instead of $(check-data).
70713         * scripts/data/localplt-generic.data: Move to ...
70714         * sysdeps/generic/localplt.data: ... here.
70715         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70716         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70717         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70719         ... here.
70720         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70722         ... here.
70723         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70725         ... here.
70726         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70728         ... here.
70729         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70731         ... here.
70732         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70734         ... here.
70736 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70738         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70739         PPC32 and PPC64 files.
70740         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70741         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70743 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70745         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70746         __makecontext_ret to ...
70747         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70748         ... here and call exit if uc_link is NULL.  New file.
70749         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70750         __makecontext_ret.S.
70751         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70752         __makecontext_ret to ...
70753         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70754         ... here and call exit if uc_link is NULL.  New file.
70755         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70756         __makecontext_ret.S.
70758 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70760         * elf/elf.h (R_390_IRELATIVE): New definition.
70761         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70762         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70763         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70764         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70765         (elf_machine_lazy_rel): Likewise.
70766         * sysdeps/s390/dl-irel.h: New file.
70767         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70768         * sysdeps/s390/s390-64/memset.S: New asm code.
70769         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70770         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70771         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70772         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70773         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70774         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70775         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70776         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70777         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70778         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70779         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70780         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70781         * sysdeps/s390/s390-32/memset.S: New asm code.
70782         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70784 2012-07-17  Marek Polacek  <polacek@redhat.com>
70786         [BZ #14349]
70787         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70788         * sysdeps/s390/s390-64/configure.in: Likewise.
70789         * sysdeps/sparc/configure.in: Likewise.
70790         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70791         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70792         * sysdeps/i386/configure.in: Likewise.
70793         * sysdeps/x86_64/configure.in: Likewise.
70794         * sysdeps/sh/configure.in: Likewise.
70795         * sysdeps/s390/s390-32/configure: Regenerated.
70796         * sysdeps/s390/s390-64/configure: Likewise.
70797         * sysdeps/x86_64/configure: Likewise.
70798         * sysdeps/sh/configure: Likewise.
70799         * sysdeps/powerpc/powerpc64/configure: Likewise.
70800         * sysdeps/powerpc/powerpc32/configure: Likewise.
70801         * sysdeps/sparc/configure: Likewise.
70802         * sysdeps/i386/configure: Likewise.
70804         * elf/dl-open.c: Comment fixes.
70806 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70808         * Makefile [CXX] (check-data): Remove.
70809         [CXX] (c++-types.data): New vpath directive.
70810         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70811         vpath.  Do not allow for C++ type data being missing.
70812         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70813         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70814         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70815         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70816         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70817         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70818         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70820         ... here.
70821         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70823         ... here.
70824         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70826         ... here.
70827         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70829         ... here.
70830         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70832         ... here.
70833         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70835         ... here.
70836         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70838         ... here.
70839         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70842         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70843         definitions to architecture-specific files.
70844         (TLS_IE): Likewise.
70845         (TLS_LD): Likewise.
70846         (TLS_GD): Likewise.
70847         * sysdeps/i386/tls-macros.h: New file.
70848         * sysdeps/powerpc/tls-macros.h: Likewise.
70849         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70850         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70851         * sysdeps/sh/tls-macros.h: Likewise.
70852         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70853         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70854         * sysdeps/x86_64/tls-macros.h: Likewise.
70856 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70858         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70859         zero value for regular exit case.
70861         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70862         (__start_context): Preserve zero value for regular exit case.
70864 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70865             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70867         * manual/setjmp.texi (setcontext): Clarify normal process
70868         termination when uc_link is the null pointer.
70869         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70870         exit call.
70872 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70874         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70875         preprocessor.  Test for each exception mask separately.
70877 2012-07-16  Andreas Jaeger  <aj@suse.de>
70879         * po/ru.po: Update from translation team.
70881 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70883         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70884         equal to 0.
70885         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70886         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70887         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70888         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70889         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70891 2012-07-13  Andreas Jaeger  <aj@suse.de>
70893         * po/fr.po: Update from translation team.
70895 2012-07-12  Marek Polacek  <polacek@redhat.com>
70897         [BZ #14173]
70898         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70899         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70900         loop condition.
70902 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70904         [BZ #13717]
70905         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70906         Change to 2.4.1 where previously 2.4.0.
70907         * sysdeps/unix/sysv/linux/configure: Regenerated.
70908         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70909         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70910         version.
70911         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70912         (__ASSUME_AT_CLKTCK): Remove.
70913         (__ASSUME_AT_PAGESIZE): Likewise.
70914         (__ASSUME_AT_XID): Likewise.
70915         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70916         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70917         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70918         unconditionally.
70919         (HAVE_AUX_PAGESIZE): Likewise.
70920         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70921         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70922         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70924 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70926         [BZ #14307]
70927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70928         the temporary buffer used to invoke __gethostbyname2_r,
70929         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70930         host_data / struct gaih_addrtuple.
70931         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70932         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70933         header file nss/nsswitch.h.
70934         * nss/nsswitch.h (global scope): Add definition of implementation
70935         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70936         resolv/nss_dns/dns-host.c).
70938 2012-07-11  Andreas Jaeger  <aj@suse.de>
70940         * po/fr.po: Update from translation team.
70942         * po/sv.po: Update from translation team
70943         * po/fr.po: Another update from translation team.
70945 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70947         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70948         for subnormals or multiply small sinh result by itself.
70949         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70952 2012-07-11  David S. Miller  <davem@davemloft.net>
70954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70956 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70958         [BZ #14347]
70959         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70960         (INTERNAL_MARK): Shift it here.
70962 2012-07-10  Marek Polacek  <polacek@redhat.com>
70964         [BZ #14151]
70965         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70966         libc_cv_asm_global_directive with .globl.
70967         * configure: Regenerated.
70968         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70969         with .globl.
70970         * sysdeps/i386/configure: Regenerated.
70971         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70972         with .globl.
70973         * sysdeps/x86_64/configure: Regenerated.
70974         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70975         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70976         * elf/tst-unique2mod2.c: Likewise.
70977         * elf/tst-unique2mod1.c: Likewise.
70978         * elf/tst-unique1mod2.c: Likewise.
70979         * elf/tst-unique1mod1.c: Likewise.
70980         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70981         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70982         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70983         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70984         * sysdeps/mach/sysdep.h: Likewise.
70985         * sysdeps/i386/sysdep.h: Likewise.
70986         * sysdeps/i386/i386-mcount.S: Likewise.
70987         * sysdeps/x86_64/_mcount.S: Likewise.
70988         * sysdeps/x86_64/sysdep.h: Likewise.
70989         * sysdeps/sh/_mcount.S: Likewise.
70990         * sysdeps/sh/sysdep.h: Likewise.
70991         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70992         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70993         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70994         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70995         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70996         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70997         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70998         * locale/localeinfo.h: Likewise.
70999         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
71000         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
71002 2012-07-09  Roland McGrath  <roland@hack.frob.com>
71004         [BZ #14336]
71005         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
71006         system".
71007         * manual/message.texi (The Uniforum approach): Likewise.
71008         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
71009         (glibc iconv Implementation): Likewise.
71011 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
71013         [BZ #14337]
71014         * math/s_clog.c (__clog): Avoid scaling a value down where that
71015         could result in underflow.
71016         * math/s_clog10.c (__clog10): Likewise.
71017         * math/s_clog10f.c (__clog10f): Likewise.
71018         * math/s_clog10l.c (__clog10l): Likewise.
71019         * math/s_clogf.c (__clogf): Likewise.
71020         * math/s_clogl.c (__clogl): Likewise.
71021         * math/libm-test.inc (clog_test): Add more tests.
71022         (clog10_test): Likewise.
71023         * sysdeps/i386/fpu/libm-test-ulps: Update.
71024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71026 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
71028         [BZ #14283]
71029         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
71030         by 7 not 8 to examine high bit of fractional part.
71032         [BZ #14042]
71033         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
71034         for call to __mcount_internal.
71035         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
71036         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
71037         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
71039 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
71041         [BZ #14154]
71042         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71043         approximation for values within 0x1p-13f of an odd multiple of
71044         pi/4.
71045         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71046         exception.  Add more tests.
71047         * sysdeps/i386/fpu/libm-test-ulps: Update.
71049         [BZ #6778]
71050         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71051         inputs and return -1 for them.  Do not check for +Inf in case not
71052         reachable for +Inf.
71053         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71054         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71056         and return -1 for them.  Do not check for +Inf in case not
71057         reachable for +Inf.
71058         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71059         define.
71060         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71061         and return -1 for them.  Do not check for +Inf in case not
71062         reachable for +Inf.
71063         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71064         spurious underflow.
71065         * sysdeps/i386/fpu/libm-test-ulps: Update.
71066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71068 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71070         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71072 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71074         [BZ #14157]
71075         [BZ #14331]
71076         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71077         could result in spurious underflow.  Scale down values above
71078         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71079         * math/s_csqrtf.c (__csqrtf): Likewise.
71080         * math/s_csqrtl.c (__csqrtl): Likewise.
71081         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71082         spurious underflow.
71083         * sysdeps/i386/fpu/libm-test-ulps: Update.
71084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71086 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71088         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71089         xopen-msg.sed.
71090         * catgets/xopen-msg.awk: New file.
71091         * catgets/xopen-msg.sed: Removed.
71093         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71094         po2text.sed.
71095         * intl/po2test.awk: New file.
71096         * intl/po2test.sed: Removed.
71098 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71100         [BZ #14328]
71101         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71102         or multiply small sinh result by itself.
71103         * math/s_ctanf.c (__ctanf): Likewise.
71104         * math/s_ctanh.c (__ctanh): Likewise.
71105         * math/s_ctanhf.c (__ctanhf): Likewise.
71106         * math/s_ctanhl.c (__ctanhl): Likewise.
71107         * math/s_ctanl.c (__ctanl): Likewise.
71108         * math/libm-test.inc (ctan_test_tonearest): New function.
71109         (ctan_test_towardzero): Likewise.
71110         (ctan_test_downward): Likewise.
71111         (ctan_test_upward): Likewise.
71112         (ctanh_test_tonearest): Likewise.
71113         (ctanh_test_towardzero): Likewise.
71114         (ctanh_test_downward): Likewise.
71115         (ctanh_test_upward): Likewise.
71116         (main): Call these new functions.
71117         * sysdeps/i386/fpu/libm-test-ulps: Update.
71118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71120 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71122         * .gitignore: Delete /ports entry.
71124 2012-07-03  Andreas Jaeger  <aj@suse.de>
71126         * po/bg.po: Update from translation team.
71127         * po/cs.po: Likewise.
71128         * po/de.po: Likewise.
71129         * po/hr.po: Likewise.
71130         * po/nl.pl: Likewise.
71131         * po/pl.po: Likewise.
71132         * po/vi.po: Likewise.
71134 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71136         * Makeconfig [!+link] (+link-before-libc): New variable.
71137         [!+link] (+link-after-libc): Likewise.
71138         [!+link] (+link-tests): Likewise.
71139         [!+link] (+link): Define in terms of $(+link-before-libc) and
71140         $(+link-after-libc).
71141         [!+link-static] (+link-static-before-libc): New variable.
71142         [!+link-static] (+link-static-after-libc): Likewise.
71143         [!+link-static] (+link-static-tests): Likewise.
71144         [!+link-static] (+link-static): Define in terms of
71145         $(+link-static-before-libc) and $(+link-static-after-libc).
71146         [build-shared] (link-libc-before-gnulib): New variable.
71147         [build-shared] (link-libc-tests): Likewise.
71148         [build-shared] (link-libc): Define in terms of
71149         $(link-libc-before-gnulib).
71150         [!build-shared] (link-libc-tests): New variable.
71151         (link-libc-static-tests): New variable.
71152         [!gnulib] (gnulib-arch): New variable.
71153         [!gnulib] (gnulib-tests): Likewise.
71154         [!gnulib] (static-gnulib-arch): Likewise.
71155         [!gnulib] (static-gnulib-tests): Likewise.
71156         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71157         Define with "=" instead of ":=".
71158         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71159         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71160         * Rules (binaries-all-notests): New variable.
71161         (binaries-all-tests): Likewise.
71162         (binaries-static-notests): Likewise.
71163         (binaries-static-tests): Likewise.
71164         (binaries-all): Define using $(binaries-all-notests) and
71165         $(binaries-all-tests).
71166         (binaries-static): Define using $(binaries-static-notests) and
71167         $(binaries-static-tests).
71168         (binaries-shared-tests): New variable.
71169         (binaries-shared-notests): Likewise.
71170         (binaries-shared): Remove variable.
71171         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71172         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71173         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71174         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71175         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71176         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71177         * elf/Makefile (sln-modules): New variable.
71178         (extra-objs): Add $(sln-modules:=.o).
71179         (ldconfig-modules): Add static-stubs.
71180         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71181         * elf/static-stubs.c: New file.
71183         [BZ #14283]
71184         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71185         by 7 not 8 to examine high bit of fractional part.  Use volatile
71186         variables when splitting into final array of floats if
71187         __FLT_EVAL_METHOD__ != 0.
71188         * math/libm-test.inc (cos_test): Add another test.
71189         (sin_test): Likewise.
71190         * sysdeps/i386/fpu/libm-test-ulps: Update.
71192         [BZ #14273]
71193         * math/libm-test.inc (cosh_test): Add more tests.
71195         * version.h (RELEASE): Set to "development".
71196         (VERSION): Set to "2.16.90".
71198 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71200         * NEWS: Update copyright. Remove last-updated date.
71201         Mention math library bug fixes and timezone data changes.
71202         * README: Mention GNU/Hurd, x32, and HPPA support status.
71204 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71206         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71208 2012-06-27  Andreas Jaeger  <aj@suse.de>
71210         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71212 2012-06-25  Andreas Jaeger  <aj@suse.de>
71214         * sysdeps/s390/fpu/libm-test-ulps: Update.
71216 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71217             Thomas Schwinge  <thomas@codesourcery.com>
71219         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71220         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71222         fanotify_mark.
71224 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71226         * sysdeps/mach/start.c: Remove file.
71227         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71228         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71229         * sysdeps/sh/init-first.c: Likewise.
71231         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71232         registers for frame unwinding purposes, add CFI directives.
71233         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71234         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71235         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71236         Likewise.
71238         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71239         __fortify_fail returning.
71240         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71242         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71243         sysdeps/sh/____longjmp_chk.S.
71244         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71245         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71246         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71247         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71249         * sysdeps/sh/abort-instr.h: New file.
71250         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71251         process in case exit returns.
71253         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71254         initialize the GOT register before use.
71256         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71257         calculation of ARGC > 4.
71259         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71260         meaningful names to some local labels.
71262 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71263             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71265         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71266         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71267         (__arch_compare_and_exchange_val_16_acq): Likewise.
71268         (__arch_compare_and_exchange_val_32_acq): Likewise.
71269         (atomic_exchange_and_add): Fix gUSA sequence.
71270         (atomic_add): Likewise.
71271         (atomic_add_negative): Likewise.
71272         (atomic_add_zero): Likewise.
71273         (atomic_bit_test_set): Likewise.
71275 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71277         [BZ #13579]
71278         * include/link.h (struct link_map): Add l_free_initfini.
71279         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71280         l_initfini.
71281         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71282         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71283         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71284         set.
71286 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71288         * configure.in: Use AC_LANG_SOURCE.
71289         * configure: Regenerate.
71291 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71293         * configure.in (libc_cv_localstatedir): New substituted variable.
71294         * configure: Regenerated.
71295         * config.make.in (localstatedir): New variable, substituted from
71296         libc_cv_localstatedir.
71297         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71298         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71299         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71300         * sysdeps/gnu/configure: Regenerated.
71302 2012-06-21  Jeff Law  <law@redhat.com>
71304         [BZ #14277]
71305         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71306         free.  Simplify list management for _LIBC case.
71308 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71310         [BZ #14273]
71311         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71312         Clear sign bit of 64-bit integer value before comparing against
71313         overflow value.
71315         * sysdeps/mach/configure: Regenerated.
71317 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71319         [BZ #14278]
71320         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71322 2012-06-21  Jeff Law  <law@redhat.com>
71324         [BZ #13882]
71325         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71326         uint16_t for elements in the "seen" array to avoid char overflows.
71327         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71328         * elf/dl-open.c (dl_open_worker): Likewise.
71330 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71332         * scripts/list-sources.sh: Scan PORTS for translations.
71333         * po/libc.pot: Regenerated.
71335 2012-06-21  Andreas Jaeger  <aj@suse.de>
71337         [BZ #12194]
71338         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71339         warning.
71340         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71341         * bits/byteswap-16.h (__bswap_16): Likewise.
71342         * bits/byteswap.h (__bswap_constant_16): Likewise.
71344 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71346         [BZ #14117]
71347         * sysdeps/i386/fpu_control.h: Removed.
71348         * sysdeps/x86_64/fpu_control.h: Moved to ...
71349         * sysdeps/x86/fpu_control.h: Here.
71351         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71352         (_FPU_SETCW): Likewise.
71354 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71356         [BZ #14117]
71357         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71358         * sysdeps/x86/fpu/bits/mathinline.h: This.
71359         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71361         [BZ #14050]
71362         [BZ #14117]
71363         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71364         functions if __x86_64__ is defined.
71366 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71368         * string/endian.h: Add !__ASSEMBLER__ condition for including
71369         conversion interfaces.
71371 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71373         [BZ #14241]
71374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71375         of ABS(x) in calculating zero to negative powers other than odd
71376         integers.
71377         * math/libm-test.inc (pow_test): Add more tests.
71379 2012-06-15  Andreas Jaeger  <aj@suse.de>
71381         * manual/contrib.texi (Contributors): Update entry of Liubov
71382         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
71383         Machado Filho.
71385 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
71387         * string/string.h: Add __wur to GNU version of strerror_r.
71389 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
71391         [BZ #14229]
71392         * string/Makefile (tests): Add tst-strtok_r.
71393         * string/tst-strtok_r.c: New file.
71394         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
71395         RAX_LP/RDX_LP on SAVE_PTR.
71397 2012-06-14  Roland McGrath  <roland@hack.frob.com>
71399         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
71401 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
71403         * libm_test.inc (csqrt_test): Allow more spurious underflow
71404         exceptions.
71405         (j0_test): Likewise.
71406         (j1_test): Likewise.
71407         (y0_test): Likewise.
71408         (y1_test): Likewise.
71410 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
71412         * po/Makefile (libc.pot): Use UTF-8 charset.
71414 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
71416         [BZ #14210]
71417         Suppress sign-conversion warning from FD_SET.
71418         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
71419         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
71420         not unsigned long int.
71421         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
71423 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
71425         [BZ #14050]
71426         [BZ #14117]
71427         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
71428         __extern_always_inline instead of __extern_inline.
71429         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
71430         (__signbit): Likewise.
71431         (__signbitl): Support C++ namespace.
71432         (lrintf): New inline function.
71433         (lrint): Likewise.
71434         (llrintf): Likewise.
71435         (llrint): Likewise.
71436         (fmaxf): Likewise.
71437         (fmax): Likewise.
71438         (fminf): Likewise.
71439         (fmin): Likewise.
71440         (rint): Likewise.
71441         (rintf): Likewise.
71442         (ceil): Likewise.
71443         (ceilf): Likewise.
71444         (floor): Likewise.
71445         (floorf): Likewise.
71446         (nearbyint): Likewise.
71447         (nearbyintf): Likewise.
71449 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
71451         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
71452         non-default versions.
71454 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71456         [BZ #14218]
71457         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71459 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71461         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71462         (FE_UPWARD, FE_DOWNWARD): Don't define.
71463         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71464         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71466         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71467         reading it.
71468         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71469         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71471 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71473         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71474         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71475         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71476         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71478 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71480         [BZ #14117]
71481         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71482         * sysdeps/i386/fpu/Implies: New file.
71483         * sysdeps/x86_64/fpu/Implies: Likewise.
71484         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71485         * sysdeps/x86/fpu/bits/fenv.h: This.
71487         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71488         __SSE_MATH__.
71490 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71492         [BZ #14134]
71493         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71494         character 0xffff that matches the last element of the
71495         conversion table.
71497 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71499         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71500         fmodl commit.
71502 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71504         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71505         values higher than 25.6283.
71507 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71509         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71510         subnormal exponent extraction and add some __builtin_expect.
71511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71512         Fix for subnormal mantissa calculation.
71514 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71516         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71517         cpu2 is -1 and errno is not ENOSYS.
71519 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71521         [BZ #14117]
71522         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71523         * sysdeps/x86/bits/string.h: This.
71524         * sysdeps/x86_64/bits/string.h: Removed.
71526         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71527         if not compiling for x86-64, but compiling for >= i486.
71529         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71530         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71532         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71533         New macro from Linux kernel 3.4.0.
71534         (FP_XSTATE_MAGIC2): Likewise.
71535         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71536         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71537         (struct _fpx_sw_bytes): New struct.
71538         (struct _xsave_hdr): Likewise.
71539         (struct _ymmh_state): Likewise.
71540         (struct _xstate): Likewise.
71542         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71543         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71544         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71545         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71546         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71547         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71549         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71550         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71551         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71552         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71553         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71554         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71556 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71558         [BZ #13743]
71559         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71560         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71561         (sysdep_headers): Include sys/platform/ppc.h.
71562         * sysdeps/powerpc/test-gettimebase.c: Test for
71563         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71564         * manual/Makefile (appendices): Include platform.texi.
71565         * manual/contrib.texi (Contributors): Update @node pointers.
71566         * manual/maint.texi (Maintenance): Likewise.
71567         (Platform): New node.
71568         * manual/platform.texi: New file.  Document the new features.
71570 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71571             Jakub Jelinek  <jakub@redhat.com>
71573         [BZ #14188]
71574         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71575         where __builtin_expect is unavailable.
71577 2012-06-03  David S. Miller  <davem@davemloft.net>
71579         * stdlib/longlong.h: Updated from GCC.
71581 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71583         [BZ #14042]
71584         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71585         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71586         __mcount_internal.
71587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71588         (GLIBC_2.16): Likewise.
71590 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71592         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71594 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71597         (default-abi): New variable.
71598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71599         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71600         variable.
71601         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71602         Likewise.
71603         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71604         Likewise.
71605         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71606         Likewise.
71608         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71609         definition.  Document in comment.
71611 2012-06-01  David S. Miller  <davem@davemloft.net>
71613         * stdlib/longlong.h: Updated from GCC.
71615 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71617         [BZ #14117]
71618         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71619         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71620         sys/debugreg.h sys/io.h here.
71621         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71622         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71623         sys/io.h.
71624         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71625         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71626         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71627         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71628         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71629         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71631         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71632         Define only if __x86_64__ is defined.
71634 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71636         [BZ #14048]
71637         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71638         Use int64_t for variable i.
71639         * math/libm-test.inc (fmod_test): Add more tests.
71641         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71642         z computation is not scheduled after fetestexcept.
71643         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71644         Use math_force_eval instead of asm to ensure calculation scheduled
71645         before exception test.
71646         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71647         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71649 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71652         computation is not scheduled after fetestexcept.
71654 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71656         [BZ #14117]
71657         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71658         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71660 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71662         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71663         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71665 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71667         [BZ #14117]
71668         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71669         <bits/wordsize.h>.
71670         (__WCHAR_MIN): Support __WORDSIZE == 64.
71671         (__WCHAR_MAX): Likewise.
71673         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71674         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71676         [BZ #14183]
71677         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71678         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71680         [BZ #14117]
71681         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71682         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71684         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71685         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71687         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71688         Defined to 1 if __x86_64__ isn't defined.
71689         (_STAT_VER_LINUX_OLD): New.
71690         (st_atime): Remove duplicate.
71691         (st_mtime): Likewise.
71692         (st_ctime): Likewise.
71694 2012-05-31  David S. Miller  <davem@davemloft.net>
71696         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71697         entries.
71699 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71701         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71702         gen-libm-test.pl.
71704         [BZ #14132]
71705         * elf/dl-reloc.c: Include <_itoa.h>.
71706         (_dl_reloc_bad_type): Remove use of INTUSE.
71707         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71708         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71709         * stdio-common/psiginfo.c (psiginfo): Likewise.
71710         * stdio-common/psignal.c (psignal): Likewise.
71711         * string/strsignal.c (strsignal): Likewise.
71712         * include/signal.h (_sys_siglist): Declare hidden proto.
71713         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71714         INTVARDEF with libc_hidden_data_def.
71715         * stdio-common/itoa-udigits.c: Likewise.
71716         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71717         (_itoa_lower_digits_internal): Remove declaration.
71718         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71719         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71720         (_sys_sigabbrev_internal): Remove aliases.
71721         (_sys_siglist): Define hidden alias.
71723 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71726         bits/sysctl.h.
71728 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71730         [BZ #14117]
71731         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71732         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71734         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71735         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71736         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71737         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71738         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71739         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71741         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71742         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71743         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71745         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71746         with __addr.
71747         (insw): Likewise.
71748         (insl): Likewise.
71749         (outsb): Likewise.
71750         (outsw): Likewise.
71751         (outsl): Likewise.
71753         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71754         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71755         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71757         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71758         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71759         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71760         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71761         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71762         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71764         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71765         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71767         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71768         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71770         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71771         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71772         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71774         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71775         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71776         to ...
71777         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71779         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71780         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71781         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71783         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71784         for x86-64.
71785         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71787 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71789         * math/math.h (M_El): Use two more decimal places.
71790         (M_LOG2El): Likewise.
71791         (M_LOG10El): Likewise.
71792         (M_LN2l): Likewise.
71793         (M_LN10l): Likewise.
71794         (M_PIl): Likewise.
71795         (M_PI_2l): Likewise.
71796         (M_PI_4l): Likewise.
71797         (M_1_PIl): Likewise.
71798         (M_2_PIl): Likewise.
71799         (M_2_SQRTPIl): Likewise.
71800         (M_SQRT2l): Likewise.
71801         (M_SQRT1_2l): Likewise.
71803 2012-05-31  David S. Miller  <davem@davemloft.net>
71805         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71806         values between float registers.
71807         * sysdeps/sparc/sparc64/memset.S: Likewise.
71808         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71810 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71812         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71813         -D_FORTIFY_SOURCE=1.
71814         (CPPFLAGS-tst-longjmp_chk.c): Define.
71815         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71816         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71817         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71818         CFLAGS-tst-wchar-h.c.
71820 2012-05-31  Marek Polacek  <polacek@redhat.com>
71822         [BZ #14132]
71823         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71824         __endmntent_internal): Remove declaration.
71825         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71826         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71827         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71829 2012-05-30  David S. Miller  <davem@davemloft.net>
71831         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71832         (___Q_simulate_exceptions): Use real FP ops rather than writing
71833         into the %fsr.
71834         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71835         Likewise.
71837 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71839         [BZ #14117]
71840         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71841         * sysdeps/x86/bits/xtitypes.h: This.
71843         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71844         * sysdeps/x86/bits/wordsize.h: This.
71846         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71847         * sysdeps/x86/bits/huge_vall.h: This.
71849         * sysdeps/i386/bits/select.h: Removed.
71850         * sysdeps/x86_64/bits/select.h: Renamed to ...
71851         * sysdeps/x86/bits/select.h: This.
71853         * sysdeps/i386/bits/setjmp.h: Removed.
71854         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71855         * sysdeps/x86/bits/setjmp.h: This.
71857         * sysdeps/i386/bits/mathdef.h: Removed.
71858         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71859         * sysdeps/x86/bits/mathdef.h: This.
71861 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71863         [BZ #14132]
71864         * include/sys/socket.h (__connect_internal)
71865         (__libc_sa_len_internal): Remove declaration.
71866         (__connect, __libc_sa_len): Declare hidden_proto.
71867         (SA_LEN): Remove use of INTUSE.
71868         * socket/connect.c: Add libc_hidden_def.
71869         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71870         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71871         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71872         alias.
71873         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71874         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71875         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71876         of adding _internal alias.
71878 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71880         [BZ #14117]
71881         * sysdeps/i386/bits/link.h: Removed.
71882         * sysdeps/i386/bits/linkmap.h: Likewise.
71883         * sysdeps/x86_64/bits/link.h: Renamed to ...
71884         * sysdeps/x86/bits/link.h: This.
71885         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71886         * sysdeps/x86/bits/linkmap.h: This.
71888         * sysdeps/i386/bits/endian.h: Removed.
71889         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71890         * sysdeps/x86/bits/endian.h: This.
71892         * sysdeps/i386/bits/byteswap.h: Removed.
71893         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71894         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71895         * sysdeps/x86/bits/byteswap.h: This.
71896         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71897         * sysdeps/x86/bits/byteswap-16.h: This.
71898         * sysdeps/i386/Implies: Add x86.
71899         * sysdeps/x86_64/Implies: Likewise.
71901 2012-05-30  David S. Miller  <davem@davemloft.net>
71903         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71904         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71905         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71906         (FP_TRAPPING_EXCEPTIONS): Define.
71907         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71908         (FP_TRAPPING_EXCEPTIONS): Define.
71909         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71910         subnormals only when inexact has been signalled or underflow
71911         exceptions are enabled.
71912         (_FP_PACK_CANONICAL): Likewise.
71914 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71916         [BZ #14183]
71917         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71918         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71920 2012-05-30  Richard Henderson  <rth@twiddle.net>
71922         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71923         with #ifndef NOT_IN_libc.
71925         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71926         marked to avoid plt entry.
71928 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71930         [BZ #14112]
71931         * Makeconfig (default-abi): New macro.
71932         (abi-includes): Likewise.
71933         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71934         $(abi-$(default-abi)-lib-soname) for soname if defined.
71935         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71936         abi-variants.
71937         * Makefile (installed-stubs): Likewise.
71938         * include/stubs-biarch.h: Removed.
71939         * scripts/lib-names.awk: Only handle one library at a time.
71940         * scripts/soversions.awk: Remove WORDSIZE support.
71941         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71942         entries.
71943         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71944         Removed.
71945         (syscall-list-default-condition): Likewise.
71946         (syscall-list-default-condition): Likewise.
71947         (syscall-list-includes): Likewise.
71948         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71949         syscall-list-* with abi-*.  Handle undefined abi-variants.
71950         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71951         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71952         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71953         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71954         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71955         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71956         Removed.
71957         (syscall-list-32-options): Likewise.
71958         (syscall-list-32-condition): Likewise.
71959         (syscall-list-64-options): Likewise.
71960         (syscall-list-64-condition): Likewise.
71961         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71962         macro.
71963         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71964         Renamed to ...
71965         (abi-*): This.
71966         (abi-64-ld-soname): New macro.
71967         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71968         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71969         Renamed to ...
71970         (abi-*): This.
71971         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71972         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71974 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71976         * sysdeps/unix/sysv/linux/kernel-features.h
71977         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71978         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71979         include <kernel-features.h>.
71980         [!__NR_ftruncate64]: Remove conditional code.
71981         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71982         [__NR_ftruncate64]: Make code unconditional.
71983         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71984         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71985         include <kernel-features.h>.
71986         [!__NR_ftruncate64]: Remove conditional code.
71987         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71988         [__NR_ftruncate64]: Make code unconditional.
71989         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71991         include <kernel-features.h>.
71992         [!__NR_ftruncate64]: Remove conditional code.
71993         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71994         [__NR_ftruncate64]: Make code unconditional.
71995         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71997         include <kernel-features.h>.
71998         [!__NR_ftruncate64]: Remove conditional code.
71999         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72000         [__NR_ftruncate64]: Make code unconditional.
72001         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72003         * configure.in (libc_cv_fpie): Weaken to a compile test using
72004         LIBC_TRY_CC_OPTION.
72005         * configure: Regenerated.
72007 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
72010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
72011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
72012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72013         Refreshed.
72014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
72015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
72016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
72017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
72018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
72019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72020         Refreshed.
72022 2012-05-27  David S. Miller  <davem@davemloft.net>
72024         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
72025         (___Q_zero): New.
72026         (__Q_simulate_exceptions): Return void.  Change to simulate
72027         exceptions by writing into the %fsr.
72028         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
72029         (__Qp_handle_exceptions): Likewise.
72030         (numbers): Delete.
72031         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
72032         __Qp_handle_exceptions.
72033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
72034         __Qp_handle_exceptions.
72035         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72036         as unused and give dummy FP_RND_NEAREST initializer.
72037         (FP_INHIBIT_RESULTS): Define.
72038         (___Q_simulate_exceptions): Update declaration.
72039         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
72040         formatting.
72041         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72042         as unused and give dummy FP_RND_NEAREST initializer.
72043         (__Qp_handle_exceptions): Update declaration.
72044         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72045         formatting.
72047 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72049         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72050         the temporary FPU control word.
72051         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72052         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72053         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72054         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72055         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72056         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72057         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72058         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72059         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72060         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72061         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72063 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72065         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72066         fields.
72068 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72070         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72071         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72072         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72073         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72074         Likewise.
72075         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72076         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72077         Likewise.
72079 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72081         * po/h.po: Update from translation team.
72083 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72085         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72087         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72088         handling of denormals.
72089         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72090         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72091         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72092         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72093         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72094         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72095         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72096         Likewise.
72098 2012-05-26  Marek Polacek  <polacek@redhat.com>
72100         [BZ #14152]
72101         * math/libm-test.inc (fma_test): Don't always expect underflow
72102         exception.
72104 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72106         [BZ #12416]
72107         * elf/tst-execstack.c: Include stackinfo.h.
72108         (do_test): Adjust test case to ensure that pthread_getattr_np
72109         behaviour remains the same after marking stack executable.
72111 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72113         * sysdeps/unix/sysv/linux/kernel-features.h
72114         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72115         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72116         kernel-features.h.
72117         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72118         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72119         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72120         kernel-features.h.
72121         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72122         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72124 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72126         * configure.in: Define the default includes to being none.
72127         * configure: Regenerated.
72129 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72131         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72132         * sysdeps/x86_64/setjmp.S: Likewise.
72133         * sysdeps/i386/bsd-setjmp.S: Likewise.
72134         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72135         * sysdeps/i386/setjmp.S: Likewise.
72136         * sysdeps/i386/__longjmp.S: Likewise.
72137         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72138         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72140         * include/stap-probe.h: New file.
72141         * configure.in: Handle --enable-systemtap.
72142         * configure: Regenerated.
72143         * config.h.in (USE_STAP_PROBE): New #undef.
72144         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72145         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72146         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72148 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72150         [BZ #13717]
72151         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72152         to 2.4.0 where earlier.
72153         * sysdeps/unix/sysv/linux/configure: Regenerated.
72154         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72155         <kernel-features.h>.
72156         [__ASSUME_32BITUIDS]: Make code unconditional.
72157         [!__ASSUME_32BITUIDS]: Remove conditional code.
72158         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72159         <kernel-features.h>.
72160         [__ASSUME_32BITUIDS]: Make code unconditional.
72161         [!__ASSUME_32BITUIDS]: Remove conditional code.
72162         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72163         [__ASSUME_32BITUIDS]: Make code unconditional.
72164         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72165         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
72166         <kernel-features.h>.
72167         [__ASSUME_32BITUIDS]: Make code unconditional.
72168         [!__ASSUME_32BITUIDS]: Remove conditional code.
72169         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
72170         <kernel-features.h>.
72171         [__ASSUME_32BITUIDS]: Make code unconditional.
72172         [!__ASSUME_32BITUIDS]: Remove conditional code.
72173         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
72174         <kernel-features.h>.
72175         [__ASSUME_32BITUIDS]: Make code unconditional.
72176         [!__ASSUME_32BITUIDS]: Remove conditional code.
72177         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
72178         <kernel-features.h>.
72179         [__ASSUME_32BITUIDS]: Make code unconditional.
72180         [!__ASSUME_32BITUIDS]: Remove conditional code.
72181         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
72206         <kernel-features.h>.
72207         [__NR_setresgid] (__setresgid): Do not declare.
72208         [__ASSUME_32BITUIDS]: Make code unconditional.
72209         [!__ASSUME_32BITUIDS]: Remove conditional code.
72210         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72211         <kernel-features.h>.
72212         [__NR_setresuid] (__setresuid): Do not declare.
72213         [__ASSUME_32BITUIDS]: Make code unconditional.
72214         [!__ASSUME_32BITUIDS]: Remove conditional code.
72215         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
72216         <kernel-features.h>.
72217         [__ASSUME_32BITUIDS]: Make code unconditional.
72218         [!__ASSUME_32BITUIDS]: Remove conditional code.
72219         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
72220         <kernel-features.h>.
72221         [__ASSUME_32BITUIDS]: Make code unconditional.
72222         [!__ASSUME_32BITUIDS]: Remove conditional code.
72223         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
72224         <kernel-features.h>.
72225         [__ASSUME_32BITUIDS]: Make code unconditional.
72226         [!__ASSUME_32BITUIDS]: Remove conditional code.
72227         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
72228         <kernel-features.h>.
72229         [__ASSUME_32BITUIDS]: Make code unconditional.
72230         [!__ASSUME_32BITUIDS]: Remove conditional code.
72231         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
72232         <kernel-features.h>.
72233         [__ASSUME_32BITUIDS]: Make code unconditional.
72234         [!__ASSUME_32BITUIDS]: Remove conditional code.
72235         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
72236         <kernel-features.h>.
72237         [__ASSUME_32BITUIDS]: Make code unconditional.
72238         [!__ASSUME_32BITUIDS]: Remove conditional code.
72239         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
72240         <kernel-features.h>.
72241         [__ASSUME_32BITUIDS]: Make code unconditional.
72242         [!__ASSUME_32BITUIDS]: Remove conditional code.
72243         * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.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/i386/shmctl.c: Do not include
72252         <kernel-features.h>.
72253         [__ASSUME_32BITUIDS]: Make code unconditional.
72254         [!__ASSUME_32BITUIDS]: Remove conditional code.
72255         * sysdeps/unix/sysv/linux/kernel-features.h
72256         (__ASSUME_SETRESUID_SYSCALL): Remove.
72257         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72258         (__ASSUME_32BITUIDS): Likewise.
72259         (__ASSUME_LDT_WORKS): Likewise.
72260         (__ASSUME_O_DIRECTORY): Likewise.
72261         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72262         architecture but not kernel version.
72263         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72264         (__ASSUME_MMAP2_SYSCALL): Likewise.
72265         (__ASSUME_STAT64_SYSCALL): Likewise.
72266         (__ASSUME_IPC64): Likewise.
72267         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72268         <kernel-features.h>.
72269         [__ASSUME_32BITUIDS]: Make code unconditional.
72270         [!__ASSUME_32BITUIDS]: Remove conditional code.
72271         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72272         <kernel-features.h>.
72273         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72274         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72275         132096]: Remove conditional code.
72276         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72277         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72278         <kernel-features.h>.
72279         [__ASSUME_32BITUIDS]: Make code unconditional.
72280         [!__ASSUME_32BITUIDS]: Remove conditional code.
72281         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72282         <kernel-features.h>.
72283         [__ASSUME_32BITUIDS]: Make code unconditional.
72284         [!__ASSUME_32BITUIDS]: Remove conditional code.
72285         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72286         <kernel-features.h>.
72287         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72288         unconditional.
72289         (__setresgid): Do not declare.
72290         [__ASSUME_32BITUIDS]: Make code unconditional.
72291         [!__ASSUME_32BITUIDS]: Remove conditional code.
72292         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72293         <kernel-features.h>.
72294         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72295         unconditional.
72296         (__setresuid): Do not declare.
72297         [__ASSUME_32BITUIDS]: Make code unconditional.
72298         [!__ASSUME_32BITUIDS]: Remove conditional code.
72299         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72300         <kernel-features.h>.
72301         [__ASSUME_32BITUIDS]: Make code unconditional.
72302         [!__ASSUME_32BITUIDS]: Remove conditional code.
72303         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72304         <kernel-features.h>.
72305         [__ASSUME_32BITUIDS]: Make code unconditional.
72306         [!__ASSUME_32BITUIDS]: Remove conditional code.
72308 2012-05-25  Richard Henderson  <rth@twiddle.net>
72310         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72311         dl_hwcap to ifunc resolver.
72312         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72313         elf_ifunc_invoke.
72314         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72315         dl_hwcap to ifunc resolver.
72316         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72318 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72320         [BZ #14153]
72321         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72322         for |x| <= 2**-26, not 2**-57.
72323         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72324         exception.
72326 2012-05-24  Jeff Law  <law@redhat.com>
72328         * stdio-common/Makefile (tests): Add bug25.
72329         * stdio-common/bug25.c: New test.
72331 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72333         [BZ #13576]
72334         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72335         multiple of MALLOC_ALIGNMENT in size.
72336         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72338 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72340         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72341         Require >= 256.
72342         (FILENAME_MAX): Use macro-int-constant.
72343         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72344         (_IOFBF): Use macro-int-constant.
72345         (_IOLBF): Likewise.
72346         (_IONBF): Likewise.
72347         (SEEK_CUR): Likewise.
72348         (SEEK_END): Likewise.
72349         (SEEK_SET): Likewise.
72350         (TMP_MAX): Likewise.
72351         (EOF): Use macro-int-constant.  Require < 0.
72352         (NULL): Use macro-constant.  Require == 0.
72353         (stdin): Require type to be FILE *.
72354         (stdout): Likewise.
72355         (stderr): Likewise.
72356         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72357         macro-int-constant.
72358         (EXIT_SUCCESS): Likewise.
72359         (NULL): Use macro-constant.  Require == 0.
72360         (RAND_MAX): Use macro-int-constant.
72361         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72362         [C99-based standards] (strtof): Require function.
72363         [C99-based standards] (strtold): Likewise.
72364         [C99-based standards] (strtoll): Likewise.
72365         [C99-based standards] (strtoull): Likewise.
72366         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72367         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72368         [ISO || ISO99 || ISO11] (math.h): Likewise.
72369         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72370         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72371         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72373 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72375         [BZ #14132]
72376         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72377         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72378         * intl/dgettext.c (DCGETTEXT): Likewise.
72379         * intl/gettext.c (DCGETTEXT): Likewise.
72380         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
72381         * posix/regex_internal.h (gettext): Likewise.
72382         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
72383         Remove declaration.
72384         * include/argz.h (__argz_count_internal)
72385         (__argz_stringify_internal): Remove declaration.
72386         (__argz_count, __argz_stringify): Declare hidden proto.
72387         * intl/dcgettext.c: Remove use of INTDEF.
72388         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72389         * string/argz-stringify.c: Likewise.
72390         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72391         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72392         Declare hidden proto.
72393         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72394         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72395         Declare hidden proto.
72396         * include/stdio.h (__asprintf_internal): Don't declare.
72397         (__asprintf): Don't define as macro.  Declare hidden proto.
72398         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
72399         (__fsetlocking): Declare hidden proto.
72400         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
72401         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72402         hidden proto.
72403         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
72404         (_IO_setlinebuf): Remove use of INTUSE.
72405         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
72406         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
72407         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
72408         Remove declaration.
72409         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
72410         (_IO_do_flush): Remove use of INTUSE.
72411         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
72412         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
72413         (_IO_adjust_column, _IO_least_wmarker)
72414         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
72415         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
72416         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
72417         (_IO_default_doallocate, _IO_wdefault_doallocate)
72418         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
72419         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
72420         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
72421         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
72422         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
72423         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
72424         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
72425         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
72426         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
72427         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
72428         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
72429         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
72430         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
72431         proto.
72432         (_IO_flush_all_internal, _IO_adjust_column_internal)
72433         (_IO_default_uflow_internal, _IO_default_finish_internal)
72434         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
72435         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
72436         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
72437         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
72438         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
72439         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
72440         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
72441         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
72442         (_IO_file_close_internal, _IO_file_close_it_internal)
72443         (_IO_file_underflow_internal, _IO_file_overflow_internal)
72444         (_IO_file_init_internal, _IO_file_attach_internal)
72445         (_IO_file_fopen_internal, _IO_file_read_internal)
72446         (_IO_file_sync_internal, _IO_file_seek_internal)
72447         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
72448         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
72449         (_IO_str_underflow_internal, _IO_str_overflow_internal)
72450         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
72451         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
72452         (_IO_list_all_internal, _IO_link_in_internal)
72453         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
72454         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
72455         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72456         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72457         (_IO_do_write_internal, _IO_padn_internal)
72458         (_IO_getline_info_internal, _IO_getline_internal)
72459         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72460         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72461         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72462         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72463         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72464         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72465         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72466         with libc_hidden_ver, remove use of INTUSE.
72467         * libio/genops.c: Likewise.
72468         * libio/freopen.c: Likewise.
72469         * libio/freopen64.c: Likewise.
72470         * libio/iofclose.c: Likewise.
72471         * libio/iofdopen.c: Likewise.
72472         * libio/iofflush.c: Likewise.
72473         * libio/iofflush_u.c: Likewise.
72474         * libio/iofgets.c: Likewise.
72475         * libio/iofgets_u.c: Likewise.
72476         * libio/iofopen.c: Likewise.
72477         * libio/iofopncook.c: Likewise.
72478         * libio/iofread.c: Likewise.
72479         * libio/iofread_u.c: Likewise.
72480         * libio/ioftell.c: Likewise.
72481         * libio/iofwrite.c: Likewise.
72482         * libio/iogetline.c: Likewise.
72483         * libio/iogets.c: Likewise.
72484         * libio/iogetwline.c: Likewise.
72485         * libio/iopadn.c: Likewise.
72486         * libio/iopopen.c: Likewise.
72487         * libio/ioseekoff.c: Likewise.
72488         * libio/ioseekpos.c: Likewise.
72489         * libio/iosetbuffer.c: Likewise.
72490         * libio/iosetvbuf.c: Likewise.
72491         * libio/ioungetc.c: Likewise.
72492         * libio/ioungetwc.c: Likewise.
72493         * libio/iovdprintf.c: Likewise.
72494         * libio/iovsprintf.c: Likewise.
72495         * libio/iovsscanf.c: Likewise.
72496         * libio/memstream.c: Likewise.
72497         * libio/obprintf.c: Likewise.
72498         * libio/oldfileops.c: Likewise.
72499         * libio/oldiofclose.c: Likewise.
72500         * libio/oldiofdopen.c: Likewise.
72501         * libio/oldiofopen.c: Likewise.
72502         * libio/oldiopopen.c: Likewise.
72503         * libio/oldstdfiles.c: Likewise.
72504         * libio/putc.c: Likewise.
72505         * libio/setbuf.c: Likewise.
72506         * libio/setlinebuf.c: Likewise.
72507         * libio/stdfiles.c: Likewise.
72508         * libio/strops.c: Likewise.
72509         * libio/vasprintf.c: Likewise.
72510         * libio/vscanf.c: Likewise.
72511         * libio/vsnprintf.c: Likewise.
72512         * libio/vswprintf.c: Likewise.
72513         * libio/wfiledoalloc.c: Likewise.
72514         * libio/wfileops.c: Likewise.
72515         * libio/wgenops.c: Likewise.
72516         * libio/wmemstream.c: Likewise.
72517         * libio/wstrops.c: Likewise.
72518         * libio/__fpurge.c: Likewise.
72519         * libio/__fsetlocking.c: Likewise.
72520         * assert/assert.c: Likewise.
72521         * debug/fgets_chk.c: Likewise.
72522         * debug/fgets_u_chk.c: Likewise.
72523         * debug/fread_chk.c: Likewise.
72524         * debug/fread_u_chk.c: Likewise.
72525         * debug/gets_chk.c: Likewise.
72526         * debug/obprintf_chk.c: Likewise.
72527         * debug/vasprintf_chk.c: Likewise.
72528         * debug/vdprintf_chk.c: Likewise.
72529         * debug/vsnprintf_chk.c: Likewise.
72530         * debug/vsprintf_chk.c: Likewise.
72531         * malloc/mtrace.c: Likewise.
72532         * misc/error.c: Likewise.
72533         * misc/syslog.c: Likewise.
72534         * stdio-common/asprintf.c: Likewise.
72535         * stdio-common/fxprintf.c: Likewise.
72536         * stdio-common/getw.c: Likewise.
72537         * stdio-common/isoc99_fscanf.c: Likewise.
72538         * stdio-common/isoc99_scanf.c: Likewise.
72539         * stdio-common/isoc99_vfscanf.c: Likewise.
72540         * stdio-common/isoc99_vscanf.c: Likewise.
72541         * stdio-common/isoc99_vsscanf.c: Likewise.
72542         * stdio-common/printf-prs.c: Likewise.
72543         * stdio-common/printf_fp.c: Likewise.
72544         * stdio-common/printf_fphex.c: Likewise.
72545         * stdio-common/printf_size.c: Likewise.
72546         * stdio-common/putw.c: Likewise.
72547         * stdio-common/scanf.c: Likewise.
72548         * stdio-common/sprintf.c: Likewise.
72549         * stdio-common/tmpfile.c: Likewise.
72550         * stdio-common/vfprintf.c: Likewise.
72551         * stdio-common/vfscanf.c: Likewise.
72552         * stdlib/strfmon_l.c: Likewise.
72553         * sunrpc/openchild.c: Likewise.
72554         * sunrpc/xdr_stdio.c: Likewise.
72555         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72556         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72558 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72560         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72562         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72563         in the third column, to generate for the shared library an IFUNC
72564         that uses _dl_vdso_vsym.
72565         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72566         * Makeconfig (object-suffixes-noshared): New variable.
72568         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72569         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72570         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72571         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72573         [BZ #14132]
72574         * include/sys/time.h (__gettimeofday): Remove macro.
72575         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72576         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72577         Remove INTDEF.
72578         (__gettimeofday): Add libc_hidden_def.
72579         (gettimeofday): Add libc_hidden_weak.
72580         * sysdeps/mach/gettimeofday.c: Likewise.
72581         * sysdeps/posix/gettimeofday.c: Likewise.
72582         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72583         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72584         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72585         (__gettimeofday_internal): Remove strong_alias.
72586         (__gettimeofday): Add libc_hidden_def.
72587         (gettimeofday): Add libc_hidden_weak.
72588         * sysdeps/unix/syscalls.list (gettimeofday):
72589         Remove __gettimeofday_internal alias.
72591 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72592             H.J. Lu  <hongjiu.lu@intel.com>
72594         [BZ #12495]
72595         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72596         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72597         (largebin_index_32_big): New.
72598         (largebin_index): Use it for 16-byte alignment.
72599         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72600         correction with front_misalign.
72602 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72606         Likewise.
72607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72608         Likewise.
72609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72610         Likewise.
72611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72612         Likewise.
72613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72614         Likewise.
72615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72616         Likewise.
72617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72618         Likewise.
72619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72620         Likewise.
72621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72622         Likewise.
72623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72624         Likewise.
72625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72626         Likewise.
72627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72628         Likewise.
72630         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72631         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72633 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72635         [BZ #10846]
72636         [BZ #14036]
72637         * math/libm-test.inc (exp_test): Add test from bug 14036.
72638         (pow_test): Add test from bug 10846.
72640         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72641         and other flags.
72642         (special_function): Do not include flags in test name.
72643         (parse_args): Likewise.
72644         * sysdeps/i386/fpu/libm-test-ulps: Update.
72645         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72646         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72647         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72650         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72651         exceptions.
72652         * math/libm-test.inc ("Philosophy"): Update comment about
72653         exception testing.
72654         (UNDERFLOW_EXCEPTION): New macro.
72655         (UNDERFLOW_EXCEPTION_OK): Likewise.
72656         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72657         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72658         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72659         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72660         (INVALID_EXCEPTION_OK): Update value.
72661         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72662         (OVERFLOW_EXCEPTION_OK): Likewise.
72663         (IGNORE_ZERO_INF_SIGN): Likewise.
72664         (test_exceptions): Handle underflow exceptions.
72665         (acos_test): Update for underflow exception expectations.
72666         (cexp_test): Likewise.
72667         (clog_test): Likewise.
72668         (clog10_test): Likewise.
72669         (csqrt_test): Likewise.
72670         (ctan_test): Likewise.
72671         (ctanh_test): Likewise.
72672         (exp_test): Likewise.
72673         (exp10_test): Likewise.
72674         (exp2_test): Likewise.
72675         (expm1_test): Likewise.
72676         (fma_test): Likewise.
72677         (j0_test): Likewise.
72678         (jn_test): Likewise.
72679         (nexttoward_test): Likewise.
72680         (pow_test): Likewise.
72681         (scalbn_test): Likewise.
72682         (scalbln_test): Likewise.
72683         (tan_test): Likewise.
72684         (y1_test): Likewise.
72685         * sysdeps/i386/fpu/libm-test-ulps: Update.
72686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72688 2012-05-23  David S. Miller  <davem@davemloft.net>
72690         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72691         (__libc_sigaction): Remove unused local variables.
72693 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72695         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72697 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72699         mktime: avoid signed integer overflow
72700         * time/mktime.c (__mktime_internal): Do not mishandle the case
72701         where diff == INT_MIN.
72703         mktime: simplify computation of average
72704         * time/mktime.c (ranged_convert): Use new time_t_avg function
72705         instead of rolling our own (probably-slower) code.
72707         mktime: do not assume signed right shift propagates sign bit
72708         * time/mktime.c (isdst_differ): New static function.
72709         (__mktime_internal): No need to normalize tm_isdst now.
72710         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72711         tm_isdst values.
72713         mktime: merge another wrapv change from gnulib
72714         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72715         from some compilers.
72717         mktime: remove incorrect attempt at unusual arithmetics
72718         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72719         The code didn't really work on such machines anyway.
72720         (TYPE_MINIMUM): Assume two's complement.
72721         (twos_complement_arithmetic): Verify that long_int and time_t
72722         are two's complement (or unsigned, in the latter case).
72724         mktime: check signed shifts on long_int and time_t, too
72725         * time/mktime.c (SHR): Check that shifts work as desired
72726         on the types long_int and time_t too, as SHR is used on
72727         such types.
72729         mktime: do not assume 'long' is wide enough
72730         * time/mktime.c (verify): Move decl up.
72731         (long_int): New type.
72732         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72733         to remove assumption in the code that 'long' is wide enough to
72734         store year values.  This assumption is not true on x32 and on
72735         some non-glibc platforms.
72737         mktime: merge wrapv change from gnulib
72738         * time/mktime.c (WRAPV): New macro.
72739         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72740         (guess_time_tm, __mktime_internal): Do not assume that signed
72741         integer overflow wraps around; modern compilers generate code
72742         where this assumption is no longer valid.
72744 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72746         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72747         Replace "jmp L(pseudo_end)" with "ret".
72748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72749         Likewise.
72751 2012-05-23  Andreas Jaeger  <aj@suse.de>
72753         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72754         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72756 2012-05-23  Andreas Jaeger  <aj@suse.de>
72757             Maximilian Attems  <max@stro.at>
72759         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72760         New macros.
72762 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72764         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72765         code so that pseudo_end is just ret and the stack pointer is
72766         correct also for static library in error case.
72768 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72770         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72771         move to syscalls.list.
72772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72777         * manual/install.texi (Running make install): Do not mention Linux
72778         kernel version for which pt_chown is not needed.
72779         (Linux): Do not mention problems with nscd with 2.0 kernels.
72780         * INSTALL: Regenerated.
72782 2012-05-23  Andreas Jaeger  <aj@suse.de>
72784         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72785         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72786         macro.
72787         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72788         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72789         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72790         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72791         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72792         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72793         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72794         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72795         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72796         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72797         * sysdeps/unix/sysv/linux/bits/in.h
72798         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72800 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72802         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72803         (PREPARE_VERSION): Just use assert instead, it will be elided
72804         under [NDEBUG] anyway.
72806 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72808         * sysdeps/unix/sysv/linux/Makefile: Include
72809         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72810         (sysdep_routines): Remove sysctl.
72811         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72812         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72813         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72814         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72815         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72817 2012-05-22  Andreas Jaeger  <aj@suse.de>
72819         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72820         that pseudo_end is just ret and the stack pointer is correct also
72821         for static library in error case.
72823 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72825         [BZ #14122]
72826         * nss/nsswitch.c (defconfig_entries): New variable.
72827         (__nss_database_lookup): Don't leak defconfig entries.
72828         (nss_parse_service_list): Don't leak on error paths.
72829         (free_database_entries): New function.
72830         (free_defconfig): New function.
72831         (free_mem): Move common code to free_database_entries.
72833 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72835         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72836         Add arch_prctl.
72837         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72839         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72840         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72842         New macro.
72843         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72844         (INTERNAL_SYSCALL_TYPES): Likewise.
72845         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72846         (LOAD_REGS_TYPES_[1-6]): Likewise.
72847         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72848         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72850 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72852         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72853         copysignl for GLIBC_2_0.
72854         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72855         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72857         logbl for GLIBC_2_0.
72858         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72859         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72861 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72863         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72864         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72866         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72867         Use "neg %eax".
72869         * time/mktime.c: Update copyright years.
72871 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72873         mktime: merge comment-quoting-style change from gnulib
72874         * time/mktime.c: Quote 'like this' in comments.
72875         The GNU coding standards suggest that we no longer quote `like this',
72876         as "`" and "'" are typically rendered asymmetrically nowadays.
72877         The typical gnulib style is to quote 'like this' when quoting
72878         code, and "like this" when quoting English.
72880         * time/mktime.c (compile-command): Add "-I.".
72882         mktime: merge mktime-internal.h change from gnulib
72883         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72885         mktime: merge time_r change from gnulib
72886         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72888         mktime: merge DEBUG change from gnulib
72889         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72890         case system <time.h> has a #define.
72892         mktime: merge <sys/types.h> change from gnulib
72893         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72894         since <time.t> is now guaranteed to define time_t.
72896         mktime: merge HAVE_CONFIG_H change from gnulib
72897         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72899 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72902         Use "neg %eax".
72904         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72905         __rlim_t cast.
72906         (struct rusage): Use anonymous union to pad each field to
72907         __syscall_slong_t.
72909 2012-05-21  David S. Miller  <davem@davemloft.net>
72911         * Makefules (o-iterator): Remove .s cases.
72912         (compile-command.s): Delete.
72913         (COMPILE.s): Delete.
72914         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72916 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72918         * configure.in (libc_cv_predef_stack_protector): Only consider
72919         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72920         * configure: Regenerated.
72922 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72925         New macro.  Use R*LP on int and pointer.
72926         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72927         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72928         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72929         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72931         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72932         [__WORDSIZE_TIME64_COMPAT32] instead of
72933         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72934         (struct utmp): Likewise.
72935         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72936         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72937         Renamed to ...
72938         (__WORDSIZE_TIME64_COMPAT32): This.
72939         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72940         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72941         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72942         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72943         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72944         (__WORDSIZE_TIME64_COMPAT32): New macro.
72946 2012-05-21  Andreas Jaeger  <aj@suse.de>
72948         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72949         only if [SHARED]. Add prototype for __wcschr_ia32.
72951 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72953         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72954         of %rbp unmolested in the jmp_buf while mangling the low bits.
72955         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72956         unmolested high bits of %rbp while demangling the low bits.
72957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72959 2012-05-21  Andreas Jaeger  <aj@suse.de>
72961         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72962         * sunrpc/svc_simple.c: Use it for registerrpc.
72963         * sunrpc/xcrypt.c: Use it for passwd2des.
72965         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72967 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72969         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72970         Don't define if [__SYSCALL_WORDSIZE != 32].
72971         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72972         New macro.
72974 2012-05-21  Bruno Haible  <bruno@clisp.org>
72975             Andreas Jaeger  <aj@suse.de>
72977         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72978         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72979         inptr and inend for must_buffer_ch.
72980         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72981         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72982         * stdio-common/Makefile (tests): Remove bug15.
72983         (bug15-ENV): Remove macro.
72984         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72985         anymore.
72987 2012-05-19  Andreas Jaeger  <aj@suse.de>
72988             Roland McGrath  <roland@hack.frob.com>
72990         * manual/contrib.texi: Completely rewritten. It contains now an
72991         alphabetical list of contributors and their contributions.
72993 2012-05-21  Richard Henderson  <rth@twiddle.net>
72995         * misc/getauxval.c (__getauxval): Use unsigned long int.
72996         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72997         (getauxval): Use unsigned long int.
72999 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73001         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73003 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73005         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
73006         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
73007         __alignof__ (long double).
73009 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73013 2012-05-20  Richard Henderson  <rth@twiddle.net>
73015         * misc/getauxval.c: New file.
73016         * misc/sys/auxv.h: New file.
73017         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
73018         (routines): Add getauxval.
73019         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
73020         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
73021         * elf/dl-sysdep.c (_dl_auxv): Remove.
73022         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
73023         * elf/dl-support.c (_dl_auxv): New variable.
73024         (_dl_aux_init): Initialize it.
73025         * manual/startup.texi (Auxiliary Vector): New node.
73026         * sysdeps/generic/bits/hwcap.h: New file.
73027         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
73028         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
73029         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
73030         * sysdeps/sparc/sysdep.h: ... here.  Include it.
73031         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
73032         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
73033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73034         Update.
73035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
73036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
73037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
73038         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
73039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73044 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73048 2012-05-19  David S. Miller  <davem@davemloft.net>
73050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73052 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73054         [BZ #14123]
73055         * math/s_ccosh.c: Include <float.h>
73056         (__ccosh): Avoid internal overflow calculating sinh and cosh
73057         values before multiplying by sin and cos values.
73058         * math/s_ccoshf.c: Likewise.
73059         * math/s_ccoshl.c: Likewise.
73060         * math/s_csin.c: Likewise.
73061         * math/s_csinf.c: Likewise.
73062         * math/s_csinl.c: Likewise.
73063         * math/s_csinh.c: Likewise.
73064         * math/s_csinhf.c: Likewise.
73065         * math/s_csinhl.c: Likewise.
73066         * math/libm-test.inc (ccos_test): Add more tests.
73067         (ccosh_test): Likewise.
73068         (csin_test): Likewise.
73069         (csinh_test): Likewise.
73070         * sysdeps/i386/fpu/libm-test-ulps: Update.
73071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73073 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73075         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73076         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73078         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73080 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73082         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73083         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73084         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73085         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73086         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73087         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73088         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73089         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73090         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73091         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73092         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73093         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73094         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73095         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73096         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73097         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73098         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73099         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73100         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73101         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73102         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73103         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73104         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73105         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73106         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73107         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73108         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73109         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73110         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73111         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73112         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73114 2012-05-18  Andreas Jaeger  <aj@suse.de>
73116         * csu/.gitignore: Delete.
73118 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73120         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73121         (timex): Use __syscall_slong_t.
73123 2012-05-18  Andreas Jaeger  <aj@suse.de>
73124             Carlos O'Donell  <carlos_odonell@mentor.com>
73126         * manual/install.texi (Configuring and compiling): Update
73127         description about files modified in the source directory.
73128         * INSTALL: Regenerated.
73130 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73132         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73133         value.  Use "or" to set return value to -1.
73134         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73135         negate return value.
73137 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73139         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73140         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73141         failure if the compiler has Graphite support disabled.
73142         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73143         Likewise.
73144         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73145         (CFLAGS-memmove.c): Likewise.
73146         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73147         Likewise.
73149 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73151         * sysdeps/x86_64/x32/_itoa.h: New file.
73153         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73154         getdents system call only if kernel and user dirents have the
73155         same d_ino and d_off.
73157         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73158         LLONG_MAX != LONG_MAX.
73159         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73160         (_fitoa_word): Likewise.
73162         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73163         years.
73164         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73165         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73166         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73168         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73169         include <bits/wordsize.h>.  Check __x86_64__ instead of
73170         __WORDSIZE.
73171         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73172         if __x86_64__ is defined.  Use anonymous union on fpstate.
73174         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73175         anonymous union.
73177 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73179         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73180         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73181         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73182         Refer to _rtld_local_ro instead of _rtld_global_ro.
73183         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73184         Likewise.
73185         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73186         Likewise.
73187         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73188         Likewise.
73189         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73190         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73191         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73193         [BZ #10882]
73194         * sysdeps/powerpc/powerpc32/dl-machine.c
73195         (__elf_machine_runtime_setup) [PROF]: Don't reference
73196         _dl_prof_resolve.
73198 2012-05-18  Andreas Jaeger  <aj@suse.de>
73200         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73201         function only available for GCCs before 3.4 since GCC 3.4
73202         introduced a builtin.
73203         (lrint): Likewise.
73204         (llrintf): Likewise.
73205         (llrint): Likewise.
73206         (fmaxf): Likewise.
73207         (fmax): Likewise.
73208         (fminf): Likewise.
73209         (fmin): Likewise.
73210         (rint): Likewise.
73211         (rintf): Likewise.
73212         (nearbyint): Likewise.
73213         (nearbyintf): Likewise.
73214         (ceil): Likewise.
73215         (ceilf): Likewise.
73216         (floor): Likewise.
73217         (floorf): Likewise.
73219 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73221         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73222         on both fields and cast pointer to __syscall_ulong_t.
73224         * bits/types.h (__fsword_t): New type.
73225         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73226         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73227         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73228         (__FSWORD_T_TYPE): Likewise.
73229         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73230         (__FSWORD_T_TYPE): Likewise.
73231         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73232         (__FSWORD_T_TYPE): Likewise.
73233         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73234         (__FSWORD_T_TYPE): Likewise.
73235         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73236         __SWORD_TYPE with __fsword_t.
73237         (statfs64): Likewise.
73239 2012-05-17  David S. Miller  <davem@davemloft.net>
73241         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73243 2012-05-17  Andreas Jaeger  <aj@suse.de>
73245         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73246         warning.
73248 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73250         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73252 2012-05-17  Andreas Jaeger  <aj@suse.de>
73254         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73255         when it is used.
73257 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73259         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73261 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73263         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73264         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73266 2012-05-17  Andreas Jaeger  <aj@suse.de>
73267             Carlos O'Donell  <carlos_odonell@mentor.com>
73269         [BZ #14059]
73270         * sysdeps/x86_64/multiarch/init-arch.h
73271         (bit_YMM_Usable): Rename to...
73272         (bit_AVX_Usable): ... this.
73273         (bit_FMA4_Usable): New macro.
73274         (bit_XMM_state): New macro.
73275         (bit_YMM_state): New macro.
73276         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73277         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73278         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73279         (CPUID_OSXSAVE): New macro.
73280         (CPUID_AVX): New macro.
73281         (CPUID_FMA4): New macro.
73282         (index_YMM_Usable): Rename to...
73283         (index_AVX_Usable): ... this.
73284         (HAS_AVX): Use HAS_ARCH_FEATURE.
73285         (HAS_FMA4): Likewise.
73286         (HAS_YMM_USABLE): Remove.
73287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73288         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73289         are present.
73290         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73291         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73292         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73293         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73294         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73296 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73298         * math/libm-test.c: Support platforms without multiple rounding modes.
73299         * math/bug-nextafter.c: Support platforms without FP exceptions.
73300         * math/bug-nexttoward.c: Likewise.
73301         * math/test-fenv.c: Likewise.
73302         * math/test-misc.c: Likewise.
73303         * stdlib/bug-getcontext.c: Likewise.
73305 2012-05-17  Andreas Jaeger  <aj@suse.de>
73307         * manual/examples/search.c (critter_cmp): Change signature to
73308         avoid warnings.
73309         * manual/string.texi (Collation Functions): Likewise.
73311 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73313         * bits/types.h: Fold copyright years.
73314         * bits/typesizes.h: Likewise.
73315         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73316         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73317         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73318         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73319         * time/time.h: Likewise.
73321 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73323         [BZ #208]
73324         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73325         in instead of returning them.  Return void.
73326         (__libc_mallinfo): Accumulate over all arenas.
73327         (__malloc_stats): Adjust for change in int_mallinfo interface.
73329 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73331         [BZ #10375]
73332         * configure.in (NM): Add AC_CHECK_TOOL for it.
73333         (libc_extra_cflags): New substituted variable.
73334         Check for -fstack-protector being used implicitly.
73335         * configure: Regenerated.
73336         * config.make.in (config-extra-cflags): New variable,
73337         gets @libc_extra_cflags@.
73338         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73340         [BZ #10375]
73341         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73342         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73343         * configure: Regenerated.
73344         * config.make.in (CPPUNDEFS): New substituted variable.
73345         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73346         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73347         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73351         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73352         (mq_attr): Use __syscall_slong_t.
73354 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73356         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73357         Check __x86_64__ instead of __WORDSIZE.
73358         (_STAT_VER_LINUX): Likewise.
73359         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73360         __syscall_ulong_t and __syscall_slong_t.
73361         (stat64): Likewise.
73363 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73365         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73367 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73369         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73371 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73373         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73374         __syscall_ulong_t.
73376         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73377         include <bits/wordsize.h>.  Check __x86_64__ instead of
73378         __WORDSIZE.
73379         (greg_t): Use "__extension__ long long int" if __x86_64__ is
73380         defined.
73381         (mcontext_t): Replace "unsigned long" with "unsigned long long".
73383         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
73384         include <bits/wordsize.h>.  Check __x86_64__ instead of
73385         __WORDSIZE.
73386         (user_regs_struct): Use "__extension__ unsigned long long"
73387         instead of "unsigned long" if __x86_64__ is defined.
73388         (user): Likewise.  Pad after pointer field if __ILP32__ is
73389         defined.
73391 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
73393         * configure.in (makeinfo): Require version 4.5 or later.  Allow
73394         versions 5 to 9.
73395         * configure: Regenerated.
73396         * manual/install.texi (texinfo): Increase version requirement to
73397         4.5 or later.
73398         * INSTALL: Regenerated.
73400         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
73402 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73404         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
73406         * sysdeps/x86_64/x32/ffs.c: New file.
73408         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
73409         __syscall_ulong_t.
73410         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
73411         defined.  Use __syscall_ulong_t.
73412         (shminfo): Use __syscall_ulong_t.
73413         (shm_info): Likewise.
73415         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73416         __syscall_ulong_t.
73418         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
73419         <bits/wordsize.h>.
73420         (msgqnum_t): Use __syscall_ulong_t.
73421         (msglen_t): Likewise.
73422         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
73423         __syscall_ulong_t.
73425         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
73426         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73428         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
73430         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
73431         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
73433         * sysvipc/sys/msg.h (msgbuf): Replace long int with
73434         __syscall_slong_t.
73436         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
73437         include <bits/wordsize.h>.  Check __x86_64__ instead of
73438         __WORDSIZE.
73440         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
73441         "unsigned long long int" if __x86_64__ is defined.
73442         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
73444         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
73445         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73446         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
73448         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
73449         <stdint.h>.
73450         (GET_PC): Cast to uintptr_t first.
73451         (GET_FRAME): Likewise.
73452         (GET_STACK): Likewise.
73454         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
73455         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73456         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73457         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73458         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73459         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73460         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73461         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73462         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73463         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73464         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73465         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73466         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73467         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73468         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73469         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73470         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73471         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73472         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73473         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73474         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73475         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73476         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73477         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73478         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73479         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73480         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73481         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73482         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73484 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73486         * Makerules (+depfiles): Also collect depfiles from .oS in
73487         $(extra-objs).
73488         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73489         .oS, $(libnldbl-routines)).
73491         * Makerules (native-compile-mkdep-flags): Define.
73492         * sunrpc/Makefile (extra-objs): Add $(addprefix
73493         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73494         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73495         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73496         calling $(make-target-directory).
73498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73500         * bits/types.h (__snseconds_t): Removed.
73501         * time/time.h (struct timespec): Replace __snseconds_t with
73502         __syscall_slong_t.
73503         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73504         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73505         Likewise.
73506         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73507         (__SNSECONDS_T_TYPE): Likewise.
73508         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73509         (__SNSECONDS_T_TYPE): Likewise.
73510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73511         (__SNSECONDS_T_TYPE): Likewise.
73513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73515         * sysdeps/mach/hurd/bits/typesizes.h
73516         (__SYSCALL_SLONG_TYPE): New macro.
73517         (__SYSCALL_ULONG_TYPE): Likewise.
73519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73521         * bits/types.h (__syscall_slong_t): New type.
73522         (__syscall_ulong_t): Likewise.
73524         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73525         (__SYSCALL_ULONG_TYPE): Likewise.
73526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73527         (__SYSCALL_SLONG_TYPE): Likewise.
73528         (__SYSCALL_ULONG_TYPE): Likewise.
73529         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73530         (__SYSCALL_SLONG_TYPE): Likewise.
73531         (__SYSCALL_ULONG_TYPE): Likewise.
73532         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73533         (__SYSCALL_SLONG_TYPE): Likewise.
73534         (__SYSCALL_ULONG_TYPE): Likewise.
73536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73538         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73539         Add sigaltstack-offsets.sym.
73540         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73541         <sigaltstack-offsets.h>.
73542         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73543         longjmp_msg pointer.
73544         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73545         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73546         signal stack.
73547         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73549 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73551         * elf/stackguard-macros.h: Remove file.
73552         * sysdeps/generic/stackguard-macros.h: New file.
73553         * sysdeps/i386/stackguard-macros.h: Likewise.
73554         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73555         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73556         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73557         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73558         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73559         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73560         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73561         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73562         <elf/stackguard-macros.h>.
73564         [BZ #14109]
73565         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73566         __aligned__ in attribute.
73567         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73568         (gregset_t): Likewise.
73570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73572         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73573         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73574         * sysdeps/x86_64/x32/Implies-after: New file.
73576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73578         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73579         and access return value for _dl_profile_fixup.  Use R10_LP to
73580         load frame size.
73582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73584         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73588         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73589         * sysdeps/x86_64/x32/sysdep.h: New file.
73591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73593         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73594         * sysdeps/x86_64/setjmp.S: Likewise.
73596 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73598         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73599         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73600         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73601         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73602         remove unused global constant.
73604 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73606         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73607         include of <not-cancel.h>.
73609 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73611         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73613 2012-05-15  Jeff Law  <law@redhat.com>
73614             Andreas Jaeger  <aj@suse.de>
73616         [BZ #13594]
73617         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73618         out from...
73619         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73620         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73621         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73622         code changing __hst_map_handle.map.
73624 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73626         * configure.in (sysnames): Look for Implies-before and Implies-after
73627         files.
73628         * configure: Regenerated.
73630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73632         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73633         8-byte data alignment with LP_SIZE alignment.
73635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73637         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73638         into R10_LP.
73640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73642         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73646         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73647         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73648         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73649         Likewise.
73650         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73654         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73655         (stackinfo_sub_sp): Likewise.
73657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73660         RAX_LP.
73662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73664         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73665         into R*_LP.
73667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73669         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73670         sizes into R*_LP.
73672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73674         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73678         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73679         into R11_LP and load __x86_64_shared_cache_size_half into
73680         R8_LP.
73682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73684         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73685         R8_LP.
73687 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73690         logb for POWER7.
73691         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73692         logbf for POWER7.
73693         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73694         logbl for POWER7.
73695         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73696         powerpc32/power7/fpu/s_logb.c via #include.
73697         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73698         powerpc32/power7/fpu/s_logbf.c via #include.
73699         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73700         powerpc32/power7/fpu/s_logbl.c via #include.
73702 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73704         * README.libm: Remove file.
73706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73708         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73709         count for x32.  Use R*_LP and omit operand-size suffix.
73711 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73713         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73714         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73715         * sysdeps/x86_64/x32/shlib-versions: New file.
73717 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73719         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73720         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73721         Use _dl_fatal_printf instead.
73723 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73725         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73726         set if not set by the user.  Do not allow for being unset.
73727         * sysdeps/unix/sysv/linux/configure: Regenerated.
73729 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73731         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73732         the `q' suffix from lea and replace .quad with ASM_ADDR.
73734 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73737         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73738         instead of $17.
73739         (PTR_DEMANGLE): Likewise.
73741 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73743         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73744         (LP_OP): Likewise.
73745         (ASM_ADDR): Likewise.
73746         (RAX_LP): Likewise.
73747         (RBP_LP): Likewise.
73748         (RBX_LP): Likewise.
73749         (RCX_LP): Likewise.
73750         (RDI_LP): Likewise.
73751         (RSI_LP): Likewise.
73752         (RSP_LP): Likewise.
73753         (R8_LP): Likewise.
73754         (R9_LP): Likewise.
73755         (R10_LP): Likewise.
73756         (R10_LP): Likewise.
73757         (R11_LP): Likewise.
73758         (R12_LP): Likewise.
73759         (R13_LP): Likewise.
73760         (R14_LP): Likewise.
73761         (R15_LP): Likewise.
73763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73765         * sysdeps/x86_64/x32/dl-machine.h: New file.
73767 2012-05-14  Andreas Jaeger  <aj@suse.de>
73769         * manual/Makefile (subdir): Remove export of subdir.
73770         (all): Remove target.
73771         (.PHONY): Remove all from list.
73772         (mkinstalldirs): Remove.
73773         (.PHONY): Remove installdirs from list.
73774         ($(inst_infodir)/libc.info): Use make-target-directory.
73775         (installdirs): Remove.
73776         (subdir_%): Remove.
73777         (glibc-targets): Remove.
73778         (lib): Remove.
73779         (stubs): Remove.
73780         ($(objpfx)stubs ../po/manual.pot): Remove.
73781         ($(objpfx)stamp%): Remove.
73782         (make-target-directory): Remove.
73783         (subdir_install): Remove.
73784         (routines): Remove.
73785         (aux): Remove.
73786         (sources): Remove.
73787         (objects): Remove.
73788         (headers): Remove.
73790         [BZ #13750]
73791         * manual/.gitignore: Remove, it's not needed anymore.
73792         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73793         all files in it.
73794         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73795         directory.
73796         (texis): Renamed to $(objpfx)texis.
73797         (texis-path): New, contains path to generated files.
73798         (chapters.%): Use texis-path for complete path, add extra argument
73799         libc-texinfo.sh.
73800         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73801         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73802         (summary,texi, stamp-summary): Use complete path of
73803         files. Generate files in build dir.
73804         (dir-add.texi): Build in build dir.
73805         (libm-err.texi,stamp-libm-err): Likewise.
73806         (version.texi, stamp-version): Likewise.
73807         (.%c.texi): Likewise.
73808         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73809         (mostlyclean): Remove target.
73810         (realclean): Remove target.
73811         (generated): Add new variable with contents from mostlyclean and
73812         realclean, remove entries duplicated in common-mostlyclean, add
73813         stamp-libm-err and stamp-version.
73814         (generated-dirs): Add libc directory.
73815         ($(inst_infodir)/libc.info): Install files from build dir.
73817         * manual/install.texi (Configuring and compiling): Adjust since
73818         the info files are not part of the tar ball anymore.
73820 2012-05-14  Andreas Jaeger  <aj@suse.de>
73822         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73823         variable.
73825 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73827         [BZ #13717]
73828         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73829         to 2.2.0 where earlier.
73830         * sysdeps/unix/sysv/linux/configure: Regenerated.
73831         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73832         Remove conditional code.
73833         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73834         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73835         Remove conditional code.
73836         [!__NR_lchown]: Likewise.
73837         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73838         [__NR_lchown]: Likewise.
73839         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73840         comment referencing __ASSUME_LCHOWN_SYSCALL.
73841         * sysdeps/unix/sysv/linux/i386/sigaction.c
73842         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73843         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73844         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73845         Remove conditional code.
73846         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73847         (__protocol_available): Remove #if 0 code.
73848         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73849         conditional code.
73850         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73851         * sysdeps/unix/sysv/linux/kernel-features.h
73852         (__ASSUME_GETCWD_SYSCALL): Don't define.
73853         (__ASSUME_REALTIME_SIGNALS): Likewise.
73854         (__ASSUME_PREAD_SYSCALL): Likewise.
73855         (__ASSUME_PWRITE_SYSCALL): Likewise.
73856         (__ASSUME_POLL_SYSCALL): Likewise.
73857         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73858         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73859         non-SPARC.
73860         (__ASSUME_SIOCGIFNAME): Don't define.
73861         (__ASSUME_MSG_NOSIGNAL): Likewise.
73862         (__ASSUME_SENDFILE): Define unconditionally.
73863         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73864         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73865         conditional code.
73866         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73867         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73868         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73869         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73870         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73871         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73872         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73874         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73875         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73877         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73878         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73880         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73881         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73883         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73886         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73887         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73889         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73890         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73892         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73893         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73895         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73896         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73897         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73898         Remove conditional code.
73899         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73900         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73901         Remove conditional code.
73902         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73903         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73904         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73905         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73906         Remove conditional code.
73907         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73908         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73909         Remove conditional code.
73910         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73911         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73912         Remove conditional code.
73913         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73914         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73915         Remove conditional code.
73916         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73917         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73918         Remove conditional code.
73919         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73920         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73921         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73922         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73923         * sysdeps/unix/sysv/linux/sigaction.c
73924         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73925         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73926         * sysdeps/unix/sysv/linux/sigpending.c
73927         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73928         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73929         * sysdeps/unix/sysv/linux/sigprocmask.c
73930         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73931         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73932         * sysdeps/unix/sysv/linux/sigsuspend.c
73933         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73934         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73935         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73936         (__libc_missing_rt_sigs): Remove.
73937         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73938         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73939         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73940         Remove conditional code.
73941         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73942         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73943         return 1.
73944         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73945         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73946         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73947         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73949 2012-05-14  Andreas Jaeger  <aj@suse.de>
73951         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73952         it's not used in glibc.
73953         (__coshm1): Likewise.
73954         (__acosh1p): Likewise.
73955         (__sgn): Likewise.
73957         * manual/string.texi (Copying and Concatenation): Add missing
73958         variable in concat example.
73959         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73963         [BZ #14103]
73964         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73965         __builtin_clzl with __builtin_clzll.
73967 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73969         [BZ #14104]
73970         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73971         libc_freeres_ptr.
73973 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73975         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73976         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73977         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73978         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73980 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73982         * NEWS: Update ia64 info.
73984 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73986         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73987         used as bcopy.
73989 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73991         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73992         * sysdeps/unix/syscalls.list (dup3): Likewise.
73993         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73994         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73996 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73998         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73999         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
74001 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74003         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
74004         thread pointer.
74005         (TLS_IE): Use mov/add instead of movq/addq to load thread
74006         pointer.
74007         (TLS_GD_PREFIX): New.
74008         (TLS_GD): Use it.
74010 2012-05-11  David S. Miller  <davem@davemloft.net>
74012         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
74013         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
74014         (_FPU_SETCW): Likewise.
74016 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74018         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
74019         is 32-byte aligned.
74021 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
74023         [BZ #11837]
74024         * iconvdata/gb18030.c: Update tables.
74025         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
74026         characters specially.
74027         (BODY for TO_LOOP): Add encoding of missing ranges.
74029 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
74031         [BZ #13673]
74032         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
74033         * sysdeps/mach/hurd/dup3.c: Likewise.
74034         * sysdeps/mach/hurd/readlinkat.c: Likewise.
74035         * sysdeps/powerpc/memmove.c:: Likewise.
74037 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
74040         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74042 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74044         * elf/elf.h (R_X86_64_RELATIVE64): New.
74045         (R_X86_64_NUM): Updated.
74046         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74047         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74048         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74049         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74050         tst-quad1pie tst-quad2pie
74051         (modules-names): Add tst-quadmod1 tst-quadmod2.
74052         ($(objpfx)tst-quad1): New dependency.
74053         ($(objpfx)tst-quad2): Likewise.
74054         ($(objpfx)tst-quad1pie): Likewise.
74055         ($(objpfx)tst-quad2pie): Likewise.
74056         * sysdeps/x86_64/tst-quad1.c: New file.
74057         * sysdeps/x86_64/tst-quad1pie.c: New file.
74058         * sysdeps/x86_64/tst-quad2.c: Likewise.
74059         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74060         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74061         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74062         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74063         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74067         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74068         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74069         * streams/stropts.h (t_scalar_t): Define type.
74071         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74072         (_PATH_PRESERVE): Set to "/var/lib".
74073         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74075         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74076         instead of int.
74078         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74079         if __dir_mkfile succeeded.
74081         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74082         checking for _hurd_dtablesize.  Unlock it right after having
74083         finished _hurd_dtable allocation.
74085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74087         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74088         * sysdeps/mach/hurd/configure: Regenerated.
74089         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74090         special-casing to...
74091         * sysdeps/gnu/configure.in: ... this new file.
74092         * sysdeps/unix/sysv/linux/configure: Regenerated.
74093         * sysdeps/gnu/configure: New generated file.
74095         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74096         for Linux: use nsec instead of usec, as well as:
74097         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74098         members of type struct timespec.
74099         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74100         New macros.
74101         (struct stat64): Likewise.
74102         (_STATBUF_ST_NSEC): New macro.
74103         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74105         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74106         __strtoul_internal rather than strtoul.
74108 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74110         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74111         and reject them.
74113 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74115         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74116         which preserves existing values.
74117         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74119 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74121         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74122         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74123         greater than FD_SETSIZE.
74125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74127         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74128         allocated, call __vm_protect to finish enabling the existing space, and
74129         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74130         allocate the remainder.
74132 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74134         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74135         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74137 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74139         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74140         sysdeps/mach/hurd/readlink.c.
74142         * posix/tst-sysconf.c (posix_options): Only use
74143         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74144         _POSIX_SYNCHRONIZED_IO when they are defined
74145         * sysdeps/mach/hurd/bits/posix_opt.h:
74146         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74147         (_XOPEN_REALTIME): Undefine macro.
74148         (_XOPEN_REALTIME_THREADS): Undefine macro.
74149         (_XOPEN_SHM): Undefine macro.
74150         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74151         macro to -1.
74152         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74153         macro to -1.
74154         (_POSIX_ASYNC_IO): Undefine macro.
74155         (_POSIX_PRIORITIZED_IO): Undefine macro.
74156         (_POSIX_SPIN_LOCKS): Define macro to -1.
74158         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74159         SA_NODEFER, SA_RESETHAND.
74160         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74161         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74162         F_DUPFD_CLOEXEC.
74164 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74166         * elf/Makefile (pldd-modules): Define unconditionally.
74168 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74170         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74172 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74174         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74175         Return ENOENT when name is empty.
74176         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74180         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74182         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74184 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74186         Fix mlock in all cases except non-readable pages.
74187         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74188         instead of VM_PROT_ALL as parameter to __vm_wire function.
74190         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74191         (__mkdir): When path is `/', just fail with EEXIST.
74192         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74196         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74197         <sys/uio.h> (for writev).
74198         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74199         and <sys/param.h> (for MIN).
74201 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74203         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74204         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74205         if interrupted.
74207 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74209         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74210         Depend on against $(link-rpcuserlibs).
74212 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74214         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74215         (__libc_stack_end): Do not use attribute_relro.
74216         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74217         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74218         to libthread-provided value.
74219         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74220         attribute_relro.
74222 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74224         [BZ #3748]
74225         * bits/libc-lock.h (__libc_once_get): New macro.
74226         * sysdeps/mach/bits/libc-lock.h: Likewise.
74227         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74228         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74229         instead of using implementation details.
74231         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74232         * libio/freopen.c: Likewise.
74233         * libio/freopen64.c: Likewise.
74234         * misc/syslog.c: Likewise.
74235         * nscd/connections.c: Likewise.
74236         * nscd/netgroupcache.c: Likewise.
74237         * sysdeps/posix/getcwd.c: Likewise.
74239 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74241         * math/w_ilogbf.c: Add #include <limits.h>.
74243 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74245         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74246         path instead of returning without unlocking.
74248         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74249         immediate-write ioctls.
74250         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74252 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74254         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74255         __builtin_frame_address instead of making assumptions about the
74256         location of the return address relative to DATA.  Force early load of
74257         the return address.
74258         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74259         __builtin_frame_address.
74261         dup3 for GNU Hurd.
74262         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74263         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74264         implement dup3 and do some further code clean-ups.
74265         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74266         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74270         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74272         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74273         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74274         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74275         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74276         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74277         d->port.lock.
74279         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74280         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74281         when handler == SIG_ERR, not when handler != SIG_ERR.
74283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74285         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74286         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74287         definitions.
74289         accept4 for GNU Hurd.
74290         * include/sys/socket.h (__libc_accept4): New prototype.
74291         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74292         to implement __libc_accept4.
74293         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74294         __libc_accept4.
74295         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74297         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74298         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74299         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74300         signal-defines.sym.
74302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74304         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74306 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74308         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74309         assertion on O_CLOEXEC flag.
74310         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74311         * hurd/intern-fd.c: Likewise.
74312         * hurd/port2fd.c: Likewise.
74314 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74316         [BZ #3906]
74317         * bits/in.h (IPV6_PKTINFO): Define new macro.
74318         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74320 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74322         [BZ #13954]
74323         [BZ #13955]
74324         [BZ #13956]
74325         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74326         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74327         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74328         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74329         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74330         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74331         * math/libm-test.inc (logb_test) : Additional logb tests.
74333 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74334             Andreas Jaeger  <aj@suse.de>
74336         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74337         * configure: Regenerated.
74338         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74339         * config.make.in (link-obsolete-rpc): New substituted variable.
74340         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74341         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74342         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74343         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74344         so that libc.a contains the symbols.
74345         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74346         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74347         * sunrpc/auth_none.c: Likewise.
74348         * sunrpc/auth_unix.c: Likewise.
74349         * sunrpc/authdes_prot.c: Likewise.
74350         * sunrpc/authuxprot.c: Likewise.
74351         * sunrpc/clnt_gen.c: Likewise.
74352         * sunrpc/clnt_perr.c: Likewise.
74353         * sunrpc/clnt_raw.c: Likewise.
74354         * sunrpc/clnt_simp.c: Likewise.
74355         * sunrpc/clnt_tcp.c: Likewise.
74356         * sunrpc/clnt_udp.c: Likewise.
74357         * sunrpc/clnt_unix.c: Likewise.
74358         * sunrpc/des_crypt.c: Likewise.
74359         * sunrpc/des_soft.c: Likewise.
74360         * sunrpc/get_myaddr.c: Likewise.
74361         * sunrpc/key_call.c: Likewise.
74362         * sunrpc/key_prot.c: Likewise.
74363         * sunrpc/netname.c: Likewise.
74364         * sunrpc/pm_getmaps.c: Likewise.
74365         * sunrpc/pm_getport.c: Likewise.
74366         * sunrpc/pmap_clnt.c: Likewise.
74367         * sunrpc/pmap_prot.c: Likewise.
74368         * sunrpc/pmap_prot2.c: Likewise.
74369         * sunrpc/pmap_rmt.c: Likewise.
74370         * sunrpc/publickey.c: Likewise.
74371         * sunrpc/rpc_cmsg.c: Likewise.
74372         * sunrpc/rpc_common.c: Likewise.
74373         * sunrpc/rpc_dtable.c: Likewise.
74374         * sunrpc/rpc_prot.c: Likewise.
74375         * sunrpc/rpc_thread.c: Likewise.
74376         * sunrpc/rtime.c: Likewise.
74377         * sunrpc/svc.c: Likewise.
74378         * sunrpc/svc_auth.c: Likewise.
74379         * sunrpc/svc_raw.c: Likewise.
74380         * sunrpc/svc_run.c: Likewise.
74381         * sunrpc/svc_tcp.c: Likewise.
74382         * sunrpc/svc_udp.c: Likewise.
74383         * sunrpc/svc_unix.c: Likewise.
74384         * sunrpc/svcauth_des.c: Likewise.
74385         * sunrpc/xcrypt.c: Likewise.
74386         * sunrpc/xdr.c: Likewise.
74387         * sunrpc/xdr_array.c: Likewise.
74388         * sunrpc/xdr_float.c: Likewise.
74389         * sunrpc/xdr_intXX_t.c: Likewise.
74390         * sunrpc/xdr_mem.c: Likewise.
74391         * sunrpc/xdr_rec.c: Likewise.
74392         * sunrpc/xdr_ref.c: Likewise.
74393         * sunrpc/xdr_sizeof.c: Likewise.
74394         * sunrpc/xdr_stdio.c: Likewise.
74396 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74398         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
74399         change.  Update copyright years.
74401 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74403         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
74405 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
74406             Joseph Myers  <joseph@codesourcery.com>
74407             Paul Pluzhnikov  <ppluzhnikov@google.com>
74409         [BZ #14012]
74410         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
74411         requiring rpcgen.
74412         [cross-compiling] (extra-libs): Likewise.
74413         [cross-compiling] (extra-libs-others): Likewise.
74414         [cross-compiling] (librpcsvc-routines): Likewise.
74415         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
74416         [cross-compiling] (omit-deps): Likewise.
74417         (sunrpc-CPPFLAGS): New variable.
74418         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
74419         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
74420         (cross-rpcgen-objs): New variable.
74421         (extra-objs): Append $(cross-rpcgen-objs).
74422         ($(cross-rpcgen-objs)): New rule.
74423         ($(objpfx)cross-rpcgen): Likewise.
74424         (rpcgen-cmd): Define to use $(built-program-file).  Expand
74425         comment.
74426         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
74427         ($(objpfx)x%.stmp): Likewise.
74428         * sunrpc/proto.h [IS_IN_build] (_): Define.
74429         [IS_IN_build] (_libc_intl_domainname): Likewise.
74431 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74433         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
74434         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
74435         and R_X86_64_TPOFF64.
74437 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74439         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
74440         sysdeps/unix/sysv/syscalls.list.
74441         (stime): Likewise.
74442         (utime): Likewise.
74443         * sysdeps/unix/sysv/syscalls.list: Remove file.
74445 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
74447         [BZ #3440]
74448         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
74449         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
74450         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
74451         (__LC_IDENTIFICATION): Make these macros useful in #if
74452         expressions, as required by C99.
74454 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74456         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74457         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74458         after this.
74460 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74462         * stdlib/longlong.h: Updated from GCC.
74464 2012-05-09  Andreas Jaeger  <aj@suse.de>
74466         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74467         default is first entry.
74468         (run_mode): Set type.
74469         (main): Remove informal message about syslog.
74470         (options): Fix typo.
74472         [BZ #14053]
74473         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74474         to asm.
74475         (lrint): Likewise.
74476         (llrintf): Likewise.
74477         (llrint): Likewise.
74478         (rint): Likewise.
74479         (rintf): Likewise.
74480         (nearbyint): Likewise.
74481         (nearbyintf): Likewise.
74483 2012-05-09  Andreas Jaeger  <aj@suse.de>
74484             Pedro Alves  <palves@redhat.com>
74486         * nscd/nscd.c (run_mode): Use enum.
74487         (main): Cleanup coding style issue.
74489 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74490             Andreas Jaeger  <aj@suse.de>
74492         * nscd/nscd.c (go_background): Replaced with...
74493         (run_mode): ... this.
74494         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74495         (options): Add -F --foreground.
74496         (main): Implement it.
74497         (parse_opt): Parse it.
74499 2012-05-09  Andreas Jaeger  <aj@suse.de>
74501         [BZ #14083]
74502         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74503         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74504         -Wconversion warning.
74505         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74506         Likewise.
74508 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74510         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74511         == 0.
74512         (LC_ALL): Use macro-int-constant.
74513         (LC_COLLATE): Likewise.
74514         (LC_CTYPE): Likewise.
74515         (LC_MESSAGES): Likewise.
74516         (LC_MONETARY): Likewise.
74517         (LC_NUMERIC): Likewise.
74518         (LC_TIME): Likewise.
74519         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74520         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74521         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74522         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74523         Specify type.
74524         [C99-based standards] (float_t): Expect type.
74525         [C99-based standards] (double_t): Expect type.
74526         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74527         type.
74528         [C99-based standards] (HUGE_VALL): Likewise.
74529         [C99-based standards] (INFINITY): Likewise.
74530         [C99-based standards] (NAN): Likewise.
74531         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74532         [C99-based standards] (FP_NAN): Likewise.
74533         [C99-based standards] (FP_NORMAL): Likewise.
74534         [C99-based standards] (FP_SUBNORMAL): Likewise.
74535         [C99-based standards] (FP_ZERO): Likewise.
74536         [C99-based standards] (FP_FAST_FMA): Use
74537         optional-macro-int-constant.  Specify type.  Require == 1.
74538         [C99-based standards] (FP_FAST_FMAF): Likewise.
74539         [C99-based standards] (FP_FAST_FMAL): Likewise.
74540         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74541         [C99-based standards] (FP_ILOGBNAN): Likewise.
74542         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74543         Specify type.
74544         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74545         [C99-based standards] (math_errhandling): Specify type.
74546         [ISO99 || ISO11] (signgam): Do not allow.
74547         [non-C99-based standards] (copysignf): Do not allow.
74548         [non-C99-based standards] (exp2f): Likewise.
74549         [non-C99-based standards] (log2f): Likewise.
74550         [non-C99-based standards] (modff): Allow.
74551         [non-C99-based standards] (erff): Do not allow.
74552         [non-C99-based standards] (erfcf): Likewise.
74553         [non-C99-based standards] (gammaf): Likewise.
74554         [non-C99-based standards] (hypotf): Likewise.
74555         [non-C99-based standards] (j0f): Likewise.
74556         [non-C99-based standards] (j1f): Likewise.
74557         [non-C99-based standards] (jnf): Likewise.
74558         [non-C99-based standards] (lgammaf): Likewise.
74559         [non-C99-based standards] (tgammaf): Likewise.
74560         [non-C99-based standards] (y0f): Likewise.
74561         [non-C99-based standards] (y1f): Likewise.
74562         [non-C99-based standards] (ynf): Likewise.
74563         [non-C99-based standards] (isnanf): Likewise.
74564         [non-C99-based standards] (acoshf): Likewise.
74565         [non-C99-based standards] (asinhf): Likewise.
74566         [non-C99-based standards] (atanhf): Likewise.
74567         [non-C99-based standards] (cbrtf): Likewise.
74568         [non-C99-based standards] (expm1f): Likewise.
74569         [non-C99-based standards] (ilogbf): Likewise.
74570         [non-C99-based standards] (log1pf): Likewise.
74571         [non-C99-based standards] (logbf): Likewise.
74572         [non-C99-based standards] (nextafterf): Likewise.
74573         [non-C99-based standards] (remainderf): Likewise.
74574         [non-C99-based standards] (rintf): Likewise.
74575         [non-C99-based standards] (scalbf): Likewise.
74576         [non-C99-based standards] (copysignl): Likewise.
74577         [non-C99-based standards] (exp2l): Likewise.
74578         [non-C99-based standards] (log2l): Likewise.
74579         [non-C99-based standards] (modfl): Allow.
74580         [non-C99-based standards] (erfl): Do not allow.
74581         [non-C99-based standards] (erfcl): Likewise.
74582         [non-C99-based standards] (gammal): Likewise.
74583         [non-C99-based standards] (hypotl): Likewise.
74584         [non-C99-based standards] (j0l): Likewise.
74585         [non-C99-based standards] (j1l): Likewise.
74586         [non-C99-based standards] (jnl): Likewise.
74587         [non-C99-based standards] (lgammal): Likewise.
74588         [non-C99-based standards] (tgammal): Likewise.
74589         [non-C99-based standards] (y0l): Likewise.
74590         [non-C99-based standards] (y1l): Likewise.
74591         [non-C99-based standards] (ynl): Likewise.
74592         [non-C99-based standards] (isnanl): Likewise.
74593         [non-C99-based standards] (acoshl): Likewise.
74594         [non-C99-based standards] (asinhl): Likewise.
74595         [non-C99-based standards] (atanhl): Likewise.
74596         [non-C99-based standards] (cbrtl): Likewise.
74597         [non-C99-based standards] (expm1l): Likewise.
74598         [non-C99-based standards] (ilogbl): Likewise.
74599         [non-C99-based standards] (log1pl): Likewise.
74600         [non-C99-based standards] (logbl): Likewise.
74601         [non-C99-based standards] (nextafterl): Likewise.
74602         [non-C99-based standards] (remainderl): Likewise.
74603         [non-C99-based standards] (rintl): Likewise.
74604         [non-C99-based standards] (scalbl): Likewise.
74605         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74606         [non-C99-based standards] (FP_*): Do not allow.
74607         [C99-based standards] (FP_*): Change to
74608         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74609         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74610         allow.
74611         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74612         (SIG_ERR): Likewise.
74613         [X/Open-based standards] (SIG_HOLD): Likewise.
74614         (SIG_IGN): Likewise.
74615         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74616         positive value.
74617         (SIGFPE): Likewise.
74618         (SIGILL): Likewise.
74619         (SIGINT): Likewise.
74620         (SIGSEGV): Likewise.
74621         (SIGTER): Likewise.
74622         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74623         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74624         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74625         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74626         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74627         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74628         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74629         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74630         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74631         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74632         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74633         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74634         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74635         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74636         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74637         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74638         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74639         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74640         [X/Open-based standards] (SIGTRAP): Likewise.
74641         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74642         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74643         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74644         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74645         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74646         allow.
74648 2012-05-08  Ian Wienand  <ianw@vmware.com>
74650         [BZ #14080]
74651         * time/tzset.c (__tzset_parse_tz): Update default rules for
74652         daylight time changes in the Energy Policy Act of 2005.
74654 2012-05-09  Andreas Jaeger  <aj@suse.de>
74656         [BZ #13983]
74657         * elf/ldconfig.c (parse_conf): Change string to make clear that
74658         ldconfig only issued a warning if ld.so.conf does not exist.
74660 2012-05-08  David S. Miller  <davem@davemloft.net>
74662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74663         movxtod instead of popping the value on the stack.
74665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74667 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74669         * config.h.in: Add HAVE_ARM_PCS_VFP.
74671 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74673         [BZ #13979]
74674         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74675         checking but the checks are disabled for any reason.
74677 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74679         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74680         and ELF64_R_TYPE with ELFW(R_TYPE).
74682 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74684         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74685         (ulimit): Likewise.
74687         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74688         (settimeofday): Likewise.
74690 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74692         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74693         a struct th_u2 inside the union, and move tu_block/tu_code into
74694         a new th_u3 union of tu_block/tu_code inside of that.  Move
74695         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74696         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74697         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74698         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74699         (th_stuff): Change to th_u1.tu_stuff.
74700         (th_data): Define.
74701         (th_msg): Change to th_u1.th_u2.tu_data.
74703 2012-05-07  David S. Miller  <davem@davemloft.net>
74705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74707         [BZ #14074]
74708         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74709         (SETUP_PIC_REG): Use it.
74710         (SETUP_PIC_REG_LEAF): Use it.
74712 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74714         [BZ #13885]
74715         [BZ #13923]
74716         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74717         USE_AS_EXPM1L.
74718         (EXPL_FINITE): Likewise.
74719         (FLDLOG): Likewise.
74720         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74721         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74722         e_expl.S.
74723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74724         USE_AS_EXPM1L.
74725         (EXPL_FINITE): Likewise.
74726         (FLDLOG): Likewise.
74727         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74728         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74729         e_expl.S.
74730         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74731         test of -max_value argument for long double.
74732         * sysdeps/i386/fpu/libm-test-ulps: Update.
74733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74735 2012-05-06  David S. Miller  <davem@davemloft.net>
74737         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74738         quad soft-float symbols whose references which are compiler
74739         generated.
74740         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74742 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74744         [BZ #13884]
74745         [BZ #13914]
74746         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74747         USE_AS_EXP10L.
74748         (EXPL_FINITE): Likewise.
74749         (FLDLOG): Likewise.
74750         (c0): Likewise.
74751         (c1): Likewise.
74752         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74753         Adjust comments for base varying.
74754         (__expl_finite): Change alias to EXPL_FINITE.
74755         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74756         e_expl.S.
74757         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74758         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74759         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74760         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74761         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74762         USE_AS_EXP10L.
74763         (EXPL_FINITE): Likewise.
74764         (FLDLOG): Likewise.
74765         (c0): Likewise.
74766         (c1): Likewise.
74767         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74768         Adjust comments for base varying.
74769         (__expl_finite): Change alias to EXPL_FINITE.
74770         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74771         tests for bugs.
74772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74774         [BZ #14064]
74775         * math/libm-test.inc (check_float_internal): Correct ulp
74776         calculation for subnormal expected results.
74778 2012-05-06  Andreas Jaeger  <aj@suse.de>
74780         * Makeconfig (+math-flags): New, set to -frounding-math.
74781         (+cflags): Add +math-flags so that all of glibc gets compiled with
74782         it.
74784         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74786 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74788         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74789         Disable one test.
74791         [BZ #13787]
74792         [BZ #13922]
74793         [BZ #14036]
74794         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74795         (__ieee754_expl): Allow for and saturate large arguments.
74796         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74797         (u_threshold): Likewise.
74798         (__exp): Call __ieee754_exp before checking for overflow and
74799         underflow.
74800         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74801         (u_threshold): Likewise.
74802         (__expf): Call __ieee754_expf before checking for overflow and
74803         underflow.
74804         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74805         (u_threshold): Likewise.
74806         (__expl): Call __ieee754_expl before checking for overflow and
74807         underflow.
74808         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74809         (__ieee754_expl): Allow for and saturate large arguments.
74810         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74811         missing overflow exception on overflow.
74812         (expm1_test): Do not allow missing overflow exception on overflow.
74814         * sysdeps/i386/fpu/e_expl.c: Move to ...
74815         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74816         rather than using inline asm.
74817         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74818         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74819         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74821         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74822         (nice): Likewise.
74823         (poll): Likewise.
74824         (signal): Likewise.
74825         (time): Likewise.
74826         (times): Likewise.
74828 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74830         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74831         sysdeps/unix/common/syscalls.list.
74832         (fchmod): Likewise.
74833         (fchown): Likewise.
74834         (ftruncate): Likewise.
74835         (getrusage): Likewise.
74836         (gettimeofday): Likewise.
74837         (setpgid): Likewise.
74838         (setregid): Likewise.
74839         (setreuid): Likewise.
74840         (sigaction): Likewise.
74841         (truncate): Likewise.
74842         (vhangup): Likewise.
74843         * sysdeps/unix/common/syscalls.list: Remove file.
74844         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74845         * sysdeps/unix/sysv/linux/Implies: Likewise.
74847 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74849         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74851         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74852         Moved to ...
74853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74854         Here.
74855         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74856         to ...
74857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74858         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74859         to ...
74860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74861         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74862         to ...
74863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74864         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74865         to ...
74866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74867         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74868         to ...
74869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74870         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74871         to ...
74872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74873         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74874         to ...
74875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74876         Here.
74877         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74878         to ...
74879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74880         Here.
74881         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74882         to ...
74883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74884         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74885         Moved to ...
74886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74887         Here.
74888         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74889         to ...
74890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74892 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74894         * sysdeps/unix/common/bits/dirent.h: Remove file.
74895         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74897         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74898         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74899         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74900         * sysdeps/unix/bsd/isatty.c: Likewise.
74901         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74902         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74903         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74905 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74907         [BZ #13563]
74908         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74909         long double comparison inaccuracies.
74910         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74913 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74915         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74916         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74918 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74920         [BZ #14049]
74921         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74922         nonzero digits before rounding a hex value.
74923         * stdlib/tst-strtod.c (tests): Add another test.
74925 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74927         * sysdeps/s390/fpu/libm-test-ulps: Update.
74929 2012-05-03  Andreas Jaeger  <aj@suse.de>
74931         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74932         does not get optimized out.
74933         (malloc_opt_barrier): New.
74935 2012-05-03  Andreas Jaeger  <aj@suse.de>
74936             Roland McGrath  <roland@hack.frob.com>
74938         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74939         intermediate file deletion.
74940         (generated): Add .symlist files.
74942 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74944         [BZ #13775]
74945         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74946         Redirect under this condition.
74947         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74948         [__USE_GNU] (__dprintf_chk): Not under this condition.
74949         [__USE_GNU] (__vdprintf_chk): Likewise.
74950         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74951         under this condition.
74952         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74953         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74954         [__USE_XOPEN2K8] (vdprintf): Likewise.
74955         [__USE_GNU] (__dprintf_chk): Not under this condition.
74956         [__USE_GNU] (__vdprintf_chk): Likewise.
74957         [__USE_GNU] (dprintf): Likewise.
74958         [__USE_GNU] (vdprintf): Likewise.
74960 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74962         * elf/Makefile (common-generated): Set this instead of generated for
74963         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74964         $(all-built-dso)-derived lists.
74966 2012-05-03  Andreas Jaeger  <aj@suse.de>
74968         * sysdeps/i386/fpu/libm-test-ulps: Update.
74970         * FAQ: Removed.
74971         * FAQ.in: Likewise.
74972         * scripts/gen-FAQ.pl: Likewise.
74973         * manual/install.texi (Installation): Point to online location of
74974         FAQ.
74975         * Makefile (files-for-dist): Remove FAQ.
74976         (FAQ): Remove.
74978 2012-05-02  Allan McRae  <allan@archlinux.org>
74980         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74981         (LDFLAGS-reldepmod5.so): Likewise.
74982         (LDFLAGS-reldep6mod1.so): Likewise.
74983         (LDFLAGS-reldep6mod4.so): Likewise.
74984         (LDFLAGS-reldep8mod3.so): Likewise.
74985         (LDFLAGS-unload4mod1.so): Likewise.
74986         (LDFLAGS-unload4mod2.so): Likewise.
74987         (LDFLAGS-tst-initorder): Likewise.
74988         (LDFLAGS-tst-initordera2.so): Likewise.
74989         (LDFLAGS-tst-initordera3.so): Likewise.
74990         (LDFLAGS-tst-initordera4.so): Likewise.
74991         (LDFLAGS-tst-initorderb2.so): Likewise.
74992         (LDFLAGS-noload): Likewise.
74993         (LDFLAGS-next): Likewise.
74994         (LDFLAGS-order2mod1.so): Likewise.
74995         (LDFLAGS-order2mod2.so): Likewise.
74996         (LDFLAGS-tst-initorder2): Likewise.
74997         (LDFLAGS-tst-initorder2a.so): Likewise.
74998         (LDFLAGS-tst-initorder2b.so): Likewise.
74999         (LDFLAGS-tst-initorder2c.so): Likewise.
75000         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
75002 2012-05-02  David S. Miller  <davem@davemloft.net>
75004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75006 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
75008         [BZ #14055]
75009         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
75011 2012-05-02  Andreas Jaeger  <aj@suse.de>
75013         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
75014         since we manipulate rounding mode.
75015         (CPPFLAGS-test-idouble.c): Likewise.
75016         (CPPFLAGS-test-ifloat.c): Likewise.
75017         (CFLAGS-test-ldouble.c): Likewise.
75018         (CFLAGS-test-double.c): Likewise.
75019         (CFLAGS-test-float.c): Likewise.
75020         (CFLAGS-test-misc.c): Likewise.
75021         (CFLAGS-test-test-fenv.c): Likewise.
75023 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75025         [BZ #2550]
75026         [BZ #2570]
75027         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
75028         comparisons to determine direction to adjust input.
75030 2012-05-01  Roland McGrath  <roland@hack.frob.com>
75032         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
75033         output to the target.
75035         * scripts/localplt.awk: New file.
75036         * elf/Makefile ($(objpfx)check-localplt): Target removed.
75037         (check-localplt-CFLAGS): Variable removed.
75038         ($(all-built-dso:=.jmprel)): New static pattern rule.
75039         (generated): Add those targets.
75040         (localplt-built-dso): New variable.
75041         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75043         * elf/check-localplt.c: File removed.
75045         * scripts/check-execstack.awk: New file.
75046         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75047         (check-execstack-CFLAGS): Variable removed.
75048         ($(objpfx)check-execstack.h): Target removed.
75049         ($(objpfx)execstack-default): New target.
75050         (generated): Add that instead of check-execstack.h.
75051         ($(all-built-dso:=.phdr)): New static pattern rule.
75052         (generated): Add those targets.
75053         * elf/check-execstack.c: File removed.
75055         * scripts/check-textrel.awk: New file.
75056         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75057         (check-textrel-CFLAGS): Variable removed.
75058         (all-built-dso): Use := to define.o
75059         ($(all-built-dso:=.dyn)): New static pattern rule.
75060         (generated): Add those targets.
75061         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75062         * config.make.in (READELF): New substituted variable.
75063         * elf/check-textrel.c: File removed.
75065 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75067         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75068         allow.
75069         * conform/data/ctype.h-data [C99-based standards] (isblank):
75070         Expect function.
75071         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75072         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75073         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75074         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75075         Specify type.  Require positive value.
75076         (EILSEQ): Likewise.
75077         (ERANGE): Likewise.
75078         [ISO || POSIX] (EILSEQ): Do not expect.
75079         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75080         Specify type.  Require positive value.
75081         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75082         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75083         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75084         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75085         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75086         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75087         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75088         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75089         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75090         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75091         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75092         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75093         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75094         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75095         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75096         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75097         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75098         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75099         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75100         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75101         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75102         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75103         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75104         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75105         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75106         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75107         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75108         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75109         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75110         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75111         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75112         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75113         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75114         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75115         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75116         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75117         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75118         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75119         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75120         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75121         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75122         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75123         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75124         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75125         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75126         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75127         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75128         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75129         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75130         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75131         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75132         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75133         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75134         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75135         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75136         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75137         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75138         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75139         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75140         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75141         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75142         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75143         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75144         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75145         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75146         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75147         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75148         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75149         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75150         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75151         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75152         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75153         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75154         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75155         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75156         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75157         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75158         Require >= 2.
75159         (FLT_ROUNDS): Expect as macro, not constant.
75160         (FLT_MANT_DIG): Use macro-int-constant.
75161         (DBL_MANT_DIG): Likewise.
75162         (LDBL_MANT_DIG): Likewise.
75163         (FLT_DIG): Likewise.
75164         (DBL_DIG): Likewise.
75165         (LDBL_DIG): Likewise.
75166         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75167         (DBL_MIN_EXP): Likewise.
75168         (LDBL_MIN_EXP): Likewise.
75169         (FLT_MAX_EXP): Use macro-int-constant.
75170         (DBL_MAX_EXP): Likewise.
75171         (LDBL_MAX_EXP): Likewise.
75172         (FLT_MAX_10_EXP): Likewise.
75173         (DBL_MAX_10_EXP): Likewise.
75174         (LDBL_MAX_10_EXP): Likewise.
75175         (FLT_MAX): Use macro-constant.
75176         (DBL_MAX): Likewise.
75177         (LDBL_MAX): Likewise.
75178         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75179         (DBL_EPSILON): Likewise.
75180         (LDBL_EPSILON): Likewise.
75181         (FLT_MIN): Likewise.
75182         (DBL_MIN): Likewise.
75183         (LDBL_MIN): Likewise.
75184         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75185         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75186         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75187         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75188         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75189         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75190         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75191         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75192         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75193         [ISO11] (FLT_TRUE_MIN): Likewise.
75194         [ISO11] (LDBL_TRUE_MIN): Likewise.
75195         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75196         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75197         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75198         (SCHAR_MAX): Likewise.
75199         (UCHAR_MAX): Likewise.
75200         (CHAR_MIN): Likewise.
75201         (CHAR_MAX): Likewise.
75202         (MB_LEN_MAX): Use macro-int-constant.
75203         (SHRT_MIN): Use macro-int-constant.  Specify type.
75204         (SHRT_MAX): Likewise.
75205         (USHRT_MAX): Likewise.
75206         (INT_MAX): Likewise.
75207         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75208         bound negative.
75209         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75210         bound with "U".
75211         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75212         bound with "L".
75213         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75214         bound negative.  Suffix upper bound with "L".
75215         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75216         bound with "UL".
75217         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75218         Specify type.
75219         [C99-based standards] (LLONG_MAX): Likewise.
75220         [C99-based standards] (ULLONG_MAX): Likewise.
75221         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75222         == 0.
75223         [ISO11] (max_align_t): Require type.
75224         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75226         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75227         from $CFLAGS, without defining away __attribute__ calls.
75228         (checknamespace): Use $CFLAGS_namespace.
75230         * conform/conformtest.pl (@keywords): Only include C99 keywords
75231         for standards based on C99 or C11.
75233         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75234         Disable tests.
75235         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75236         UNIX98]: Likewise.
75238         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75239         usability of symbols in #if.
75241         * conform/conformtest.pl: If macro or constant types start
75242         "promoted:", expect the symbol to be of the following type
75243         promoted by the integer promotions.
75245         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75246         in one place.  Also handle "macro-constant".
75248         * conform/conformtest.pl: Only accept expected macro values with
75249         "==".  Parse all "macro" lines in one place.
75250         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75252         * conform/conformtest.pl: Handle braced types on "constant" lines
75253         instead of handling "typed-constant".
75254         * conform/data/signal.h-data: Use "constant" instead of
75255         "typed-constant".
75257         * conform/conformtest.pl: Handle "optional-" at start of lines in
75258         one place rather than duplicating several cases.  Handle each
75259         format of "macro" line with initial "optional-".
75261         * conform/conformtest.pl: Only accept expected constant or
75262         optional-constant values with "==".  Parse all "constant" lines in
75263         one place.  Parse all "optional-constant" lines in one place.
75264         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75265         * conform/data/fmtmsg.h-data: Likewise.
75266         * conform/data/netinet/in.h-data: Likewise.
75267         * conform/data/tar.h-data: Likewise.
75268         * conform/data/limits.h-data: Use "==" form on "constant" and
75269         "optional-constant" lines.
75271         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75272         Use -std=c99 for XOPEN2K.
75273         (@knownproblems): Remove.
75274         (newtoken): Don't check %isknown.
75276         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75277         Do not expect macro.
75278         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75279         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75280         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75281         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75282         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75283         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75284         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75285         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75286         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75287         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75288         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75289         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75290         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75291         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75292         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75293         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75294         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75295         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75296         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75297         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75298         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75299         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75300         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75301         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75302         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75303         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75304         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75305         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75306         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75307         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75308         [XPG3] (acosh): Likewise.
75309         [XPG3] (asinh): Likewise.
75310         [XPG3] (atanh): Likewise.
75311         [XPG3] (cbrt): Likewise.
75312         [XPG3] (expm1): Likewise.
75313         [XPG3] (ilogb): Likewise.
75314         [XPG3] (log1p): Likewise.
75315         [XPG3] (logb): Likewise.
75316         [XPG3] (nextafter): Likewise.
75317         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75318         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75319         [XPG3] (remainder): Likewise.
75320         [XPG3] (rint): Likewise.
75321         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75322         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75323         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75324         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75325         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75326         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75327         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75328         [UNIX98 || XOPEN2K] (scalb): Expect.
75329         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75330         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75331         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75332         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75333         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75334         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75335         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75336         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75337         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75338         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75339         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75340         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75341         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75342         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75343         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75344         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75345         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75346         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75347         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75348         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75349         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75350         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75351         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75352         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75353         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75354         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75355         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75356         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75357         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75358         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75359         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75360         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75361         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75362         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75363         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75364         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75365         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75366         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75367         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75368         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75369         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75370         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75371         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75372         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75373         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75374         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75375         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75376         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75377         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75378         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
75379         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
75380         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
75381         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
75382         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
75383         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
75384         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
75385         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
75386         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
75387         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
75388         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
75389         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
75390         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
75391         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
75392         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
75393         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
75394         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
75395         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
75396         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
75397         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
75398         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
75399         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
75400         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
75401         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
75402         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
75403         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
75404         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
75405         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
75406         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
75407         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
75408         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
75409         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
75410         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
75411         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
75412         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
75413         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
75414         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
75415         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
75416         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
75417         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
75418         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
75419         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
75420         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
75421         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
75422         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
75423         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
75424         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
75425         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
75426         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
75427         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
75428         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
75429         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
75430         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
75431         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
75432         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
75433         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
75434         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
75435         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
75436         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
75437         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
75438         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
75439         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
75440         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
75441         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
75442         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
75443         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
75444         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
75445         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
75446         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
75447         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
75448         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
75449         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
75450         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
75451         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
75452         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
75453         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
75454         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
75455         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75456         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75457         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75458         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75459         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75460         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75461         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75462         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75463         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75464         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75465         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75467         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75468         _XOPEN_SOURCE_EXTENDED for XPG4.
75470         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75472         * Makeconfig (localtime): Remove variable.
75473         (inst_localtime-file): Likewise.
75475 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75478         Update.
75479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75480         Update.
75481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75482         Update.
75483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75484         Update.
75485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75486         Update.
75487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75488         Update.
75489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75490         Update.
75491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75492         Update.
75493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75494         Update.
75496 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75498         [BZ #2550]
75499         [BZ #2570]
75500         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75501         comparisons to determine direction to adjust input.
75502         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75503         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75504         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75505         Likewise.
75506         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75507         Likewise.
75508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75509         Likewise.
75510         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75511         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75512         Likewise.
75513         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75514         Likewise.
75515         * math/libm-test.inc (nexttoward_test): Add more tests.
75517 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75519         [BZ #14040]
75520         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75521         in version GLIBC_2.1, not GLIBC_2.0.
75522         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75523         Likewise.
75525 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75527         [BZ #13942]
75528         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75529         (1 - x) * (1 + x).
75530         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75531         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75532         * math/libm-test.inc (acos_test): Add more tests.
75533         (asin_test): Likewise.
75534         * sysdeps/i386/fpu/libm-test-ulps: Update.
75535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75537         [BZ #14034]
75538         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75539         of square root.
75540         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75541         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75542         * math/libm-test.inc (acos_test_tonearest): New function.
75543         (acos_test_towardzero): Likewise.
75544         (acos_test_downward): Likewise.
75545         (acos_test_upward): Likewise.
75546         (asin_test_tonearest): Likewise.
75547         (asin_test_towardzero): Likewise.
75548         (asin_test_downward): Likewise.
75549         (asin_test_upward): Likewise.
75550         (main): Call the new functions.
75551         * sysdeps/i386/fpu/libm-test-ulps: Update.
75552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75554         [BZ #13884]
75555         [BZ #13924]
75556         * math/e_exp10.c: Include <float.h>.
75557         (__ieee754_exp10): Handle underflow here rather than multiplying
75558         large negative argument by M_LN10.
75559         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75560         of __ieee754_expf.
75561         * math/e_exp10l.c: Include <float.h>.
75562         (__ieee754_exp10l): Handle underflow here rather than multiplying
75563         large negative argument by M_LN10l.
75564         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75565         spurious overflow exception on underflow.
75567 2012-04-29  Marek Polacek  <polacek@redhat.com>
75569         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75570         (__fortify_function): New macro.
75571         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75572         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75573         __extern_always_inline.
75574         * libio/bits/stdio2.h: Likewise.
75575         * libio/bits/stdio.h: Likewise.
75576         * string/string.h: Likewise.
75577         * string/bits/string3.h: Likewise.
75578         * include/stdio.h: Likewise.
75579         * stdlib/bits/stdlib.h: Likewise.
75580         * stdlib/stdlib.h: Likewise.
75581         * rt/bits/mqueue2.h: Likewise.
75582         * rt/mqueue.h: Likewise.
75583         * posix/bits/unistd.h: Likewise.
75584         * posix/unistd.h: Likewise.
75585         * io/bits/poll2.h: Likewise.
75586         * io/bits/fcntl2.h: Likewise.
75587         * io/fcntl.h: Likewise.
75588         * io/sys/poll.h: Likewise.
75589         * misc/bits/syslog.h: Likewise.
75590         * misc/bits/syslog-ldbl.h: Likewise.
75591         * misc/sys/syslog.h: Likewise.
75592         * socket/bits/socket2.h: Likewise.
75593         * socket/sys/socket.h: Likewise.
75594         * debug/tst-chk1.c: Likewise.
75595         * wcsmbs/bits/wchar2.h: Likewise.
75596         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75597         * wcsmbs/wchar.h: Likewise.
75599 2012-04-29  Andreas Jaeger  <aj@suse.de>
75601         * Makerules (tests): Remove enable-check-abi protection.
75602         (check-abi-warn): Remove.
75603         (check-abi-%): Remove check-abi-warn usage.
75605         * configure.in: Remove check-abi configure option.
75606         * configure: Regenerated.
75607         * config.make.in (enable-check-abi): Remove.
75609 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75611         [BZ #14033]
75612         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75613         double functions to double *_finite functions.
75615         [BZ #13941]
75616         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75617         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75618         LDBL_MIN_EXP.
75619         * stdio-common/Makefile (tests): Add tst-sprintf3.
75620         * stdio-common/tst-sprintf3.c: New file.
75622         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75623         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75625 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75627         * conform/conformtest.pl: Remove duplicate typed-constant
75628         handling.
75630 2012-04-28  David S. Miller  <davem@davemloft.net>
75632         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75633         (check-abi-%): Remove AWK script prerequisite and explicit
75634         abilist directory.
75635         (check-abi): Rewrite to just diff the symlist with the abilist.
75636         (config-tls, config-abi-config): Delete, no longer used.
75637         (update-abi-%): Remove AWK script and explicit abilist directory.
75638         (update-abi): Rewrite to simply compare and conditionally copy the
75639         symlist and the sysdep abilist file.  Remove update-abi-config
75640         checks.
75641         * abilist/ld.abilist: Remove.
75642         * abilist/libBrokenLocale.abilist: Remove.
75643         * abilist/libanl.abilist: Remove.
75644         * abilist/libcrypt.abilist: Remove.
75645         * abilist/libdl.abilist: Remove.
75646         * abilist/librt.abilist: Remove.
75647         * abilist/libthread_db.abilist: Remove.
75648         * abilist/libutil.abilist: Remove.
75649         * scripts/extract-abilist.awk: Remove.
75650         * scripts/merge-abilist.awk: Remove.
75651         * sysdeps/generic/libcidn.abilist: New file.
75652         * sysdeps/generic/libnss_compat.abilist: New file.
75653         * sysdeps/generic/libnss_db.abilist: New file.
75654         * sysdeps/generic/libnss_dns.abilist: New file.
75655         * sysdeps/generic/libnss_files.abilist: New file.
75656         * sysdeps/generic/libnss_hesiod.abilist: New file.
75657         * sysdeps/generic/libnss_nis.abilist: New file.
75658         * sysdeps/generic/libnss_nisplus.abilist: New file.
75659         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75660         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75661         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75662         file.
75663         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75664         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75665         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75666         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75667         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75668         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75669         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75670         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75671         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75672         file.
75673         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75674         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75675         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75676         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75677         file.
75678         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75679         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75680         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75681         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75682         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75683         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75684         file.
75685         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75686         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75687         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75688         file.
75689         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75691         New file.
75692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75693         New file.
75694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75695         New file.
75696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75697         New file.
75698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75699         New file.
75700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75701         New file.
75702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75703         New file.
75704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75705         New file.
75706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75707         New file.
75708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75709         New file.
75710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75711         New file.
75712         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75713         New file.
75714         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75715         New file.
75716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75717         file.
75718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75719         New file.
75720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75721         New file.
75722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75723         file.
75724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75725         New file.
75726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75727         New file.
75728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75729         file.
75730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75731         New file.
75732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75733         New file.
75734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75735         New file.
75736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75737         New file.
75738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75739         New file.
75740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75741         New file.
75742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75744         file.
75745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75746         New file.
75747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75748         file.
75749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75750         file.
75751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75752         file.
75753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75754         file.
75755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75756         file.
75757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75758         New file.
75759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75760         file.
75761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75762         file.
75763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75764         New file.
75765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75766         file.
75767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75769         file.
75770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75771         New file.
75772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75773         file.
75774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75775         file.
75776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75777         file.
75778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75779         file.
75780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75781         file.
75782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75783         New file.
75784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75785         file.
75786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75787         file.
75788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75789         New file.
75790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75791         file.
75792         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75793         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75794         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75795         file.
75796         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75797         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75798         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75799         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75800         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75801         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75802         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75803         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75804         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75805         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75808         file.
75809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75810         New file.
75811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75812         file.
75813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75814         file.
75815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75816         file.
75817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75818         file.
75819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75820         file.
75821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75822         New file.
75823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75824         New file.
75825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75826         file.
75827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75828         New file.
75829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75830         file.
75831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75833         file.
75834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75835         New file.
75836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75837         file.
75838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75839         file.
75840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75841         file.
75842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75843         file.
75844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75845         file.
75846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75847         New file.
75848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75849         New file.
75850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75851         file.
75852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75853         New file.
75854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75855         file.
75857 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75859         * conform/conformtest.pl: Fix typo in handling typed-constant from
75860         allow-header.
75862 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75864         * README: Cut down references to pre-2.6 Linux kernels and
75865         Linuxthreads.  Update lists of configurations in libc and ports
75866         and sort alphabetically.  Say "or newer" with Linux kernel version
75867         requirements.
75869         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75871 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75873         [BZ #887]
75874         * math/libm-test.inc (logb_test_downward): New test to expose
75875         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75876         rounding mode.
75878 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75880         [BZ #14027]
75881         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75882         to be done.
75883         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75884         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75886 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75888         * sysdeps/unix/i386/brk.S: Remove file.
75889         * sysdeps/unix/i386/dl-brk.S: Likewise.
75890         * sysdeps/unix/i386/pipe.S: Likewise.
75891         * sysdeps/unix/i386/sigreturn.S: Likewise.
75892         * sysdeps/unix/i386/syscall.S: Likewise.
75893         * sysdeps/unix/i386/vfork.S: Likewise.
75894         * sysdeps/unix/i386/wait.S: Likewise.
75896         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75897         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75899         * configure.in (arm*-none*): Do not allow without
75900         --enable-hacker-mode.
75901         (netbsd*): Remove case setting base_os.
75902         (386bsd*): Likewise.
75903         (freebsd*): Likewise.
75904         (bsdi*): Likewise.
75905         (osf*): Likewise.
75906         (sunos*): Likewise.
75907         (ultrix*): Likewise.
75908         (newsos*): Likewise.
75909         (dynix*): Likewise.
75910         (*bsd*): Likewise.
75911         (sysv*): Likewise.
75912         (isc*): Likewise.
75913         (esix*): Likewise.
75914         (sco*): Likewise.
75915         (minix*): Likewise.
75916         (irix4*): Likewise.
75917         (irix6*): Likewise.
75918         (solaris[2-9]*): Likewise.
75919         (none): Likewise.
75920         * configure: Regenerated.
75922 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75924         [BZ #11521]
75925         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75926         overflow or cancellation in calculating denominator.
75927         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75928         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75929         down expression to avoid unexpected rounding in newer GCCs.
75930         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75932 2012-04-26  David S. Miller  <davem@davemloft.net>
75934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75935         long-double compat symbols.
75936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75950 2012-04-25  David S. Miller  <davem@davemloft.net>
75952         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75953         HWCAP_* values only after the memory barriers have been defined.
75954         (atomic_full_barrier): Define.
75955         (atomic_read_barrier): Define.
75956         (atomic_write_barrier): Define.
75958 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75960         * shlib-versions: Add libgcc_s version information.
75961         * sysdeps/generic/libgcc_s.h: Remove.
75962         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75963         libgcc_s.h.
75964         * sysdeps/gnu/unwind-resume.c: Likewise.
75965         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75967 2012-04-25  David S. Miller  <davem@davemloft.net>
75969         * sysdeps/unix/sparc/brk.S: Delete.
75970         * sysdeps/unix/sparc/dl-brk.S: Delete.
75971         * sysdeps/unix/sparc/pipe.S: Delete.
75972         * sysdeps/unix/sparc/sysdep.S: Delete.
75973         * sysdeps/unix/sparc/sysdep.h: Delete.
75974         * sysdeps/unix/sparc/vfork.S: Delete.
75975         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75976         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75977         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75978         (ret_ERRVAL, r0, r1, MOVE): Define.
75979         (JUMPTARGET): Remove.
75980         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75981         sysdeps/unix/sparc/sysdep.h
75982         (ENTRY, END): Remove.
75983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75985 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75987         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75988         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75989         -DIS_IN_build.
75991         * timezone/README: Update upstream location and email address for
75992         tzcode and tzdata.
75993         * timezone/zdump.c: Update from tzcode 2012b.
75994         * timezone/zic.c: Likewise.
75996         * configure.in (libc_cv_as_needed): Remove test.
75997         * configure: Regenerated.
75998         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75999         conditional definition.
76000         [$(have-as-needed) != yes] (no-as-needed): Likewise.
76001         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
76002         * config.make.in (have-as-needed): Remove variable.
76004 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76005             Paul Pluzhnikov  <ppluzhnikov@google.com>
76007         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
76008         strings correctly.
76010 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
76012         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
76013         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
76014         * sysdeps/sh/strlen.S: Likewise.
76016 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76018         * sysdeps/unix/fork.S: Remove file.
76019         * sysdeps/unix/i386/fork.S: Likewise.
76020         * sysdeps/unix/sparc/fork.S: Likewise.
76022         * sysdeps/unix/system.c: Remove file.
76023         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
76025         * sysdeps/unix/getegid.S: Remove file.
76026         * sysdeps/unix/geteuid.S: Likewise.
76028 2012-04-24  Roland McGrath  <roland@hack.frob.com>
76030         * scripts/check-localplt.awk: New file.
76031         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
76032         of diff.
76033         * scripts/data/localplt-generic.data: Add a comment.
76035         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
76036         NODE when __dir_mkfile failed.
76037         * sysdeps/mach/hurd/symlinkat.c: Likewise.
76038         Reported by Ludovic Courtès <ludo@gnu.org>.
76040 2012-04-24  Andreas Jaeger  <aj@suse.de>
76042         * Makerules (common-clean): Also remove gen-as-const-headers
76043         files.
76045 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76047         * Makerules (native-compile): Do not change working directory for
76048         build.  Use $(OUTPUT_OPTION) in command.
76049         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76051 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76053         [BZ #13886]
76054         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76055         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76056         * math/libm-test.inc (floor_test): Add more tests.
76057         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76059 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76061         * sysdeps/unix/getdents.c: Remove file.
76062         * sysdeps/unix/sysv/getdents.c: Likewise.
76063         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76065         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76066         sysdeps/unix/mman/syscalls.list.
76067         (mmap): Likewise.
76068         (mprotect): Likewise.
76069         (msync): Likewise.
76070         (munmap): Likewise.
76071         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76072         * sysdeps/unix/mman/syscalls.list: Remove.
76073         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76075         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76076         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76077         * configure: Regenerated.
76078         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76079         $(libgcc_s_suffix).
76080         * config.make.in (libgcc_s_suffix): Remove variable.
76082 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76084         * sysdeps/unix/sysv/gethostname.c: Move to ...
76085         * sysdeps/posix/gethostname.c: ... here.
76087         * sysdeps/unix/execve.S: Remove file.
76089         * sysdeps/unix/_exit.S: Remove file.
76091 2012-04-23  Andreas Jaeger  <aj@suse.de>
76093         [BZ #13739]
76094         * manual/Makefile: Remove make dist support, there's no
76095         need for a stand-alone documentation tar ball.
76096         (TEXI2DVI): Define always, it's not in Makeconfig.
76097         (dist): Removed.
76098         (tar-it): Removed.
76099         (edition): Removed.
76100         (glibc-doc-$(edition).tar): Removed
76101         (%.Z): Removed.
76102         (%.gz): Removed.
76103         (%.uu): Removed.
76104         (ETAGS): Remove, it's in Makeconfig.
76105         (move-if-change): Remove, it's in Makeconfig.
76107 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76109         [BZ #13970]
76110         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76111         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76112         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76113         (strtod_l, strtof_l, strtold_l): Remove __wur.
76114         It is not necessarily an error to ignore strtol's return value.
76115         One can reliably look at the stored endptr to decide whether
76116         the number had valid syntax.
76118 2012-04-21  Andreas Jaeger  <aj@suse.de>
76120         [BZ #13739]
76121         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76123 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76125         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76126         * sysdeps/unix/sysv/Versions: Remove file.
76128 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76130         [BZ #13927]
76131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76133 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76135         [BZ #7064]
76136         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76137         version from __vm86.
76139 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76141         * sysdeps/unix/common/lxstat.c: Remove file.
76142         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76144         * sysdeps/unix/sysv/Makefile: Remove file.
76146         * sysdeps/unix/sysv/direct.h: Remove file.
76148         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76149         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76150         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76151         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76152         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76153         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76154         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76156         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76158         * sysdeps/unix/xmknod.c: Remove file.
76159         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76161         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76163         * sysdeps/unix/sysv/i386/time.S: Remove file.
76165         * sysdeps/unix/fxstat.c: Remove file.
76166         * sysdeps/unix/xstat.c: Likewise.
76167         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76169         * sysdeps/unix/sysv/sigaction.c: Remove file.
76171         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76172         (sysdep_headers): Remove variable.
76173         [termio.h not in sysdep_headers] (generated): Likewise.
76174         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76175         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76176         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76177         * sysdeps/unix/sysv/tcflow.c: Likewise.
76178         * sysdeps/unix/sysv/tcflush.c: Likewise.
76179         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76180         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76181         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76182         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76183         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76185         * sysdeps/unix/siglist.c: Remove file.
76187         * sysdeps/unix/getppid.S: Remove file.
76189         * sysdeps/unix/mkdir.c: Remove file.
76190         * sysdeps/unix/rmdir.c: Likewise.
76192 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76194         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76195         ERR_MAX value.
76196         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76197         errlist-compat value.
76199 2012-04-18  David S. Miller  <davem@davemloft.net>
76201         * sysdeps/generic/memcopy.h (reg_char): Delete.
76202         * debug/strcat_chk.c: Use char, not reg_char.
76203         * debug/strcpy_chk.c: Likewise.
76204         * debug/strncat_chk.c: Likewise.
76205         * debug/strncpy_chk.c: Likewise.
76206         * string/memchr.c: Likewise.
76207         * string/memrchr.c: Likewise.
76208         * string/rawmemchr.c: Likewise.
76209         * string/strcat.c: Likewise.
76210         * string/strchr.c: Likewise.
76211         * string/strchrnul.c: Likewise.
76212         * string/strcmp.c: Likewise.
76213         * string/strcpy.c: Likewise.
76214         * string/strncat.c: Likewise.
76215         * string/strncmp.c: Likewise.
76216         * string/strncpy.c: Likewise.
76218 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76220         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76221         __builtin_memcopy is called when src and dest ranges are known to not
76222         overlap.
76224 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76226         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76227         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76228         fwd_align_merge macro call.
76229         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76230         bwd_align_merge macro call.
76231         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76233 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76235         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76236         bwd_align_merge macros.
76237         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76238         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76239         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76241 2012-04-18  David S. Miller  <davem@davemloft.net>
76243         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76245 2012-04-18  Andreas Jaeger  <aj@suse.de>
76247         [BZ# 6794]
76248         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76249         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76250         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76252         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76253         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76254         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76256         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76257         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76258         Adjust for changed ldbl-128 files.
76260         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76261         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76262         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76264 2012-04-17  David S. Miller  <davem@davemloft.net>
76266         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76268 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76270         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76271         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76272         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76273         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76274         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76275         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76277 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76279         [BZ #6794]
76280         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76281         * math/libm-test.inc: Add ilogb errno and exception tests.
76282         * math/w_ilogb.c: New file: ilogb wrapper.
76283         * math/w_ilogbf.c: New file: ilogbf wrapper.
76284         * math/w_ilogbl.c: New file: ilogbl wrapper.
76285         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76286         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76287         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76288         exception being thrown with 0.0 as argument.
76289         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76290         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76291         exception being thrown with 0.0 as argument.
76292         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76293         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76294         exception being thrown with 0.0 as argument.
76295         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76296         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76297         exception being thrown with 0.0 as argument.
76298         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76299         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76300         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76301         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76302         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76303         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76304         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76305         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76306         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76308 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76310         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76311         with altivec.
76313 2012-04-16  Marek Polacek  <polacek@redhat.com>
76315         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76317 2012-04-16  Marek Polacek  <polacek@redhat.com>
76319         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76320         operands of fdivp instruction.
76322 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76324         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76325         * elf/tst-auditmod3b.c: Likewise.
76326         * elf/tst-auditmod4b.c: Likewise.
76327         * elf/tst-auditmod5b.c: Likewise.
76328         * elf/tst-auditmod6b.c: Likewise.
76329         * elf/tst-auditmod6c.c: Likewise.
76330         * elf/tst-auditmod7b.c: Likewise.
76331         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76332         * sysdeps/x86_64/preconfigure.in: Likewise.
76333         * sysdeps/x86_64/preconfigure: Regenerated.
76335 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76337         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76338         __ILP32__.
76340 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76342         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76343         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76345 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76347         [BZ #13973]
76348         * locale/iso-639.def: Fix gl language name. Spotted by
76349         Yaron Shahrabani.
76351 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76353         [BZ #2074]
76354         * libio/libio.h (__io_write_fn): Update comment.
76356 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76358         [BZ #2074]
76359         * stdio.texi (Hook Functions): The user provided writer function
76360         is not allowed to return -1.
76362 2012-04-11  David S. Miller  <davem@davemloft.net>
76364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76366 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76368         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76369         Add a leading slash to rtkaio.
76371 2012-04-11  Jim Meyering  <meyering@redhat.com>
76373         [BZ #11959]
76374         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76375         It is not necessarily an error to ignore fwrite's return
76376         value.  One can reliably use ferror to test for errors after
76377         the fact.
76379 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76381         * bits/types.h (__snseconds_t): New type.
76382         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
76384         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
76385         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76386         (__SNSECONDS_T_TYPE): Likewise.
76387         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76388         (__SNSECONDS_T_TYPE): Likewise.
76389         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76390         (__SNSECONDS_T_TYPE): Likewise.
76392 2012-04-10  Andreas Jaeger  <aj@suse.de>
76394         [BZ #2636]
76395         * manual/time.texi (Processor Time): Return type of times is
76396         elapsed real time since an arbitrary point in the past.
76397         (CPU Time): Move CLK_TCK from here...
76398         (Processor Time): ...to here.  Correct description.
76399         * manual/conf.texi (Constants for Sysconf): Correct description of
76400         _SC_CLK_TCK.
76402 2012-04-10  David S. Miller  <davem@davemloft.net>
76404         [BZ #13967]
76405         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
76406         where the is a gap between DT_REL(A) and DT_JMPREL.
76408 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76410         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
76411         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76412         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76414 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
76416         * elf/dl-support.c (_dl_inhibit_cache): New variable.
76417         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
76418         (dl_main): Handle --inhibit-cache.
76419         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
76420         _dl_inhibit_cache.
76421         * elf/dl-load.c (_dl_map_object): Use it.
76422         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
76424 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76426         [BZ #13872]
76427         * sysdeps/i386/fpu/e_powl.S (p78): New object.
76428         (__ieee754_powl): Saturate large exponents rather than testing for
76429         overflow of y*log2(x).
76430         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76431         * math/libm-test.inc (pow_test): Do not permit spurious overflow
76432         exceptions.
76434         [BZ #11521]
76435         * math/s_ctan.c: Include <float.h>.
76436         (__ctan): Avoid internal overflow or cancellation in calculating
76437         denominator.
76438         * math/s_ctanf.c: Likewise.
76439         * math/s_ctanl.c: Likewise.
76440         * math/s_ctanh.c: Likewise.
76441         * math/s_ctanhf.c: Likewise.
76442         * math/s_ctanhl.c: Likewise.
76443         * math/libm-test.inc (ctan_test): Add more tests.
76444         (ctanh_test): Likewise.
76445         * sysdeps/i386/fpu/libm-test-ulps: Update.
76446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76448 2012-04-09  Andreas Jaeger  <aj@suse.de>
76450         [BZ #6894]
76451         * manual/filesys.texi (Directory Entries): Mention that d_namlen
76452         is an optional BSD extension.
76454         [BZ #10254]
76455         * manual/stdio.texi (Opening Streams): Document additional fopen
76456         parameters.
76458 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76460         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76461         %eax without telling the compiler.
76463 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76465         [BZ # 13963]
76466         * manual/install.texi: Use sourceware.org.
76468 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76470         [BZ #13873]
76471         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76472         (__ieee754_pow): Generate overflow and underflow using huge*huge
76473         and tiny*tiny rather than just returning constant infinity or zero
76474         for large exponents.
76475         * math/libm-test.inc (pow_test): Require overflow exceptions for
76476         applicable cases of large exponents.
76478         [BZ #706]
76479         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76480         (__ieee754_pow): Use iterative multiplication algorithm only for
76481         integer exponents with absolute value below 1024.  Check for odd
76482         integer exponents when using algorithm for real exponents.
76483         * math/libm-test.inc (pow_test): Add more tests.
76484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76486 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76488         [BZ #13705]
76489         * math/libm-test.inc (exp_test): Do not allow overflow exception
76490         on underflow test.
76492 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76494         [BZ #13705]
76495         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76496         instead of __kernel_standard_f.
76498 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76500         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76501         * sysdeps/x86_64/memset_chk.S: Likewise.
76503 2012-04-08  Andreas Jaeger  <aj@suse.de>
76505         [BZ #10153]
76506         * manual/startup.texi (Environment Access): Describe return value
76507         for putenv and setenv.
76509         [BZ #6895]
76510         * manual/filesys.texi (Directory Entries): Add description for
76511         DT_LNK.
76513         [BZ #6890]
76514         * manual/filesys.texi (Directory Entries): Clarify that it's file
76515         system not operating system in the description of DT_UNKNOWN.
76517         [BZ #6578]
76518         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76520 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76522         [BZ #6649]
76523         * manual/llio.texi (Opening and Closing Files): Add cross
76524         reference to explain mode argument.
76526 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76528         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76529         * sysdeps/x86_64/memset_chk.S: Likewise.
76531 2012-04-07  David S. Miller  <davem@davemloft.net>
76533         * elf/elf.h (R_SPARC_WDISP10): Define.
76534         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76535         R_SPARC_SIZE32.
76536         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76537         R_SPARC_SIZE64 and R_SPARC_H34.
76539 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76541         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76542         conditions and remove no longer applicable assertion.
76544 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76546         * bits/byteswap.h: Include <features.h>.
76547         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76548         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76550 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76552         * bits/byteswap.h (__bswap_16): Removed.
76553         Include <bits/byteswap-16.h> to get __bswap_16.
76554         * sysdeps/i386/bits/byteswap.h: Likewise.
76555         * sysdeps/s390/bits/byteswap.h: Likewise.
76556         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76557         * bits/byteswap-16.h: New file.
76558         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76559         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76560         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76561         * string/Makefile (headers): Add bits/byteswap-16.h.
76563 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76565         [BZ #13895]
76566         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76567         extra indirection.
76568         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76569         * nss/tst-nss-static.c: New.
76571 2012-04-06  Robert Millan  <rmh@gnu.org>
76573         [BZ #6486]
76574         * manual/llio.texi (File Position Primitive): lseek
76575         refers to WHENCE when it really means OFFSET.
76577 2012-04-06  Andreas Jaeger  <aj@suse.de>
76579         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76580         strncmp declarations.
76582         * abilist/libc.abilist: Add __poll and __ppoll.
76584 2012-04-05  David S. Miller  <davem@davemloft.net>
76586         * scripts/check-local-headers.sh: Accept a host triplet in the
76587         path matched by the exclude regexp.
76589         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76590         definition.
76591         * sysdeps/powerpc/powerpc32/dl-machine.h
76592         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76593         * sysdeps/s390/s390-32/dl-machine.h
76594         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76595         * sysdeps/sparc/sparc32/dl-machine.h
76596         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76597         * sysdeps/sparc/sparc64/dl-machine.h
76598         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76600         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76601         lazy binding.
76602         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76603         undefined symbol errors.
76605         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76606         DT_NEEDED entries.
76608 2012-04-05  Michael Matz  <matz@suse.de>
76610         [BZ #13592]
76611         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76613 2012-04-05  Andreas Jaeger  <aj@suse.de>
76615         [BZ #13908]
76616         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76617         comment.
76619 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76621         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76622         which ROUND is no valid rounding mode.
76624 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76626         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76627         read again.
76628         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76630 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76632         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76633         an exception using FPU order intentionally.
76635 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76637         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76638         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76639         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76640         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76642 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76644         [BZ #12340]
76645         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76646         EINVAL when BUFLEN is too smal.
76648 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76650         [BZ #13553]
76651         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76652         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76654 2012-04-03  Andreas Jaeger  <aj@suse.de>
76656         [BZ #13938]
76657         * manual/setjmp.texi (System V contexts): Fix sentence.
76659         [BZ #13926]
76660         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76661         New macro for this case.
76662         [!__GNUC__] (__bswap_64): New inline function for this case.
76663         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76664         * bits/byteswap.h: Likewise.
76665         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76666         ull, guard with __GLIBC_HAVE_LONG_LONG.
76668         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76669         __GLIBC_HAVE_LONG_LONG.
76671         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76672         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76674 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76676         [BZ #13691]
76677         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76678         inptr and inend, rather than using last_ch.
76680 2012-04-02  David S. Miller  <davem@davemloft.net>
76682         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76683         * stdio-common/printf-parse.h (read_int): Change return type to
76684         'int', return -1 on INT_MAX overflow.
76685         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76686         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76687         overflows INT_MAX.  Check for overflow of in-format-string precision
76688         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76689         SIZE_MAX not INT_MAX for integer overflow test.
76690         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76691         skip the construct in the format string but do not record anything.
76692         * stdio-common/bug22.c: Adjust to test both width/prevision
76693         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76694         explicitly for proper errno values.
76696 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76698         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76699         CHAR_MAX.
76700         * string/test-strcmp.c [! WIDE]: Likewise.
76701         * time/tst-mktime2.c: Likewise for INT_MAX.
76702         * string/test-string.h: #include <sys/param.h> for MIN.
76704         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76705         * sysdeps/i386/init-first.c (init): Likewise.
76706         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76707         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76708         * sysdeps/sh/init-first.c (init): Likewise.
76710 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76712         * po/ru.po: Update from translation team.
76713         * po/vi.po: Likewise.
76715 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76717         * resolv/nss_dns/dns-host.c: Merge copyright years.
76719 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76721         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76722         Optimize memcpy with prefetch if
76723         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76724         src, dst pointers have unequal 16 byte alignments.
76726 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76728         [BZ #13928]
76729         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76730         from a CNAME entry and return the minimum ttl for the query.
76731         (gaih_getanswer_slice): Likewise.
76733 2012-03-30  Jeff Law  <law@redhat.com>
76735         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76736         due to long keys.
76737         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76738         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76740         * resolv/nss_dns/dns-host.c: Update copyright year.
76742 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76744         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76745         requests to save a system call.  Fix check that all bytes are sent.
76747         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76748         comments for sendmmsg.
76750 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76752         [BZ #13691]
76753         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76754         with only 1 character between 0x0041 and 0x01b0.
76755         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76756         * wcsmbs/tst-mbsnrtowcs.c: New file.
76758 2012-03-29  David S. Miller  <davem@davemloft.net>
76760         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76761         small copies by hand.
76763 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76765         [BZ #13761]
76766         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76767         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76768         group memberships.
76770 2012-03-28  David S. Miller  <davem@davemloft.net>
76772         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76773         that branches into memcpy.
76774         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76775         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76776         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76777         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76778         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76779         bits.
76780         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76781         implementation too.
76782         * sysdeps/sparc/mempcpy.S: New file.
76784         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76785         the IFUNC routine in the libc case.
76786         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76788         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76789         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76790         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76791         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76792         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76793         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76794         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76795         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76797         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76798         loop to 256 bytes instead of 64 bytes and fix test signedness.
76800         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76801         * sysdeps/sparc/sparc32/Makefile: rather than here...
76802         * sysdeps/sparc/sparc64/Makefile: and here.
76804 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76806         * malloc/mallocbug.c: Avoid warnings about unused variables.
76808 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76810         [BZ #13760]
76811         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76812         in the right place. Discard and retry query if response is
76813         larger than input buffer size.
76815 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76817         [BZ #369]
76818         [BZ #2678]
76819         [BZ #3866]
76820         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76821         x for large integer exponent.
76822         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76823         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76824         sign of result as needed afterwards.
76825         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76826         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76827         result for underflowing pow the same as for overflow.
76828         (__kernel_standard_l): Handle powl overflow and underflow here
76829         rather than calling __kernel_standard.
76830         * math/libm-test.inc (pow_test): Add more tests.
76832         [BZ #3868]
76833         [BZ #13879]
76834         [BZ #13910]
76835         [BZ #13911]
76836         [BZ #13912]
76837         [BZ #13913]
76838         [BZ #13915]
76839         [BZ #13916]
76840         [BZ #13917]
76841         [BZ #13918]
76842         [BZ #13919]
76843         [BZ #13920]
76844         [BZ #13921]
76845         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76846         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76847         (__kernel_standard_l): New function.
76848         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76849         __kernel_standard.
76850         * math/w_acosl.c (__acosl): Likewise.
76851         * math/w_asinl.c (__asinl): Likewise.
76852         * math/w_atan2l.c (__atan2l): Likewise.
76853         * math/w_atanhl.c (__atanhl): Likewise.
76854         * math/w_coshl.c (__coshl): Likewise.
76855         * math/w_exp10l.c (__exp10l): Likewise.
76856         * math/w_exp2l.c (__exp2l): Likewise.
76857         * math/w_fmodl.c (__fmodl): Likewise.
76858         * math/w_hypotl.c (__hypotl): Likewise.
76859         * math/w_j0l.c (__j0l, __y0l): Likewise.
76860         * math/w_j1l.c (__j1l, __y1l): Likewise.
76861         * math/w_jnl.c (__jnl, __ynl): Likewise.
76862         * math/w_lgammal.c (__lgammal): Likewise.
76863         * math/w_log10l.c (__log10l): Likewise.
76864         * math/w_log2l.c (__log2l): Likewise.
76865         * math/w_logl.c (__logl): Likewise.
76866         * math/w_powl.c (__powl): Likewise.
76867         * math/w_remainderl.c (__remainderl): Likewise.
76868         * math/w_scalbl.c (sysv_scalbl): Likewise.
76869         * math/w_sinhl.c (__sinhl): Likewise.
76870         * math/w_sqrtl.c (__sqrtl): Likewise.
76871         * math/w_tgammal.c (__tgammal): Likewise.
76872         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76873         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76874         * math/libm-test.inc (acos_test): Add more tests.
76875         (acosh_test): Likewise.
76876         (asin_test): Likewise.
76877         (atanh_test): Likewise.
76878         (exp_test): Likewise.
76879         (exp10_test): Likewise.
76880         (exp2_test): Likewise.
76881         (expm1_test): Likewise.
76882         (lgamma_test): Likewise.
76883         (log_test): Likewise.
76884         (log10_test): Likewise.
76885         (log1p_test): Likewise.
76886         (log2_test): Likewise.
76887         (pow_test): Do not allow some spurious overflow exceptions.
76888         (sqrt_test): Add more tests.
76889         (tgamma_test): Likewise.
76890         (y0_test): Likewise.
76891         (y1_test): Likewise.
76892         (yn_test): Likewise.
76894 2012-03-27  Anton Blanchard  <anton@samba.org>
76896         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76897         MAP_HUGETLB.
76898         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76899         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76900         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76902 2012-03-27  David S. Miller  <davem@davemloft.net>
76904         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76906         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76907         have-as-vis3 check.
76909 2012-03-27  Andreas Jaeger  <aj@suse.de>
76911         * sysdeps/x86_64/elf/configure.in: Moved to ...
76912         * sysdeps/x86_64/configure.in: ... here.
76913         * sysdeps/x86_64/elf/start.S: Moved to ...
76914         * sysdeps/x86_64/start.S: ... here.
76915         * sysdeps/x86_64/elf/configure: Delete.
76917         * sysdeps/x86_64/configure.in: Merge contents from
76918         sysdeps/i386/configure.in (without i686 check).
76920         * sysdeps/i386/elf/Versions: Merge into ...
76921         * sysdeps/i386/Versions: ... this.
76922         * sysdeps/i386/elf/Versions: Delete file.
76923         * sysdeps/i386/elf/start.S: Moved to ...
76924         * sysdeps/i386/start.S: ...here.
76925         * sysdeps/i386/elf/configure.in: Merge into...
76926         * sysdeps/i386/configure.in: ...here.
76927         * sysdeps/i386/elf/configure.in: Delete file.
76928         * sysdeps/i386/elf/configure: Delete file.
76930         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76931         * debug/backtracesyms.c: ... here.
76932         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76933         * debug/backtracesymsfd.c: ... here.
76934         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76935         * sysdeps/generic/ifunc-sel.h: ... here.
76937         * sysdeps/unix/i386/start.c: Delete file.
76938         * sysdeps/unix/sparc/start.c: Delete file.
76939         * sysdeps/unix/start.c: Delete file.
76941         * sysdeps/sh/elf/configure.in: Moved to ...
76942         * sysdeps/sh/configure.in: ... here.
76943         * sysdeps/sh/elf/start.S: Moved to ...
76944         * sysdeps/sh/start.S: ... here.
76945         * sysdeps/sh/elf/configure: Delete file.
76947         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76948         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76949         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76950         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76951         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76952         * sysdeps/powerpc/powerpc64/start.S: here.
76953         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76954         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76955         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76956         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76957         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76959         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76960         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76961         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76962         * sysdeps/powerpc/powerpc32/start.S: ... here.
76963         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76964         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76965         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76967         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76968         * sysdeps/powerpc/ifunc-sel.h: ... here.
76969         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76970         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76972         * sysdeps/sparc/elf/configure.in: Moved to ...
76973         * sysdeps/sparc/configure.in: ... here.
76974         * sysdeps/sparc/elf/configure: Delete file.
76975         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76976         * sysdeps/sparc/sparc32/start.S: ... here.
76977         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76978         * sysdeps/sparc/sparc64/start.S: ... here.
76979         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76980         * sysdeps/sparc/sparc32/Makefile: ... this.
76981         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76982         * sysdeps/sparc/sparc64/Makefile: ... this.
76984         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76985         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76986         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76987         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76988         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76989         * sysdeps/s390/s390-32/setjmp.S: ... here.
76990         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76991         * sysdeps/s390/s390-32/configure.in: ... here.
76992         * sysdeps/s390/s390-32/elf/configure: Delete file.
76993         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76994         * sysdeps/s390/s390-32/start.S: ... here.
76996         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76997         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76998         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76999         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
77000         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
77001         * sysdeps/s390/s390-64/setjmp.S: ... here.
77002         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
77003         * sysdeps/s390/s390-64/configure.in: ... here
77004         * sysdeps/s390/s390-64/elf/configure: Delete file.
77005         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
77006         * sysdeps/s390/s390-64/start.S: ... here.
77007         * sysdeps/s390/s390-64/elf/configure: Delete.
77009         * configure.in: Remove support for elf directories in sysdeps.
77011         * configure: Regenerated.
77012         * sysdeps/i386/configure: Regenerated.
77013         * sysdeps/powerpc/powerpc32/configure: Regenerated.
77014         * sysdeps/powerpc/powerpc64/configure: Regenerated.
77015         * sysdeps/s390/s390-32/configure: Regenerated.
77016         * sysdeps/s390/s390-64/configure: Regenerated.
77017         * sysdeps/sh/configure: Regenerated.
77018         * sysdeps/sparc/configure: Regenerated.
77019         * sysdeps/x86_64/configure: Regenerated.
77021 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
77023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77025         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
77026         denormal result into account.
77028 2012-03-25  Roland McGrath  <roland@hack.frob.com>
77030         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
77031         Reported by Allan McRae <allan@archlinux.org>.
77033 2012-03-23  Jeff Law  <law@redhat.com>
77035         * nss/getnssent.c (__nss_getent): Fix typo.
77037 2012-03-23  David S. Miller  <davem@davemloft.net>
77039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77041 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77043         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77044         to pad to uint64_t for each field.
77045         (dl_tls_index): Replace unsigned long with uint64_t.
77047 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77048         Paul Pluzhnikov  <ppluzhnikov@google.com>
77050         [BZ #6528]
77051         * grp/Makefile (otherlibs): Don't set it.
77052         * inet/Makefile (otherlibs): Likewise.
77053         * login/Makefile (otherlibs): Likewise.
77054         * nscd/Makefile (otherlibs): Likewise.
77055         * posix/Makefile (otherlibs): Likewise.
77056         * pwd/Makefile (otherlibs): Likewise.
77057         * rt/Makefile (otherlibs): Likewise.
77058         * sunrpc/Makefile (otherlibs): Likewise.
77059         * nss/Makefile (otherlibs): Likewise.
77060         Add libnss_files to routines and static-only-routines.
77061         ($(objpfx)getent): Remove rule.
77062         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77063         static-only-routines.
77065 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77067         [BZ #13892]
77068         * math/s_cexp.c: Include <float.h>.
77069         (__cexp): Handle exp result overflowing not necessarily
77070         overflowing both real and imaginary parts of result.
77071         * math/s_cexpf.c: Likewise.
77072         * math/s_cexpl.c: Likewise.
77073         * math/libm-test.inc (cexp_test): Add more tests.
77074         * sysdeps/i386/fpu/libm-test-ulps: Update.
77075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77077 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77079         * include/link.h (ELFW): New macro.
77080         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77081         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77083 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77085         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77086         with uint64_t.
77088 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77090         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77091         declaration.
77092         (struct La_x32_retval): Likewise.
77094 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77096         * sysdeps/x86_64/preconfigure.in: New file.
77097         * sysdeps/x86_64/preconfigure: New generated file.
77099 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77101         [BZ #13824]
77102         * math/e_exp2l.c: Include <float.h>.
77103         (__ieee754_exp2l): Handle overflow and underflow cases
77104         separately.  Only pass fractional part of argument to
77105         __ieee754_expl.
77106         * math/libm-test.inc (exp2_test): Add more tests.
77108         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77109         negating x to take absolute value.
77110         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77111         Likewise.
77112         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77113         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77114         Likewise.
77115         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77116         computing low part if x was negated.
77117         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77119 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77121         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77122         la_x32_gnu_pltexit.
77123         (pltexit): Cast int_retval to ptrdiff_t.
77124         * elf/tst-auditmod3b.c: Likewise.
77125         * elf/tst-auditmod4b.c: Likewise.
77126         * elf/tst-auditmod5b.c: Likewise.
77127         * elf/tst-auditmod6b.c: Likewise.
77128         * elf/tst-auditmod6c.c: Likewise.
77129         * elf/tst-auditmod7b.c: Likewise.
77131         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77132         and x32_gnu_pltexit.
77134         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77135         __ELF_NATIVE_CLASS.
77136         (La_x32_regs): New macro.
77137         (La_x32_retval): Likewise.
77138         (la_x32_gnu_pltenter): New function prototype.
77139         (la_x32_gnu_pltexit): Likewise.
77141 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77143         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77144         exponent.
77146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77148         * configure.in (libc_cv_cc_nofma): Check for option to disable
77149         generation of FMA instructions.
77150         * configure: Regenerate.
77151         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77152         * sysdeps/ieee754/dbl-64/Makefile: New file.
77153         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77154         Remove brandred-fma4.
77155         (CFLAGS-brandred-fma4.c): Remove.
77156         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77157         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77158         define.
77159         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77160         define.
77162 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77164         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77165         LLONG_MAX != LONG_MAX.
77166         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77167         (_fitoa_word): Likewise.
77168         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77169         LLONG_MAX != LONG_MAX.
77170         * stdio-common/_itowa.h: Include <_itoa.h>.
77171         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77172         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77173         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77174         only if not defined.
77175         (_ITOA_WORD_TYPE): Likewise.
77176         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77177         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77179 2012-03-21  David S. Miller  <davem@davemloft.net>
77181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77183 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77185         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77186         of x86_64 when setting libc_cv_slibdir, libdir and
77187         libc_cv_localedir.
77188         * sysdeps/unix/sysv/linux/configure: Regenerated.
77190 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77192         * manual/lang.texi (Old Varargs): Remove section.
77193         (How Variadic): Update menu.
77194         (va_start): Do not mention varargs.h.
77196 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77197             Joseph Myers  <joseph@codesourcery.com>
77199         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77200         link test.
77201         * configure: Regenerated.
77203 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77205         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77206         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77207         conformtest.pl
77209 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77211         * NOTES: Remove.
77212         * Makefile (files-for-dist): Remove NOTES.
77213         (NOTES): Remove rule.
77214         * README: Don't refer to NOTES.
77215         * manual/creature.texi: Don't include macros.texi.
77216         * manual/intro.texi (creature.texi): Remove comment referring to
77217         NOTES.
77219         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77220         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77221         * configure: Regenerated.
77222         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77223         LIBC_TRY_CC_OPTION.
77224         (libc_cv_as_i686): Likewise.
77225         (libc_cv_cc_avx): Likewise.
77226         (libc_cv_cc_sse2avx): Likewise.
77227         (libc_cv_cc_fma4): Likewise.
77228         (libc_cv_cc_novzeroupper): Likewise.
77229         * sysdeps/i386/configure: Regenerated.
77231         [BZ #13883]
77232         * sysdeps/i386/fpu/s_cexp.S: Remove.
77233         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77234         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77235         * math/libm-test.inc (cexp_test): Add more tests.
77236         * sysdeps/i386/fpu/libm-test-ulps: Update.
77237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77239 2012-03-21  Allan McRae  <allan@archlinux.org>
77241         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77243 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77245         [BZ #13871]
77246         * math/w_exp2.c: Do not include <float.h>.
77247         (o_threshold, u_threshold): Remove.
77248         (__exp2): Calculate result before checking finiteness and calling
77249         __kernel_standard.
77250         * math/w_exp2f.c: Likewise.
77251         * math/w_exp2l.c: Likewise.
77252         * math/libm-test.inc (exp2_test): Require overflow exception for
77253         1e6 input.
77255         [BZ #3866]
77256         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77257         range of signed 64-bit integers before using fistpll.  Remove
77258         checks for whether integers fit in mantissa bits.
77259         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77260         the range of signed 32-bit integers before using fistpl.  Remove
77261         checks for whether integers fit in mantissa bits.
77262         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77263         (__ieee754_powl): Test for y outside the range of signed 64-bit
77264         integers before using fistpll.  Reduce 64-bit values to 63-bit
77265         ones as needed.
77266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77267         divide-by-zero is raised for zero to large negative powers.
77268         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77269         (__ieee754_powl): Test for y outside the range of signed 64-bit
77270         integers before using fistpll.  Reduce 64-bit values to 63-bit
77271         ones as needed.
77272         * math/libm-test.inc (pow_test): Add more tests.
77274 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77276         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77277         <stdio-common/_itoa.h>.
77278         * debug/segfault.c: Likewise.
77279         * elf/dl-cache.c: Likewise.
77280         * elf/dl-minimal.c: Likewise.
77281         * elf/dl-misc.c: Likewise.
77282         * elf/dl-sysdep.c: Likewise.
77283         * elf/dl-version.c: Likewise.
77284         * elf/rtld.c: Likewise.
77285         * hurd/hurdsock.c: Likewise.
77286         * hurd/lookup-retry.c: Likewise.
77287         * malloc/malloc.c: Likewise.
77288         * malloc/mtrace.c: Likewise.
77289         * nscd/nscd_getgr_r.c: Likewise.
77290         * nscd/nscd_getpw_r.c: Likewise.
77291         * nscd/nscd_getserv_r.c: Likewise.
77292         * posix/getopt_init.c: Likewise.
77293         * posix/wordexp.c: Likewise.
77294         * stdio-common/_itoa.c: Likewise.
77295         * stdio-common/printf_fphex.c: Likewise.
77296         * stdio-common/vfprintf.c: Likewise.
77297         * string/_strerror.c: Likewise.
77298         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77299         * sysdeps/i386/i686/hp-timing.h: Likewise.
77300         * sysdeps/mach/_strerror.c: Likewise.
77301         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77302         * sysdeps/mach/hurd/sethostid.c: Likewise.
77303         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77304         * sysdeps/mach/xpg-strerror.c: Likewise.
77305         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77306         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77307         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77308         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77309         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77310         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77311         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77312         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77313         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77314         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77315         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77316         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77317         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77318         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77319         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77320         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77321         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77322         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77323         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77324         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77325         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77327         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77329         * stdio-common/_itoa.h: Moved to ...
77330         * sysdeps/generic/_itoa.h: Here.
77332         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77334         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77335         instead of "_itoa.h" and "_itowa.h".
77336         * stdio-common/vfprintf.: Likewise.
77338 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77340         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77341         <bits/wordsize.h>.
77342         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77343         (__signbit): Likewise.
77344         (llrintf): Likewise.
77345         (llrint): Likewise.
77347 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77349         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77350         __WORDSIZE != 64.
77352 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77354         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77355         OVERFLOW_EXCEPTION_OK.
77356         * math/libm-test.inc ("Philosophy"): Update comment about
77357         exception testing.
77358         (OVERFLOW_EXCEPTION): Define.
77359         (OVERFLOW_EXCEPTION_OK): Likewise.
77360         (INVALID_EXCEPTION_OK): Renumber.
77361         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77362         (IGNORE_ZERO_INF_SIGN): Likewise.
77363         (test_exceptions): Handle FE_OVERFLOW.
77364         (exp10_test): Expect overflow exceptions.
77365         (exp2_test): Likewise.
77366         (expm1_test): Likewise.
77367         (nextafter_test): Likewise.
77368         (pow_test): Likewise.
77369         (scalbn_test): Likewise.
77370         (scalbln_test): Likewise.
77372 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77374         * sysdeps/x86_64/bits/atomic.h
77375         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77376         64bit integer.
77377         (atomic_exchange_acq): Likewise.
77378         (__arch_exchange_and_add_body): Likewise.
77379         (__arch_add_body): Likewise.
77380         (atomic_add_negative): Likewise.
77381         (atomic_add_zero): Likewise.
77383 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77385         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
77386         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
77388 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77390         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
77391         Check __x86_64__ instead of __WORDSIZE.
77393 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77395         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
77397 2012-03-19  David S. Miller  <davem@davemloft.net>
77399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77401         * sysdeps/sparc/fpu/fenv_private.h: New file.
77402         * sysdeps/sparc/fpu/math_private.h: Use it.
77403         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
77404         Remove.
77405         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
77406         (libc_feholdexcept_setroundl): Remove.
77407         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
77408         Remove.
77409         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
77410         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
77412 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77414         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
77415         int64_t instead of long int.
77416         (INSERT_WORDS64): Likewise.
77418 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77420         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
77421         _Unwind_GetCFA return to _Unwind_Ptr first.
77423 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
77425         [BZ #13629]
77426         * math/s_clog.c: Include <float.h>.
77427         (__clog): Scale large or subnormal inputs.
77428         * math/s_clogf.c: Likewise.
77429         * math/s_clogl.c: Likewise.
77430         * math/s_clog10.c: Include <float.h>.
77431         (M_LOG10_2): Define.
77432         (__clog10): Scale large or subnormal inputs.
77433         * math/s_clog10f.c: Likewise.
77434         * math/s_clog10l.c: Likewise.
77435         * math/libm-test.inc (clog_test): Add more tests.
77436         (clog10_test): Likewise.
77437         * sysdeps/i386/fpu/libm-test-ulps: Update.
77438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77440         [BZ #11451]
77441         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
77442         x and y.
77443         * math/libm-test.inc (atan2_test): Add another test.
77445         * Makerules (common-objdir-compile): Remove.
77446         * sysdeps/unix/Makefile (config-generated): Do not add
77447         $(unix-generated) to variable.
77448         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
77449         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
77450         Remove rule.
77451         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
77452         Likewise.
77453         [generic bits/local_lim.h] (before-compile): Do not append to
77454         variable.
77455         [generic bits/local_lim.h] (common-generated): Likewise.
77456         [generic sys/param.h] (before-compile): Do not append to variable.
77457         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77458         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77459         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77460         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77461         include.
77462         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77463         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77464         [generic sys/param.h] ($(addprefix
77465         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77466         [generic sys/param.h] (common-generated): Do not append to
77467         variable.
77468         [generic sys/param.h] (sysdep_headers): Likewise.
77469         [generic bits/errno.h] (before-compile): Do not append to
77470         variable.
77471         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77472         rule.
77473         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77474         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77475         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77476         [generic bits/errno.h] (common-generated): Do not append to
77477         variable.
77478         [generic bits/ioctls.h] (before-compile): Do not append to
77479         variable.
77480         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77481         rule.
77482         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77483         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77484         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77485         rule.
77486         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77487         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77488         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77489         [generic bits/ioctls.h] (common-generated): Do not append to
77490         variable.
77491         [generic sys/syscall.h] (syscall.h): Remove variable.
77492         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77493         rule.
77494         [generic sys/syscall.h] (before-compile): Do not append to
77495         variable.
77496         [generic sys/syscall.h] (common-generated): Likewise.
77497         * sysdeps/unix/errnos-tmpl.c: Remove file.
77498         * sysdeps/unix/errnos.awk: Likewise.
77499         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77500         * sysdeps/unix/ioctls.awk: Likewise.
77501         * sysdeps/unix/mk-local_lim.c: Likewise.
77502         * sysdeps/unix/snarf-ioctls: Likewise.
77504 2012-03-19  Richard Henderson  <rth@twiddle.net>
77506         * sysdeps/i386/fpu/fenv_private.h: New file.
77507         * sysdeps/i386/fpu/math_private.h: Use it.
77508         (math_opt_barrier, math_force_eval): Remove.
77509         (libc_feholdexcept_setround_53bit): Remove.
77510         (libc_feupdateenv_53bit): Remove.
77511         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77512         (math_opt_barrier, math_force_eval): Remove.
77513         (libc_feholdexcept): Remove.
77514         (libc_feholdexcept_setround): Remove.
77515         (libc_fetestexcept, libc_fesetenv): Remove.
77516         (libc_feupdateenv_test): Remove.
77517         (libc_feupdateenv, libc_feholdsetround): Remove.
77518         (libc_feresetround): Remove.
77520         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77521         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77523         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77524         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77525         (libc_feupdateenv_testl): New.
77526         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77527         (libc_feupdateenv_testf): New.
77528         (libc_feupdateenv): Use libc_feupdateenv_test.
77529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77530         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77532         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77533         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77534         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77535         (libc_feresetround_noex): New.
77536         (libc_feresetround_noexf): New.
77537         (libc_feresetround_noexl): New.
77538         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77539         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77540         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77541         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77542         SET_RESTORE_ROUND.
77543         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77544         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77545         (__cos): Likewise.
77546         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77547         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77548         SET_RESTORE_ROUND_NOEX.
77549         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77550         SET_RESTORE_ROUND_NOEXF.
77551         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77552         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77553         (libc_feholdsetroundf): New.
77554         (libc_feresetround, libc_feresetroundf): New.
77556         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77557         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77558         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77560         * sysdeps/generic/math_private.h: Include <fenv.h>.
77561         (default_libc_feholdexcept): New.
77562         (default_libc_feholdexcept_setround): New.
77563         (default_libc_fesetenv, default_libc_feupdateenv): New.
77564         (libc_feholdexcept): Only define if undefined.
77565         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77566         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77567         (libc_feholdexcept_setroundl): Likewise.
77568         (libc_feholdexcept_setround_53bit): Likewise.
77569         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77570         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77571         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77572         (libc_feupdateenv_53bit): Likewise.
77573         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77574         (libc_feholdexcept): Convert from macro to inline function.
77575         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77576         (libc_fesetenv, libc_feupdateenv): Likewise.
77578         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77579         not previously defined.
77580         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77581         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77582         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77583         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77584         * sysdeps/ieee754/flt-32/math_private.h: New file.
77585         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77586         math_private.h below SET_FLOAT_WORD.
77587         (__isnan, __isinf_ns, __finite): Remove.
77588         (__isnanf, __isinf_nsf, __finitef): Remove.
77590 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77594 2012-03-17  David S. Miller  <davem@davemloft.net>
77596         [BZ #6471]
77597         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77598         for 2.16.
77600 2012-03-16  David S. Miller  <davem@davemloft.net>
77602         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77603         warnings.
77605         [BZ #6471]
77606         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77607         properly.
77608         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77609         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77610         sysdep_routines when subdir is sysvipc.
77611         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77612         __getshmlba helper.
77614         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77616 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77618         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77619         [__LP64__].
77621 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77623         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77624         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77625         (__lround): Renamed to ...
77626         (__llround): This.  Replace long int with long long int.
77627         Define lround functions as aliases of llround functions.
77628         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77630 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77632         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77633         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77634         adresses to uintptr_t.  Replace "long int" and "unsigned long
77635         int" with "greg_t" on va_arg.
77637 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77639         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77640         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77642         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77643         Move e_machine check before EI_CLASS check.  Handle x32
77644         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77645         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77646         SKIP_EM_IA_64 and include
77647         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77649         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77650         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77651         (add_system_dir): New macro.
77653         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77654         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77656 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77658         [BZ #2551]
77659         [BZ #2552]
77660         [BZ #2553]
77661         [BZ #2554]
77662         [BZ #2562]
77663         [BZ #2563]
77664         [BZ #2565]
77665         [BZ #2566]
77666         [BZ #2576]
77667         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77668         (y0): Likewise.
77669         * math/w_j0f.c (j0f): Likewise.
77670         (y0f): Likewise.
77671         * math/w_j0l.c (__j0l): Likewise.
77672         (__y0l): Likewise.
77673         * math/w_j1.c (j1): Likewise.
77674         (y1): Likewise.
77675         * math/w_j1f.c (j1f): Likewise.
77676         (y1f): Likewise.
77677         * math/w_j1l.c (__j1l): Likewise.
77678         (__y1l): Likewise.
77679         * math/w_jn.c (jn): Likewise.
77680         (yn): Likewise.
77681         * math/w_jnf.c (jnf): Likewise.
77682         (ynf): Likewise.
77683         * math/w_jnl.c (__jnl): Likewise.
77684         (__ynl): Likewise.
77685         * math/libm-test.inc (j0_test): Add more tests.
77686         (j1_test): Likewise.
77687         (jn_test): Likewise.  Add trailing semicolon to existing test.
77688         (y0_test): Likewise.
77689         (y1_test): Likewise.
77690         * sysdeps/i386/fpu/libm-test-ulps: Update.
77691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77693         [BZ #13851]
77694         [BZ #13854]
77695         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77696         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77697         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77698         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77699         (__tanl): Set errno for infinite argument.
77700         * sysdeps/i386/fpu/mptan.c: Remove.
77701         * sysdeps/i386/fpu/s_tan.S: Likewise.
77702         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77703         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77704         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77705         * math/libm-test.inc (tan_test): Add more tests and enable more
77706         tests for double and long double.
77707         * sysdeps/i386/fpu/libm-test-ulps: Update.
77708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77710 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77712         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77713         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77715 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77717         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77718         * configure.in: Use it for both main tree and add-ons.
77719         * configure: Regenerated.
77721 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77723         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77725 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77727         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77728         in comment.
77730         [BZ #13851]
77731         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77732         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77733         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77734         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77735         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77736         infinite argument.
77737         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77738         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77739         != 0 for prec == 2.
77740         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77741         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77742         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77743         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77744         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77745         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77746         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77747         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77748         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77749         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77750         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77751         * math/libm-test.inc (cos_test): Add more tests and enable more
77752         tests for long double.
77753         (sin_test): Likewise.
77754         (sincos_test): Likewise.
77755         * sysdeps/i386/fpu/libm-test-ulps: Update.
77756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77758 2012-03-16  David S. Miller  <davem@davemloft.net>
77760         * sysdeps/sparc/fpu/math_private.h: New file.
77762 2012-03-15  David S. Miller  <davem@davemloft.net>
77764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77765         file.
77766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77768         file.
77769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77774         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77775         sysdep routines.
77776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77778         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77779         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77781         * sysdeps/sparc/sparc-ifunc.h: New file.
77782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77783         sparc-ifunc.h
77784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77786         Likewise.
77787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77788         Likewise.
77789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77793         Likewise.
77794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77799         Likewise.
77800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77801         Likewise.
77802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77808         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77809         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77813         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77814         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77818         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77820         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77822         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77823         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77824         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77825         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77827 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77829         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77830         scaling.
77831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77833 2012-03-15  Andreas Jaeger  <aj@suse.de>
77835         [BZ #13852]
77836         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77837         ieee754/flt-32 implementation for sin, cos and sincos.
77838         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77839         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77840         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77841         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77842         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77843         ieee754/flt-32 implementation for tan.
77845         * math/libm-test.inc (cos_test): Enable some large input tests for
77846         float as well
77847         (sin_test): Likewise.
77848         (sincos_test): Likewise.
77849         (tan_test): Add tests for large input.
77851         * sysdeps/i386/fpu/libm-test-ulps: Update.
77853 2012-03-15  Andreas Jaeger  <aj@suse.de>
77855         [BZ #13658]
77856         * math/libm-test.inc (cos_test): Add more test cases.
77857         (sin_test): Likewise.
77858         (sincos_test): Likewise.
77860 2012-03-15  Andreas Jaeger  <aj@suse.de>
77862         [BZ #13837]
77863         * math/libm-test.inc (cos_test): Add a test case for large input
77864         value.
77865         (sin_test): Likewise.
77866         (sincos_test): Likewise.
77868 2012-03-15  Andreas Jaeger  <aj@suse.de>
77869             Joseph Myers  <joseph@codesourcery.com>
77871         [BZ #13658]
77872         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77873         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77874         * sysdeps/i386/fpu/branred.c: Likewise.
77875         * sysdeps/i386/fpu/dosincos.c: Likewise.
77876         * sysdeps/i386/fpu/mpa.c: Likewise.
77877         * sysdeps/i386/fpu/s_cos.S: Likewise.
77878         * sysdeps/i386/fpu/s_sin.S: Likewise.
77879         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77880         * sysdeps/i386/fpu/sincos32.c: Likewise.
77882         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77883         Define.
77884         (libc_feupdateenv_53bit): Define.
77885         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77886         Define.
77887         (libc_feupdateenv_53bit): Define.
77889         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77890         53 bit (without extend i386 double precision).
77892         * math/libm-test.inc (sincos_test): Add tests for large input.
77893         (sin): Likewise.
77894         (cos): Likewise.
77896         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77898 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77902 2012-03-15  David S. Miller  <davem@davemloft.net>
77904         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77905         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77906         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77907         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77914         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77915         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77916         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77920         file.
77921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77923         file.
77924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77926         file.
77927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77929         file.
77930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77932         fmin/fmax sysdep routines.
77933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77935 2012-03-14  David S. Miller  <davem@davemloft.net>
77937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77941         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77942         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77943         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77944         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77946         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77954         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77955         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77957         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77958         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77959         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77960         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77961         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77962         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77963         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77964         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77965         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77966         routines.
77967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77968         file.
77969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77971         file.
77972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77974         file.
77975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77977         file.
77978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77980         file.
77981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77983         file.
77984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77985         file.
77986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77987         file.
77988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77989         file.
77990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77991         New file.
77992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77993         file.
77994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77995         file.
77996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77998         file.
77999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
78000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
78001         file.
78002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
78003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
78004         file.
78005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
78006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
78007         VIS3 routines.
78009         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
78010         New file.
78012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78014         * sysdeps/sparc/configure.in: New file.
78015         * sysdeps/sparc/configure: Generate.
78016         * configure.in (libc_cv_sparc_as_vis3): Substitute.
78017         * configure: Regenerate.
78018         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
78019         * config.make.in (have-as-vis3): New.
78020         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
78021         available use -Av9d instead of -Av9a.
78022         * sysdeps/sparc/sparc64/Makefile: Likewise.
78023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
78024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
78025         New file.
78026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
78027         file.
78028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
78029         New file.
78030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
78031         file.
78032         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
78033         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
78034         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
78035         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
78036         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
78038         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
78039         fzeros/fnegs to load 0x80000000 into a float register instead of
78040         using the stack.
78041         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78043 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78046         bits/syscall.h.
78047         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78048         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78049         ($(inst_includedir)/bits/syscall.h): Remove rule.
78050         ($(objpfx)bits/syscall.d): Include instead of
78051         $(objpfx)syscall-list.d.
78052         (generated): Change syscall-list.h and syscall-list.d to
78053         bits/syscall.h and bits/syscall.d.
78055 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78057         [BZ #13846]
78058         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78060 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78062         [BZ #13841]
78063         * math/s_csqrt.c: Include <float.h>.
78064         (__csqrt): Scale large or subnormal inputs.
78065         * math/s_csqrtf.c: Likewise.
78066         * math/s_csqrtl.c: Likewise.
78067         * math/libm-test.inc (csqrt_test): Add more tests.
78068         * sysdeps/i386/fpu/libm-test-ulps: Update.
78069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78071         [BZ #13840]
78072         * math/libm-test.inc (hypot_test): Add more tests.
78074 2012-03-13  David S. Miller  <davem@davemloft.net>
78076         [BZ #13840]
78077         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78078         double-precision for the calculation instead of scaling.
78080 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78082         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78083         manipulate bits before adding and subtracting TWO52[sx].
78084         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78085         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78086         Likewise.
78087         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78089 2012-03-13  David S. Miller  <davem@davemloft.net>
78091         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78092         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78093         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78094         rtld-global-offsets.h
78095         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78097         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78098         large parameters.
78100         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78102         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78103         'err' in the ifdef scope in which it is actually used.
78105         * nss/nss_db/db-init.c: Include string.h
78107 2012-03-12  David S. Miller  <davem@davemloft.net>
78109         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78110         masking out of the most significant byte of random value used.
78111         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78112         Fix coding style in previous change.
78114         * sysdeps/unix/sysv/linux/kernel-features.h
78115         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78116         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78117         expression.
78118         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78119         later.
78121 2012-03-11  David S. Miller  <davem@davemloft.net>
78123         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78124         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78125         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78126         for 'resultvar' otherwise things get truncated on 64-bit.
78128         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78129         Fix masking out of the most significant byte of random value used.
78131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78133 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78137 2012-03-09  David S. Miller  <davem@davemloft.net>
78139         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78140         variables with appropriate CPP guards.
78141         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78142         from the frame pointer, not the stack pointer.  Correct layout
78143         comments.  Fix test on resulting framesize and the management of
78144         the outregs buffer for pltexit.  Preserve floating point return
78145         values across _dl_call_pltexit call.
78146         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78147         framesize and the management of the outregs buffer for pltexit.
78148         Preserve floating point return values across _dl_call_pltexit
78149         call.
78150         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78151         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78152         (la_sparc64_gnu_pltexit): New functions.
78153         (print_exit): Fix format string for return register value.
78155 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78157         * sunrpc/Makefile (others): Add rpcgen.
78158         ($(objpfx)rpcgen): Remove special build rule and dependency on
78159         libc.
78160         * sunrpc/rpcgen.c: New file.
78162 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78164         [BZ #13673]
78165         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78166         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78167         * sysdeps/i386/crti.S: Likewise.
78168         * sysdeps/i386/crtn.S: Likewise.
78169         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78170         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78171         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78172         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78173         * sysdeps/sh/crti.S: Likewise.
78174         * sysdeps/sh/crtn.S: Likewise.
78175         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78177         [BZ #13673]
78178         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78179         with URL.
78180         * locale/programs/locfile-kw.gperf: Likewise.
78181         * locale/programs/charmap-kw.h: Regenerated.
78182         * locale/programs/locfile-kw.h: Likewise.
78184         [BZ #13673]
78185         * intl/plural.y: Replace FSF snail mail address with URL.
78186         * intl/plural.c: Regenerated.
78188 2012-03-09  Richard Henderson  <rth@twiddle.net>
78190         * include/math_private.h: Remove file.
78191         * math/math_private.h: Move file ...
78192         * sysdeps/generic/math_private.h: ... here.
78194         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78195         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78196         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78198         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78199         and <math_private.h>.
78200         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78201         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78202         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78203         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78204         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78205         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78206         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78208         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78209         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78211         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78212         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78213         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78214         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78215         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78216         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78217         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78218         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78219         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78220         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78221         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78222         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78223         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78224         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78225         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78226         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78227         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78229         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78230         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78231         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78232         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78233         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78234         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78235         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78236         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78237         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78238         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78239         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78240         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78241         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78242         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78243         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78244         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78245         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78246         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78247         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78248         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78249         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78250         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78251         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78252         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78253         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78254         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78255         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78256         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78257         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78258         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78259         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78260         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78261         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78262         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78263         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78264         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78265         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78266         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78267         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78268         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78269         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78270         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78271         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78272         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78273         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78274         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78276         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78277         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78278         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78279         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78280         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78281         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78282         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78283         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78284         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78286         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78287         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78288         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78289         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78290         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78291         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78292         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78293         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78294         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78295         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78296         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78297         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78298         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78299         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78300         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78301         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78302         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78303         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78304         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78305         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78306         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78307         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78308         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78309         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78310         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78311         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78312         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78313         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78314         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78315         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78316         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78317         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78318         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78319         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78320         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78321         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78322         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78323         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78324         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78325         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78326         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78327         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78328         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78329         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78330         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78331         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78332         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78333         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78334         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78335         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78336         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78337         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78338         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78339         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78340         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78341         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78342         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78343         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78344         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78345         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78346         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78347         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78348         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78349         * sysdeps/ieee754/k_standard.c: Likewise.
78350         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78351         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78368         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78371         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78372         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78383         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
78385         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78386         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78387         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
78388         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
78389         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78390         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
78393         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78399         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78400         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78401         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
78402         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78403         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
78404         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78405         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78406         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
78407         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
78408         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78409         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78410         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78411         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
78412         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78413         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78415         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78416         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78417         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78418         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78419         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78420         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78421         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78422         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78423         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78424         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78425         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78426         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
78427         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78428         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78429         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
78430         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
78431         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
78432         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78433         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78434         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
78435         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78436         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78437         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
78438         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78440         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
78441         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78442         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
78443         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
78444         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78445         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78446         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
78447         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
78448         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
78449         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
78450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78451         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78452         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78453         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78454         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
78455         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78456         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78457         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78458         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78459         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78460         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78461         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78462         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78463         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78464         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78465         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78466         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78467         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78468         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78469         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78470         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78471         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78472         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78473         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78474         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78475         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78476         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78477         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78478         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78479         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78480         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78481         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78482         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78483         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78484         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78485         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78486         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78487         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78488         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78489         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78490         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78491         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78492         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78493         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78494         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78495         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78496         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78497         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78498         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78499         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78500         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78501         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78502         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78503         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78504         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78505         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78506         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78507         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78508         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78509         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78510         * sysdeps/ieee754/s_lib_version.c: Likewise.
78511         * sysdeps/ieee754/s_matherr.c: Likewise.
78512         * sysdeps/ieee754/s_signgam.c: Likewise.
78513         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78514         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78515         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78516         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78517         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78518         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78519         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78520         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78521         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78522         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78523         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78524         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78525         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78526         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78527         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78528         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78529         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78530         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78531         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78532         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78533         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78535 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78537         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78538         * sunrpc/rpc_main.c: Likewise.
78539         * sunrpc/rpc_svcout.c: Likewise.
78541 2012-03-09  David S. Miller  <davem@davemloft.net>
78543         * include/math_private.h: New file.
78545 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78547         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78548         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78549         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78550         from <bits/socket_type.h>.
78551         (enum __socket_type): Don't define here.
78552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78554         bits/socket_type.h.
78556         [BZ #13566]
78557         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78558         checking __USE_GNU.
78560         * Makerules ($(inst_includedir)/%.h): New rule.
78561         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78562         (install-others): Remove variable setting.
78563         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78565 2012-03-08  Richard Henderson  <rth@twiddle.net>
78567         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78568         from macro to inline function; merge with the
78569         !__LIBC_INTERNAL_MATH_INLINES version.
78570         (__ieee754_sqrtf): Likewise.
78572         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78573         to inline function.
78574         (__rintf, __floor, __floorf): Likewise.
78576         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78577         macro to inline function.
78578         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78580         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78581         not <math/math_private.h>.
78583 2012-03-08  David S. Miller  <davem@davemloft.net>
78585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78586         copyright year.
78587         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78589 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78591         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78592         normalization.
78593         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78594         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78596 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78598         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78599         be defined individually, they must be defined as a block.  Define
78600         S for printing a string instead of hidint the different by using a
78601         macro for adding the 'l'.
78602         * stdio-common/tst-fphex-wide.c: Adjust.
78604 2012-03-07  Marek Polacek  <polacek@redhat.com>
78606         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78608 2012-03-08  Marek Polacek  <polacek@redhat.com>
78610         [BZ #13806]
78611         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78612         * stdio-common/tst-fphex.c: Define a few macros to make the
78613         test reusable.  Use them.
78614         * stdio-common/tst-fphex-wide.c: New file.
78616 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78618         [BZ #6911]
78619         * manual/macros.texi (gnusystems): New macro.
78620         (nongnusystems): Likewise.
78621         (gnulinuxhurdsystems): Likewise.
78622         (gnuhurdsystems): Likewise..
78623         (gnulinuxsystems): Likewise.
78624         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78625         variants of the GNU system, not "GNU system".
78626         * manual/conf.texi: Likewise.
78627         * manual/errno.texi: Likewise.  Update example of errno macro
78628         expansion.
78629         * manual/filesys.texi: Likewise.
78630         (getumask): Document as specific to GNU/Hurd.
78631         * manual/install.texi: Likewise.  Reword some references to
78632         GNU/Linux.
78633         * manual/intro.texi: Likewise.
78634         * manual/io.texi: Likewise.
78635         (File Name Portability): Detail which constraints are inapplicable
78636         to all GNU systems and which are only inapplicable to GNU/Hurd.
78637         * manual/job.texi: Likewise.
78638         * manual/llio.texi: Likewise.
78639         (O_NOCTTY): Document as present on GNU/Linux.
78640         * manual/maint.texi: Likewise.
78641         * manual/memory.texi: Likewise.
78642         * manual/pattern.texi: Likewise.
78643         * manual/pipe.texi: Likewise.
78644         * manual/process.texi: Likewise.
78645         * manual/resource.texi: Likewise.
78646         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78647         child on GNU/Hurd.
78648         * manual/setjmp.texi: Likewise.
78649         * manual/signal.texi: Likewise.
78650         * manual/startup.texi: Likewise.
78651         * manual/stdio.texi: Likewise.
78652         * manual/terminal.texi: Likewise.
78653         (ONLCR): Document as POSIX.
78654         (OXTABS): Document availability on GNU/Linux as XTABS.
78655         (ONOEOT): Document availability separately from other bits.
78656         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78657         * manual/time.texi: Likewise.
78658         * manual/users.texi: Likewise.
78659         * INSTALL: Regenerated.
78660         * sysdeps/gnu/errlist.c: Regenerated.
78662         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78663         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78664         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78665         puts.
78666         * configure: Regenerated.
78668 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78670         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78671         default includes instead of AC_HEADER_CHECK.
78672         * sysdeps/i386/configure: Regenerated.
78674         [BZ #10716]
78675         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78676         * math/s_cacoshf.c (__cacoshf): Likewise.
78677         * math/s_cacoshl.c (__cacoshl): Likewise.
78678         * math/s_casinh.c (__casinh): Set signs of result from argument.
78679         * math/s_casinhf.c (__casinhf): Likewise.
78680         * math/s_casinhl.c (__casinhl): Likewise.
78681         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78682         (casinh_test): Add more tests.
78683         * sysdeps/i386/fpu/libm-test-ulps: Update.
78684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78686 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78688         * po/zh_TW.po: Update from translation team.
78690         * login/Makefile (distribute): Remove variable.
78691         * catgets/Makefile: Likewise.
78692         * mach/Makefile: Likewise.
78693         * malloc/Makefile: Likewise.
78694         * misc/Makefile: Likewise.
78695         * iconv/Makefile: Likewise.
78696         * nscd/Makefile: Likewise.
78697         * hurd/Makefile: Likewise.
78698         * manual/Makefile: Likewise.
78699         * locale/Makefile: Likewise.
78700         * intl/Makefile: Likewise.
78701         * conform/Makefile: Likewise.
78702         * nss/Makefile: Likewise.
78703         * time/Makefile: Likewise.
78704         * soft-fp/Makefile: Likewise.
78705         * dirent/Makefile: Likewise.
78706         * gmon/Makefile: Likewise.
78707         * po/Makefile: Likewise.
78708         * rt/Makefile: Likewise.
78709         * socket/Makefile: Likewise.
78710         * math/Makefile: Likewise.
78711         * signal/Makefile: Likewise.
78712         * debug/Makefile: Likewise.
78713         * elf/Makefile: Likewise.
78714         * timezone/Makefile: Likewise.
78715         * stdlib/Makefile: Likewise.
78716         * iconvdata/Makefile: Likewise.
78717         * sunrpc/Makefile: Likewise.
78718         * io/Makefile: Likewise.
78719         * argp/Makefile: Likewise.
78720         * inet/Makefile: Likewise.
78721         * hesiod/Makefile: Likewise.
78722         * grp/Makefile: Likewise.
78723         * csu/Makefile: Likewise.
78724         * wctype/Makefile: Likewise.
78725         * crypt/Makefile: Likewise.
78726         * libio/Makefile: Likewise.
78727         * string/Makefile: Likewise.
78728         * nis/Makefile: Likewise.
78729         * resolv/Makefile: Likewise.
78730         * stdio-common/Makefile: Likewise.
78731         * wcsmbs/Makefile: Likewise.
78732         * dlfcn/Makefile: Likewise.
78733         * posix/Makefile: Likewise.
78735         [BZ #6959]
78736         * timezone/Makefile: Don't install timezone files, just the programs
78737         and scripts.
78739 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78741         * nss/databases.def: Add missing gshadow entry.
78743         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78745 2012-03-06  Marek Polacek  <polacek@redhat.com>
78747         [BZ #13726]
78748         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78749         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78750         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78751         * stdio-common/tst-long-dbl-fphex.c: New file.
78753 2012-03-06  David S. Miller  <davem@davemloft.net>
78755         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78756         (set_obp_int): New function.
78757         (get_obp_int): New function.
78758         (__get_clockfreq_via_dev_openprom): Likewise.
78759         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78760         Avoid unused variable warnings on 'val' and use builtin_expect.
78761         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78762         __builtin_expect.
78763         (INLINE_CLONE_SYSCALL): Likewise.
78765 2012-03-05  David S. Miller  <davem@davemloft.net>
78767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78769 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78773         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78774         only for |x| >= 40.
78775         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78777 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78779         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78780         Replace gettimeofday with __vdso_gettimeofday.
78782         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78783         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78784         __vdso_clock_gettime and __vdso_getcpu.
78786         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78787         time with __vdso_time.
78789 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78791         * manual/lang.texi (size_t): Note types to which size_t may be
78792         equivalent with the GNU C Library, but do not describe when
78793         differences between them are significant.
78795 2012-03-05  Andreas Jaeger  <aj@suse.de>
78797         * sysdeps/i386/fpu/libm-test-ulps: Update.
78799 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78801         [BZ #3976]
78802         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78803         (__ieee754_pow): Save and restore rounding mode and use
78804         round-to-nearest for main computations.
78805         * math/libm-test.inc (pow_test_tonearest): New function.
78806         (pow_test_towardzero): Likewise.
78807         (pow_test_downward): Likewise.
78808         (pow_test_upward): Likewise.
78809         (main): Call the new functions.
78810         * sysdeps/i386/fpu/libm-test-ulps: Update.
78811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78813         [BZ #3976]
78814         * math/libm-test.inc (cosh_test_tonearest): New function.
78815         (cosh_test_towardzero): Likewise.
78816         (cosh_test_downward): Likewise.
78817         (cosh_test_upward): Likewise.
78818         (sinh_test_tonearest): Likewise.
78819         (sinh_test_towardzero): Likewise.
78820         (sinh_test_downward): Likewise.
78821         (sinh_test_upward): Likewise.
78822         (main): Call the new functions.
78823         * sysdeps/i386/fpu/libm-test-ulps: Update.
78824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78826 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78828         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78829         default stack guard is set in last bytes.
78830         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78832 2012-03-05  Kees Cook  <keescook@chromium.org>
78834         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78836         [BZ #13656]
78837         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78838         possibly allocate from heap instead of stack.
78839         * stdio-common/bug-vfprintf-nargs.c: New file.
78840         * stdio-common/Makefile (tests): Add nargs overflow test.
78842 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78846 2012-03-03  Marek Polacek  <polacek@redhat.com>
78848         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78849         * math/math_private.h: Likewise.
78850         * stdlib/tst-strtod.c: Likewise.
78851         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78852         * sysdeps/x86_64/bits/atomic.h: Likewise.
78854 2012-03-02  David S. Miller  <davem@davemloft.net>
78856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78860         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78861         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78862         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78863         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78865 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78867         [BZ #13792]
78868         * manual/examples/README: New file, says the example source files
78869         can be used under GPL>=2.
78870         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78871         line containing just "*/".
78872         * manual/examples/add.c: Add copyright header (GPL>=2).
78873         * manual/examples/argp-ex1.c: Likewise.
78874         * manual/examples/argp-ex2.c: Likewise.
78875         * manual/examples/argp-ex3.c: Likewise.
78876         * manual/examples/argp-ex4.c: Likewise.
78877         * manual/examples/atexit.c: Likewise.
78878         * manual/examples/db.c: Likewise.
78879         * manual/examples/dir.c: Likewise.
78880         * manual/examples/dir2.c: Likewise.
78881         * manual/examples/execinfo.c: Likewise.
78882         * manual/examples/filecli.c: Likewise.
78883         * manual/examples/filesrv.c: Likewise.
78884         * manual/examples/fmtmsgexpl.c: Likewise.
78885         * manual/examples/genpass.c: Likewise.
78886         * manual/examples/inetcli.c: Likewise.
78887         * manual/examples/inetsrv.c: Likewise.
78888         * manual/examples/isockad.c: Likewise.
78889         * manual/examples/longopt.c: Likewise.
78890         * manual/examples/memopen.c: Likewise.
78891         * manual/examples/memstrm.c: Likewise.
78892         * manual/examples/mkfsock.c: Likewise.
78893         * manual/examples/mkisock.c: Likewise.
78894         * manual/examples/mygetpass.c: Likewise.
78895         * manual/examples/pipe.c: Likewise.
78896         * manual/examples/popen.c: Likewise.
78897         * manual/examples/rprintf.c: Likewise.
78898         * manual/examples/search.c: Likewise.
78899         * manual/examples/select.c: Likewise.
78900         * manual/examples/setjmp.c: Likewise.
78901         * manual/examples/sigh1.c: Likewise.
78902         * manual/examples/sigusr.c: Likewise.
78903         * manual/examples/stpcpy.c: Likewise.
78904         * manual/examples/strdupa.c: Likewise.
78905         * manual/examples/strftim.c: Likewise.
78906         * manual/examples/strncat.c: Likewise.
78907         * manual/examples/subopt.c: Likewise.
78908         * manual/examples/swapcontext.c: Likewise.
78909         * manual/examples/termios.c: Likewise.
78910         * manual/examples/testopt.c: Likewise.
78911         * manual/examples/testpass.c: Likewise.
78912         * manual/examples/timeval_subtract.c: Likewise.
78914         [BZ #13792]
78915         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78916         function to ...
78917         * manual/timeval_subtract.c.texi: ... here, new file.
78919 2012-03-02  David S. Miller  <davem@davemloft.net>
78921         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78923 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78925         [BZ #3976]
78926         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78927         (__sin): Save and restore rounding mode and use round-to-nearest
78928         for all computations.
78929         (__cos): Save and restore rounding mode and use round-to-nearest
78930         for all computations.
78931         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78932         <fenv.h>.
78933         (tan): Save and restore rounding mode and use round-to-nearest for
78934         all computations.
78935         * math/libm-test.inc (cos_test_tonearest): New function.
78936         (cos_test_towardzero): Likewise.
78937         (cos_test_downward): Likewise.
78938         (cos_test_upward): Likewise.
78939         (sin_test_tonearest): Likewise.
78940         (sin_test_towardzero): Likewise.
78941         (sin_test_downward): Likewise.
78942         (sin_test_upward): Likewise.
78943         (tan_test_tonearest): Likewise.
78944         (tan_test_towardzero): Likewise.
78945         (tan_test_downward): Likewise.
78946         (tan_test_upward): Likewise.
78947         (main): Call the new functions.
78948         * sysdeps/i386/fpu/libm-test-ulps: Update.
78949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78951         [BZ #10135]
78952         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78953         small n, then large n, before computing and testing k+n.
78954         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78955         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78956         Likewise.
78957         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78958         Likewise.
78959         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78960         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78961         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78962         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78963         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78964         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78965         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78966         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78967         * math/libm-test.inc (scalbn_test): Add more tests.
78968         (scalbln_test): Likewise.
78970         * manual/filesys.texi (mode_t): Describe constraints on size and
78971         signedness, not exact equivalence to a particular type.
78972         (ino_t): Likewise.
78973         (ino64_t): Likewise.
78974         (dev_t): Likewise.
78975         (nlink_t): Likewise.
78976         (blkcnt_t): Likewise.
78977         (blkcnt64_t): Likewise.
78978         * manual/llio.texi (off_t): Likewise.
78980         [BZ #3976]
78981         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78982         (__ieee754_exp): Save and restore rounding mode and use
78983         round-to-nearest for all computations.
78984         * math/libm-test.inc (exp_test_tonearest): New function.
78985         (exp_test_towardzero): Likewise.
78986         (exp_test_downward): Likewise.
78987         (exp_test_upward): Likewise.
78988         (main): Call the new functions.
78989         * sysdeps/i386/fpu/libm-test-ulps: Update.
78990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78992 2012-03-01  Chris Demetriou  <cgd@google.com>
78994         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78995         have predictable order.
78997 2012-03-01  David S. Miller  <davem@davemloft.net>
78999         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
79001         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
79002         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
79003         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
79004         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
79006         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
79007         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
79008         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
79009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
79010         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
79011         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
79012         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
79013         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
79014         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
79016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79018         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
79019         * sysdeps/sparc/fpu/libm-test-ulps: to here.
79020         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
79022         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
79023         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79024         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79025         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
79026         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
79027         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
79028         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
79029         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79030         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79031         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
79032         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
79033         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79035         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79036         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79038         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
79039         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
79040         * sysdeps/sparc/elf/configure: Regenerated.
79042 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79044         * configure.in (AS, LD): Require binutils 2.20 or later.
79045         * configure: Regenerated.
79046         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79047         as required minimum version.
79048         * INSTALL: Regenerated.
79050         [BZ #2541]
79051         [BZ #4108]
79052         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79053         before squaring exponent.
79054         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79055         bottom long double and 27 bits of top long double before squaring
79056         exponent.
79057         * math/libm-test.inc (erfc_test): Add more tests.
79058         * sysdeps/i386/fpu/libm-test-ulps: Update.
79059         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79062 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79064         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79065         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79066         containing bit-fields.
79067         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79068         * soft-fp/single.h (_FP_UNION_S): Likewise.
79069         * soft-fp/double.h (_FP_UNION_D): Likewise.
79071 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79073         [BZ #13786]
79074         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79075         not include ../strcmp.S.
79076         [USE_AS_STRNCASECMP_L]: Likewise.
79077         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79078         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79079         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79080         (__strncasecmp_l_ia32): Define as alias to
79081         __strncasecmp_l_nonascii.
79083         [BZ #5794]
79084         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79085         * sysdeps/i386/fpu/libm-test-ulps: Update.
79086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79088         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79091 2012-02-29  Jeff Law  <law@redhat.com>
79093         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79094         out of bounds read.
79096 2012-02-29  Marek Polacek  <polacek@redhat.com>
79098         [BZ #13706]
79099         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79100         * elf/Makefile: Add rules to run tst-unused-dep.out.
79102 2012-02-28  David S. Miller  <davem@davemloft.net>
79104         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79105         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79106         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79107         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79108         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79109         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79111 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79113         * math/libm-test.inc (llround_test): Move one test from
79114         lround_test.  Use TEST_f_L in moved test.
79115         (lround_test): Move misplaced test to llround_test.  Add testcase
79116         from bug 2561.
79118 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79120         * sysdeps/x86_64/fpu/e_expf.S: New file.
79121         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79123 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79125         [BZ #13637]
79126         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79127         of remain_len that may cause incomplete multi-byte character and
79128         false match.
79129         * posix/bug-regex33.c: New file.
79130         * posix/Makefile (tests): Add bug-regex33.
79132 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79134         * manual/macros.texi: New file.
79135         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79136         * manual/libc.texinfo: Include macros.texi.
79137         * manual/creatute.texi: Likewise.
79138         * manual/install.texi: Likewise.
79139         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79140         @glibcadj{} in references to the GNU C Library.
79141         * manual/charset.texi: Likewise.
79142         * manual/conf.texi: Likewise.
79143         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79144         when not using those macros.
79145         * manual/creature.texi: Likewise.
79146         * manual/crypt.texi: Likewise.
79147         * manual/errno.texi: Likewise.
79148         * manual/filesys.texi: Likewise.
79149         * manual/header.texi: Likewise.
79150         * manual/install.texi: Likewise.
79151         * manual/intro.texi: Likewise.
79152         * manual/io.texi: Likewise.
79153         * manual/job.texi: Likewise.
79154         * manual/lang.texi: Likewise.
79155         * manual/libc.texiinfo: Likewise.
79156         * manual/llio.texi: Likewise.
79157         * manual/locale.texi: Likewise.
79158         * manual/maint.texi: Likewise.
79159         * manual/math.texi: Likewise.
79160         * manual/memory.texi: Likewise.
79161         * manual/message.texi: Likewise.
79162         * manual/nss.texi: Likewise.
79163         * manual/pattern.texi: Likewise.
79164         * manual/process.texi: Likewise.
79165         * manual/resource.texi: Likewise.
79166         * manual/search.texi: Likewise.
79167         * manual/setjmp.texi: Likewise.
79168         * manual/signal.texi: Likewise.
79169         * manual/socket.texi: Likewise.
79170         * manual/startup.texi: Likewise.
79171         * manual/stdio.texi: Likewise.
79172         * manual/string.texi: Likewise.
79173         * manual/sysinfo.texi: Likewise.
79174         * manual/syslog.texi: Likewise.
79175         * manual/terminal.texi: Likewise.
79176         * manual/time.texi: Likewise.
79177         * manual/users.texi: Likewise.
79178         * INSTALL: Regenerated.
79179         * NOTES: Regenerated.
79180         * sysdeps/gnu/errlist.c: Regenerated.
79182 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79184         * include/dirent.h: Include <dirstream.h> before
79185         <dirent/dirent.h>.
79187 2012-02-28  David S. Miller  <davem@davemloft.net>
79189         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79190         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79191         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79192         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79194 2012-02-27  David S. Miller  <davem@davemloft.net>
79196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79198         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79199         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79202         frame pointer instead of stack pointer relative arg slot.
79203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79204         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79205         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79207 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79209         [BZ #3992]
79210         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79212 2012-02-27  David S. Miller  <davem@davemloft.net>
79214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79218         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79219         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79220         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79221         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79223 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79225         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79226         later.  Allow versions 5-9.
79227         * configure: Regenerated.
79228         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79229         required minimum version and 4.6 as recommended version.  Do not
79230         mention bugs in GCC 2.7 and 2.8.
79231         * INSTALL: Regenerated.
79233 2012-02-27  David S. Miller  <davem@davemloft.net>
79235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79239         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79240         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79241         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79242         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79244         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79245         manipulate bits before adding and subtracting TWO112[sx].
79246         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79248 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79250         [BZ #13775]
79251         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79252         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79253         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79254         being in POSIX, because they are in 1003.1-2008.
79256         * rt/tst-aio.c: Include <fcntl.h>.
79257         * rt/tst-aio7.c: Likewise.
79258         * rt/tst-aio64.c: Likewise.
79260         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79262 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79264         * manual/install.texi (--with-headers): Describe headers as
79265         interface headers, not private headers.
79266         (Specific advice for GNU/Linux systems): Describe use of headers
79267         from "make headers_install", not private headers from older
79268         kernels.
79269         * INSTALL: Regenerated.
79270         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79271         Change to 2.6.19.
79272         * sysdeps/unix/sysv/linux/configure: Regenerated.
79274         * manual/llio.texi (fclean): Remove documentation.
79276         * manual/Makefile (libc-texi-generated): New variable.  Include
79277         version.texi.
79278         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79279         $(libc-texi-generated), not duplicated list of files.
79280         (version.texi, stamp-version): New rules.
79281         (realclean): Remove $(libc-texi-generated), not individual files
79282         from that list.  Do not remove dir-add.texinfo.
79283         * manual/libc.texinfo: Comment out uses of edition numbers and
79284         references to printed manual.  Remove last-updated dates.
79285         (EDITION): Comment out.
79286         (ISBN): Likewise.
79287         (VERSION, UPDATED): Remove.
79288         (version.texi): Include.
79290 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79292         * sysdeps/posix/spawni.c: Include <signal.h>.
79293         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79294         * sysdeps/pthread/aio_fsync.c: Likewise.
79296 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79298         * conform/Makefile (tests): Run only when not cross-compiling and
79299         when fast-check is not defined.
79301         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79302         * conform/data/limits.h-data: Fixes for POSIX2008.
79303         * conform/run-conformtest.sh: Run all tests.
79304         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79305         headers.
79306         * include/bits/dlfcn.h: Likewise.
79307         * include/langinfo.h: Likewise.
79308         * include/monetary.h: Likewise.
79309         * include/sys/poll.h: Likewise.
79311         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79312         for __USE_GNU.
79313         * posix/spawn.h: Define __need_sigset_t.
79314         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79315         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79316         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79317         to get sigevent_t only.
79318         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79319         only for __USE_GNU.
79320         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79321         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79322         process_vm_writev only for __USE_GNU.
79323         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79325         * conform/Makefile: For now ignore errors from run-conformtest.
79326         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79327         POSIX to avoid namespace pollution.  Don't prepend headers.
79328         * conform/data/aio.h-data: Fixes for POSIX testing.
79329         * conform/data/fcntl.h-data: Likewise.
79330         * conform/data/glob.h-data: Likewise.
79331         * conform/data/grp.h-data: Likewise.
79332         * conform/data/pthread.h-data: Likewise.
79333         * conform/data/pwd.h-data: Likewise.
79334         * conform/data/signal.h-data: Likewise.
79335         * conform/data/spawn.h-data: Likewise.
79336         * conform/data/stdio.h-data: Likewise.
79337         * conform/data/stdlib.h-data: Likewise.
79338         * conform/data/stropts.h-data: Likewise.
79339         * conform/data/sys/mman.h-data: Likewise.
79340         * conform/data/sys/stat.h-data: Likewise.
79341         * conform/data/sys/types.h-data: Likewise.
79342         * conform/data/sys/wait.h-data: Likewise.
79343         * conform/data/time.h-data: Likewise.
79344         * conform/data/unistd.h-data: Likewise.
79345         * conform/data/utime.h-data: Likewise.
79347         * io/sys/stat.h: fchmod was always in POSIX.
79348         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79349         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79350         * rt/aio.h: Define __need_timespec before including <time.h>.
79351         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79352         struct.  Add forward declaration of pthread_attr_t and use it in
79353         sigevent.
79354         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79355         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79356         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79357         always remove CLK_TCK definition.
79359 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79361         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79363 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79365         * conform/run-conformtest.sh: New file.
79366         * conform/Makefile: Run run-conformtest for tests.
79367         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79368         support.
79370         * conform/data/uchar.h-data: New file.
79371         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79372         * conform/data/arpa/inet.h-data: Likewise.
79373         * conform/data/assert.h-data: Likewise.
79374         * conform/data/complex.h-data: Likewise.
79375         * conform/data/cpio.h-data: Likewise.
79376         * conform/data/ctype.h-data: Likewise.
79377         * conform/data/dirent.h-data: Likewise.
79378         * conform/data/dlfcn.h-data: Likewise.
79379         * conform/data/errno.h-data: Likewise.
79380         * conform/data/fcntl.h-data: Likewise.
79381         * conform/data/float.h-data: Likewise.
79382         * conform/data/fmtmsg.h-data: Likewise.
79383         * conform/data/fnmatch.h-data: Likewise.
79384         * conform/data/ftw.h-data: Likewise.
79385         * conform/data/glob.h-data: Likewise.
79386         * conform/data/grp.h-data: Likewise.
79387         * conform/data/iconv.h-data: Likewise.
79388         * conform/data/inttypes.h-data: Likewise.
79389         * conform/data/langinfo.h-data: Likewise.
79390         * conform/data/libgen.h-data: Likewise.
79391         * conform/data/limits.h-data: Likewise.
79392         * conform/data/locale.h-data: Likewise.
79393         * conform/data/math.h-data: Likewise.
79394         * conform/data/monetary.h-data: Likewise.
79395         * conform/data/mqueue.h-data: Likewise.
79396         * conform/data/ndbm.h-data: Likewise.
79397         * conform/data/net/if.h-data: Likewise.
79398         * conform/data/netdb.h-data: Likewise.
79399         * conform/data/netinet/in.h-data: Likewise.
79400         * conform/data/nl_types.h-data: Likewise.
79401         * conform/data/poll.h-data: Likewise.
79402         * conform/data/pthread.h-data: Likewise.
79403         * conform/data/pwd.h-data: Likewise.
79404         * conform/data/regex.h-data: Likewise.
79405         * conform/data/sched.h-data: Likewise.
79406         * conform/data/search.h-data: Likewise.
79407         * conform/data/semaphore.h-data: Likewise.
79408         * conform/data/setjmp.h-data: Likewise.
79409         * conform/data/signal.h-data: Likewise.
79410         * conform/data/spawn.h-data: Likewise.
79411         * conform/data/stdarg.h-data: Likewise.
79412         * conform/data/stdio.h-data: Likewise.
79413         * conform/data/stdlib.h-data: Likewise.
79414         * conform/data/string.h-data: Likewise.
79415         * conform/data/strings.h-data: Likewise.
79416         * conform/data/stropts.h-data: Likewise.
79417         * conform/data/sys/ipc.h-data: Likewise.
79418         * conform/data/sys/mman.h-data: Likewise.
79419         * conform/data/sys/msg.h-data: Likewise.
79420         * conform/data/sys/resource.h-data: Likewise.
79421         * conform/data/sys/select.h-data: Likewise.
79422         * conform/data/sys/sem.h-data: Likewise.
79423         * conform/data/sys/shm.h-data: Likewise.
79424         * conform/data/sys/socket.h-data: Likewise.
79425         * conform/data/sys/stat.h-data: Likewise.
79426         * conform/data/sys/statvfs.h-data: Likewise.
79427         * conform/data/sys/time.h-data: Likewise.
79428         * conform/data/sys/timeb.h-data: Likewise.
79429         * conform/data/sys/times.h-data: Likewise.
79430         * conform/data/sys/types.h-data: Likewise.
79431         * conform/data/sys/uio.h-data: Likewise.
79432         * conform/data/sys/un.h-data: Likewise.
79433         * conform/data/sys/utsname.h-data: Likewise.
79434         * conform/data/sys/wait.h-data: Likewise.
79435         * conform/data/syslog.h-data: Likewise.
79436         * conform/data/tar.h-data: Likewise.
79437         * conform/data/termios.h-data: Likewise.
79438         * conform/data/utime.h-data: Likewise.
79439         * conform/data/utmpx.h-data: Likewise.
79440         * conform/data/varargs.h-data: Likewise.
79441         * conform/data/wchar.h-data: Likewise.
79442         * conform/data/wctype.h-data: Likewise.
79443         * conform/data/wordexp.h-data: Likewise.
79445         * include/stropts.h: New file.
79446         * include/uchar.h: New file.
79447         * include/aio.h: Changes to allow conformtest.pl to use the headers.
79448         * include/assert.h: Likewise.
79449         * include/ctype.h: Likewise.
79450         * include/dirent.h: Likewise.
79451         * include/dlfcn.h: Likewise.
79452         * include/fcntl.h: Likewise.
79453         * include/fnmatch.h: Likewise.
79454         * include/glob.h: Likewise.
79455         * include/grp.h: Likewise.
79456         * include/libio.h: Likewise.
79457         * include/locale.h: Likewise.
79458         * include/math.h: Likewise.
79459         * include/net/if.h: Likewise.
79460         * include/netdb.h: Likewise.
79461         * include/netinet/in.h: Likewise.
79462         * include/pthread.h: Likewise.
79463         * include/pwd.h: Likewise.
79464         * include/regex.h: Likewise.
79465         * include/sched.h: Likewise.
79466         * include/search.h: Likewise.
79467         * include/setjmp.h: Likewise.
79468         * include/signal.h: Likewise.
79469         * include/stdio.h: Likewise.
79470         * include/stdlib.h: Likewise.
79471         * include/string.h: Likewise.
79472         * include/sys/cdefs.h: Likewise.
79473         * include/sys/mman.h: Likewise.
79474         * include/sys/msg.h: Likewise.
79475         * include/sys/resource.h: Likewise.
79476         * include/sys/select.h: Likewise.
79477         * include/sys/socket.h: Likewise.
79478         * include/sys/stat.h: Likewise.
79479         * include/sys/statvfs.h: Likewise.
79480         * include/sys/time.h: Likewise.
79481         * include/sys/times.h: Likewise.
79482         * include/sys/uio.h: Likewise.
79483         * include/sys/utsname.h: Likewise.
79484         * include/sys/wait.h: Likewise.
79485         * include/termios.h: Likewise.
79486         * include/time.h: Likewise.
79487         * include/ulimit.h: Likewise.
79488         * include/unistd.h: Likewise.
79489         * include/utime.h: Likewise.
79490         * include/wchar.h: Likewise.
79491         * include/wctype.h: Likewise.
79492         * include/wordexp.h: Likewise.
79494         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79496         * time/time.h: TIME_UTC must be a macro.
79497         Make timespec_get available for ISO C11 only as well.
79499 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79501         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79502         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79504 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79506         * configure.in: Use -o not -a in test for unsupported multi-arch.
79508 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79510         * manual/texinfo.tex: Update to version 2012-01-19.16.
79512 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79514         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79516 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79518         [BZ #13738]
79519         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79520         * manual/fdl-1.3.texi: New file.
79521         * manual/fdl-1.1.texi: File removed.
79523         [BZ #13738]
79524         * manual/libc.texinfo (FDL_VERSION): New @set.
79525         Use it for mention of FDL in cover text.
79526         (Documentation License): Use it in @include file name.
79528 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79529             Roland McGrath  <roland@hack.frob.com>
79531         [BZ #5461]
79532         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79533         (not LONG_LONG_MAX and LONG_LONG_MIN.
79534         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79535         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79536         name.
79537         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79539 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79541         [BZ #2547]
79542         [BZ #11365]
79543         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79544         manipulate bits before adding and subtracting TWO23[sx].
79545         * math/libm-test.inc (nearbyint_test): Add more tests.
79547 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79549         [BZ #2548]
79550         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79551         bits before adding and subtracting TWO23[sx].
79552         * math/libm-test.inc (rint_test): Add more tests.
79553         (rint_test_tonearest): Likewise.
79554         (rint_test_towardzero): Likewise.
79555         (rint_test_downward): Likewise.
79556         (rint_test_upward: Likewise.
79558 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79560         [BZ #10110]
79561         * include/stdc-predef.h: New file.  Extracted from features.h.
79562         * include/features.h: Include stdc-predef.h.
79563         * Makefile (headers): Add stdc-predef.h.
79564         * CONFORMANCE (Compiler limitations): Update.
79566 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79568         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79570 2012-02-21  David S. Miller  <davem@davemloft.net>
79572         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79573         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79575 2012-02-20  David S. Miller  <davem@davemloft.net>
79577         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79578         using a normal save/restore sequence, rather than allocating a
79579         dummy stack frame just to store a frame pointer and restore.
79580         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79582 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79584         * manual/install.texi: Fix stray word in line-wrapped comment.
79586 2012-02-20  David S. Miller  <davem@davemloft.net>
79588         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79589         both binutils and gcc support GOTDATA.
79591         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79592         "rd %pc" in the PIC register setup sequences.
79594         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79595         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79596         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79597         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79598         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79599         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79600         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79601         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79603         (SYSCALL_ERROR_HANDLER): Likewise.
79604         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79605         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79606         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79607         (SYSCALL_ERROR_HANDLER): Likewise.
79609         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79610         (HAVE_GCC_GOTDATA): New.
79611         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79612         relocation support in both binutils and gcc.
79613         * sysdeps/sparc/elf/configure: Regenerate.
79615         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79616         * sysdeps/sparc/sparc32/elf/configure: Delete.
79617         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79618         * sysdeps/sparc/sparc64/elf/configure: Delete.
79619         * sysdeps/sparc/elf/configure.in: New file.
79620         * sysdeps/sparc/elf/configure: Generate.
79622         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79623         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79624         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79625         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79626         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79628 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79630         * manual/install.texi: Do not mention specific glibc version
79631         numbers.
79632         * manual/libc.texinfo (VERSION, UPDATED): Update.
79633         (@copying): Use @copyright{} and range of years.
79635 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79637         [BZ #13695]
79638         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79639         [crti.S not in sysdirs] (generated): Do not append.
79640         [crti.S not in sysdirs] (omit-deps): Likewise.
79641         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79642         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79643         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79644         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79645         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79646         Likewise.
79647         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79648         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79649         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79650         * csu/defs.awk: Remove file.
79651         * sysdeps/generic/initfini.c: Likewise.
79652         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79653         variable.
79654         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79655         Likewise.
79657 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79659         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79660         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79661         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79662         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79663         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79664         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79665         <bits/epoll.h>.
79666         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79667         (__EPOLL_PACKED): Define to empty if not defined by
79668         <bits/epoll.h>.
79669         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79671         bits/epoll.h.
79673 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79675         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79676         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79677         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79678         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79679         <bits/timerfd.h>.
79680         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79681         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79682         bits/timerfd.h.
79684 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79686         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79687         in C locale.
79688         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79689         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79690         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79693 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79695         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79696         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79698 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79700         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79701         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79702         defined.
79703         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79704         Likewise.
79705         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79706         entry for 2.16.
79708 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79710         * math/w_acos.c: Use non-signaling floating-point comparisons.
79711         * math/w_acosf.c: Likewise.
79712         * math/w_acosh.c: Likewise.
79713         * math/w_acoshf.c: Likewise.
79714         * math/w_acoshl.c: Likewise.
79715         * math/w_acosl.c: Likewise.
79716         * math/w_asin.c: Likewise.
79717         * math/w_asinf.c: Likewise.
79718         * math/w_asinl.c: Likewise.
79719         * math/w_atanh.c: Likewise.
79720         * math/w_atanhf.c: Likewise.
79721         * math/w_atanhl.c: Likewise.
79722         * math/w_exp2.c: Likewise.
79723         * math/w_exp2f.c: Likewise.
79724         * math/w_exp2l.c: Likewise.
79725         * math/w_j0.c: Likewise.
79726         * math/w_j0f.c: Likewise.
79727         * math/w_j0l.c: Likewise.
79728         * math/w_j1.c: Likewise.
79729         * math/w_j1f.c: Likewise.
79730         * math/w_j1l.c: Likewise.
79731         * math/w_jn.c: Likewise.
79732         * math/w_jnf.c: Likewise.
79733         * math/w_log.c: Likewise.
79734         * math/w_log10.c: Likewise.
79735         * math/w_log10f.c: Likewise.
79736         * math/w_log10l.c: Likewise.
79737         * math/w_log2.c: Likewise.
79738         * math/w_log2f.c: Likewise.
79739         * math/w_log2l.c: Likewise.
79740         * math/w_logf.c: Likewise.
79741         * math/w_logl.c: Likewise.
79742         * math/w_sqrt.c: Likewise.
79743         * math/w_sqrtf.c: Likewise.
79744         * math/w_sqrtl.c: Likewise.
79745         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79746         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79747         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79748         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79749         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79751 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79753         [BZ #9739]
79754         * manual/string.texi (strnlen): Use correct parameter name in
79755         equivalent expression.
79757 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79759         [BZ #11174]
79760         * manual/users.texi (seteuid): Consistently use neweuid for
79761         argument name.
79763 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79765         [BZ #13704]
79766         * manual/nss.texi (Services in the NSS configuration): Correct
79767         list of services in example configuration file.
79769 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79771         [BZ #11322]
79772         * manual/arith.texi: Remove statements about negative zero
79773         behaving identically to zero.
79775 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79777         [BZ #5993]
79778         * manual/install.texi: Do not document upgrading from libc5.
79780 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79782         [BZ #4596]
79783         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79785 2012-02-18  David S. Miller  <davem@davemloft.net>
79787         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79788         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79789         %o7 across the call.
79790         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79791         instead.
79792         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79793         SETUP_PIC_REG_LEAF.
79794         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79795         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79796         * sysdeps/sparc/crtn.S: Likewise.
79798 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79800         * aout/Makefile: Remove.
79802 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79804         [BZ #13058]
79805         * manual/examples/argp-ex1.c (main): Format definition in GNU
79806         style.
79807         * manual/examples/argp-ex2.c (main): Likewise.
79808         * manual/examples/argp-ex3.c (main): Likewise.
79809         * manual/examples/argp-ex4.c (main): Likewise.
79810         * manual/examples/longopt.c (main): Use new-style prototype
79811         definition.
79812         * manual/examples/strncat.c (main): Specify return type and use
79813         (void) for arguments.
79814         * manual/examples/subopt.c (main): Use char **argv argument.
79816 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79818         [BZ #5077]
79819         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79820         rounding modes.
79822 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79824         [BZ #6907]
79825         * manual/string.texi (strchr): Change when strchrnul is
79826         recommended.
79828 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79830         [BZ #174]
79831         * manual/locale.texi (setlocale): Document LOCPATH.
79833 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79835         [BZ #10210]
79836         * manual/process.texi (execle): Move @dots{} before last argument.
79838 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79840         [BZ #12047]
79841         * manual/charset.texi (Generic Charset Conversion): Fix typo
79842         (LC_TYPE -> LC_CTYPE).
79844 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79846         [BZ #5805]
79847         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79848         (scalbnf): Likewise.
79849         (scalbnl): Likewise.
79850         (scalbln): Likewise.
79851         (scalblnf): Likewise.
79852         (scalblnl): Likewise.
79853         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79854         (vwarnx): Likewise.
79855         (verr): Likewise.
79856         (verrx): Likewise.
79857         * manual/filesys.texi (telldir): Use braces around return type.
79858         * manual/llio.texi (mmap): Add space after comma.
79859         (mmap64): Likewise.
79860         * manual/math.texi (jn): Use @var{} on parameter names.
79861         (jnf): Likewise.
79862         (jnl): Likewise.
79863         (yn): Likewise.
79864         (ynf): Likewise.
79865         (ynl): Likewise.
79866         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79867         line.
79868         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79869         "...".
79870         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79871         (sched_get_priority_max): Likewise.
79872         * manual/signal.texi (sigvec): Add space after comma.
79873         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79874         names.
79875         (if_indextoname): Likewise.
79876         (if_freenameindex): Likewise.
79877         (sendto): Use ',' instead of '.' in prototype.
79878         * manual/startup.texi (syscall): Use @dots{} instead of literal
79879         "...".
79880         * manual/stdio.texi (__fpending): Separate initial words of
79881         paragraph from @deftypefun line.
79882         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79883         "...".
79884         (vsyslog): Use @var{} on parameter names.
79885         * manual/terminal.texi (stty): Use @var{} on parameter names.
79886         * manual/users.texi (getutmp): Use @var{} on parameter names.
79887         (getutmpx): Likewise.
79889 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79891         [BZ #6884]
79892         * manual/stdio.texi (fopen): Fix typos in description of
79893         ",ccs=STRING".
79895 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79897         [BZ #4026]
79898         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79899         get clock_id definition.
79901 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79903         [BZ #4822]
79904         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79905         (madvise): Cast every argument to void on its own.
79907 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79909         [BZ #9902]
79910         * manual/startup.texi (Exit Status): Fix typo.
79912 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79914         [BZ #10140]
79915         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79916         * manual/examples/argp-ex2.c: Likewise.
79917         * manual/examples/argp-ex3.c: Likewise.
79919 2012-02-16  Richard Henderson  <rth@redhat.com>
79921         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79922         * sysdeps/s390/s390-32/initfini.c: Remove.
79923         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79924         * sysdeps/s390/s390-64/initfini.c: Remove.
79926 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79928         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79929         compiler output for sysdeps/generic/initfini.c.
79930         * sysdeps/sh/elf/initfini.c: Remove file.
79932 2012-02-16  David S. Miller  <davem@davemloft.net>
79934         [BZ #11494]
79935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79937         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79938         * sysdeps/sparc/crti.S: New file.
79939         * sysdeps/sparc/crtn.S: New file.
79940         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79941         * sysdeps/sparc/sparc64/Makefile: Likewise.
79943 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79945         [BZ #3335]
79946         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79948 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79950         [BZ #4822]
79951         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79953         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79954         (write, read, close): Likewise.
79955         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79957 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79959         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79960         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79961         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79962         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79963         <bits/signalfd.h>.
79964         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79966         bits/signalfd.h.
79968 2012-02-14  Marek Polacek  <polacek@redhat.com>
79970         * sysdeps/x86_64/crti.S: New file.
79971         * sysdeps/x86_64/crtn.S: New file.
79972         * sysdeps/x86_64/elf/initfini.c: Remove file.
79974 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79976         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79977         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79978         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79979         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79980         <bits/inotify.h>.
79981         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79983         bits/inotify.h.
79985 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79987         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79988         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79989         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79990         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79991         <bits/eventfd.h>.
79992         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79994         bits/eventfd.h.
79996 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79998         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79999         __feraiseexcept instead of feraiseexcept.
80001         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
80002         nanosleep invocations.
80003         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
80004         strings, and add error checking for a nanosleep invocations.
80006 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
80008         Replace FSF snail mail address with URLs, as per GNU coding standards.
80009         Most of the snail mail addresses were wrong anyway, and omitting
80010         them makes the source code easier to maintain.  Almost all of the
80011         changes are to license notices and to locale LC_IDENTIFICATION
80012         addresses, except for this one:
80013         * manual/libc.texinfo: In "Published by", give the FSF's URL,
80014         not its snail mail address.
80016 2012-02-09  Richard Henderson  <rth@twiddle.net>
80018         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
80019         of kernel-features.h.
80021         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
80023 2012-02-08  Marek Polacek  <polacek@redhat.com>
80025         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
80026         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
80027         * sysdeps/gnu/_G_config.h: Likewise.
80028         * sysdeps/generic/_G_config.h: Likewise.
80030 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
80032         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
80033         tests.
80034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80036         * sysdeps/powerpc/powerpc32/crti.S: New file.
80037         * sysdeps/powerpc/powerpc32/crtn.S: New file.
80038         * sysdeps/powerpc/powerpc64/crti.S: New file.
80039         * sysdeps/powerpc/powerpc64/crtn.S: New file.
80041         * Makeconfig (have-initfini): Don't set.
80042         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80043         * configure.in (nopic_initfini): Don't substitute.
80044         * config.h.in (HAVE_INITFINI): Don't #undef.
80045         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80046         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80048 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80050         Support crti.S and crtn.S provided directly by architectures.
80051         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80052         [crti.S in sysdirs] (omit-deps): Likewise.
80053         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80054         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80055         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80056         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80057         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80058         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80059         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80060         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80061         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80062         compiler output for sysdeps/generic/initfini.c.
80063         * sysdeps/i386/elf/Makefile: Remove file.
80064         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80066 2012-02-07  Marek Polacek  <polacek@redhat.com>
80068         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80069         * sysdeps/gnu/_G_config.h: Likewise.
80070         * sysdeps/mach/hurd/_G_config.h: Likewise.
80072 2012-02-07  Marek Polacek  <polacek@redhat.com>
80074         * math/Makefile (tests): Add tst-CMPLX2.
80075         * math/tst-CMPLX2.c: New file.
80077 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80079         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80081         * math/libm-test.inc (jn_test): Add missing L suffix.
80083 2012-02-06  Marek Polacek  <polacek@redhat.com>
80085         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80086         * sysdeps/i386/fpu/e_powf.S: Likewise.
80087         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80088         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80089         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80090         * sysdeps/i386/fpu/e_pow.S: Likewise.
80091         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80092         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80093         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80094         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80095         * sysdeps/i386/fpu/e_log2.S: Likewise.
80096         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80097         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80098         * sysdeps/i386/fpu/e_powl.S: Likewise.
80099         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80100         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80101         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80102         * sysdeps/i386/fpu/e_logl.S: Likewise.
80103         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80104         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80105         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80106         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80107         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80108         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80109         * sysdeps/i386/fpu/e_log.S: Likewise.
80110         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80111         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80112         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80113         * sysdeps/i386/fpu/e_logf.S: Likewise.
80114         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80115         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80116         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80117         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80118         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80119         * sysdeps/i386/fpu/e_log10.S: Likewise.
80120         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80121         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80122         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80123         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80124         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80125         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80126         * sysdeps/i386/asm-syntax.h: Likewise.
80127         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80128         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80129         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80130         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80131         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80132         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80133         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80134         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80135         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80136         * sysdeps/powerpc/sysdep.h: Likewise.
80137         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80138         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80140 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80142         [BZ #411]
80143         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80145 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80147         * sysdeps/i386/sysdep.h: Include <features.h>.
80148         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80149         version.
80151 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80153         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80154         Define.
80155         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80156         LOAD_PIC_REG_STR.
80158 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80160         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80161         (SETUP_PIC_REG): Use GET_PC_THUNK.
80162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80163         macro.
80165 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80167         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80168         for non-PIC compilation.
80169         (SETUP_PIC_REG): Add .p2align directive.
80170         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80171         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80172         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80173         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80174         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80175         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80176         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80177         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80178         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80179         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80180         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80181         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80182         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80183         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80184         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80185         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80186         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80187         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80188         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80189         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80190         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80191         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80192         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80193         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80195         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80196         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80197         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80198         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80199         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80200         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80201         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80202         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80203         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80204         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80205         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80206         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80207         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80208         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80209         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80210         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80212 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80214         * math/tst-CMPLX.c: Include <stdio.h>.
80216 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80218         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80219         float.
80220         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80221         * sysdeps/sparc/bits/mathdef.h: Likewise.
80223 2012-01-31  Marek Polacek  <polacek@redhat.com>
80225         * libio/libio.h: Don't define _PARAMS.
80226         * locale/programs/config.h: Don't define PARAMS.
80227         * stdlib/strtol_l.c: Likewise.
80228         (__strtol_l): Remove PARAMS from the prototype.
80230 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80232         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80233         names.  Just use the correct names.  Remove unnecessary wrapper
80234         functions.
80235         * malloc/arena.c: Likewise.
80236         * malloc/hooks.c: Likewise.
80238         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80239         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80240         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80242 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80244         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80245         into tail calls.
80246         (update_get_addr): New function.
80247         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80248         GET_ADDR_MODULE parameter.
80250 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80252         * crypt/cert.c: Remove __STDC__ conditionals.
80253         * crypt/crypt-entry.c: Likewise.
80254         * crypt/crypt_util.c: Likewise.
80255         * libio/filedoalloc.c: Likewise.
80256         * libio/fileops.c: Likewise.
80257         * libio/genops.c: Likewise.
80258         * libio/iofclose.c: Likewise.
80259         * libio/iofdopen.c: Likewise.
80260         * libio/iofopen.c: Likewise.
80261         * libio/iofopen64.c: Likewise.
80262         * libio/iogetdelim.c: Likewise.
80263         * libio/iopopen.c: Likewise.
80264         * libio/obprintf.c: Likewise.
80265         * libio/oldfileops.c: Likewise.
80266         * libio/oldiofclose.c: Likewise.
80267         * libio/oldiofdopen.c: Likewise.
80268         * libio/oldiofopen.c: Likewise.
80269         * libio/oldiopopen.c: Likewise.
80270         * libio/wfiledoalloc.c: Likewise.
80271         * libio/wgenops.c: Likewise.
80272         * locale/programs/xmalloc.c: Likewise.
80273         * misc/syslog.c: Likewise.
80274         * stdio-common/xbug.c: Likewise.
80275         * string/memchr.c: Likewise.
80276         * string/memcmp.c: Likewise.
80277         * string/memrchr.c: Likewise.
80278         * string/rawmemchr.c: Likewise.
80279         * sysdeps/posix/getcwd.c: Likewise.
80280         * time/strftime_l.c: Likewise.
80282 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80284         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80285         * config.make.in (config-cflags-sse2avx): Define.
80286         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80287         Fix typo.
80289 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80291         * scripts/config.guess: Update from upstream config git repository.
80292         * scripts/config.sub: Likewise.
80294 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80296         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80297         (EM_NUM): Update.
80298         (R_TILEPRO_*, R_TILEGX_*): New macros.
80300         * scripts/firstversions.awk: Fix bug in version range handling.
80302         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80304         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80306         * include/sys/epoll.h: New file.
80307         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80308         libc_hidden_def.
80310 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80312         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80313         Avoid unnecessary __WORDSIZE == 64 test.
80314         (fmaxf): Use VEX format if possible.
80315         (fmax): Likewise.
80316         (fminf): Likewise.
80317         (fmin): Likewise.
80319         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80320         * math/math_private.h: Remove libc_fegetround* and
80321         libc_fesetround*.
80322         * sysdeps/i386/configure.in: Check for -msse2avx.
80323         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80324         also if SSE2AVX is defined.
80325         Remove libc_fegetround* and libc_fesetround*.
80326         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80327         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80328         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80329         of HAS_YMM_USABLE.
80330         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80331         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80332         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80333         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80334         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80336         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80338 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80340         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80341         size is not set.
80342         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80344 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80346         [BZ #13618]
80347         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80348         relocation.
80349         * Makeconfig (libm): Define.
80350         * elf/Makefile: Add rules to build and run tst-relsort1.
80351         * elf/tst-relsort1.c: New file.
80352         * elf/tst-relsort1mod1.c: New file.
80353         * elf/tst-relsort1mod2.c: New file.
80355 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80357         * math/s_ldexp.c: Remove __STDC__ conditionals.
80358         * math/s_ldexpf.c: Likewise.
80359         * math/s_ldexpl.c: Likewise.
80360         * math/s_nextafter.c: Likewise.
80361         * math/s_nexttowardf.c: Likewise.
80362         * math/s_significand.c: Likewise.
80363         * math/s_significandf.c: Likewise.
80364         * math/s_significandl.c: Likewise.
80365         * math/w_jnl.c: Likewise.
80366         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80367         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80368         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80369         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80370         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80371         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80372         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80373         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80374         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80375         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80376         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80377         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80378         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80379         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80380         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80381         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80382         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80383         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80384         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80385         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80386         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80387         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80388         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80389         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80390         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80391         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80392         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80393         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80394         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80395         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80396         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80397         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80398         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80399         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80400         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80401         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80402         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80403         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80404         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80405         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80406         * sysdeps/ieee754/k_standard.c: Likewise.
80407         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80408         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80409         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80410         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80411         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80412         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80413         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80414         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80415         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80416         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80417         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80418         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80419         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80420         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80421         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80422         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80423         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80424         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80425         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80426         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80427         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80428         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80429         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80430         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80431         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80432         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80433         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80434         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80436         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80437         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80438         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
80439         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80440         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80442         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80443         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
80444         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80445         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80446         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
80447         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
80448         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80449         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
80450         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
80451         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80452         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
80453         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
80454         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80455         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80456         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80457         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80458         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80459         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80460         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80461         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80462         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80463         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80464         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80465         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80466         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80467         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80468         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80469         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80470         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80471         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80472         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80473         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80474         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80475         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80476         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80477         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80478         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80479         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80480         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80481         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80482         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80483         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80484         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80485         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80486         * sysdeps/ieee754/s_matherr.c: Likewise.
80487         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80488         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80489         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80492 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80494         * crypt/md5.h: Remove __STDC__ conditionals.
80495         * libio/libioP.h: Likewise.
80496         * locale/programs/config.h: Likewise.
80497         * sysdeps/generic/sysdep.h: Likewise.
80498         * sysdeps/i386/asm-syntax.h: Likewise.
80499         * sysdeps/s390/asm-syntax.h: Likewise.
80500         * sysdeps/unix/sysdep.h: Likewise.
80501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80504 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80506         * libio/libio.h: Remove __STDC__ conditionals.
80507         * malloc/obstack.h: Likewise.
80508         * math/complex.h: Likewise.
80509         * math/math.h: Likewise.
80510         * sysdeps/generic/_G_config.h: Likewise.
80511         * sysdeps/gnu/_G_config.h: Likewise.
80512         * sysdeps/mach/hurd/_G_config.h: Likewise.
80513         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80514         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80515         * sysdeps/sparc/bits/mathdef.h: Likewise.
80517 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80519         [BZ #13583]
80520         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80521         Clean up HAS_* macros.
80522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80523         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80524         possible.
80525         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80526         HAS_AVX.
80527         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80528         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80529         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80530         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80531         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80533 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80535         * elf/tst-unique3.cc (gets): Remove declaration.
80536         * elf/tst-unique3lib.cc (gets): Likewise.
80537         * elf/tst-unique3lib2.cc (gets): Likewise.
80538         * elf/tst-unique4.cc (gets): Likewise.
80540 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80542         * include/stdio.h: Add C++ protection.  Add gets declarations and
80543         definitions.
80544         * debug/tst-chk1.c: Don't declare gets here.
80545         * stdio-common/tst-gets.c: Likewise.
80547 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80549         * posix/glob: Remove directory.
80551 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80553         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80555 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80557         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80558         of the non-standard EPFNOSUPPORT.
80560 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80562         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80563         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80564         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80566 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80568         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80570 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80572         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80573         transient errors.
80574         * nscd/grpcache.c (cache_addgr): Likewise.
80575         * nscd/hstcache.c (cache_addhst): Likewise.
80576         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80577         * nscd/pwdcache.c (cache_addpw): Likewise.
80578         * nscd/servicescache.c (cache_addserv): Likewise.
80580 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80582         * malloc/malloc.c: Various cleanups.
80583         * malloc/hooks.c: Likewise.
80585         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80586         * stdlib/bug-fmtmsg1.c: New file.
80588         * stdlib/fmtmsg.c (init): Add missing unlock.
80589         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80591 2012-01-12  Marek Polacek  <polacek@redhat.com>
80593         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80594         and _GNU_SOURCE.
80596 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80598         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80599         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80600         macro to ensure uniqueness of label name.
80601         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80602         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80604 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80606         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80608         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80609         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80610         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80611         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80613 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80615         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80617         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80618         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80619         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80621         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80623         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80624         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80625         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80628         * math/bits/math-finite.h: Add ldexp support.
80630 2012-01-10  Marek Polacek  <polacek@redhat.com>
80632         * locale/programs/localedef.h (show_archive_content): Add noreturn
80633         attribute.
80635 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80637         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80639 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80641         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80643         * io/Makefile (headers): Add bits/poll2.h.
80645 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80648         typo #include statement.
80650 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80652         * include/sys/cdefs.h: Define __attribute_alloc_size.
80653         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80654         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80655         * elf/pldd.c: Likewise.
80656         * iconv/iconv_charmap.c: Likewise.
80657         * iconv/iconvconfig.c: Likewise.
80658         * iconv/strtab.c: Likewise.
80659         * locale/programs/locale.c: Likewise.
80660         * locale/programs/localedef.h: Likewise.
80661         * locale/programs/simple-hash.c: Likewise.
80662         * nscd/nscd.h: Likewise.
80663         * nss/makedb.c: Likewise.
80664         * sysdeps/generic/ldconfig.h: Likewise.
80665         * locale/programs/localedef.c: Remove xmalloc prototype.
80666         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80668 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80670         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80671         appropriate.
80673 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80675         * math/Makefile (tests): Add tst-CMPLX.
80676         * math/tst-CMPLX.c: New file.
80678         * math/complex.h (CMPLXL): Fix typo.
80680         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80681         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80682         GLIBC_2.16.
80683         * debug/tst-chk1.c: Add poll and ppoll tests.
80684         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80685         * include/sys/poll.h: Add hidden proto for ppoll.
80686         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80687         * sysdeps/mach/hurd/ppoll.c: Likewise.
80688         * io/ppoll.c: Likewise.
80689         * debug/poll_chk.c: New file.
80690         * debug/ppoll_chk.c: New file.
80691         * include/bits/poll2.h: New file.
80692         * io/bits/poll2.h: New file.
80694         [BZ #1350]
80695         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80697         * configure.in: static is always set to yes.  Remove.
80698         * config.make.in: Don't set build-static.
80699         * Makeconfig: Remove use of build-static.
80700         * dlfcn/Makefile: Likewise.
80701         * elf/Makefile: Likewise.
80702         * math/Makefile: Likewise.
80703         * misc/Makefile: Likewise.
80704         * nptl/Makefile: Likewise.
80705         * sysdeps/mach/hurd/Makefile: Likewise.
80707         * configure.in: PWD_P is not used anymore.
80708         * config.make.in: Remove PWD_P entry.
80710         * configure.in: Remove last remnants of RANLIB.
80711         No need to check for signed size_t anymore.
80712         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80713         and IA-64.
80714         Remove __builtin_expect test because we require at least gcc 3.4.
80715         * aclocal.m4: Likewise.
80717         * wcsmbs/mbrtoc16.c: Implement using towc function.
80718         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80719         * wcsmbs/wcsmbsload.c: Likewise.
80720         * iconv/gconv_simple.c: Likewise.
80721         * iconv/gconv_int.h: Likewise.
80722         * iconv/gconv_builtin.h: Likewise.
80723         * iconv/iconv_prog.c: Remove CHAR16 handling.
80725         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80727         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80729         * configure.in: Remove --with-elf and --enable-bounded options.
80730         Dont set base_machine for ia64.  More non-ELF conditions removed.
80731         Remove testing and setting of leading underscore information.
80732         * config.make.in (build-bounded): Set to no.
80733         * config.h.in: Remove NO_UNDERSCORES entry.
80734         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80735         them.
80736         * csu/start.c: Remove !NO_UNDERSCORE code.
80737         * locale/localeinfo.h: Likewise.
80738         * sysdeps/generic/machine-gmon.h: Likewise.
80739         * sysdeps/generic/sysdep.h: Likewise.
80740         * sysdeps/i386/sysdep.h: Likewise.
80741         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80742         * sysdeps/mach/sysdep.h: Likewise.
80743         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80744         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80745         * sysdeps/sh/sysdep.h: Likewise.
80746         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80747         * sysdeps/unix/i386/sysdep.S: Likewise.
80748         * sysdeps/unix/sparc/start.c: Likewise.
80749         * sysdeps/unix/sparc/sysdep.S: Likewise.
80750         * sysdeps/unix/sparc/sysdep.h: Likewise.
80751         * sysdeps/unix/start.c: Likewise.
80752         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80753         * sysdeps/x86_64/sysdep.h: Likewise.
80755 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80757         [BZ #13553]
80758         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80759         for non-gcc.
80760         * argp/argp-fmtstream.h: Use const instead __const.
80761         * argp/argp.h: Likewise.
80762         * assert/assert.h: Likewise.
80763         * bits/fenv.h: Likewise.
80764         * bits/sched.h: Likewise.
80765         * bits/sigset.h: Likewise.
80766         * bits/sigthread.h: Likewise.
80767         * catgets/nl_types.h: Likewise.
80768         * conform/data/pthread.h-data: Likewise.
80769         * crypt/crypt-private.h: Likewise.
80770         * crypt/crypt.h: Likewise.
80771         * crypt/crypt_util.c: Likewise.
80772         * ctype/ctype.h: Likewise.
80773         * debug/execinfo.h: Likewise.
80774         * debug/mbsnrtowcs_chk.c: Likewise.
80775         * debug/mbsrtowcs_chk.c: Likewise.
80776         * debug/wcsnrtombs_chk.c: Likewise.
80777         * debug/wcsrtombs_chk.c: Likewise.
80778         * debug/wcstombs_chk.c: Likewise.
80779         * dirent/dirent.h: Likewise.
80780         * dlfcn/dlfcn.h: Likewise.
80781         * elf/neededtest4.c: Likewise.
80782         * grp/grp.h: Likewise.
80783         * gshadow/gshadow.h: Likewise.
80784         * iconv/gconv.h: Likewise.
80785         * iconv/gconv_int.h: Likewise.
80786         * iconv/gconv_simple.c: Likewise.
80787         * iconv/iconv.h: Likewise.
80788         * iconv/loop.c: Likewise.
80789         * iconv/skeleton.c: Likewise.
80790         * include/aio.h: Likewise.
80791         * include/aliases.h: Likewise.
80792         * include/argz.h: Likewise.
80793         * include/arpa/inet.h: Likewise.
80794         * include/assert.h: Likewise.
80795         * include/dirent.h: Likewise.
80796         * include/dlfcn.h: Likewise.
80797         * include/execinfo.h: Likewise.
80798         * include/fcntl.h: Likewise.
80799         * include/fenv.h: Likewise.
80800         * include/glob.h: Likewise.
80801         * include/grp.h: Likewise.
80802         * include/libintl.h: Likewise.
80803         * include/mntent.h: Likewise.
80804         * include/netdb.h: Likewise.
80805         * include/pwd.h: Likewise.
80806         * include/rpc/netdb.h: Likewise.
80807         * include/sched.h: Likewise.
80808         * include/search.h: Likewise.
80809         * include/shadow.h: Likewise.
80810         * include/signal.h: Likewise.
80811         * include/stdio.h: Likewise.
80812         * include/stdlib.h: Likewise.
80813         * include/string.h: Likewise.
80814         * include/sys/socket.h: Likewise.
80815         * include/sys/stat.h: Likewise.
80816         * include/sys/statfs.h: Likewise.
80817         * include/sys/statvfs.h: Likewise.
80818         * include/sys/syslog.h: Likewise.
80819         * include/sys/time.h: Likewise.
80820         * include/sys/uio.h: Likewise.
80821         * include/time.h: Likewise.
80822         * include/unistd.h: Likewise.
80823         * include/utmp.h: Likewise.
80824         * include/wchar.h: Likewise.
80825         * include/wctype.h: Likewise.
80826         * inet/aliases.h: Likewise.
80827         * inet/arpa/inet.h: Likewise.
80828         * inet/netinet/ether.h: Likewise.
80829         * inet/netinet/in.h: Likewise.
80830         * intl/libintl.h: Likewise.
80831         * io/bits/fcntl2.h: Likewise.
80832         * io/fcntl.h: Likewise.
80833         * io/ftw.h: Likewise.
80834         * io/sys/poll.h: Likewise.
80835         * io/sys/stat.h: Likewise.
80836         * io/sys/statfs.h: Likewise.
80837         * io/sys/statvfs.h: Likewise.
80838         * io/utime.h: Likewise.
80839         * libio/bits/stdio.h: Likewise.
80840         * libio/bits/stdio2.h: Likewise.
80841         * libio/libio.h: Likewise.
80842         * libio/libioP.h: Likewise.
80843         * libio/stdio.h: Likewise.
80844         * locale/lc-ctype.c: Likewise.
80845         * locale/locale.h: Likewise.
80846         * login/utmp.h: Likewise.
80847         * malloc/arena.c: Likewise.
80848         * malloc/malloc.c: Likewise.
80849         * malloc/malloc.h: Likewise.
80850         * malloc/mcheck.c: Likewise.
80851         * malloc/mtrace.c: Likewise.
80852         * math/bits/mathcalls.h: Likewise.
80853         * math/fenv.h: Likewise.
80854         * math/math_private.h: Likewise.
80855         * misc/bits/error.h: Likewise.
80856         * misc/bits/syslog.h: Likewise.
80857         * misc/err.h: Likewise.
80858         * misc/error.h: Likewise.
80859         * misc/fstab.h: Likewise.
80860         * misc/mntent.h: Likewise.
80861         * misc/regexp.h: Likewise.
80862         * misc/search.h: Likewise.
80863         * misc/sgtty.h: Likewise.
80864         * misc/sys/mman.h: Likewise.
80865         * misc/sys/syslog.h: Likewise.
80866         * misc/sys/uio.h: Likewise.
80867         * misc/sys/xattr.h: Likewise.
80868         * misc/ttyent.h: Likewise.
80869         * nis/rpcsvc/ypclnt.h: Likewise.
80870         * nss/nss.h: Likewise.
80871         * posix/bits/unistd.h: Likewise.
80872         * posix/fnmatch.h: Likewise.
80873         * posix/glob.h: Likewise.
80874         * posix/sched.h: Likewise.
80875         * posix/spawn.h: Likewise.
80876         * posix/sys/wait.h: Likewise.
80877         * posix/unistd.h: Likewise.
80878         * posix/wordexp.h: Likewise.
80879         * pwd/pwd.h: Likewise.
80880         * resolv/netdb.h: Likewise.
80881         * resource/sys/resource.h: Likewise.
80882         * rt/aio.h: Likewise.
80883         * rt/bits/mqueue2.h: Likewise.
80884         * rt/mqueue.h: Likewise.
80885         * shadow/shadow.h: Likewise.
80886         * signal/signal.h: Likewise.
80887         * socket/send.c: Likewise.
80888         * socket/sendto.c: Likewise.
80889         * socket/sys/socket.h: Likewise.
80890         * stdio-common/printf.h: Likewise.
80891         * stdlib/bits/stdlib.h: Likewise.
80892         * stdlib/fmtmsg.h: Likewise.
80893         * stdlib/monetary.h: Likewise.
80894         * stdlib/stdlib.h: Likewise.
80895         * stdlib/ucontext.h: Likewise.
80896         * streams/stropts.h: Likewise.
80897         * string/argz.h: Likewise.
80898         * string/bits/string2.h: Likewise.
80899         * string/string.h: Likewise.
80900         * string/strings.h: Likewise.
80901         * sunrpc/rpc/auth.h: Likewise.
80902         * sunrpc/rpc/auth_des.h: Likewise.
80903         * sunrpc/rpc/clnt.h: Likewise.
80904         * sunrpc/rpc/netdb.h: Likewise.
80905         * sunrpc/rpc/pmap_clnt.h: Likewise.
80906         * sunrpc/rpc/xdr.h: Likewise.
80907         * sysdeps/generic/inttypes.h: Likewise.
80908         * sysdeps/generic/net/if.h: Likewise.
80909         * sysdeps/generic/sys/swap.h: Likewise.
80910         * sysdeps/gnu/net/if.h: Likewise.
80911         * sysdeps/gnu/utmpx.h: Likewise.
80912         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80913         * sysdeps/i386/i486/bits/string.h: Likewise.
80914         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80915         * sysdeps/s390/bits/string.h: Likewise.
80916         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80917         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80918         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80919         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80920         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80921         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80922         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80923         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80924         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80925         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80926         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80927         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80928         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80929         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80930         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80931         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80932         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80933         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80934         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80935         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80936         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80937         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80938         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80939         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80940         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80941         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80942         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80943         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80944         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80945         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80946         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80947         * sysvipc/sys/ipc.h: Likewise.
80948         * sysvipc/sys/msg.h: Likewise.
80949         * sysvipc/sys/sem.h: Likewise.
80950         * sysvipc/sys/shm.h: Likewise.
80951         * termios/termios.h: Likewise.
80952         * time/sys/time.h: Likewise.
80953         * time/time.h: Likewise.
80954         * wcsmbs/bits/wchar2.h: Likewise.
80955         * wcsmbs/uchar.h: Likewise.
80956         * wcsmbs/wchar.h: Likewise.
80957         * wctype/wctype.h: Likewise.
80959         [BZ #13551]
80960         * Makeconfig: Remove all but ELF support including AIX support.
80961         * Makerules: Likewise.
80962         * config.h.in: Likewise.
80963         * config.make.in: Likewise.
80964         * configure: Likewise.
80965         * configure.in: Likewise.
80966         * csu/Makefile: Likewise.
80967         * csu/version.c: Likewise.
80968         * debug/Makefile: Likewise.
80969         * dlfcn/Makefile: Likewise.
80970         * elf/Makefile: Likewise.
80971         * extra-lib.mk: Likewise.
80972         * iconv/Makefile: Likewise.
80973         * include/libc-symbols.h: Likewise.
80974         * include/shlib-compat.h: Likewise.
80975         * resolv/Makefile: Likewise.
80976         * resolv/res_libc.c: Likewise.
80977         * rt/Makefile: Likewise.
80978         * sysdeps/i386/asm-syntax.h: Likewise.
80979         * sysdeps/i386/sysdep.h: Likewise.
80980         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80981         * sysdeps/mach/sysdep.h: Likewise.
80982         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80983         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80984         * sysdeps/s390/asm-syntax.h: Likewise.
80985         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80986         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80987         * sysdeps/sh/sysdep.h: Likewise.
80988         * sysdeps/unix/sparc/sysdep.h: Likewise.
80989         * sysdeps/wordsize-32/divdi3.c: Likewise.
80990         * sysdeps/x86_64/sysdep.h: Likewise.
80992         * argp/Versions: Remove _argp_unlock_xxx.
80994         [BZ #13559]
80995         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80996         * abilist/libBrokenLocale.abilist: Likewise.
80997         * abilist/libanl.abilist: Likewise.
80998         * abilist/libc.abilist: Likewise.
80999         * abilist/libcrypt.abilist: Likewise.
81000         * abilist/libdl.abilist: Likewise.
81001         * abilist/libm.abilist: Likewise.
81002         * abilist/libnsl.abilist: Likewise.
81003         * abilist/libpthread.abilist: Likewise.
81004         * abilist/libresolv.abilist: Likewise.
81005         * abilist/librt.abilist: Likewise.
81006         * abilist/libthread_db.abilist: Likewise.
81007         * abilist/libutil.abilist: Likewise.
81008         * abilist/libnss_db.abilist: New file.
81010         * scripts/abilist.awk: Add support for indirect functions.
81012         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
81014         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
81016         * shlib-versions: Remove entries for ports architectures.
81018         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
81019         files in ports.
81020         * elf/stackguard-macros.h: Remove support for IA-64.
81021         * elf/tst-auditmod1.c: Likewise.
81022         * sysdeps/generic/ldsodefs.h: Likewise.
81024         * sysdeps/unix/sysv/linux/configure.in: Ports should define
81025         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
81026         configure files.
81028         [BZ #13552]
81029         * configure.in: Remove --enable-omitfp support.
81030         * FAQ.in: Adjust.
81031         * config.make.in: Likewise.
81032         * Makeconfig: Likewise.
81033         * manual/install.texi: Likewise.
81035         In case anyone cares, the IA-64 architecture could move to ports.
81036         * sysdeps/ia64/*: Removed.
81037         * sysdeps/unix/sysv/linux/ia64/*: Removed.
81038         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
81040         [BZ #13555]
81041         * configure.in: Remove entries for unsupported architectures.
81043         [BZ #13533]
81044         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81045         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81046         routines.
81047         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81048         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81049         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81050         fall back to using wcrtomb.
81051         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81052         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81053         renaming.
81054         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81055         * wcsmbs/tst-c16c32-1.c: New file.
81057         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81058         local variable.
81060         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81062         * elf/tst-unique3.cc: Add explicit declaration of gets.
81063         * elf/tst-unique3lib.cc: Likewise.
81064         * elf/tst-unique3lib2.cc: Likewise.
81065         * elf/tst-unique4.cc: Likewise.
81067         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81069 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81071         [BZ #13566]
81072         * assert/assert.h (static_assert): Don't define for C++.
81073         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81074         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81076 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81078         * iconv/loop.c (single loop): Fix assertion in storing of
81079         remaining bytes.
81081         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81083 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81085         * posix/getconf.c: Update copyright year.
81086         * nss/getent.c: Likewise.
81087         * nss/makedb.c: Likewise.
81088         * iconv/iconvconfig.c: Likewise.
81089         * iconv/iconv_prog.c: Likewise.
81090         * elf/ldconfig.c: Likewise.
81091         * elf/pldd.c: Likewise.
81092         * elf/sotruss.ksh: Likewise.
81093         * catgets/gencat.c: Likewise.
81094         * csu/version.c: Likewise.
81095         * elf/ldd.bash.in: Likewise.
81096         * elf/sprof.c (print_version): Likewise.
81097         * locale/programs/locale.c: Likewise.
81098         * locale/programs/localedef.c: Likewise.
81099         * login/programs/pt_chown.c: Likewise.
81100         * nscd/nscd.c (print_version): Likewise.
81101         * debug/xtrace.sh: Likewise.
81102         * malloc/memusage.sh: Likewise.
81103         * malloc/mtrace.pl: Likewise.
81104         * debug/catchsegv.sh: Likewise.
81106 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81108         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81109         pure attribute.
81111 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81113         [BZ #13533]
81114         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81115         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81116         transformations.
81117         * iconv/gconv_int.h: Likewise.
81118         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81119         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81120         from libc for GLIBC_2.16.
81121         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81122         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81123         * wcsmbs/uchar.h: Really define mbstate_t.
81124         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81125         * wcsmbs/c16rtomb.c: New file.
81126         * wcsmbs/mbrtoc16.c: New file.
81127         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81128         for C/POSIX locale.
81129         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81130         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81132         * wcsmbs/wchar.h: Add missing __restrict.
81134 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81136         [BZ #13532]
81137         * time/Makefile (routines): Add timespec_get.
81138         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81139         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81140         timespec for ISO C11.
81141         * time/timespec_get.c: New file.
81142         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81143         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81145         [BZ #13531]
81146         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81147         * stdlib/stdlib.h: Declare aligned_alloc.
81148         * Versions.def: Add GLIBC_2.16 for libc.
81149         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81151         [BZ 13527]
81152         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81153         ISO C11.
81155         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81156         code.
81158         [BZ #13528]
81159         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81161         [BZ #13529]
81162         * assert/assert.h (static_assert): Define.
81164         * version.h: Update for 2.16 development version.
81166         [BZ #13526]
81167         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81168         _ISOC11_SOURCE.
81170         * version.h (RELEASE): Bump for 2.15 release.
81171         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81173         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81174         Patch by Marek Polacek <mpolacek@redhat.com>.
81176         * bits/byteswap.h: Protect long long constants with __extension__.
81177         * sysdeps/i386/bits/byteswap.h: Likewise.
81178         * sysdeps/ia64/bits/byteswap.h: Likewise.
81179         * sysdeps/s390/bits/byteswap.h: Likewise.
81180         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81182 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81184         [BZ #13540]
81185         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81186         destination buffer.
81187         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81189 2011-12-23  Marek Polacek  <polacek@redhat.com>
81191         * elf/dl-addr.c (determine_info): Add inline keyword.
81192         * elf/tst-auditmod4b.c (check_avx): Likewise.
81193         * elf/tst-auditmod6b.c (check_avx): Likewise.
81194         * elf/tst-auditmod6c.c (check_avx): Likewise.
81195         * elf/tst-auditmod7b.c (check_avx): Likewise.
81197 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81199         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81200         !__SSE_MATH__.
81202 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81204         [BZ #13540]
81205         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81206         processing for last bytes.
81208 2011-08-06  Bruno Haible  <bruno@clisp.org>
81210         [BZ #13061]
81211         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81212         U+0385, not to U+1FEE.
81214         [BZ #13062]
81215         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81216         entry for U+00A5 U+0301.
81218 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81220         [BZ #13166]
81221         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81222         buffer for the output is too small.
81224         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81225         optimization.
81227         [BZ #13185]
81228         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81229         SSE flags if possible.
81231 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81233         [BZ #13540]
81234         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81235         processing for last bytes.
81237 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81239         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81240         (syscall-list-default-options, syscall-list-default-condition)
81241         (syscall-list-includes): Define.
81242         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81243         list of ABIs and options and #if conditions for each ABI.  Do not
81244         handle common syscalls between ABIs specially.
81245         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81246         Remove.
81247         (syscall-list-variants, syscall-list-32bit-options)
81248         (syscall-list-32bit-condition, syscall-list-64bit-options)
81249         (syscall-list-64bit-condition): Define.
81250         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81251         (syscall-list-variants, syscall-list-32bit-options)
81252         (syscall-list-32bit-condition, syscall-list-64bit-options)
81253         (syscall-list-64bit-condition): Define.
81254         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81255         Remove.
81256         (syscall-list-variants, syscall-list-32bit-options)
81257         (syscall-list-32bit-condition, syscall-list-64bit-options)
81258         (syscall-list-64bit-condition): Define.
81259         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81260         Remove.
81261         (syscall-list-variants, syscall-list-32bit-options)
81262         (syscall-list-32bit-condition, syscall-list-64bit-options)
81263         (syscall-list-64bit-condition): Define.
81265 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81267         * locale/iso-639.def: Add brx entry.
81269         [BZ #13328]
81270         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81271         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81273         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81274         __feraiseexcept_renamed.
81276 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81278         [BZ #13538]
81279         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81280         EPOLLET with unsigned values.
81281         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81282         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81284         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81285         to large cancellation.
81286         * math/s_cacoshf.c: Likewise.
81287         * math/s_cacoshl.c: Likewise.
81289 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81291         [BZ #13305]
81292         [BZ #12786]
81293         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81294         * math/s_cacoshf.c: Likewise.
81295         * math/s_cacoshl.c: Likewise.
81297 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81299         [BZ #13439]
81300         * iconv/gconv.h: Define __GCONV_SWAP.
81301         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81302         * iconvdata/utf-16.c: Likewise.
81303         * iconvdata/utf-32.c: Likewise.
81305 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81307         [BZ #13524]
81308         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81309         numerator after shifting it by one limb.
81311 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81313         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81314         under [__USE_EXTERN_INLINES].
81316 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81318         [BZ #13446]
81319         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81321 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81323         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81324         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81325         optimized code.
81326         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81327         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81328         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81329         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81330         for strncasecmp/strncasecmp_l compilation.
81331         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81332         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81334 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81336         [BZ #13484]
81337         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81338         of __asm__.
81340 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81342         [BZ #13506]
81343         * time/tzfile.c (__tzfile_read): Check values from file header.
81345 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81347         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81348         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81349         * powerpc/powerpc32/dl-start.S: Likewise.
81350         * powerpc/powerpc32/elf/start.S: Likewise.
81351         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81352         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81353         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81354         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81355         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81356         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81357         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81358         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81359         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81360         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81361         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81362         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81363         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81364         * powerpc/powerpc32/memset.S: Likewise.
81365         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81366         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81367         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81368         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81369         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81370         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81371         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81372         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81373         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81374         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81375         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81376         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81377         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81379 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81381         * math/libm-test.inc: Added more nearbyint tests.
81382         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
81383         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
81384         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81385         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
81387 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
81389         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
81390         FD_CLOEXEC.
81392 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81394         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
81395         Add wcscpy-ssse3 wcscpy-c.
81396         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
81397         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
81398         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
81399         * sysdeps/x86_64/wcschr.S: New file.
81400         * sysdeps/x86_64/wcsrchr.S: New file.
81401         * string/test-strcmp.c: Remove checking of wcscmp function for
81402         wrong alignments.
81403         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
81404         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
81405         wcsrchr-sse2 wcsrchr-c.
81406         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
81407         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
81408         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
81409         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
81410         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
81411         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
81412         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
81413         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
81414         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
81415         * wcsmbc/wcschr.c (WCSCHR): New macro.
81417 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81419         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
81420         * wcsmbs/test-wcsrchr.c: New file.
81421         * string/test-strrchr.c: Add wcsrchr support.
81422         (WIDE): New macro.
81423         * wcsmbs/test-wcscpy.c: New file.
81424         * string/test-strcpy.c: Add wcscpy support.
81425         (WIDE): New macro.
81427 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
81429         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
81430         the inner loop.
81432 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
81434         [BZ #13472]
81435         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
81437 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
81439         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
81440         Minor optimizations.
81442         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
81443         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
81444         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
81446 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
81448         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
81449         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
81450         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
81451         for gcc to avoid warnings.
81452         * inet/Makefile (tests): Add tst-checks.
81453         * inet/tst-checks.c: New file.
81455         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81456         warning.
81458         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81459         __wmemcmp_sse2.
81461         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81462         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81464         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81466 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81468         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81469         problem.
81471         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81473 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81475         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81476         conditional on GCC version.
81477         (__arch_compare_and_exchange_val_8_acq)
81478         (__arch_compare_and_exchange_val_16_acq)
81479         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81480         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81481         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81483 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81485         * sysdeps/sh/backtrace.c: New file.
81487 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81489         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81490         parenthesis.
81492 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81494         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81495         falling back to utime.
81497 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81499         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81500         expectations for float.
81502 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81504         * locale/weight.h (findidx): Add parameter len.
81505         * locale/weightwc.h (findidx): Likewise.
81506         * posix/fnmatch_loop.c (FCT): Adjust caller.
81507         * posix/regcomp.c (build_equiv_class): Likewise.
81508         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81509         * posix/regexec.c (check_node_accept_bytes): Likewise.
81510         * string/strcoll_l.c (STRCOLL): Likewise.
81511         * string/strxfrm_l.c (STRXFRM): Likewise.
81513 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81515         * Makefile.in: Remove CVSOPT handling.
81516         * configure.in: Remove use of AC_REVISION.
81517         * iconvdata/Makefile (distribute): No need to filter out CVS.
81518         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81519         handling.
81521 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81524         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81525         [USE_AS_STRNCASECMP_L]: Likewise.
81526         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81527         NO_TLS_DIRECT_SEG_REFS.
81528         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81529         Fix argument offsets for non-PIC.
81530         [USE_AS_STRNCASECMP_L]: Likewise.
81531         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81532         NO_TLS_DIRECT_SEG_REFS.
81534 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81536         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81537         O_CLOEXEC.
81538         * locale/loadlocale.c (_nl_load_locale): Likewise.
81540 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81542         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81543         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81544         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81545         (SYSCALL_GETTIME): Set errno on error.
81547         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81548         count references to noai6ai_cached.
81550 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81552         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81554         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81555         FD_CLOEXEC for /proc/self/maps.
81557         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81558         FD_CLOEXEC for /proc/meminfo.
81560         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81561         gai.conf.
81563         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81564         FD_CLOEXEC for given file.
81566         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81568         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81569         FD_CLOEXEC for /etc/hosts.
81570         (_gethtent): Likewise.
81572         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81574         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81575         cancellation and set FD_CLOEXEC for /etc/netgroup.
81577         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81578         reading /etc/publickey.
81580         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81581         allow cancellation when reading /etc/group.
81583         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81584         cancellation.
81585         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81587         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81588         when using data file.
81590         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81592         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81593         (write_nis_obj): Use "c" and "e" in fopen.
81595         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81597         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81599         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81601         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81603         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81604         locale.alias.
81606         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81608         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81610         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81612         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81613         file parsing and set FD_CLOEXEC.
81615 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81617         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81619 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81621         * malloc/arena.c (arena_get2): Don't call reused_arena when
81622         _int_new_arena failed.
81624 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81626         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81627         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81628         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81629         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81630         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81631         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81632         to compile strcasecmp and strncasecmp.
81633         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81634         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81636         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81638 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81640         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81641         locale-defines.sym to gen-as-const-headers.
81642         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81643         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81644         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81645         to compile strcasecmp and strncasecmp.
81646         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81647         strcasecmp_l and strncasecmp_l.
81648         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81649         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81650         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81651         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81652         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81653         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81654         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81655         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81656         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81657         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81658         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81660 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81662         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81663         result of SYSDEP_GETTIME_CPU to retval.
81664         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81665         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81667         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81668         variable.
81670         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81671         mantissa words.
81672         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81674         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81675         from unused variable.
81677         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81678         DWARF definitions.
81679         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81680         for assembling.
81682         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81683         over namespaces.
81685         * sunrpc/rpc_prot.c (rejected): Fix case value.
81687         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81688         unsigned long long int to avoid warnings in shift.
81690         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81691         of use of trans.
81692         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81693         variable tmp.
81695         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81696         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81697         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81699         * nis/nis_table.c (nis_list): Use variable of correct type for
81700         result of __follow_path call.
81702 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81704         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81705         of math functions ceil, trunc, floor, round, and sqrt, when
81706         avaliable on the platform.
81707         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81708         name clash.
81709         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81710         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81711         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81713 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81715         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81716         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81718 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81720         * include/unistd.h: Fix __readlink return type.
81721         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81723 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81725         * stdlib/ucontext.h: Undo last change for makecontext.
81727 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81729         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81731         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81732         * setjmp/setjmp.h: Mark functions as non-leaf.
81733         * setjmp/bits/setjmp2.h: Likewise.
81734         * stdlib/ucontext.h: Likewise.
81736 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81738         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81739         (reused_arena): Don't check arena limit.
81740         (arena_get2): Atomically check arena limit.
81742 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81744         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81745         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81747         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81748         instructions.
81750 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81752         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81753         handler when locking.
81755         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81756         Fix size of allocated buffer.
81758 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81760         [BZ #10103]
81761         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81762         declarations for long double functions.
81763         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81765         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81767 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81769         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81770         installed.
81772         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81773         is disabled.
81775 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81777         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81779 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81781         * include/alloca.h (stackinfo_alloca_round): Define.
81782         (extend_alloca): Use it.
81783         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81784         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81785         here.
81787         * scripts/check-local-headers.sh: Ignore libaudit.h.
81789         * nscd/Makefile (extra-objs): Make recursively expanded.
81791 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81793         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81794         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81796         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81797         * posix/tst-rfc3484-2.c: Likewise.
81798         * posix/tst-rfc3484-3.c: Likewise.
81800         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81801         process_vm_writev.
81802         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81803         process_vm_writev.
81804         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81805         process_vm_writev from libc using GLIBC_2.15 version.
81807         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81809 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81811         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81812         stack usage.
81814 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81816         [BZ #13367]
81817         * nss/getent.c (initgroups_keys): Show error message in case no group
81818         names are given.
81820         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81821         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81822         __bump_nl_timestamp.
81823         * nscd/connections (nscd_init): When host database is served open
81824         netlink socket and request notification about configuration changes.
81825         (main_loop_poll): Track netlink file descriptor and bump timestamp
81826         in case data becomes available.
81827         (main_loop_epoll): Likewise.
81828         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81829         (database_pers_head): Add extra_data fileds.
81830         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81831         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81832         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81833         Adjust caller.
81834         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81835         in6ai data, call __free_in6ai.
81836         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81837         Add -DHAVE_NETLINK.
81838         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81839         interface information.  Reuse previous data if netlink timestamp
81840         is not changed.
81841         (__bump_nl_timestamp): New function.
81842         (__free_in6ai): New function.
81844 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81846         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81847         close_not_cancel_no_status here.
81848         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81850 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81852         [BZ #13276]
81853         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81854         return value.
81856         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81857         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81858         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81860 2011-07-03  Andreas Jaeger  <aj@suse.de>
81862         [BZ #10709]
81863         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81864         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81865         * math/libm-test.inc (sin_test): Add test case.
81867 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81869         [BZ #13337]
81870         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81871         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81873         * elf/chroot_canon.c (chroot_canon): Cleanups.
81875         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81877         [BZ #13335]
81878         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81879         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81881         * string/test-strchr.c: Make usable for strchrnul testing.
81882         * string/test-strchrnul.c: New file.
81883         * string/Makefile (strop-tests): Add strchrnul.
81885         * po/it.po: Update from translation team.
81886         * po/es.po: Likewise.
81888 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81890         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81891         the three constants needed as parameters.  Drop the others.
81892         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81893         __m128i_strloadu_tolower.
81894         Create and initialize variable zero and use it in all the places
81895         where _mm_setzero_si128 was used.
81897         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81898         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81899         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81900         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81901         anymore.
81902         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81903         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81904         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81905         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81906         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81907         __mpranred, __mptan.
81908         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81909         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81910         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81911         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81912         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81913         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81914         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81915         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81916         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81918 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81920         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81921         redefine if SHARED.
81922         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81925         wide char related routines to wcsmbs subdir.
81927 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81929         [BZ #13344]
81930         * misc/sys/cdefs.h (__THROWNL): Define.
81931         * posix/unistd.h: Use __THREADNL instead of __THREAD
81932         for memory synchronization functions.
81934 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81936         [BZ #13349]
81937         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81938         doesn't exist.
81939         * manual/stdio.texi (Obstack Streams): Node removed.
81941 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81943         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81944         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81945         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81947         * math/math_private.h (math_force_eval): Allow non-addressable
81948         arguments.
81949         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81951 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81953         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81954         file is not needed.
81956         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81957         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81958         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81959         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81960         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81961         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81962         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81963         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81964         Add AVX variants.
81965         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81966         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81967         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81968         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81969         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81970         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81971         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81972         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81973         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81974         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81975         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81976         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81977         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81978         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81979         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81980         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81981         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81982         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81983         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81985         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81986         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81988         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81989         place.  Use VEX encoding when compiling for AVX.
81991 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81993         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81994         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81996         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81998 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82000         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
82001         useless if() expression.
82002         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82003         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82004         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82005         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82006         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82007         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82008         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82009         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82010         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82011         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82012         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82013         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82014         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82015         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82016         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82017         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82018         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82019         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82020         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82022         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
82024 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82026         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
82027         condition.
82028         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82030 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82032         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
82033         .text section.  Avoid duplicate constants.
82034         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82038         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82039         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82040         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82041         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82042         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82043         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82044         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82045         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82046         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82047         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82048         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82049         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82050         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82051         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82052         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82053         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82054         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82055         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82056         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82057         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82058         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82059         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82060         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82061         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82062         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82063         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82064         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82065         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82066         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82067         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82068         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82069         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82070         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82071         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82072         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82073         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82074         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82075         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82076         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82077         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82078         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82080 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82082         * sysdeps/x86_64/dla.h: Move to ...
82083         * sysdeps/x86_64/fpu/dla.h: ...here.
82084         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82085         situations.  Use __builtin_fma only for gcc 4.6 and up.
82087         * config.make.in: Add have-mfma4 entry.
82088         * configure.in: Substitute libc_cv_cc_fma4.
82089         * math/Makefile (dbl-only-routines): Add sincostab.
82090         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82091         Use __sincostab not sincos.
82092         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82093         name is a macro.
82094         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82095         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82096         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82098         using __copysign.
82099         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82100         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82101         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82102         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82103         and __inv.
82104         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82105         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82106         __copysign.
82107         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82108         define aliases when function name is a macro.
82109         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82110         sysdeps/ieee754/dbl-64/sincos.tbl.
82111         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82112         fma4-enabled routines.
82113         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82114         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82115         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82116         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82117         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82118         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82119         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82120         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82121         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82122         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82123         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82124         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82125         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82126         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82127         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82128         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82129         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82130         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82131         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82132         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82133         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82134         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82135         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82136         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82137         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82138         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82139         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82140         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82141         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82142         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82144         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82145         rename.
82146         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82147         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82148         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82149         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82150         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82151         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82152         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82153         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82155 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82157         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82159 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82161         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82163         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82164         prediction.
82165         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82167         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82168         Remove unused variable magic_bits.
82169         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82171         * string/strnlen.c: Define and use STRNLEN macro.
82172         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82173         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82174         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82175         * wcsmbs/wcslen.c: Define and use WCSLEN.
82176         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82177         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82178         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82179         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82180         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82181         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82182         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82184 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82187         strnlen-sse2-no-bsf.
82188         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82189         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82190         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82191         Add strnlen support.
82192         (USE_AS_STRNLEN): New macro.
82193         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82194         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82195         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82196         * sysdeps/x86_64/wcslen.S: New file.
82198 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82200         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82201         XMM-moves are used for copying on small sizes.
82203 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82205         * wcsmbs/Makefile (strop-tests): Add wcschr.
82206         * wcsmbs/test-wcschr.c: New file.
82207         * string/test-strchr.c: Update.
82208         Add wcschr support.
82209         (WIDE): New macro.
82211 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82213         * wcsmbs/Makefile (strop-tests): Add wcslen.
82214         * wcsmbs/test-wcslen.c: New file.
82215         * string/test-strlen.c: Update.
82216         Add wcslen support.
82217         (WIDE): New macro.
82219 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82221         * po/it.po: Update from translation team.
82223 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82225         * sysdeps/x86_64/wcscmp.S: Update.
82226         Fix wrong comparison semantics.
82227         wcscmp shall use signed comparison not unsigned.
82228         Don't use substraction to avoid overflow bug.
82229         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82230         * wcsmbc/wcscmp.c: Likewise.
82231         * string/test-strcmp.c: Likewise.
82232         Add new tests to check cases with negative values.
82234 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82236         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82237         * sysdeps/x86_64/dla.h: ...here.  New file.
82238         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82239         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82240         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82241         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82242         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82243         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82244         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82245         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82246         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82248 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82250         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82251         __ynl_finite aliases.
82253 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82257         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82258         define DLA_FMA.
82259         [DLA_FMA] (EMULV): Use DLA_FMA.
82260         [DLA_FMA] (MUL12): Use EMULV.
82261         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82262         that are not needed.
82263         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82264         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82265         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82266         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82267         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82268         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82269         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82271 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82273         * math/s_nan.c: Undef __nan.
82274         * math/s_nanf.c: Undef __nanf.
82275         * math/s_nanl.c: Undef __nanl.
82276         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82277         "math_private.h".
82279 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82281         * math/s_catan.c: Add branch predictions.
82282         * math/s_catanf.c: Likewise.
82283         * math/s_catanh.c: Likewise.
82284         * math/s_catanhf.c: Likewise.
82285         * math/s_catanhl.c: Likewise.
82286         * math/s_catanl.c: Likewise.
82287         * math/s_cexp.c: Likewise.
82288         * math/s_cexpf.c: Likewise.
82289         * math/s_cexpl.c: Likewise.
82290         * math/s_clog.c: Likewise.
82291         * math/s_clog10.c: Likewise.
82292         * math/s_clog10f.c: Likewise.
82293         * math/s_clog10l.c: Likewise.
82294         * math/s_clogf.c: Likewise.
82295         * math/s_clogl.c: Likewise.
82296         * math/s_csqrt.c: Likewise.
82297         * math/s_csqrtf.c: Likewise.
82298         * math/s_csqrtl.c: Likewise.
82299         * math/s_ctanf.c: Likewise.
82300         * math/s_ctanh.c: Likewise.
82301         * math/s_ctanhf.c: Likewise.
82302         * math/s_ctanhl.c: Likewise.
82303         * math/s_ctanl.c: Likewise.
82305         * math/math_private.h: Define __nan, __nanf, __nanl.
82306         * math/s_cacosh.c: Include <math_private.h>.
82307         * math/s_cacoshl.c: Likewise.
82308         * math/s_casinh.c: Likewise.
82309         * math/s_casinhf.c: Likewise.
82310         * math/s_casinhl.c: Likewise.
82311         * math/s_ccos.c: Rely entire on ccosh.
82312         * math/s_ccosf.c: Rely entire on ccoshf.
82313         * math/s_ccosl.c: Rely entirely on ccoshl.
82314         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82315         Remove tests for FE_INVALID.
82316         * math/s_ccoshf.c: Likewise.
82317         * math/s_ccoshl.c: Likewise.
82318         * math/s_csin.c: Likewise.
82319         * math/s_csinf.c: Likewise.
82320         * math/s_csinh.c Likewise.
82321         * math/s_csinhf.c: Likewise.
82322         * math/s_csinhl.c: Likewise.
82323         * math/s_csinl.c: Likewise.
82324         * math/s_ctan.c: Likewise.
82325         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82326         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82327         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82329 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82332         compilation problems.
82334         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82335         __builtin_expect.
82337 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82339         * sysdeps/i386/configure.in: Test for -mfma4 option.
82340         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82341         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82342         COMMON_CPUID_INDEX_80000001.
82343         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82344         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82345         use it if FMA3 is not supported.
82346         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82348         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82349         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82351 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82353         [BZ #12892]
82354         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82355         it would create a cycle with a link time dependency.
82357 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82359         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82360         instruction.
82361         * string/Makefile (strop-tests): Add rawmemchr.
82362         * string/test-rawmemchr.c: New file.
82364         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82365         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82366         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82367         when compiling str{,n}casecmp and when AVX is available.  Hook up
82368         new optimized code in initializers.
82370 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82372         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82373         __feraiseexcept instead of feraiseexcept.
82375 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82377         * math/math_private.h: Define defaults for libc_fetestexcept and
82378         libc_feupdateenv.
82379         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
82380         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
82381         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82382         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82383         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82384         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82385         libc_fetestexcept and libc_feupdateenv.
82387         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
82388         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
82389         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
82390         * sysdeps/x86_64/fpu/math_private.h: Define special version of
82391         libc_feholdexcept_setround.
82393         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
82394         Add s_nearbyint-c and s_nearbyintf-c.
82395         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
82396         nearbyintf inlines.
82397         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
82398         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
82399         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
82400         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
82402         * math/math_private.h: Define defaults for libc_fegetround,
82403         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
82404         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
82405         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
82406         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
82407         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
82408         standard functions.
82409         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82410         Remove comments and hacks for old compiler versions.
82411         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82412         libc_fegetround, libc_fesetround, libc_feholdexcept, and
82413         libc_feholdexceptl.
82415 2011-10-18  Andreas Schwab  <schwab@redhat.com>
82417         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
82418         (__feraiseexcept_renamed): Add __NTH.
82419         (feraiseexcept): Add __NTH.  Rename local variables to fix
82420         namespace violations.
82422 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
82424         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
82426         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
82428         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
82429         recently added interfaces.
82430         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
82432         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
82433         about macro parameter expansion.
82435         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
82436         __NO_MATH_INLINES is defined.  Cleanups.
82438         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
82439         and __floorf is target has SSE4.1.
82440         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
82441         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
82442         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
82443         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
82445         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
82446         name.
82447         (floorf): Likewise.
82449         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
82451 2011-10-17  Andreas Schwab  <schwab@redhat.com>
82453         * misc/sys/cdefs.h: Fix last change.
82455         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82456         database lookup.
82458 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82460         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82462         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82463         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82464         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82465         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82466         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82467         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82468         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82469         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82470         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82471         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82472         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82473         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82474         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82475         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82476         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82477         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82478         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82479         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82480         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82481         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82482         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82483         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82485         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82486         ceil, ceilf, floor, floorf.
82488         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82489         Perform IRELATIVE relocations last.
82491         * elf/do-rel.h: Add another parameter nrelative, replacing the
82492         local variable with the same name.  Change name of the function
82493         to end in Rel or Rela (uppercase).
82494         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82495         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82496         elf_dynamic_do_##reloc function.
82498 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82500         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82501         is sufficient, at least on modern CPUs.
82503         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82505         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82506         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82508         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82509         __expl_finite.
82510         * math/bits/math-finite.h: Add entries for exp.
82511         * math/e_expl.c: Add __*_finite alias.
82512         * sysdeps/i386/fpu/e_exp.S: Likewise.
82513         * sysdeps/i386/fpu/e_expf.S: Likewise.
82514         * sysdeps/i386/fpu/e_expl.c: Likewise.
82515         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82516         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82517         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82518         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82519         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82520         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82521         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82523         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82524         is sufficient, at least on modern CPUs.
82526         * ctype/ctype-info.c (__ctype_init): Define.
82527         * include/ctype.h (__ctype_init): Declare.
82528         (__ctype_b_loc): The variable is always initialized.
82529         (__ctype_toupper_loc): Likewise.
82530         (__ctype_tolower_loc): Likewise.
82531         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82532         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82534 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82536         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82538         * configure.in: Also look in $cxxmachine/include for C++ system
82539         headers.
82541 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82543         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82544         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82545         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82546         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82547         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82548         (USE_AS_WMEMCMP): New macro.
82549         Fixing indents.
82550         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82551         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82552         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82553         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82555         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82556         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82557         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82558         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82559         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82560         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82561         (USE_AS_WMEMCMP): New macro.
82562         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82563         * sysdeps/string/test-memcmp.c: Update.
82564         Fix simple_wmemcmp.
82565         Add new tests.
82566         * wcsmbs/wmemcmp.c: Update.
82567         (WMEMCMP): New macro.
82568         Fix overflow bug.
82570 2011-10-12  Andreas Jaeger  <aj@suse.de>
82572         [BZ #13268]
82573         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82575 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82577         * libio/iofwide.c (do_length): Avoid warning.
82579         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82581 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82583         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82585         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82586         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82587         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82588         * sysdeps/i386/i686/fpu/e_log.S: New file.
82589         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82590         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82592         * ctype/ctype.h: Add support for inlined isXXX functions when
82593         compiling C++ code.
82595 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82597         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82599         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82601 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82603         [BZ #13291]
82604         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82606 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82608         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82609         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82610         feraiseexcept.
82612         * sysdeps/x86_64/memrchr.S: Check for zero size.
82614         * string/stratcliff.c: Add memrchr tests.
82616 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82619         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82620         rawmemchr-sse2 rawmemchr-sse2-bsf.
82621         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82622         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82623         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82624         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82625         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82626         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82627         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82628         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82629         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82630         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82631         * string/memrchr.c (MEMRCHR): New macro.
82633 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82635         Add integration with gcc's -ffinite-math-only and optimize wrapper
82636         functions in libm.
82637         * Versions.def: Define GLIBC_2.15 version for libm.
82638         * math/Makefile (headers): Add bits/math-finite.h.
82639         * math/bits/math-finite.h: New file.
82640         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82641         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82642         * math/e_acoshl.c: Add __*_finite alias.
82643         * math/e_acosl.c: Likewise.
82644         * math/e_asinl.c: Likewise.
82645         * math/e_atan2l.c: Likewise.
82646         * math/e_atanhl.c: Likewise.
82647         * math/e_coshl.c: Likewise.
82648         * math/e_exp10.c: Likewise.
82649         * math/e_exp10f.c: Likewise.
82650         * math/e_exp10l.c: Likewise.
82651         * math/e_exp2l.c: Likewise.
82652         * math/e_fmodl.c: Likewise.
82653         * math/e_gammal_r.c: Likewise.
82654         * math/e_hypotl.c: Likewise.
82655         * math/e_j0l.c: Likewise.
82656         * math/e_j1l.c: Likewise.
82657         * math/e_jnl.c: Likewise.
82658         * math/e_lgammal_r.c: Likewise.
82659         * math/e_log10l.c: Likewise.
82660         * math/e_log2l.c: Likewise.
82661         * math/e_logl.c: Likewise.
82662         * math/e_powl.c: Likewise.
82663         * math/e_sinhl.c: Likewise.
82664         * math/e_sqrtl.c: Likewise.
82665         * math/e_scalb.c: Completely rewritten and optimized.
82666         * math/e_scalbf.c: Likewise.
82667         * math/e_scalbl.c: Likewise.
82668         * math/w_acos.c: Likewise.
82669         * math/w_acosf.c: Likewise.
82670         * math/w_acosl.c: Likewise.
82671         * math/w_acosh.c: Likewise.
82672         * math/w_acoshf.c: Likewise.
82673         * math/w_acoshl.c: Likewise.
82674         * math/w_asin.c: Likewise.
82675         * math/w_asinf.c: Likewise.
82676         * math/w_asinl.c: Likewise.
82677         * math/w_atan2.c: Likewise.
82678         * math/w_atan2f.c: Likewise.
82679         * math/w_atan2l.c: Likewise.
82680         * math/w_atanh.c: Likewise.
82681         * math/w_atanhf.c: Likewise.
82682         * math/w_atanhl.c: Likewise.
82683         * math/w_exp10.c: Likewise.
82684         * math/w_exp10f.c: Likewise.
82685         * math/w_exp10l.c: Likewise.
82686         * math/w_fmod.c: Likewise.
82687         * math/w_fmodf.c: Likewise.
82688         * math/w_fmodl.c: Likewise.
82689         * math/w_j0.c: Likewise.
82690         * math/w_j0f.c: Likewise.
82691         * math/w_j0l.c: Likewise.
82692         * math/w_j1.c: Likewise.
82693         * math/w_j1f.c: Likewise.
82694         * math/w_j1l.c: Likewise.
82695         * math/w_jn.c: Likewise.
82696         * math/w_jnf.c: Likewise.
82697         * math/w_log.c: Likewise.
82698         * math/w_logf.c: Likewise.
82699         * math/w_logl.c: Likewise.
82700         * math/w_log10.c: Likewise.
82701         * math/w_log10f.c: Likewise.
82702         * math/w_log10l.c: Likewise.
82703         * math/w_log2.c: Likewise.
82704         * math/w_log2f.c: Likewise.
82705         * math/w_log2l.c: Likewise.
82706         * math/w_pow.c: Likewise.
82707         * math/w_powf.c: Likewise.
82708         * math/w_powl.c: Likewise.
82709         * math/w_remainder.c: Likewise.
82710         * math/w_remainderf.c: Likewise.
82711         * math/w_remainderl.c: Likewise.
82712         * math/w_scalb.c: Likewise.
82713         * math/w_scalbf.c: Likewise.
82714         * math/w_scalbl.c: Likewise.
82715         * math/w_sqrt.c: Likewise.
82716         * math/w_sqrtf.c: Likewise.
82717         * math/w_sqrtl.c: Likewise.
82718         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82719         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82720         used.
82721         * math/math_private.h: Declare __kernel_standard_f.
82722         * math/w_cosh.c: Remove cruft and optimize a bit.
82723         * math/w_coshf.c: Likewise.
82724         * math/w_coshl.c: Likewise.
82725         * math/w_exp2.c: Likewise.
82726         * math/w_exp2f.c: Likewise.
82727         * math/w_exp2l.c: Likewise.
82728         * math/w_hypot.c: Likewise.
82729         * math/w_hypotf.c: Likewise.
82730         * math/w_hypotl.c: Likewise.
82731         * math/w_lgamma.c: Likewise.
82732         * math/w_lgamma_r.c: Likewise.
82733         * math/w_lgammaf.c: Likewise.
82734         * math/w_lgammaf_r.c: Likewise.
82735         * math/w_lgammal.c: Likewise.
82736         * math/w_lgammal_r.c: Likewise.
82737         * math/w_sinh.c: Likewise.
82738         * math/w_sinhf.c: Likewise.
82739         * math/w_sinhl.c: Likewise.
82740         * math/w_tgamma.c: Likewise.
82741         * math/w_tgammaf.c: Likewise.
82742         * math/w_tgammal.c: Likewise.
82743         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82744         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82745         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82746         Minor optimizations.  Pretty printing.  Remove cruft.
82747         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82748         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82749         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82750         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82751         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82752         * sysdeps/i386/fpu/e_asin.S: Likewise.
82753         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82754         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82755         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82756         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82757         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82758         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82759         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82760         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82761         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82762         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82763         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82764         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82765         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82766         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82767         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82768         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82769         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82770         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82771         * sysdeps/i386/fpu/e_log.S: Likewise.
82772         * sysdeps/i386/fpu/e_log10.S: Likewise.
82773         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82774         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82775         * sysdeps/i386/fpu/e_log2.S: Likewise.
82776         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82777         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82778         * sysdeps/i386/fpu/e_logf.S: Likewise.
82779         * sysdeps/i386/fpu/e_logl.S: Likewise.
82780         * sysdeps/i386/fpu/e_pow.S: Likewise.
82781         * sysdeps/i386/fpu/e_powf.S: Likewise.
82782         * sysdeps/i386/fpu/e_powl.S: Likewise.
82783         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82784         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82785         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82786         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82787         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82788         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82789         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82790         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82791         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82792         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82793         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82794         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82795         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82796         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82797         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82798         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82799         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82800         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82801         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82802         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82803         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82805         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82806         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82808         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82809         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82810         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82811         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82812         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82813         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82814         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82815         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82816         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82817         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82818         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82819         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82820         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82821         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82822         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82823         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82824         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82825         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82826         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82827         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82828         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82829         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82830         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82831         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82832         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82833         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82834         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82835         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82836         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82837         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82838         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82839         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82840         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82841         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82842         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82843         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82845         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82846         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82847         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82848         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82849         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82850         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82851         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82852         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82853         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82854         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82856         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82857         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82858         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82860         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82861         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82862         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82863         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82864         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82866         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82867         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82868         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82869         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82870         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82871         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82872         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82873         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82874         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82875         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82876         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82877         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82878         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82879         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82880         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82881         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82882         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82883         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82884         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82885         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82886         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82887         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82888         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82889         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82890         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82891         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82892         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82893         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82894         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82895         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82896         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82897         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82898         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82899         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82900         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82901         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82902         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82903         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82904         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82905         (__isnanf): Likewise.
82906         (__isinf_ns): Likewise.
82907         (__isinf_nsf): Likewise.
82908         (__finite): Likewise.
82909         (__finitef): Likewise.
82910         (__ieee754_sqrt): Define as macro.
82911         (__ieee754_sqrtf): Define as macro.
82912         (__ieee754_sqrtl): Define as macro.
82913         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82914         inlined copy.
82915         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82916         __FINITE_MATH_ONLY__ consistent.
82917         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82919 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82921         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82922         of rawmemchr.
82924         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82926 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82928         * po/ja.po: Update from translation team.
82930 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82932         * locale/programs/locarchive.c (prepare_address_space): New function.
82933         (create_archive, enlarge_archive, open_archive): Use it.
82935         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82936         inside [SHARED], where it is used.
82938         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82940         * nss/getent.c (netgroup_keys): Remove unused variable.
82941         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82943 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82945         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82946         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82948         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82949         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82950         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82951         * math/Makefile (libm-calls): Add s_isinf_ns.
82952         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82953         * math/multc3.c: Likewise.
82954         * math/s_casin.c: Likewise.
82955         * math/s_casinf.c: Likewise.
82956         * math/s_casinl.c: Likewise.
82957         * math/s_ccos.c: Likewise.
82958         * math/s_ccosf.c: Likewise.
82959         * math/s_ccosl.c: Likewise.
82960         * math/s_ctan.c: Likewise.
82961         * math/s_ctanf.c: Likewise.
82962         * math/s_ctanh.c: Likewise.
82963         * math/s_ctanhf.c: Likewise.
82964         * math/s_ctanhl.c: Likewise.
82965         * math/s_ctanl.c: Likewise.
82966         * math/w_fmod.c: Likewise.
82967         * math/w_fmodf.c: Likewise.
82968         * math/w_fmodl.c: Likewise.
82969         * math/w_remainder.c: Likewise.
82970         * math/w_remainderf.c: Likewise.
82971         * math/w_remainderl.c: Likewise.
82972         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82973         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82974         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82975         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82976         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82977         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82978         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82979         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82981         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82982         of the number.
82983         * stdio-common/printf_fphex.c: Likewise.
82984         * stdio-common/printf_size.c: Likewise.
82986         * math/e_exp10.c: Include math_private.h using <...> not "...".
82987         * math/e_exp10f.c: Likewise.
82988         * math/e_exp10l.c: Likewise.
82989         * math/e_exp2l.c: Likewise.
82990         * math/e_j0l.c: Likewise.
82991         * math/e_j1l.c: Likewise.
82992         * math/e_jnl.c: Likewise.
82993         * math/e_lgammal_r.c: Likewise.
82994         * math/e_rem_pio2l.c: Likewise.
82995         * math/e_scalb.c: Likewise.
82996         * math/e_scalbf.c: Likewise.
82997         * math/e_scalbl.c: Likewise.
82998         * math/k_cosl.c: Likewise.
82999         * math/k_sinl.c: Likewise.
83000         * math/k_tanl.c: Likewise.
83001         * math/s_cacoshf.c: Likewise.
83002         * math/s_catan.c: Likewise.
83003         * math/s_catanf.c: Likewise.
83004         * math/s_catanh.c: Likewise.
83005         * math/s_catanhf.c: Likewise.
83006         * math/s_catanhl.c: Likewise.
83007         * math/s_catanl.c: Likewise.
83008         * math/s_ccosh.c: Likewise.
83009         * math/s_ccoshf.c: Likewise.
83010         * math/s_ccoshl.c: Likewise.
83011         * math/s_cexp.c: Likewise.
83012         * math/s_cexpf.c: Likewise.
83013         * math/s_cexpl.c: Likewise.
83014         * math/s_clog.c: Likewise.
83015         * math/s_clog10.c: Likewise.
83016         * math/s_clog10f.c: Likewise.
83017         * math/s_clog10l.c: Likewise.
83018         * math/s_clogf.c: Likewise.
83019         * math/s_clogl.c: Likewise.
83020         * math/s_csin.c: Likewise.
83021         * math/s_csinf.c: Likewise.
83022         * math/s_csinh.c: Likewise.
83023         * math/s_csinhf.c: Likewise.
83024         * math/s_csinhl.c: Likewise.
83025         * math/s_csinl.c: Likewise.
83026         * math/s_csqrt.c: Likewise.
83027         * math/s_csqrtf.c: Likewise.
83028         * math/s_csqrtl.c: Likewise.
83029         * math/s_ctan.c: Likewise.
83030         * math/s_ctanf.c: Likewise.
83031         * math/s_ctanh.c: Likewise.
83032         * math/s_ctanhf.c: Likewise.
83033         * math/s_ctanhl.c: Likewise.
83034         * math/s_ctanl.c: Likewise.
83035         * math/s_ldexp.c: Likewise.
83036         * math/s_ldexpf.c: Likewise.
83037         * math/s_ldexpl.c: Likewise.
83038         * math/s_significand.c: Likewise.
83039         * math/s_significandf.c: Likewise.
83040         * math/s_significandl.c: Likewise.
83041         * math/w_acos.c: Likewise.
83042         * math/w_acosf.c: Likewise.
83043         * math/w_acosh.c: Likewise.
83044         * math/w_acoshf.c: Likewise.
83045         * math/w_acoshl.c: Likewise.
83046         * math/w_acosl.c: Likewise.
83047         * math/w_asin.c: Likewise.
83048         * math/w_asinf.c: Likewise.
83049         * math/w_asinl.c: Likewise.
83050         * math/w_atan2.c: Likewise.
83051         * math/w_atan2f.c: Likewise.
83052         * math/w_atan2l.c: Likewise.
83053         * math/w_atanh.c: Likewise.
83054         * math/w_atanhf.c: Likewise.
83055         * math/w_atanhl.c: Likewise.
83056         * math/w_cosh.c: Likewise.
83057         * math/w_coshf.c: Likewise.
83058         * math/w_coshl.c: Likewise.
83059         * math/w_dremf.c: Likewise.
83060         * math/w_exp10.c: Likewise.
83061         * math/w_exp10f.c: Likewise.
83062         * math/w_exp10l.c: Likewise.
83063         * math/w_exp2.c: Likewise.
83064         * math/w_exp2f.c: Likewise.
83065         * math/w_fmod.c: Likewise.
83066         * math/w_fmodf.c: Likewise.
83067         * math/w_fmodl.c: Likewise.
83068         * math/w_hypot.c: Likewise.
83069         * math/w_hypotf.c: Likewise.
83070         * math/w_hypotl.c: Likewise.
83071         * math/w_j0.c: Likewise.
83072         * math/w_j0f.c: Likewise.
83073         * math/w_j0l.c: Likewise.
83074         * math/w_j1.c: Likewise.
83075         * math/w_j1f.c: Likewise.
83076         * math/w_j1l.c: Likewise.
83077         * math/w_jn.c: Likewise.
83078         * math/w_jnf.c: Likewise.
83079         * math/w_jnl.c: Likewise.
83080         * math/w_lgamma.c: Likewise.
83081         * math/w_lgamma_r.c: Likewise.
83082         * math/w_lgammaf.c: Likewise.
83083         * math/w_lgammaf_r.c: Likewise.
83084         * math/w_lgammal.c: Likewise.
83085         * math/w_lgammal_r.c: Likewise.
83086         * math/w_log.c: Likewise.
83087         * math/w_log10.c: Likewise.
83088         * math/w_log10f.c: Likewise.
83089         * math/w_log10l.c: Likewise.
83090         * math/w_log2.c: Likewise.
83091         * math/w_log2f.c: Likewise.
83092         * math/w_log2l.c: Likewise.
83093         * math/w_logf.c: Likewise.
83094         * math/w_logl.c: Likewise.
83095         * math/w_pow.c: Likewise.
83096         * math/w_powf.c: Likewise.
83097         * math/w_powl.c: Likewise.
83098         * math/w_remainder.c: Likewise.
83099         * math/w_remainderf.c: Likewise.
83100         * math/w_remainderl.c: Likewise.
83101         * math/w_scalb.c: Likewise.
83102         * math/w_scalbf.c: Likewise.
83103         * math/w_scalbl.c: Likewise.
83104         * math/w_sinh.c: Likewise.
83105         * math/w_sinhf.c: Likewise.
83106         * math/w_sinhl.c: Likewise.
83107         * math/w_sqrt.c: Likewise.
83108         * math/w_sqrtf.c: Likewise.
83109         * math/w_sqrtl.c: Likewise.
83110         * math/w_tgamma.c: Likewise.
83111         * math/w_tgammaf.c: Likewise.
83112         * math/w_tgammal.c: Likewise.
83114         * po/ja.po: Update from translation team.
83116 2011-09-29  Andreas Jaeger  <aj@suse.de>
83118         [BZ #13179]
83119         * sunrpc/netname.c (netname2host): Fix logic.
83121         [BZ #6779]
83122         [BZ #6783]
83123         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83124         correctly.
83125         * math/w_remainder.c (__remainder): Likewise.
83126         * math/w_remainderf.c (__remainderf): Likewise.
83127         * math/libm-test.inc (remainder_test): Add test cases.
83129 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83131         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83132         sdiv_qrnnd.
83134 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83136         * string/test-memcmp.c: Avoid unncessary #defines.
83137         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83139 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83141         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83142         Use new sse2 version for core i3 - i7 as it's faster
83143         than sse42 version.
83144         (bit_Prefer_PMINUB_for_stringop): New.
83145         * sysdeps/x86_64/rawmemchr.S: Update.
83146         Replace with faster SSE2 version.
83147         * sysdeps/x86_64/memrchr.S: New file.
83148         * sysdeps/x86_64/memchr.S: Update.
83149         Replace with faster SSE2 version.
83151 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83153         * elf/dl-load.c (lose): Add cast to avoid warning.
83155 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83157         * po/ca.po: Update from translation team.
83159         * inet/getnetgrent_r.c: Hook up nscd.
83160         * nscd/Makefile (routines): Add nscd_netgroup.
83161         (nscd-modules): Add netgroupcache.
83162         (CFLAGS-netgroupcache.c): Define.
83163         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83164         (cache_search): Add const to second parameter.
83165         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83166         INNETGR.
83167         (dbs): Add netgrdb entry.
83168         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83169         (verify_persistent_db): Handle netgrdb.
83170         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83171         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83172         GETFDNETGR.
83173         (netgroup_response_header): Define.
83174         (innetgroup_response_header): Define.
83175         (datahead): Add netgroup_response_header and innetgroup_response_header
83176         elements.
83177         * nscd/nscd.conf: Add entries for netgroup cache.
83178         * nscd/nscd.h (dbtype): Add netgrdb.
83179         (_PATH_NSCD_NETGROUP_DB): Define.
83180         (netgroup_iov_disabled): Declare.
83181         (xmalloc, xcalloc, xrealloc): Move declarations here.
83182         (cache_search): Adjust prototype.
83183         Add netgroup-related prototypes.
83184         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83185         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83186         (__nscd_innetgr): Declare.
83187         * nscd/selinux.c (perms): Use access_vector_t as element type and
83188         add netgroup-related initializers.
83189         * nscd/netgroupcache.c: New file.
83190         * nscd/nscd_netgroup.c: New file.
83191         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83192         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83193         For four parameters use innetgr.
83194         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83195         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83196         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83197         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83199         * nscd/connections.c (register_traced_file): Don't register file
83200         for disabled databases.
83202 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83204         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83206         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83207         from tree and freeing node.
83209 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83211         * nss/nsswitch.c (__nss_database_lookup): Handle
83212         nss_parse_service_list out of memory case.
83214 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83216         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83217         out of memory case.
83219 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83221         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83222         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83223         pass it down.
83224         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83225         elf_machine_rela, elf_machine_lazy_rel.
83226         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83227         (ELF_DYNAMIC_DO_REL): Likewise.
83228         (ELF_DYNAMIC_DO_RELA): Likewise.
83229         (ELF_DYNAMIC_RELOCATE): Likewise.
83230         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83231         to ELF_DYNAMIC_DO_REL.
83232         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83233         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83234         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83235         elf_machine_rela.
83236         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83237         skip_ifunc, don't call ifunc function if non-zero.
83238         (elf_machine_rela): Likewise.
83239         (elf_machine_lazy_rel): Likewise.
83240         (elf_machine_lazy_rela): Likewise.
83241         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83242         (elf_machine_lazy_rel): Likewise.
83243         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83244         Likewise.
83245         (elf_machine_lazy_rel): Likewise.
83246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83247         Likewise.
83248         (elf_machine_lazy_rel): Likewise.
83249         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83250         (elf_machine_lazy_rel): Likewise.
83251         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83252         (elf_machine_lazy_rel): Likewise.
83253         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83254         (elf_machine_lazy_rel): Likewise.
83255         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83256         (elf_machine_lazy_rel): Likewise.
83257         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83258         (elf_machine_lazy_rel): Likewise.
83259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83260         (elf_machine_lazy_rel): Likewise.
83262 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83264         * nss/nss_files/files-init.c (_nss_files_init): Use static
83265         initialization for all the *_traced_file variables.
83267 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83269         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83271 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83273         [BZ #13226]
83274         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83276 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83278         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83279         Reread the line before reparsing it.
83281 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83283         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83285 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83286             Maxim Kuvyrkov  <maxim@codesourcery.com>
83287             Joseph Myers  <joseph@codesourcery.com>
83289         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83290         if needed for __stack_chk_guard.
83292 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83294         * sysdeps/posix/spawni.c (script_execute): Always define it.
83295         It will be optimized away if unused.
83296         (maybe_script_execute): New function.
83297         (__spawni): Call it.
83299         * Makerules: Don't include tls.make.
83300         (config-tls): Always set to thread.
83301         * tls.make.c: File removed.
83303 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83305         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83306         * config.make.in (CPPFLAGS-config): New substituted variable.
83308 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83310         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83312         [BZ #13192]
83313         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83314         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83316 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83318         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83319         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83320         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83321         (CALL_FAIL): Likewise.
83322         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83323         (CALL_FAIL): Macro removed.
83324         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83326 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83328         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83329         for __FINITE_MATH_ONLY__ == 1.
83331 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83333         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83334         __ieee754_sqrt instead of sqrt.
83335         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83336         __ieee754_sqrtf instead of sqrtf.
83337         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83338         __floorf instead of floorf.
83339         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83340         __floorf, __truncf instead of floorf, truncf.
83342 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83344         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83346         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83347         __extern_always_inline.
83348         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83349         32-bit.
83351 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83353         * elf/rtld.c (dl_main): Also relocate in dependency order when
83354         doing symbol dependency testing.
83356 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83359         Always define `refsym'.
83361 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83363         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83364         (__FD_ELT): Renamed from __FDELT.
83365         * misc/bits/select2.h (__FD_ELT): Likewise.
83366         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83367         __FD_MASK instead of __FDELT, __FDMASK.
83368         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83369         Likewise.
83370         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83371         Likewise.
83373         * elf/Makefile (gen-ldd): Fix pattern.
83375         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83376         (init_tls): Likewise.
83378 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
83380         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
83382 2011-09-12  Andreas Schwab  <schwab@redhat.com>
83384         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
83385         `struct cmsghdr *' instead of `void *'.
83386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
83387         Likewise.
83389 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
83391         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
83392         if non-absolute.
83393         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
83394         ldd_rewrite_script.
83396 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
83398         * configure.in: Remove --with-tls option.
83399         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
83400         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
83401         out in case it is missing.
83402         * sysdeps/ia64/elf/configure.in: Likewise.
83403         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
83404         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
83405         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
83406         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
83407         * sysdeps/sh/elf/configure.in: Likewise.
83408         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
83409         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83410         * sysdeps/x86_64/elf/configure.in: Likewise.
83411         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
83412         * sysdeps/mach/hurd/tls.h: Likewise.
83414         [BZ #13067]
83415         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
83417         [BZ #13090]
83418         * configure.in: Fix use of AC_INIT.
83420         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
83422 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
83424         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
83425         __set_errno.
83426         * malloc/hooks.c: Likewise.
83428         [BZ #11929]
83429         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
83430         variables statically.
83431         (narenas): Initialize.
83432         (list_lock): Initialize.
83433         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
83434         initializtion of main_arena and list_lock.  Small cleanups.
83435         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
83436         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
83437         Add initializers to main_arena and mp_.
83438         (malloc_state): Remove pagesize member.  Change all users to use
83439         GLRO(dl_pagesize).
83441         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
83442         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
83443         is always initialized.
83445         * malloc/malloc.c: Removed unused configurations and dead code.
83446         * malloc/arena.c: Likewise.
83447         * malloc/hooks.c: Likewise.
83448         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
83450         * include/tls.h: Removed.  USE___THREAD must always be defined.
83451         * bits/libc-tsd.h: Don't handle !USE___THREAD.
83452         * elf/dl-libc.c: Likewise.
83453         * elf/dl-tsd.c: Likewise.
83454         * include/errno.h: Likewise.
83455         * include/netdb.h: Likewise.
83456         * include/resolv.h: Likewise.
83457         * inet/herrno-loc.c: Likewise.
83458         * inet/herrno.c: Likewise.
83459         * malloc/arena.c: Likewise.
83460         * malloc/hooks.c: Likewise.
83461         * malloc/malloc.c: Likewise.
83462         * resolv/res-state.c: Likewise.
83463         * resolv/res_libc.c: Likewise.
83464         * sysdeps/i386/dl-machine.h: Likewise.
83465         * sysdeps/ia64/dl-machine.h: Likewise.
83466         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83467         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83468         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83469         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83470         * sysdeps/sh/dl-machine.h: Likewise.
83471         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83472         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83473         * sysdeps/unix/i386/sysdep.S: Likewise.
83474         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83475         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83476         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83480         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83484         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83485         * sysdeps/x86_64/dl-machine.h: Likewise.
83486         * tls.make.c: Likewise.
83488         * configure.in: Remove --with-__thread option.  Make tests for
83489         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83490         tls_model attribute fail if no support is available.  Remove
83491         USE_IN_LIBIO.
83492         * Makeconfig: Adjust for dropped configure option.  All features are
83493         now mandatory.
83494         * Makerules: Likewise.
83495         * Versions.def: Likewise.
83496         * argp/argp-fmtstream.c: Likewise.
83497         * argp/argp-fmtstream.h: Likewise.
83498         * argp/argp-help.c: Likewise.
83499         * assert/assert.c: Likewise.
83500         * config.h.in: Likewise.
83501         * config.make.in: Likewise.
83502         * configure: Likewise.
83503         * configure.in: Likewise.
83504         * csu/Versions: Likewise.
83505         * csu/init.c: Likewise.
83506         * elf/tst-audit2.c: Likewise.
83507         * elf/tst-tls10.c: Likewise.
83508         * elf/tst-tls10.h: Likewise.
83509         * elf/tst-tls11.c: Likewise.
83510         * elf/tst-tls12.c: Likewise.
83511         * elf/tst-tls14.c: Likewise.
83512         * elf/tst-tlsmod11.c: Likewise.
83513         * elf/tst-tlsmod12.c: Likewise.
83514         * elf/tst-tlsmod13.c: Likewise.
83515         * elf/tst-tlsmod13a.c: Likewise.
83516         * elf/tst-tlsmod14a.c: Likewise.
83517         * elf/tst-tlsmod15b.c: Likewise.
83518         * elf/tst-tlsmod16a.c: Likewise.
83519         * elf/tst-tlsmod16b.c: Likewise.
83520         * elf/tst-tlsmod7.c: Likewise.
83521         * elf/tst-tlsmod8.c: Likewise.
83522         * elf/tst-tlsmod9.c: Likewise.
83523         * gmon/gmon.c: Likewise.
83524         * grp/fgetgrent_r.c: Likewise.
83525         * grp/putgrent.c: Likewise.
83526         * hurd/fopenport.c: Likewise.
83527         * include/libc-symbols.h: Likewise.
83528         * include/tls.h: Likewise.
83529         * intl/gettextP.h: Likewise.
83530         * intl/loadinfo.h: Likewise.
83531         * locale/global-locale.c: Likewise.
83532         * locale/localeinfo.h: Likewise.
83533         * mach/devstream.c: Likewise.
83534         * malloc/arena.c: Likewise.
83535         * malloc/set-freeres.c: Likewise.
83536         * misc/err.c: Likewise.
83537         * misc/getttyent.c: Likewise.
83538         * misc/mntent_r.c: Likewise.
83539         * posix/getopt.c: Likewise.
83540         * posix/wordexp.c: Likewise.
83541         * pwd/fgetpwent_r.c: Likewise.
83542         * resolv/Versions: Likewise.
83543         * resolv/res_hconf.c: Likewise.
83544         * shadow/fgetspent_r.c: Likewise.
83545         * shadow/putspent.c: Likewise.
83546         * stdio-common/printf_fphex.c: Likewise.
83547         * stdio-common/tmpfile.c: Likewise.
83548         * stdlib/abort.c: Likewise.
83549         * stdlib/fmtmsg.c: Likewise.
83550         * sunrpc/auth_unix.c: Likewise.
83551         * sunrpc/clnt_perr.c: Likewise.
83552         * sunrpc/clnt_tcp.c: Likewise.
83553         * sunrpc/clnt_udp.c: Likewise.
83554         * sunrpc/clnt_unix.c: Likewise.
83555         * sunrpc/openchild.c: Likewise.
83556         * sunrpc/svc_simple.c: Likewise.
83557         * sunrpc/svc_tcp.c: Likewise.
83558         * sunrpc/svc_udp.c: Likewise.
83559         * sunrpc/svc_unix.c: Likewise.
83560         * sunrpc/xdr.c: Likewise.
83561         * sunrpc/xdr_array.c: Likewise.
83562         * sunrpc/xdr_rec.c: Likewise.
83563         * sunrpc/xdr_ref.c: Likewise.
83564         * sunrpc/xdr_stdio.c: Likewise.
83566 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83568         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83570 2011-07-03  Andreas Jaeger  <aj@suse.de>
83572         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83573         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83574         regenerate with gen-libm-tests.pl.
83576 2010-05-12  Petr Baudis  <pasky@suse.cz>
83578         [BZ #11589]
83579         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83580         around j0() zero points by switching to j1().
83581         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83582         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83583         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83584         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83586 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83588         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83589         instead of 0.
83590         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83591         instead of 0.
83592         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83593         Patch in part by Pavel Roskin <proski@gnu.org>.
83595         [BZ #13138]
83596         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83597         realloc.
83598         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83599         Free memory block if necessary.
83601         [BZ #12847]
83602         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83603         be NULL.  Don't lock in this case.
83605 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83607         * elf/elf.h (ELFOSABI_GNU): New macro.
83608         (ELFOSABI_LINUX): Define to that.
83610 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83612         * string/strncat.c (strncat): Undef the symbol in case it has been
83613         defined in bits/string.h.
83615 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83617         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83619         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83620         link map.
83622 2011-08-17  Andreas Jaeger  <aj@suse.de>
83624         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83626 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83627             Ian Lance Taylor  <iant@google.com>
83629         * math/libm-test.inc (lround_test): New testcase.
83630         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83632 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83634         * Makefile: Remove support for automatic cvs check-ins.
83635         * Makerules: Likewise.
83636         * config.make.in: Likewise.
83637         * configure.in: Likewise.
83638         * intl/Makefile: Likewise.
83639         * locale/Makefile: Likewise.
83640         * po/Makefile: Likewise.
83641         * posix/Makefile: Likewise.
83642         * sysdeps/gnu/Makefile: Likewise.
83643         * sysdeps/mach/hurd/Makefile: Likewise.
83644         * sysdeps/sparc/sparc32/Makefile: Likewise.
83646         [BZ #13118]
83647         * posix/Makefile (bug-regex32-ENV): Define.
83648         Patch by John Stanley <jpsinthemix@verizon.net>.
83650         * misc/Makefile (headers): Add bits/select2.h.
83651         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83652         * misc/bits/select2.h: New file.
83653         * include/bits/select2.h: New file.
83654         * debug/Makefile (routines): Add fdelt_chk.
83655         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83656         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83657         FD_ISSET.
83658         * debug/fdelt_chk.c: New file.
83660         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83661         * wcsmbs/test-wmemcmp.c: Likewise.
83662         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83663         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83665 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83667         * string/Makefile (strop-tests): Add memcmp.
83668         * string/test-wmemcmp.c: New file.
83669         * string/test-memcmp.c: Add wmemcmp support.
83671 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83673         [BZ #13153]
83674         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83675         2011-07-19 change.
83677         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83678         garbage value in a __mach_port_mod_refs call in the cases of the
83679         task-self and thread-self ports.
83681 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83683         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83685 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83687         * elf/dl-load.c (lose): Check for non-null L.
83689 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83691         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83693         * elf/dl-libc.c (dlerror_run): Pass back error code from
83694         dl_catch_error.
83696         [BZ #13123]
83697         * elf/dl-load.c (lose): Free l_origin if it is valid.
83699         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83700         names.
83701         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83702         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83703         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83704         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83705         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83706         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83708 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83710         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83711         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83712         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83713         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83714         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83715         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83716         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83717         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83718         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83719         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83721 2011-08-15  Alan Modra  <amodra@gmail.com>
83723         [BZ #13092]
83724         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83725         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83726         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83727         ppc_mcount to static-only-routines.
83728         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83729         __mcount_internal.
83730         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83731         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83733 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83735         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83736         for finite and infinity parameters.
83738 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83740         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83741         and add nop instructions for throughput optimization.
83742         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83744 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83746         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83747         aligned copy for power7 with vector-scalar instructions.
83748         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83750 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83753         AVX check.
83755 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83757         [BZ #13144]
83758         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83759         last change.
83761 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83763         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83764         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83765         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83766         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83767         clock_gettime.
83769 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83771         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83772         Forgot to demangle the pointer.
83774         * sysdeps/i386/sysdep.h: Define atom_text_section.
83775         * sysdeps/x86_64/sysdep.h: Likewise.
83776         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83777         section with atom_text_section.
83778         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83779         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83780         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83781         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83782         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83784         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83785         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83786         already be defined.  Change to take two parameters and don't assign
83787         result to variable.  Adjust all users.
83788         Define INTERNAL_GETTIME if not already defined.
83789         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83790         call.
83791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83792         HAVE_CLOCK_GETTIME_VSYSCALL.
83793         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83795         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83796         gettimeofday vsyscall, just use time.
83798 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83800         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83801         <errno.h>.
83803 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83805         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83806         syscall on x86-64.
83807         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83808         syscall.
83809         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83810         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83811         syscall if possible.
83813 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83815         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83816         e_ident.  Don't pass to find_mapsXX.
83817         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83819 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83822         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83823         * sysdeps/x86_64/multiarch/strchr.S: Update.
83824         Check bit_slow_BSF bit.
83825         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83826         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83827         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83829 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83831         [BZ #13134]
83832         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83833         before glibc 2.15.
83834         (tryshell): Define.
83835         (__spawni): Change last parameter to be flag.  Test
83836         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83837         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83838         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83839         * posix/spawni.c: Likewise.
83840         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83841         * posix/spawnp.c: Likewise.  Change normal version to use
83842         SPAWN_XFLAGS_USE_PATH.
83843         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83844         SPAWN_XFLAGS_TRY_SHELL.
83846         [BZ #13150]
83847         * posix/glob.h: Remove gcc 1.x support.
83849         [BZ #13068]
83850         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83852 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83855         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83856         strrchr-sse2-bsf
83857         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83858         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83859         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83860         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83861         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83862         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83864 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83866         * sysdeps/x86_64/wcscmp.S: New file.
83868         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83869         wcscmp-c wcscmp-sse2
83870         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83871         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83872         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83873         * wcsmbs/wcscmp.c: Allow renaming.
83875 2011-09-05  David S. Miller  <davem@davemloft.net>
83877         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83878         stack slot, rather than the struct return pointer slot.
83879         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83880         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83882         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83884 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83886         * po/ja.po: Update from translation team.
83888         [BZ #13144]
83889         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83890         kernel in 64-bit binaries.
83892 2011-09-01  David S. Miller  <davem@davemloft.net>
83894         * elf/elf.h (HWCAP_SPARC_*): Move to..
83895         * sysdeps/sparc/sysdep.h: this new file and add new values.
83896         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83897         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83898         _DL_HWCAP_COUNT to 24.
83899         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83900         entries.
83901         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83902         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83903         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83904         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83905         instead of magic constants.
83906         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83908 2011-08-31  David S. Miller  <davem@davemloft.net>
83910         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83911         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83912         Reimplement to do errno handling inline.
83913         (SYSCALL_ERROR_HANDLER): New macro.
83914         (__SYSCALL_STRING): Do not do errno handling in asm.
83915         (__CLONE_SYSCALL_STRING): Delete.
83916         (__INTERNAL_SYSCALL_STRING): Delete.
83917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83918         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83919         (PSEUDO): Reimplement to do errno handling inline.
83920         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83921         (SYSCALL_ERROR_HANDLER): New macro.
83922         (__SYSCALL_STRING): Do not do errno handling in asm.
83923         (__CLONE_SYSCALL_STRING): Delete.
83924         (__INTERNAL_SYSCALL_STRING): Delete.
83925         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83926         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83927         i386.
83928         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83929         (inline_syscall*): Add 'err' argument.
83930         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83931         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83932         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83933         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83935         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83936         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83938 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83940         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83942 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83944         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83945         directive.
83947 2011-08-24  David S. Miller  <davem@davemloft.net>
83949         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83951 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83953         * elf/Makefile: Add rules to build and run unload8 test.
83954         * elf/unload8.c: New file.
83955         * elf/unload8mod1.c: New file.
83956         * elf/unload8mod1x.c: New file.
83957         * elf/unload8mod2.c: New file.
83958         * elf/unload8mod3.c: New file.
83960         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83961         it wasn't used.
83963 2011-08-23  David S. Miller  <davem@davemloft.net>
83965         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83966         subtract stack bias.
83967         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83968         %sp not %fp in calculations.
83969         (_JMPBUF_UNWINDS_ADJ): Likewise.
83971         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83972         (aio_suspend): Call it to force an exception region around the
83973         AIO_MISC_WAIT() invocation.
83975 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83977         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83978         backslash.
83980 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83982         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83983         protection macro.
83984         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83985         and <dl-machine.h>.
83986         (Elf64_FuncDesc): Remove.
83988 2011-08-22  David S. Miller  <davem@davemloft.net>
83990         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83991         sigaltstack check, add missing cfi directives.
83992         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83993         missing cfi directives, and sigaltstack handling.
83995 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83997         [BZ #11724]
83998         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83999         object is seen twice.
84000         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84002         * elf/Makefile (distribute): Add tst-initorder2.c.
84003         (tests): Add tst-initorder2.
84004         (modules-names): Add tst-initorder2a tst-initorder2b
84005         tst-initorder2c tst-initorder2d.  Add rules to build them.
84006         ($(objpfx)tst-initorder2.out): New rule.
84007         * elf/tst-initorder2.c: New file.
84008         * elf/tst-initorder2.exp: New file.
84010 2011-08-22  Andreas Schwab  <schwab@redhat.com>
84012         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
84014         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
84015         dependencies back to end of function.
84017         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84018         $(elfobjdir)/ld.so.
84020 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
84022         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
84023         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
84024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
84025         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
84026         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
84027         of __vdso_gettimeofday.
84028         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
84029         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
84030         attribute_hidden.
84031         (_libc_vdso_platform_setup): Remove initialization of
84032         __vdso_gettimeofday and __vdso_time.
84034 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84036         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
84037         and fgetc_unlocked.
84038         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
84039         getc_unlocked.
84041         * elf/dl-open.c (add_to_global): Report additions to the global scope
84042         for LD_DEBUG=scopes.
84043         (dl_open_worker): Also print scope of newly loaded dependencies.
84044         (_dl_show_scope): Indicate if there is no scope.
84046         [BZ #13114]
84047         * stdio-common/Makefile (tests): Add bug24.
84048         * stdio-common/bug24.c: New file.
84050 2011-08-19  Andreas Jaeger  <aj@suse.de>
84052         [BZ #13114]
84053         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84054         non-existant file when using close-on-exec mode.
84056 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84058         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84059         the very first instruction.
84061         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84062         the CFI state in the end.
84063         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84064         inclusion of dl-trampoline.h.
84065         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84067 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84069         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84070         expectations for long double.
84072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84073         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84075 2011-08-14  David S. Miller  <davem@davemloft.net>
84077         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84078         artificual limit depends upon the system page size.
84080 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84082         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84083         * resolv/Makefile: Define CFLAGS-libresolv.
84085 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84087         * nss/makedb.c (compute_tables): Make variables used in nested
84088         function static.
84090 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84092         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84093         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84094         if buffer was too small.
84096         * elf/pldd.c (main): Attach to all threads in the process.
84097         Rewrite /proc handling to use *at functions.
84099 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84101         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84102         specifies first scope to show.
84103         (dl_open_worker): Update callers.  Move printing scope of new
84104         object to before the relocation.
84105         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84106         * sysdeps/generic/ldsodefs.h: Update declaration.
84108         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84109         string for the scope number.
84111 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84113         * nscd/servicescache.c (cache_addserv): Make sure written is always
84114         initialized.
84116 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84118         * sysdeps/i386/i486/bits/atomic.h
84119         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84120         statement expression, so as to suppress "set but not used" warning.
84121         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84123         * string/strncat.c (STRNCAT): Use prototype definition.
84125         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84126         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84127         -Iprograms here.
84128         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84129         (localedef-modules): Add localedef.
84130         (locale-modules): Add locale.
84132         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84133         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84134         to avoid a warning.
84136 2011-08-14  David S. Miller  <davem@davemloft.net>
84138         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84139         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84141 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84143         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84144         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84145         * elf/rtld.c (dl_main): Set l_name of vDSO.
84146         Call _dl_show_scope when DL_DEBUG_SCOPES.
84147         (process_dl_debug): Recognize scopes flag and also set it for all.
84148         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84149         Declare _dl_show_scope.
84151         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84152         (do_dlopen): Pass caller_dlopen to dl_open.
84153         (__libc_dlopen_mode): Initialize caller_dlopen.
84155         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84156         of libc.  Make tolower call locale-independent.  Optimize a bit by
84157         using isdigit instead of isalnum.
84158         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84160 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84162         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84163         was a dependency or dynamically loaded.
84165 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84167         * intl/l10nflist.c: Allow architecture-specific pop function.
84168         * sysdeps/x86_64/l10nflist.c: New file.
84170         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84171         classification.
84173 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84175         * include/dirent.h: Add libc_hidden_proto for scandirat and
84176         scandirat64.  Don't declare __scandirat64.
84177         * dirent/scandirat.c: Add libc_hidden_def.
84178         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84179         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84181 2011-08-10  David S. Miller  <davem@davemloft.net>
84183         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84184         enum.
84185         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84186         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84187         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84189 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84191         * Versions.def [libc]: Add GLIBC_2.15.
84192         * dirent/Makefile (routines): Add scandirat and scandirat64.
84193         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84194         GLIBC_2.15.
84195         * dirent/dirent.h: Declare scandirat and scandirat64.
84196         * dirent/scandirat.c: New file.
84197         * dirent/scandirat64.c: New file.
84198         * sysdeps/wordsize-64/scandirat.c: New file.
84199         * sysdeps/wordsize-64/scandirat64.c: New file.
84200         * dirent/opendir.c: Define opendirat.
84201         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84202         using scandirat.
84203         * dirent/scandir64.c: Adjust for scandir.c change.
84204         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84205         __scandirat64, and __scandir_cancel_handler.
84206         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84207         additional parameter and use openat instead of open (outside of ld.so).
84208         Add new __opendir as wrapper around __opendirat.
84209         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84210         here without requiring old scandirat implementation.
84212 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84214         * dirent/scandir.c (cancel_handler): Renamed to
84215         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84216         defined.  Adjust users.
84217         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84218         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84220 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84222         * string/test-string.h (IMPL): Use __STRING to expand name and then
84223         stringify it.
84225         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84226         of cleanups.
84228 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84230         * string/Makefile: Update.
84231         (strop-tests): Append strncat.
84232         * string/test-wcscmp.c: New file.
84233         New comprehensive test for wcscmp.
84234         * string/test-strcmp.c: Update.
84235         (WIDE): New define.
84237 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84239         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84240         line.
84242 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84245         encoding to ACE if AI_IDN.
84247 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84249         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84250         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84252 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84254         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84255         Fix overflow bug in strncat.
84256         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84258         * string/test-strncat.c: Update.
84259         Add new tests for checking overflow bugs.
84261 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84263         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84264         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84265         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84266         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84267         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84268         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84269         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84270         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84271         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84273         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84274         (USE_AS_STRCAT): Define.
84275         Add strcat and strncat support.
84276         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84278 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84280         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84281         __n bigger than INT_MAX+1.
84282         (__strncmp_g): Likewise.
84284 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84286         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84287         * libio/stido.h: Likewise.
84289         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84290         (AF_NFC): Define.
84291         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84292         (AF_NFC): Define.
84294         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84296         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84297         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84298         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84300         [BZ #13021]
84301         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84302         installed.
84304         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84305         typo.
84306         (_dl_x86_64_save_sse): Likewise.
84308 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84310         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84311         OSXSAVE.
84312         (_dl_x86_64_save_sse): Likewise.
84314         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84316         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84318 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84320         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84321         change.
84322         (_dl_x86_64_save_sse): Use correct AVX check.
84324 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84326         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84327         bug in strncpy/strncat.
84328         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84330 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84332         * string/tester.c (test_strcat): Add tests for different alignments
84333         of source and destination.
84334         (test_strncat): Likewise.
84336 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84338         [BZ #12852]
84339         * posix/glob.c (glob): Check passed in values before using them in
84340         expressions to avoid some overflows.
84341         (glob_in_dir): Likewise.
84343         [BZ #13007]
84344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84345         check for AVX enablement so that we don't crash with old kernels and
84346         new hardware.
84347         * elf/tst-audit4.c: Add same checks here.
84348         * elf/tst-audit6.c: Likewise.
84350         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84352 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84354         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84356 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84358         * po/cs.po: Update from translation team.
84359         * po/bg.po: Likewise.
84361 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84363         * misc/sys/cdefs.h: Add support for const attribute.
84364         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84365         to gnu_dev_{major,minor,makedev} functions.
84367 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84369         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84371 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84373         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84374         strlen results.
84376 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
84379         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
84380         register in order to avoid conflicts with the soft frame pointer
84381         being held in r11 when necessary.
84382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
84383         (INTERNAL_VSYSCALL_NCS): Likewise.
84385 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
84387         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
84388         * elf/dl-fini.c (_dl_fini): Adjust caller.
84389         * elf/dl-close.c (_dl_close_worker): Likewise.
84390         * sysdeps/generic/ldsodefs.h: Adjust declaration.
84392 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84394         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
84395         "aux_cache->nlibs < 0".
84397         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
84398         in the reload-count case.
84400 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84403         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
84404         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
84405         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
84406         * sysdeps/x86_64/multiarch/strcat.S: New file.
84407         * sysdeps/x86_64/multiarch/strncat.S: New file.
84408         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
84409         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
84410         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
84411         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
84412         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
84413         (USE_AS_STRCAT): Define.
84414         Add strcat and strncat support.
84415         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84416         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
84417         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
84418         * string/strncat.c: Update.
84419         (USE_AS_STRNCAT): Define.
84420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84421         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
84422         and i7.
84423         * sysdeps/x86_64/multiarch/init-arch.h
84424         (bit_Prefer_PMINUB_for_stringop): New.
84425         (index_Prefer_PMINUB_for_stringop): Likewise.
84426         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
84427         bit_Prefer_PMINUB_for_stringop.
84429 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84431         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
84432         buffer64.
84433         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
84434         of casting of buffer.
84435         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
84436         buffer32 and buffer64.
84437         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
84438         writes instead of casting of buffer.
84439         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
84440         buffer32.
84441         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
84442         casting of buffer.
84444 2011-07-19  Andreas Schwab  <schwab@redhat.com>
84446         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
84448 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84450         * nscd/nscd.c (termination_handler): Don't do anything for a database
84451         if it has not yet been initialized.
84453 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84455         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84457 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84459         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84461 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84463         * po/nl.po: Update from translation team.
84464         * po/sv.po: Likewise.
84466 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84468         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84469         now disallowed by GCC.
84471         * configure.in (use-default-link): Default to yes if a test -shared
84472         link meets our qualifications.
84473         * configure: Regenerated.
84475         * config.make.in (output-format): New variable.
84476         * configure.in: Check for ld --print-output-format support.
84477         * configure: Regenerated.
84478         * Makerules ($(common-objpfx)format.lds)
84479         [$(output-format) != unknown]: Just use $(output-format),
84480         instead of the linker-script munging.
84482 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84484         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84485         of $(common-objpfx)shlib.lds.
84486         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84488         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84489         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84491         * configure.in (-z relro check): Adjust test code to add a large
84492         writable data section after it.
84493         * configure: Regenerated.
84495 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84497         * configure.in (-z relro check): Fix test code to make the variable
84498         truly const.
84499         * configure: Regenerated.
84501 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84503         * nscd/nscd.h (struct traced_file): Define.
84504         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84505         elements.  Add traced_files.
84506         (inotify_fd): Declare.
84507         (register_traced_file): Declare.
84508         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84509         (inotify_fd): Export.
84510         (resolv_conf_descr): Remove.
84511         (nscd_init): Move inotify descriptor creation to main.
84512         Don't register files for notification here.
84513         (register_traced_file): New function.
84514         (invalidate_cache): Don't use reset_res to determine whether to call
84515         res_init, go through the list of registered files.
84516         (main_loop_poll): The inotify descriptors are now stored in the
84517         structures for the traced files.
84518         (main_loop_epoll): Likewise.
84519         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84520         to __nss_disable_nscd.
84521         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84522         for a database anymore.  Check the records for all the registered
84523         files instead.
84524         * nss/Makefile (libnss_files-routines): Add files-init.
84525         (libnss_db-routines): Add db-init.
84526         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84527         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84528         * nss/nss_db/db-init.c: New file.
84529         * nss/nss_files/files-init.c: New file.
84530         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84531         __nss_lookup_function.
84532         (__nss_lookup_function): Call nss_load_library.
84533         (nss_load_all_libraries): New function.
84534         (__nss_disable_nscd): Take parameter with callback function for files
84535         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84536         used for the cached services.
84537         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84538         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84539         options for features to all the files in nscd.
84541         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84543 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84545         * csu/elf-init.c (__libc_csu_init): Comment typo.
84547 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84549         * po/pl.po: Update from translation team.
84550         * po/ja.po: Likewise.
84551         * po/ru.po: Likewise.
84552         * po/ko.po: Likewise.
84553         * po/fr.po: Likewise.
84555 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84557         * configure.in (.ctors/.dtors header and trailer check):
84558         Use an empirical test on a built program.
84559         * configure: Regenerated.
84561         * configure.in (-z relro check): Use an empirical test on a built DSO.
84562         Detect, but do not require, on ia64.
84563         * configure: Regenerated.
84565         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84566         Update tests that use readelf to use $READELF instead.
84567         * configure: Regenerated.
84569 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84571         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84572         if the result is not used.
84574 2011-07-05  Andreas Jaeger  <aj@suse.de>
84576         [BZ#9696]
84577         * stdlib/tst-strtod.c: Add testcase.
84579 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84581         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84582         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84583         The latter has a higher limit.  Take additional parameter to pass to
84584         the new function.
84585         (__pathconf): Pass file to __statfs_link_max.
84586         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84587         __statfs_link_max.
84588         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84589         __statfs_link_max.
84591         [BZ #12868]
84592         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84593         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84594         Handle Lustre.
84595         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84596         (__statfs_filesize_max): Likewise.
84597         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84599 2011-07-05  Andreas Jaeger  <aj@suse.de>
84601         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84603 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84605         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84606         `status' variable.
84607         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84608         Likewise.
84610 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84612         * Makefile (strop-tests): Add strncat.
84613         * string/test-strncat.c: New file.
84615 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84617         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84619 2011-06-21  Andreas Jaeger  <aj@suse.de>
84621         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84622         Copy rule from iconvdata/Makefile.
84624 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84626         [BZ #12922]
84627         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84628         but no long options are defined, just return 'W'.
84630 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84632         [BZ #9696]
84633         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84635 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84637         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84638         netgroups to read.
84639         (innetgr): Likewise.
84641 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84643         * config.make.in (install_root): Default to $(DESTDIR).
84645 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84647         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84649 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84651         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84653         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84654         containing directory rather than embedding absolute directory names.
84656         * scripts/check-local-headers.sh: Rewritten using awk.
84657         Match by word, not by line.  Print error messages for matches.
84658         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84660         * Makerules [shlib-lds-flags empty]:
84661         ($(common-objpfx)libc_pic.opts): New target.
84662         ($(common-objpfx)libc_pic.os.clean): New target.
84663         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84665         * config.make.in (OBJCOPY): New variable.
84666         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84667         * configure: Regenerated.
84669         * config.make.in (use-default-link): New variable.
84670         * configure.in (use_default_link): Grok --with-default-link to set it.
84671         * configure: Regenerated.
84672         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84673         (shlib-lds, shlib-lds-flags): Define to empty.
84675         * Makerules (shlib-lds): New variable.
84676         (shlib-lds-flags): New variable.
84677         (build-shlib, build-moduile, build-module-asneeded): Use it.
84678         ($(common-objpfx)libc.so): Use $(shlib-lds).
84679         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84680         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84682         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84683         DT_FLAGS/DT_FLAGS_1 with zero flags.
84685         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84686         linker script munging.
84688 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84690         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84691         as 128-bit value.
84692         * crypt/sha512.c (sha512_process_block): Perform total addition using
84693         128-bit if possible.
84694         (__sha512_finish_ctx): Likewise.
84695         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84696         as 64-bit value.
84697         * crypt/sha256.c (SWAP64): Define.
84698         (sha256_process_block): Perform total addition using 64-bit if
84699         possible.
84700         (__sha256_finish_ctx): Likewise.
84702 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84704         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84705         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84706         * nscd/hstcache.c (cache_addhst): Likewise.
84707         * nscd/grpcache.c (cache_addgr): Likewise.
84708         * nscd/aicache.c (addhstaiX): Likewise.
84709         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84711 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84713         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84714         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84715         * nscd/hstcache.c (cache_addhst): Likewise.
84716         * nscd/grpcache.c (cache_addgr): Likewise.
84717         * nscd/aicache.c (addhstaiX): Likewise.
84719 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84721         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84722         domain only when needed.
84724 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84727         is always restored.
84729 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84731         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84732         are re-adding the entry.
84733         * nscd/servicescache.c (cache_addserv): Likewise.
84735 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84737         * sysdeps/generic/dl-irel.h: fix protection against multiple
84738         inclusions.
84739         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84741 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84743         [BZ #12935]
84744         * malloc/memusage.sh: Fix quoting in message.
84745         * debug/xtrace.sh: Likewise.
84747         * configure.in: Remove support for --experimental-malloc option, make
84748         it the default.
84749         * config.make.in: Likewise.
84750         * malloc/Makefile: Likewise.
84752 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84754         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84755         two-byte characters.
84757 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84759         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84760         AC_CACHE_CHECK invocation.
84761         * configure: Regenerated.
84763         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84765 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84767         [BZ #12350]
84768         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84769         bit from old_res_options.
84771         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84773         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84774         value type for setfct.
84776 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84778         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84779         __gettimeofday instead of gettimeofday.
84781 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84783         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84785 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84787         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84789         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84790         info.
84792 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84795         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84796         strcpy-sse2-unaligned strncpy-sse2-unaligned
84797         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84798         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84799         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84800         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84801         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84802         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84803         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84804         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84805         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84806         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84807         (STRCPY): Support SSE2 and SSSE3 versions.
84809 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84811         [BZ #12874]
84812         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84813         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84814         kernels which artificially limit size of requests.
84816 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84818         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84819         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84820         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84821         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84822         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84823         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84824         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84825         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84826         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84827         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84828         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84829         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84830         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84831         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84832         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84834         Enable unaligned load optimization for Intel Core i3, i5 and i7
84835         processors.
84836         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84837         Define.
84838         (index_Fast_Unaligned_Load): Define.
84839         (HAS_FAST_UNALIGNED_LOAD): Define.
84841 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84843         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84845 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84847         [BZ #12907]
84848         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84849         until it is clear that the information is realy needed.
84850         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84852 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84856 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84858         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84859         /sys/devices/system/cpu/online if it is usable.
84861         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84862         reading the information from the /proc filesystem to once a second.
84864 2011-06-21  Andreas Jaeger  <aj@suse.de>
84866         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84867         NULL after inclusion of kernel headers.
84869 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84871         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84872         calls to internal_setent.
84874         [BZ #12885]
84875         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84876         addresses using gethostbyname4_r ignore IPv4 addresses.
84878         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84879         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84881         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84883 2011-06-20  David S. Miller  <davem@davemloft.net>
84885         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84886         inclusions.
84887         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84889         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84890         (elf_irel): Use it.
84891         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84892         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84893         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84894         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84895         * sysdeps/x86_64/dl-irel.h: Likewise.
84897         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84898         * elf/dl-sym.c: Likewise.
84900 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84902         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84903         need to dereference resplen2.
84905 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84907         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84909 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84911         * Makeconfig: Define vardbdir and inst_vardbdir.
84912         * nss/Makefile: Add rules to install db-Makefile.
84914         * nss/nss_db/db-XXX.c: Cleanup.
84916         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84917         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84918         GLIBC_PRIVATE.
84919         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84920         * nss/makedb.c: Implement -g option to specify that value strings
84921         are generated and should not be added to table iterated over for
84922         get*ent calls.
84923         * nss/nss_db/db-initgroups.c: New file.
84925         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84926         interface.
84928         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84929         (internal_getgrouplist): Adjust to name change.
84930         Update use_initgroups_entry if this is not the first call.
84931         * nss/databases.def: Add initgroups entry.
84933         * nss/makedb.c (compute_tables): Check result of multiple hash table
84934         sizes to minimize maximum chain length.
84936 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84938         * Versions.def: Add entry for libnss_db.
84939         * shlib-versions: Likewise.
84940         * nss/Makefile: Add rules to build libnss_db.
84941         * nss/Versions: Add libnss_db information.  Organize libnss_files
84942         entries better.
84943         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84944         makedb progra.  Some minor improvements to generate smaller files.
84945         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84946         here from...
84947         * nss/makedb.c: ...here.
84948         Improve database format to be smaller and require less memory at
84949         runtime.
84950         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84951         db anymore.
84952         * nss/nss_db/db-netgrp.c: Likewise.
84953         * nss/nss_db/db-open.c: Likewise.
84954         * nss/nss_files/flies-XXX.x: Adjust comments.
84955         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84956         * nss/nss_files/files-grp.c: Likewise.
84957         * nss/nss_files/files-hosts.c: Likewise.
84958         * nss/nss_files/files-network.c: Likewise.
84959         * nss/nss_files/files-proto.c: Likewise.
84960         * nss/nss_files/files-pwd.c: Likewise.
84961         * nss/nss_files/files-rpc.c: Likewise.
84962         * nss/nss_files/files-service.c: Likewise.
84963         * nss/nss_files/files-sgrp.c: Likewise.
84964         * nss/nss_files/files-spwd.c: Likewise.
84965         * nss/nss_db/db-alias.c: Removed.
84966         * nss/nss_db/dummy-db.h: Removed.
84968 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84970         * nss/makedb.c: Rewritten to not use database library.
84971         * nss/Makefile: Update to build new makedb program.
84973 2011-06-14  Andreas Jaeger  <aj@suse.de>
84975         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84976         memset declaration.
84978 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84981         tmpbuf.
84983 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84985         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84986         * elf/Makefile ($(objpfx)ld.so): Likewise.
84988         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84989         Don't list ld.so twice in dependencies.
84991         * posix/bug-regex31.c: Include <stdlib.h>.
84993         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84995         * nis/nss_compat/compat-spwd.c
84996         (getspent_next_nss_netgr): Remove unused variable.
84997         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84999         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
85000         nonmembers" output to use the right array.
85002         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
85004         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
85006         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
85007         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
85008         * catgets/gencat.c (read_input_file): Likewise.
85009         * locale/programs/locarchive.c (enlarge_archive): Likewise.
85011         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
85012         variable definition inside #if's controlling its use.
85014         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
85016         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
85018         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
85020         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
85021         unreachable code.
85023         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
85025         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
85026         * configure: Regenerated.
85028         * Makerules: Revert last change.
85029         * elf/Makefile: Likewise.
85031 2011-06-09  Roland McGrath  <roland@hack.frob.com>
85033         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
85034         * elf/Makefile ($(objpfx)librtld.os): Likewise.
85035         (reloc-link): Likewise.
85037 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
85039         * elf/Makefile: Add rules to build pldd.
85040         * elf/pldd.c: New file.
85041         * elf/pldd-xx.c: New file.
85043 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85045         * version.h: Update for 2.15 development version.
85047 2011-06-07  David S. Miller  <davem@davemloft.net>
85049         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85050         ifuncs.
85051         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85052         elf_machine_lazy_rel): Likewise.
85053         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85054         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85055         elf_machine_lazy_rel): Likewise.
85056         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85057         dl_hwcap via passed in argument.
85058         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85059         Likewise.
85061 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85063         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85065 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85067         [BZ #12849]
85068         * manual/fdl-1.1.texi: New file, verbatim from:
85069         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85070         * manual/lgpl-2.1.texi: New file, verbatim from:
85071         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85072         * manual/Makefile (licenses): New variable, list those new file names.
85073         (texis): Use it.
85074         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85076         * manual/fdl.texi: File removed.
85077         * manual/lesser.texi: File removed.
85078         * manual/libc.texinfo (Copying, Documentation License):
85079         Use new @include file names, put @appendix directive before @include.
85081 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85083         [BZ #12841]
85084         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85085         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85086         (mq_open): Add __NTH.
85088 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85091         Assume Intel Core i3/i5/i7 processor if AVX is available.
85093 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85095         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85096         typo.
85098 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85100         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85101         memory.  Use alloca_account.  Fix memory leak when retrying.
85103 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85105         * version.h (RELEASE): Bump for 2.14 release.
85106         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85108         * config.make.in (RANLIB): Remove entry.
85110 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85112         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85113         (libc.pot): Work around missing support for .ksh extension in xgettext.
85115         [BZ #12684]
85116         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85117         if both request failed.
85118         (send_dg): In case of server errors clear resplen or *resplen2.
85120         [BZ #12454]
85121         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85122         when there are multiple maps.
85123         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85124         (_dl_fini): Remove test here.
85126         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85128 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85130         [BZ #12350]
85131         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85132         bit from old_res_options.
85133         (gaih_inet): Likewise.
85135         [BZ #11099]
85136         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85137         as signed.
85139         * resolv/res_init.c (res_setoptions): Make the code more compact.
85141         [BZ #11558]
85142         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85143         set RES_USEVC.
85145         [BZ #11634]
85146         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85148         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85150         [BZ #11781]
85151         * malloc/malloc.h: Declare malloc hook variables as volatile.
85153         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85154         in last patch.
85156         [BZ #11799]
85157         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85158         raise in the comment.
85159         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85160         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85161         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85163 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85165         [BZ #12811]
85166         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85167         grow the buffers more if it already has to be sufficient.
85168         (build_wcs_upper_buffer): Likewise.
85169         * posix/regexec.c (check_matching): Likewise.
85170         (clean_state_log_if_needed): Likewise.
85171         (extend_buffers): Don't enlarge buffers beyond size of the input
85172         buffer.
85173         Patches mostly by Emil Wojak <emil@wojak.eu>.
85174         * posix/bug-regex32.c: New file.
85175         * posix/Makefile (tests): Add bug-regex32.
85177         * locale/findlocale.c (_nl_find_locale): Return right away if
85178         _nl_explode_name failed.
85179         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85181         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85183         * debug/xtrace.sh: Unify messages.
85184         * malloc/memusage.sh: Likewise.
85186         [BZ #12813]
85187         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85188         time symbol from vDSO.  Substitute with vsyscall if not available.
85189         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85190         __vdso_time.
85192         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85193         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85194         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85195         Add sendmmsg and internal_sendmmsg.
85196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85197         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85198         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85200         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85201         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85202         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85204 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85206         [BZ #12813]
85207         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85208         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85209         available.
85210         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85211         __vdso_getcpu.
85213         [BZ #12814]
85214         * iconvdata/Makefile (tests): Add bug-iconv9.
85215         * iconvdata/bug-iconv9.c: New file.
85217 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85219         [BZ #12814]
85220         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85222 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85224         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85225         (struct user_regs_struct): Change intcs field back to cs.
85227 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85229         * po/ja.po: Update from translation team.
85231 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85233         [BZ #12795]
85234         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85235         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85237 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85239         * stdlib/longlong.h: Update from GCC.
85241 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85243         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85244         parameter name.
85245         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85246         Add parameter name.
85247         (__sysconf): Pass it down.
85249 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85251         [BZ #12671]
85252         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85253         some situations.
85254         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85255         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85256         add in in __libc_use_alloca calls.  Adjust callers.
85257         (glob): Use malloc in some situations.
85259         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85260         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85261         pltexit.
85263 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85265         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85266         and CLOCK_BOOTTIME_ALARM.
85268         [BZ #12782]
85269         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85270         is returned.
85272         * string/_strerror.c (__strerror_r): Print negative errors as signed
85273         numbers.
85275         [BZ #12777]
85276         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85277         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85278         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85280         * configure.in: Fix typo in redirection and correct removal of test
85281         files in two cases.
85283         [BZ #12788]
85284         * locale/setlocale.c (new_composite_name): Fix test to check for
85285         identical name of all categories.
85287         [BZ #12792]
85288         * libio/filedoalloc.c (local_isatty): New function.
85289         (_IO_file_doallocate): Use local_isatty.
85290         * stdio-common/perror.c (perror): In case a new stream is used
85291         forward the stream error.
85292         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85293         error flag.
85295 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85297         [BZ #11884]
85298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85299         alloca.
85300         * include/alloca.h (extend_alloca_account): Define.
85302         [BZ #11857]
85303         * posix/regex.h: Fix comments with documentation of user-accessible
85304         fields after compilation and describe correct free'ing of pattern
85305         after re_compile_pattern.
85306         Patch by Reuben Thomas <rrt@sc3d.org>.
85308 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85310         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85311         and -mno-altivec to prevent the compiler from using Altivec and/or
85312         VSX instructions when the corresponding registers are not available.
85314 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85316         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85318 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85320         * libio/freopen.c (freopen): Use __dup2, not dup2.
85321         * libio/freopen64.c (freopen64): Likewise.
85323 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85325         [BZ #12775]
85326         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85327         * math/Makefile (tests): Add test-powl.
85328         (CFLAGS-test-powl.c): Define.
85329         * math/test-powl.c: New file.
85331 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85333         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85335 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85337         [BZ #11837]
85338         * iconvdata/gb18030.c: Update to GB18020-2005.
85340 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85342         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85343         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85344         Patch by Aharon Robbins <arnold@skeeve.com>.
85346         [BZ #11892]
85347         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85348         on the stack.
85350         [BZ #11895]
85351         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85352         through underflows.
85354         [BZ #12766]
85355         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85356         point to strings before performing equality test for error_one_per_line
85357         mode.
85359         [BZ #11697]
85360         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85362         [BZ #11820]
85363         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85364         (struct user_fpregs_struct): Avoid __uint*_t types.
85366         [BZ #6420]
85367         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85368         symbol info.  Use it instead of calling _dl_addr locally.
85369         (lock_and_info): New function.
85370         (tr_freehook): Call lock_and_info and pass symbol info as additional
85371         parameter to tr_where.
85372         (tr_mallochook): Likewise.
85373         (tr_reallochook): Likewise.
85374         (tr_memalignhook): Likewise.
85376         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85377         used and couldn't be at all thread-safe.
85379 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
85381         * libio/freopen.c (freopen): Don't close old file descriptor
85382         before the new one is opened.  Instead dup the new file descriptor
85383         to the old one after the new stream is created.
85384         * libio/freopen64.c (freopen64): Likewise.
85385         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
85386         * libio/fileops.c (_IO_new_file_close_it): Handle new
85387         _IO_FLAGS2_NOCLOSE flag.
85388         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
85389         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
85390         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
85391         _IO_FLAGS2_NOCLOSE flag.
85392         * include/unistd.h: Add hidden_proto for dup3.
85393         Define __have_dup3.
85394         * io/dup3.c: Define hidden symbol.
85395         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
85397         [BZ #7101]
85398         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
85399         when an incomplete long option is used.
85400         * posix/tst-getopt_long1.c: New file.
85401         * posix/Makefile (tests): Add tst-getopt_long1.
85403         [BZ #10138]
85404         * scripts/config.guess: Update from autoconf-2.68.
85405         * scripts/config.sub: Likewise.
85407         [BZ #10157]
85408         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
85409         tests into ...
85410         (has_cpuclock): ...this.  New function.
85411         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
85412         macro here based on has_cpuclock code.
85414         [BZ #10149]
85415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85416         First byte (not low byte) is now always NUL.
85417         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
85419         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85420         Use non-cancelable interfaces.
85422         [BZ #9809]
85423         * locale/iso-639.def: Add entry for Sorani.
85425         [BZ #11901]
85426         * include/stdlib.h: Move include protection to the right place.
85427         Define abort_msg_s.  Declare __abort_msg with it.
85428         * stdlib/abort.c (__abort_msg): Adjust type.
85429         * assert/assert.c (__assert_fail_base): New function.  Majority
85430         of code from __assert_fail.  Allocate memory for __abort_msg with
85431         mmap.
85432         (__assert_fail): Now call __assert_fail_base.
85433         * assert/assert-perr.c: Remove bulk of implementation.  Use
85434         __assert_fail_base.
85435         * include/assert.hL Declare __assert_fail_base.
85436         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
85437         mmap.
85438         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
85440 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
85442         [BZ #11952]
85443         [BZ #12453]
85444         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
85445         until all modules are registered in the DTV.
85446         * elf/Makefile: Add rules to build and run tst-tls19.
85447         * elf/tst-tls19.c: New file.
85448         * elf/tst-tls19mod1.c: New file.
85449         * elf/tst-tls19mod2.c: New file.
85450         * elf/tst-tls19mod3.c: New file.
85451         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
85453         [BZ #12083]
85454         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
85455         correctly.
85457         [BZ #12601]
85458         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85459         two-byte sequence errors.
85460         * iconvdata/Makefile (tests): Add bug-iconv8.
85461         * iconvdata/bug-iconv8.c: New file.
85463         [BZ #12626]
85464         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85465         buf2 definition.
85467         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85469         [BZ #12432]
85470         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85471         (dummy_getcfa): New function.
85472         (init): Get _Unwind_GetCFA address, use dummy if not found.
85473         (backtrace_helper): In recursion check, also check whether CFA changes.
85474         (__backtrace): Completely initialize arg.
85476         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85477         storing incomplete byte sequence in state object.  Avoid testing for
85478         guaranteed too small input if we know there is enough data available.
85480 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85482         * Makeconfig (+link-pie): Indent.
85483         * Rules (binaries-pie): Define if $(have-fpie) and
85484         $(build-shared).
85485         (binaries-shared): Also filter out $(binaries-pie).
85486         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85487         * nscd/Makefile (others-pie): Add nscd.
85488         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85489         ($(objpfx)nscd): Remove command override.
85490         * login/Makefile (others-pie): Add pt_chown.
85491         ($(objpfx)pt_chown): Remove command override.
85492         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85493         remove command overrides.
85495 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85497         * libio/tst_putwc.c: Fix error messages.
85499         [BZ #12724]
85500         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85501         currently writing and seek to current position when not.
85502         * libio/Makefile (tests): Add bug-fclose1.
85503         * libio/bug-fclose1.c: New file.
85505 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85507         [BZ #12511]
85508         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85509         don't set DF_1_NODELETE here.
85510         (do_lookup_x): When entering new entry test for copy relocation
85511         and if necessary set DF_1_NODELETE flag.
85512         * elf/tst-unique4.cc: New file.
85513         * elf/tst-unique4.h: New file.
85514         * elf/tst-unique4lib.cc: New file.
85515         * elf/Makefile: Add rules to build and run tst-unique4.
85516         Patch by Piotr Bury <pbury@goahead.com>.
85518 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85520         [BZ #12052]
85521         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85523         [BZ #12625]
85524         * misc/mntent_r.c (addmntent): Flush the stream after the output
85526         [BZ #12393]
85527         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85528         (is_trusted_path_normalize): Skip initial colon.  Append slash
85529         to empty buffer.  Duplicate is_trusted_path code but allow
85530         constructed patch to be prefix.
85531         (is_dst): Allow $ORIGIN followed by /.
85532         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85533         Correct testing of result of is_trusted_path_normalize
85534         (decompose_rpath): Fix warning.
85536 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85538         [BZ #11257]
85539         * grp/initgroups.c (internal_getgrouplist): When we found the service
85540         list through the initgroups entry in nsswitch.conf do not always
85541         continue on a successful lookup.  Don't always use the
85542         __nss_group_database value if it is set.
85543         * nss/nsswitch.conf (initgroups): Change action for successful db
85544         lookup to continue for compatibility.
85546 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85548         [BZ #11532]
85549         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85550         and CP774 modules.
85551         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85552         and CP774 modules.
85553         * iconvdata/tst-tables.sh: Likewise.
85554         * iconvdata/cp770.c: New file.
85555         * iconvdata/cp771.c: New file.
85556         * iconvdata/cp772.c: New file.
85557         * iconvdata/cp773.c: New file.
85558         * iconvdata/cp774.c: New file.
85559         * iconvdata/testdata/CP770: New file.
85560         * iconvdata/testdata/CP770..UTF8: New file.
85561         * iconvdata/testdata/CP771: New file.
85562         * iconvdata/testdata/CP771..UTF8: New file.
85563         * iconvdata/testdata/CP772: New file.
85564         * iconvdata/testdata/CP772..UTF8: New file.
85565         * iconvdata/testdata/CP773: New file.
85566         * iconvdata/testdata/CP773..UTF8: New file.
85567         * iconvdata/testdata/CP774: New file.
85568         * iconvdata/testdata/CP774..UTF8: New file.
85570         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85571         END CHARMAP line.
85572         * iconvdata/gen-8bit-gap.sh: Likewise.
85573         * iconvdata/gen-8bit.sh: Likewise.
85575         * locale/iso-639.def: Add ary entry.
85577         [BZ #11258]
85578         * locale/C-translit.h.in: Add U20A1 transliteration.
85580         [BZ #12178]
85581         * locale/iso-639.def: Add wae entry.
85582         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85584         [BZ #12545]
85585         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85586         for n.
85588         [BZ #12711]
85589         * locale/C-translit.h.in: Add entry for U20B9.
85590         Patch by pravin.d.s@gmail.com.
85592 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85594         [BZ #12713]
85595         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85596         ENAMETOOLONG use generic getcwd.
85597         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85598         in rtld.  Use *stat64.
85599         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85600         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85601         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85602         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85603         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85604         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85605         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85606         __fstatat64 macros.
85607         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85608         * dirent/rewinddir.c: Add libc_hidden_def.
85609         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85610         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85612         * include/dirent.h (__alloc_dir): Add flags parameter.
85613         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85614         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85615         __alloc_dir.
85616         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85617         from fdopendir if O_CLOEXEC is already set.
85619 2011-03-15  Alan Modra  <amodra@gmail.com>
85621         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85622         l_tls_firstbyte_offset non-zero.  Save padding offset in
85623         l_tls_firstbyte_offset for later use.
85624         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85625         freeing static tls block.
85627 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85629         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85630         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85631         being defined by the kernel headers.
85633 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85635         [BZ #12734]
85636         * resolv/resolv.h: Define RES_NOTLDQUERY.
85637         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85638         no-tld-query and set RES_NOTLDQUERY.
85639         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85640         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85641         modern BIND to search name as TLD unless forbidden.
85643 2011-05-07  Petr Baudis  <pasky@suse.cz>
85644             Ulrich Drepper  <drepper@gmail.com>
85646         [BZ #12393]
85647         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85648         (is_trusted_path): ...to here.
85649         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85650         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85651         using is_trusted_path_normalize() in setuid scripts.
85653 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85655         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85656         __BEGIN/__END_DECLS.
85658 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85660         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85661         NSS_STATUS_NOTFOUND if no record was found.
85663 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85665         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85666         (headers-not-in-tirpc): Remove rpc/netdb.h
85667         * resolv/netdb.h: Revert last change.
85669 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85671         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85672         circular dependency between libgcc.a and libc.a.
85674 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85676         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85677         * nis/Makefile: Don't install rpcsvc/*.
85678         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85679         instead of <rpc/types.h>.
85680         (MAXHOSTNAMELEN): Define.
85682 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85684         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85686 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85688         [BZ #12714]
85689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85690         gethostbyname4_r when IPv6 results are possible.
85692 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85694         [BZ #12723]
85695         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85696         _PC_PIPE_BUF handling.
85698 2011-04-30  Bruno Haible  <bruno@clisp.org>
85700         [BZ #12717]
85701         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85702         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85703         to 'int'.
85704         * inet/getnameinfo.c (getnameinfo): Likewise.
85706 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85708         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85709         to groups setting in database lookup.
85710         * nss/nsswitch.conf: Add initgroups entry.
85712 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85714         [BZ #12685]
85715         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85716         mode string.
85717         Patch by Eric Blake <eblake@redhat.com>.
85719 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85721         * sunrpc/Makefile (need-export-routines): Add svc_run.
85722         (routines): Remove svc_run.
85723         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85724         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85725         * sunrpc/svc_run.c (svc_run): Likewise.
85726         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85728 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85730         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85731         problem in reallocation in last patch.
85733 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85735         * sunrpc/Makefile: Move inclusion of Rules.
85737 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85739         * nss/nss_files/files-initgroups.c: New file.
85740         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85741         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85742         _nss_files_initgroups_dyn.
85744 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85746         * elf/elf.h (R_ARM_IRELATIVE): Define.
85748 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85750         * po/ru.po: Update from translation team.
85752 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85754         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85755         dependencies.
85757 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85759         [BZ #12653]
85760         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85761         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85762         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85763         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85764         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85766 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85768         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85769         differing bytes.
85770         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85771         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85772         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85774 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85776         [BZ #12420]
85777         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85778         storing it.
85779         * stdlib/bug-getcontext.c: New file.
85780         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85782 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85784         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85785         instructions into .machine "z9-109".
85786         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85787         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85789 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85791         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85792         between environment variables and auxiliary vector.
85794 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85796         * Makefile: Add rules to build linkobj/libc.so.
85797         * include/libc-symbols.h: Define libc_hidden_nolink.
85798         * include/rpc/auth.h: Mark functions which are to be hidden.
85799         * include/rpc/auth_des.h: Likewise.
85800         * include/rpc/auth_unix.h: Likewise.
85801         * include/rpc/clnt.h: Likewise.
85802         * include/rpc/des_crypt.h: Likewise.
85803         * include/rpc/key_prot.h: Likewise.
85804         * include/rpc/pmap_clnt.h: Likewise.
85805         * include/rpc/pmap_prot.h: Likewise.
85806         * include/rpc/pmap_rmt.h: Likewise.
85807         * include/rpc/rpc_msg.h: Likewise.
85808         * include/rpc/svc.h: Likewise.
85809         * include/rpc/svc_auth.h: Likewise.
85810         * include/rpc/xdr.h: Likewise.
85811         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85812         * nss/Makefile: Likewise.
85813         * sunrpc/Makefile: Don't install headers.  Build library with normal
85814         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85815         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85816         for the compat linking library.  Remove use of INTDEF/INTUSE.
85817         * sunrpc/auth_none.c: Likewise.
85818         * sunrpc/auth_unix.c: Likewise.
85819         * sunrpc/authdes_prot.c: Likewise.
85820         * sunrpc/authuxprot.c: Likewise.
85821         * sunrpc/clnt_gen.c: Likewise.
85822         * sunrpc/clnt_perr.c: Likewise.
85823         * sunrpc/clnt_raw.c: Likewise.
85824         * sunrpc/clnt_simp.c: Likewise.
85825         * sunrpc/clnt_tcp.c: Likewise.
85826         * sunrpc/clnt_udp.c: Likewise.
85827         * sunrpc/clnt_unix.c: Likewise.
85828         * sunrpc/des_crypt.c: Likewise.
85829         * sunrpc/des_soft.c: Likewise.
85830         * sunrpc/get_myaddr.c: Likewise.
85831         * sunrpc/key_call.c: Likewise.
85832         * sunrpc/key_prot.c: Likewise.
85833         * sunrpc/netname.c: Likewise.
85834         * sunrpc/pm_getmaps.c: Likewise.
85835         * sunrpc/pm_getport.c: Likewise.
85836         * sunrpc/pmap_clnt.c: Likewise.
85837         * sunrpc/pmap_prot.c: Likewise.
85838         * sunrpc/pmap_prot2.c: Likewise.
85839         * sunrpc/pmap_rmt.c: Likewise.
85840         * sunrpc/publickey.c: Likewise.
85841         * sunrpc/rpc_cmsg.c: Likewise.
85842         * sunrpc/rpc_common.c: Likewise.
85843         * sunrpc/rpc_dtable.c: Likewise.
85844         * sunrpc/rpc_prot.c: Likewise.
85845         * sunrpc/rpc_thread.c: Likewise.
85846         * sunrpc/rtime.c: Likewise.
85847         * sunrpc/svc.c: Likewise.
85848         * sunrpc/svc_auth.c: Likewise.
85849         * sunrpc/svc_authux.c: Likewise.
85850         * sunrpc/svc_raw.c: Likewise.
85851         * sunrpc/svc_run.c: Likewise.
85852         * sunrpc/svc_simple.c: Likewise.
85853         * sunrpc/svc_tcp.c: Likewise.
85854         * sunrpc/svc_udp.c: Likewise.
85855         * sunrpc/svc_unix.c: Likewise.
85856         * sunrpc/svcauth_des.c: Likewise.
85857         * sunrpc/xcrypt.c: Likewise.
85858         * sunrpc/xdr.c: Likewise.
85859         * sunrpc/xdr_array.c: Likewise.
85860         * sunrpc/xdr_float.c: Likewise.
85861         * sunrpc/xdr_intXX_t.c: Likewise.
85862         * sunrpc/xdr_mem.c: Likewise.
85863         * sunrpc/xdr_rec.c: Likewise.
85864         * sunrpc/xdr_ref.c: Likewise.
85865         * sunrpc/xdr_sizeof.c: Likewise.
85866         * sunrpc/xdr_stdio.c: Likewise.
85868 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85870         [BZ #12650]
85871         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85872         * sysdeps/ia64/dl-tls.h: Likewise.
85873         * sysdeps/powerpc/dl-tls.h: Likewise.
85874         * sysdeps/s390/dl-tls.h: Likewise.
85875         * sysdeps/sh/dl-tls.h: Likewise.
85876         * sysdeps/sparc/dl-tls.h: Likewise.
85877         * sysdeps/x86_64/dl-tls.h: Likewise.
85878         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85880 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85882         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85883         rpath element also skip the following colon.
85884         (expand_dynamic_string_token): Add is_path parameter and pass
85885         down to DL_DST_REQUIRED and _dl_dst_substitute.
85886         (decompose_rpath): Call expand_dynamic_string_token with
85887         non-zero is_path.  Ignore empty rpaths.
85888         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85889         with zero is_path.
85891 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85894         Make cancelable.
85896 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85898         [BZ #12655]
85899         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85900         Patch by Filipe David Manana <fdmanana@apache.org>.
85902 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85904         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85905         Maintain aligned stack.
85906         (CHECK_RSP): Remove unused macro.
85908 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85910         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85911         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85913 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85915         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85917         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85919 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85921         [BZ #12518]
85922         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85923         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85924         * sysdeps/x86_64/memmove.c: New file.
85925         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85926         (memcpy): Renamed to ...
85927         (__new_memcpy): This.
85928         (memcpy): Provide GLIBC_2_14 memcpy.
85929         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85930         (memcpy): Provide GLIBC_2_2_5 memcpy.
85932 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85934         [BZ #12631]
85935         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85937 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85939         * misc/syncfs.c: New file.
85940         * misc/Makefile (routines): Add syncfs.
85941         * posix/unistd.h: Declare syncfs.
85942         * sysdeps/unix/syscalls.list: Add syncfs.
85944 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85946         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85947         open_by_handle_at.
85948         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85949         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85950         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85951         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85952         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85953         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85954         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85956 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85958         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85959         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85960         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85961         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85962         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85963         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85964         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85966         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85967         sync_file_range.c with -fexceptions.
85968         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85969         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85970         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85971         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85972         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85973         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85974         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85975         sync_file_range as cancellation point
85976         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85977         now a wrapper around __call_sync_file_range with cancellation handling.
85978         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85979         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85980         function name to __call_sync_file_range.
85981         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85982         Add call_sync_file_range.
85984 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85986         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85987         bits/timex.h.
85989 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85991         * iconv/iconv.h: Fix typo in comment.
85992         * io/fcntl.h: Likewise.
85993         * libio/stdio.h: Likewise.
85994         * posix/spawn.h: Likewise.
85995         * posix/unistd.h: Likewise.
85996         * stdlib/stdlib.h: Likewise.
85997         * time/time.h: Likewise.
85998         * wcsmbs/wchar.h: Likewise.
86000         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
86001         open_by_handle): Add.
86002         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
86003         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
86004         Augment a few comments.
86005         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86006         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86007         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86009         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86010         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
86011         open_by_handle.
86013         * io/fcntl.h (AT_EMPTY_PATH): Define.
86015 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
86017         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
86018         * sysdeps/unix/sysv/linux/bits/time.h: New file.
86019         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
86020         to...
86021         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
86022         * Versions.def: Add GLIBC_2.14.
86023         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
86024         Export.
86026 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
86028         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
86029         round counter.
86030         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86032 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86034         [BZ #12597]
86035         * string/test-strncmp.c (do_page_test): New function.
86036         (check2): Likewise.
86037         (test_main): Call check2.
86038         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
86040 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86042         [BZ #12587]
86043         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86044         Handle cache information in CPU leaf 4.
86045         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86047 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86049         [BZ #12583]
86050         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86051         character representation.
86052         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86054 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86056         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86057         END(__isnan) to END(__isnanf) to match function entry point/label
86058         EALIGN(__isnanf,...).
86060 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86062         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86064 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86066         [BZ #12510]
86067         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86068         copy from the symbol referenced in the relocation to initialize the
86069         used variable.
86070         Patch by Piotr Bury <pbury@goahead.com>.
86071         * elf/Makefile: Add rules to build and tst-unique3.
86072         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86073         * elf/tst-unique3.cc: New file.
86074         * elf/tst-unique3.h: New file.
86075         * elf/tst-unique3lib.cc: New file.
86076         * elf/tst-unique3lib2.cc: New file.
86078         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86080 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86082         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86083         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86084         to _start.
86086 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86088         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86089         to-be-loaded object along a path to loader is ld.so.
86091 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86092             Ulrich Drepper  <drepper@gmail.com>
86094         * sysdeps/x86_64/memset.S: After aligning destination, code
86095         branches to different locations depending on the value of
86096         misalignment, when multiarch is enabled. Fix this.
86098 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86100         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86101         Set _x86_64_preferred_memory_instruction for AMD processsors.
86102         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86103         Set bit_Prefer_SSE_for_memop for AMD processors.
86105 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86107         * libio/fmemopen.c (fmemopen): Optimize a bit.
86109 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86111         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86113 2011-03-03  Roland McGrath  <roland@redhat.com>
86115         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86117 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86119         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86120         __bzero_ultra1 instead of __memset_ultra1.
86122 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86123             Ulrich Drepper  <drepper@gmail.com>
86125         [BZ #12509]
86126         * include/link.h (struct link_map): Add l_orig_initfini.
86127         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86128         returning unsuccessfully.
86129         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86130         close of a file loaded at startup, restore the original l_initfini
86131         list.
86132         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86133         list, store the pointer.
86134         * elf/Makefile ($(objpfx)noload-mem): New rule.
86135         (noload-ENV): Define.
86136         (tests): Add $(objpfx)noload-mem.
86137         * elf/noload.c: Include <memcheck.h>.
86138         (main): Call mtrace.  Close all opened handles.
86140 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86142         [BZ #12454]
86143         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86144         dependencies are missing.
86146 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86148         Fix __if_freereq crash: Unlike the generic version which uses free,
86149         Hurd needs munmap.
86150         * sysdeps/mach/hurd/ifreq.h: New file.
86152 2011-01-27  Petr Baudis  <pasky@suse.cz>
86153             Ulrich Drepper  <drepper@gmail.com>
86155         [BZ 12445]#
86156         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86157         to extend_alloca().
86158         * stdio-common/bug23.c: New file.
86159         * stdio-common/Makefile (tests): Add bug23.
86161 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86162             Ulrich Drepper  <drepper@gmail.com>
86164         [BZ #12489]
86165         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86166         before performing relro protection.  At old place add assertion
86167         to make sure nothing changed.
86169 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86170             Glauber de Oliveira Costa  <glommer@gmail.com>
86172         * elf/elf.h: Add new ARM TLS relocs.
86174 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86177         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86178         cast from r3.
86179         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86180         'tests' variable.
86181         * sysdeps/wordsize-64/tst-writev.c: New file.
86183 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86185         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86186         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86187         insns in _dl_start to prevent a TOC reference before relocs are
86188         resolved.
86190 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86192         [BZ #12469]
86193         * Makeconfig: Remove RANLIB definition.
86194         * Makerules: Don't use RANLIB.
86195         * aclocal.m4: Remove ranlib test.
86196         * configure.in: No need to check for ranlib.
86197         * elf/rtld-Rules: Don't use RANLIB.
86199 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86201         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86202         protection macro.
86203         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86204         inclusion protection macro.
86206         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86207         SIGRTMIN and SIGRTMAX and print information in that case only when
86208         SIGRTMIN is defined.
86210 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86212         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86213         arginfo fn returning -1.
86215         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86216         and thousands string is zero terminated.
86218 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86221         sysdeps/unix/sysv/linux/bits/socket.h.
86223 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86225         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86226         (__CPU_COUNT): Remove old macros.
86227         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86228         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86229         (__CPU_ALLOC, __CPU_FREE): Add macros.
86230         (__sched_cpualloc, __sched_cpufree): Add declarations.
86232 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86234         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86235         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86236         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86237         (readdhstai): Return value of addhstaiX call.
86238         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86239         (addgrbyX): Return value returned by cache_addgr.
86240         (readdgrbyname): Return value returned by addgrbyX.
86241         (readdgrbygid): Likewise.
86242         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86243         (addpwbyX): Return value returned by cache_addpw.
86244         (readdpwbyname): Return value returned by addhstbyX.
86245         (readdpwbyuid): Likewise.
86246         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86247         (addservbyX): Return value returned by cache_addserv.
86248         (readdservbyname): Return value returned by addservbyX:
86249         (readdservbyport): Likewise.
86250         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86251         (addhstbyX): Return value returned by cache_addhst.
86252         (readdhstbyname): Return value returned by addhstbyX.
86253         (readdhstbyaddr): Likewise.
86254         (readdhstbynamev6): Likewise.
86255         (readdhstbyaddrv6): Likewise.
86256         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86257         (readdinitgroups): Return value returned by addinitgroupsX.
86258         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86259         (prune_cache): Keep track of timeout value of re-added entries.
86260         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86261         * nscd/nscd.h: Adjust prototypes of readd* functions.
86263 2011-02-04  Roland McGrath  <roland@redhat.com>
86265         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86266         (nis_stats): Likewise.
86267         * nis/nis_modify.c (nis_modify): Likewise.
86268         * nis/nis_remove.c (nis_remove): Likewise.
86269         * nis/nis_add.c (nis_add): Likewise.
86271         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86273         * posix/fnmatch_loop.c: Add some consts.
86275         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86277 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86279         [BZ #12460]
86280         * config.make.in (config-cflags-novzeroupper): Define.
86281         * configure.in: Substitute libc_cv_cc_novzeroupper.
86282         * elf/Makefile (AVX-CFLAGS): Define.
86283         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86284         (CFLAGS-tst-auditmod4a.c): Likewise.
86285         (CFLAGS-tst-auditmod4b.c): Likewise.
86286         (CFLAGS-tst-auditmod6b.c): Likewise.
86287         (CFLAGS-tst-auditmod6c.c): Likewise.
86288         (CFLAGS-tst-auditmod7b.c): Likewise.
86289         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86291 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86293         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86294         function to the callback.
86295         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86297 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86299         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86300         of errno.
86302 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86304         [BZ #11724]
86305         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86306         of constructors.
86307         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86308         of destructors.
86309         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86311         [BZ #11724]
86312         * elf/Makefile: Add rules to build and run new test.
86313         * elf/tst-initorder.c: New file.
86314         * elf/tst-initorder.exp: New file.
86315         * elf/tst-initordera1.c: New file.
86316         * elf/tst-initordera2.c: New file.
86317         * elf/tst-initordera3.c: New file.
86318         * elf/tst-initordera4.c: New file.
86319         * elf/tst-initorderb1.c: New file.
86320         * elf/tst-initorderb2.c: New file.
86321         * elf/tst-order-a1.c: New file.
86322         * elf/tst-order-a2.c: New file.
86323         * elf/tst-order-a3.c: New file.
86324         * elf/tst-order-a4.c: New file.
86325         * elf/tst-order-b1.c: New file.
86326         * elf/tst-order-b2.c: New file.
86327         * elf/tst-order-main.c: New file.
86328         New test case by George Gensure <werkt0@gmail.com>.
86330 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86333         decoding ACE if AI_CANONIDN.
86335 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86337         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86339 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86341         * version.h (RELEASE): Bump for 2.13 release.
86342         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86344         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86346         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86347         MADV_NOHUGEPAGE.
86348         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86349         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86350         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86351         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86352         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86353         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86355         * posix/getconf.c: Update copyright year.
86356         * catgets/gencat.c: Likewise.
86357         * csu/version.c: Likewise.
86358         * debug/catchsegv.sh: Likewise.
86359         * debug/xtrace.sh: Likewise.
86360         * elf/ldconfig.c: Likewise.
86361         * elf/ldd.bash.in: Likewise.
86362         * elf/sprof.c (print_version): Likewise.
86363         * iconv/iconv_prog.c: Likewise.
86364         * iconv/iconvconfig.c: Likewise.
86365         * locale/programs/locale.c: Likewise.
86366         * locale/programs/localedef.c: Likewise.
86367         * malloc/memusage.sh: Likewise.
86368         * malloc/mtrace.pl: Likewise.
86369         * nscd/nscd.c (print_version): Likewise.
86370         * nss/getent.c: Likewise.
86372         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86373         PF_CAIF, and PF_ALG.
86374         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86376 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86378         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
86379         (modules-names): Use them.
86380         (ifunc-test-modules, ifunc-pie-tests): Define.
86381         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
86382         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
86383         (test-extras): Likewise.
86384         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
86385         $(compile-command.c).
86386         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
86387         (all-built-dso): Define.
86388         (check-textrel.out, check-execstack.out): Depend on it.
86390         * configure.in: Don't override --enable-multi-arch.
86392 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
86394         [BZ #6812]
86395         * nscd/hstcache.c (tryagain): Define.
86396         (cache_addhst): Return tryagain not notfound for temporary errors.
86397         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
86398         failed.
86400 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
86402         [BZ #10563]
86403         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
86404         to make the syscall.
86405         * sysdeps/unix/sysv/linux/setgroups.c: New file.
86407         [BZ #12378]
86408         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
86409         and fall back to matching as normal character if the string ends before
86410         the matching ']' is found.  This is what POSIX requires.
86411         * posix/testfnm.c: Adjust test result.
86412         * posix/globtest.sh: Adjust test result.  Add new test.
86413         * posix/tst-fnmatch.input: Likewise.
86414         * posix/tst-fnmatch2.c: Add new test.
86416 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
86418         * elf/Makefile (check-execstack): Revert last change.  Depend on
86419         check-execstack.h.
86420         (check-execstack.h): New target.
86421         (generated): Add check-execstack.h.
86422         * elf/check-execstack.c: Include "check-execstack.h".
86423         (main): Revert last change.
86424         (handle_file): Return zero if GNU_STACK is absent and
86425         DEFAULT_STACK_PERMS doesn't include PF_X.
86427 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
86429         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
86430         in child fails because the descriptor is already closed.
86431         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
86432         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
86433         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
86435         [BZ #12397]
86436         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
86437         syscall.
86439         [BZ #10484]
86440         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
86441         temporary buffer used to handle multi lookups locally.
86442         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
86444 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86446         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
86447         loader is ld.so.
86449 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
86451         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
86452         alignment for SSE2.
86454 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86456         [BZ #12394]
86457         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86458         characters.  When rounding increased number of integer digits recompute
86459         number of groups.
86460         * stdio-common/tst-grouping.c: New file.
86461         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86463 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86465         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86466         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86468         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86469         void.
86470         * bits/select.h: Likewise.
86472 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86474         * po/ja.po: Update from translation team.
86476 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86478         [BZ #11155]
86479         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86480         implementation just like for lxstat, fxstatat, et al.
86482 2010-12-27  Jim Meyering  <meyering@redhat.com>
86484         [BZ #12348]
86485         * posix/regexec.c (build_trtable): Return failure indication upon
86486         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86488 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86490         [BZ #12201]
86491         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86492         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86493         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86494         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86496         [BZ #12207]
86497         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86499         [BZ #12204]
86500         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86501         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86503 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86505         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86506         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86507         script has SORT_BY_INIT_PRIORITY.
86508         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86509         NO_CTORS_DTORS_SECTIONS is defined.
86510         * elf/soinit.c: Likewise.
86511         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86512         NO_CTORS_DTORS_SECTIONS is defined.
86513         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86514         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86515         * sysdeps/sh/init-first.c: Likewise.
86516         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86518 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86520         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86521         always use the slow path.
86523 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86525         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86526         similar rule which adds the sysdep directories to the header search in
86527         order to pick up the correct platform stackinfo.h.
86528         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86529         perform test if it is, otherwise return successfully without testing.
86530         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86531         DEFAULT_STACK_PERMS define in stackinfo.h.
86532         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86533         defined in stackinfo.h.
86534         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86535         DEFAULT_STACK_PERMS defined in stackinfo.h.
86536         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86537         * sysdeps/ia64/stackinfo.h: Likewise.
86538         * sysdeps/s390/stackinfo.h: Likewise.
86539         * sysdeps/sh/stackinfo.h: Likewise.
86540         * sysdeps/sparc/stackinfo.h: Likewise.
86541         * sysdeps/x86_64/stackinfo.h: Likewise.
86542         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86543         PF_X for powerpc64.  Retain PF_X for powerpc32.
86545 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86547         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86548         accurately.
86549         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86550         GETDENTS_64BIT_ALIGNED.
86552 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86554         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86556 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86558         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86559         _GNU_SOURCE.
86561         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86562         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86563         Remove __restrict.
86564         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86565         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86567 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86569         [BZ #11655]
86570         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86571         are initialized.
86573 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86575         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86577 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86579         * po/it.po: Update from translation team.
86581 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86584         unused codes.
86586 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86588         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86590 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86592         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86593         specially.
86594         (gaih_getanswer_slice): Likewise.
86596 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86600 2010-05-31  Petr Baudis  <pasky@suse.cz>
86602         [BZ #11149]
86603         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86604         silently even in the chroot mode.
86606 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86608         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86609         last patch a bit.  Pretty printing
86611 2010-05-31  Petr Baudis <pasky@suse.cz>
86613         [BZ #10085]
86614         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86615         initialization of skip_initgroups_dyn.
86617 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86619         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86620         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86622 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86624         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86626 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86628         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86629         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86630         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86631         ($(objpfx)tst-fnmatch-mem): New rule.
86632         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86633         * posix/tst-fnmatch.c (main): Call mtrace.
86635 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86638         Support Intel processor model 6 and model 0x2c.
86640 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86642         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86643           signed comparison.
86645 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86647         [BZ #12205]
86648         * string/test-strncasecmp.c (check_result): New function.
86649         (do_one_test): Use it.
86650         (check1): New function.
86651         (test_main): Use it.
86652         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86653         Support strcasecmp and strncasecmp.
86655 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86657         [BZ #12194]
86658         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86659         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86661 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86663         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86664         IFUNC support.
86665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86666         memset-x86-64.
86667         * sysdeps/x86_64/multiarch/bzero.S: New file.
86668         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86669         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86670         * sysdeps/x86_64/multiarch/memset.S: New file.
86671         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86673         Set bit_Prefer_SSE_for_memop for Intel processors.
86674         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86675         Define.
86676         (index_Prefer_SSE_for_memop): Define.
86677         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86679 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86681         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86682         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86684 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86686         [BZ #12191]
86687         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86688         (__x86_64_raw_data_cache_size_half): Likewise.
86689         (__x86_64_raw_shared_cache_size): Likewise.
86690         (__x86_64_raw_shared_cache_size_half): Likewise.
86692         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86693         (__x86_64_raw_data_cache_size_half): Likewise.
86694         (__x86_64_raw_shared_cache_size): Likewise.
86695         (__x86_64_raw_shared_cache_size_half): Likewise.
86696         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86697         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86698         and __x86_64_raw_shared_cache_size_half.  Round
86699         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86700         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86701         to multiple of 256 bytes.
86703 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86705         [BZ #12167]
86706         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86707         of inacessible symlinks.  Verify result of symlink before returning it.
86708         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86709         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86711 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86713         * math/math.h (isinf): Fix typo in comment.
86715 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86717         * po/da.po: Update from translation team.
86719 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86721         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86722         is added to the list.
86724 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86725             Ulrich Drepper  <drepper@gmail.com>
86727         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86728         the global list here.  Move code to...
86729         (_dl_add_to_namespace_list): ...here.  New function.
86730         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86731         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86732         * elf/dl-load.c (lose): Don't remove the element from the list.
86733         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86734         (_dl_map_object): Likewise.
86736 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86738         [BZ #12159]
86739         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86740         into all bytes of SSE register.
86741         Patch by Richard Li <richardpku@gmail.com>.
86743 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86745         [BZ #12140]
86746         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86747         perturbing.
86749 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86751         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86752         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86753         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86754         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86756         submachine.
86757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86759 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86761         * include/dlfcn.h (__RTLD_SECURE): Define.
86762         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86763         mode & __RTLD_SECURE instead.
86764         (open_path): Rename preloaded parameter to secure.
86765         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86766         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86767         * elf/dl-deps.c (openaux): Likewise.
86768         * elf/rtld.c (struct map_args): Remove is_preloaded.
86769         (map_doit): Don't use it.
86770         (dl_main): Likewise.
86771         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86772         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86774 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86776         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86777         (sysd-rules-targets): Remove duplicates.
86778         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86779         rtld-%.$o dependency.
86781 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86783         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86784         _dl_map_object do it.
86786 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86788         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86789         fast fma builtins, define the macros in the C99 standard.
86790         (FP_FAST_FMAF): Likewise.
86791         (FP_FAST_FMAL): Likewise.
86792         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86794         * bits/mathdef.h: Update copyright year.
86795         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86797 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86799         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86800         builtins, define the macros in the C99 standard.
86801         (FP_FAST_FMAF): Likewise.
86802         (FP_FAST_FMAL): Likewise.
86803         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86804         multiply/add.
86805         (FP_FAST_FMAF): Likewise.
86807 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86809         [BZ #3268]
86810         * math/libm-test.inc (fma_test): Some new testcases.
86811         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86812         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86813         y and infinite z.  Do multiplication by C already in long double.
86814         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86816         y and infinite z.  Do bitwise or of inexact bit into u.d.
86817         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86818         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86819         * sysdeps/i386/fpu/s_fma.S: Removed.
86820         * sysdeps/i386/fpu/s_fmal.S: Removed.
86822 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86824         [BZ #3268]
86825         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86827         computation is not scheduled after fetestexcept.  Fix value
86828         of minimum denormal long double.
86830 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86832         [BZ #3268]
86833         * math/libm-test.inc (fma_test): Add some more tests.
86834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86835         correctly.
86837 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86839         * scripts/data/localplt-s390-linux-gnu.data: New file.
86840         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86842 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86844         [BZ #3268]
86845         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86846         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86847         instead of dbl-64.
86848         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86849         inlines.
86850         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86852         if one of x and y is very large and the other is subnormal.
86853         * sysdeps/s390/fpu/s_fmaf.c: New file.
86854         * sysdeps/s390/fpu/s_fma.c: New file.
86855         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86856         * sysdeps/powerpc/fpu/s_fma.S: New file.
86857         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86858         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86859         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86861 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86863         [BZ #3268]
86864         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86865         fma tests.
86866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86867         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86868         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86869         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86870         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86871         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86872         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86874 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86876         [BZ #12078]
86877         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86878         * posix/bug-regex31.input: Add test case.
86880 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86882         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86883         * posix/bug-regex31.input: New file.
86885         [BZ #12078]
86886         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86887         (parse_sub_exp): Fix last change, use postorder.
86889         * posix/bug-regex31.c: New file.
86890         * posix/Makefile: Add rules to build and run bug-regex31.
86892         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86894         [BZ #12078]
86895         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86897         [BZ #12108]
86898         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86899         to have entries in sys_siglist.
86901         [BZ #12093]
86902         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86903         be NULL.
86905 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86907         [BZ #3268]
86908         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86909         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86910         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86911         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86912         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86913         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86914         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86915         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86916         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86917         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86918         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86919         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86920         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86921         * math/ftestexcept.c (fetestexcept): Likewise.
86922         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86923         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86924         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86925         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86926         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86927         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86928         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86930 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86932         [BZ #12107]
86933         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86934         newline.
86936 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86938         * string/bug-strstr1.c: New file.
86939         * string/Makefile: Add rules to build and run bug-strstr1.
86941 2010-10-05  Eric Blake  <eblake@redhat.com>
86943         [BZ #12092]
86944         * string/str-two-way.h (two_way_long_needle): Always clear memory
86945         when skipping input due to the shift table.
86947 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86949         [BZ #12005]
86950         * malloc/mcheck.c: Handle large requests.
86952         [BZ #12077]
86953         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86954         for strncmp and strncasecmp.
86955         * string/stratcliff.c: Add tests for strcmp and strncmp.
86956         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86958 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86960         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86961         __set_fpscr.
86963 2010-09-30  Andreas Jaeger  <aj@suse.de>
86965         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86966         (CGROUP_SUPER_MAGIC): Define.
86967         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86968         Handle btrfs and cgroup file systems.
86969         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86970         Likewise.
86972 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86974         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86975         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86977 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86979         [BZ #12067]
86980         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86981         trying to locate the ELF header.
86983 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86985         [BZ #11611]
86986         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86987         Mask out sign-bit copies when constructing f_fsid.
86989 2010-09-24  Petr Baudis <pasky@suse.cz>
86991         * debug/stack_chk_fail_local.c: Add missing licence exception.
86992         * debug/warning-nop.c: Likewise.
86994 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86996         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86997         implementing getdents64 using getdents syscall, set d_type if
86998         __ASSUME_GETDENTS32_D_TYPE.
87000 2010-09-16  Andreas Schwab  <schwab@redhat.com>
87002         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
87003         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
87005 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
87007         [BZ #12037]
87008         * posix/unistd.h: Undo change of feature selection for ftruncate from
87009         2010-01-11.
87011 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
87013         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
87014         detection.
87016 2010-09-20  Andreas Schwab  <schwab@redhat.com>
87018         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
87019         fanotify_mark.
87020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87022 2010-09-14  Andreas Schwab  <schwab@redhat.com>
87024         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
87025         variables after CHECK_SP call.
87026         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
87028 2010-09-13  Andreas Schwab  <schwab@redhat.com>
87029             Ulrich Drepper  <drepper@redhat.com>
87031         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
87032         re-relocationg ld.so.
87033         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
87034         _dl_init_paths call.
87035         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
87036         here anymore.
87038 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
87040         * resolv/res_init.c (__res_vinit): Count the default server we added.
87042 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87043             Ulrich Drepper  <drepper@redhat.com>
87045         [BZ #11968]
87046         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87047         (____longjmp_chk): Use %ebx for saving value across system call.
87048         Add unwind info.
87050 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87052         * manual/Makefile: Don't mix pattern rules with normal rules.
87054 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87056         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87057         operation.
87058         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87059         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87060         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87061         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87062         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87063         Likewise.
87065 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87067         [BZ #11979]
87068         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87069         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87071 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87073         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87074         * sysdeps/x86_64/addmul_1.S: Likewise.
87075         * sysdeps/x86_64/lshift.S: Likewise.
87076         * sysdeps/x86_64/mul_1.S: Likewise.
87077         * sysdeps/x86_64/rshift.S: Likewise.
87078         * sysdeps/x86_64/sub_n.S: Likewise.
87079         * sysdeps/x86_64/submul_1.S: Likewise.
87081 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87083         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87084         Define __sched_param instead of SCHED_* and sched_param when
87085         <bits/sched.h> is included with __need_schedparam defined.
87086         * bits/sched.h [__need_schedparam]
87087         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87088         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87089         (__defined_schedparam): Define to 1.
87090         (__sched_param): New structure, identical to sched_param.
87091         (__need_schedparam): Undefine.
87093 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87095         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87096         (epoll_create1): Declare.
87098         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87100 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87102         [BZ #7066]
87103         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87104         shifting retval into place.
87106 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87108         * nis/rpcsvc/nis.h: Update copyright notice.
87109         * nis/rpcsvc/nis.x: Likewise.
87110         * nis/rpcsvc/nis_callback.h: Likewise.
87111         * nis/rpcsvc/nis_callback.x: Likewise.
87112         * nis/rpcsvc/nis_object.x: Likewise.
87113         * nis/rpcsvc/nis_tags.h: Likewise.
87114         * nis/rpcsvc/yp.h: Likewise.
87115         * nis/rpcsvc/yp.x: Likewise.
87116         * nis/rpcsvc/ypupd.h: Likewise.
87117         * nis/yp_xdr.c: Likewise.
87118         * nis/ypupdate_xdr.c: Likewise.
87120         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87121         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87122         (pmap_getport): Use __libc_rpc_getport.
87123         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87124         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87125         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87127 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87130         fanotify_mark.
87132 2010-08-27  Roland McGrath  <roland@redhat.com>
87134         * sysdeps/i386/i686/multiarch/Makefile
87135         (CFLAGS-varshift.c): New variable.
87137 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87139         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87140         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87142         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87144         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87146 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87148         * sysdeps/x86_64/strlen.S: Unroll the loop.
87149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87150         strlen-sse2 strlen-sse2-bsf.
87151         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87152         __strlen_no_bsf if bit_Slow_BSF is set.
87153         (__strlen_sse42): Removed.
87154         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87155         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87157 2010-08-25  Roland McGrath  <roland@redhat.com>
87159         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87160         * sysdeps/x86_64/multiarch/varshift.c: New file.
87161         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87162         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87163         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87164         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87166 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87169         strlen-sse2 strlen-sse2-bsf.
87170         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87171         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87172         (__strlen_sse2): Removed.
87173         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87174         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87176         bit_Slow_BSF for Atom.
87177         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87178         (index_Slow_BSF): Define.
87179         (HAS_SLOW_BSF): Define.
87181 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87183         [BZ #10851]
87184         * resolv/res_init.c (__res_vinit): When no server address at all
87185         is given default to loopback.
87187 2010-08-24  Roland McGrath  <roland@redhat.com>
87189         * configure.in: Remove config-name.h generation.
87190         * configure: Regenerated.
87191         * config-name.in: File removed.
87192         * scripts/config-uname.sh: New file.
87193         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87194         ($(objdir)config-name.h): New target.
87196         * sunrpc/rpc_parse.h: Avoid nested comment.
87198 2010-08-24  Richard Henderson  <rth@redhat.com>
87199             Ulrich Drepper  <drepper@redhat.com>
87200             H.J. Lu  <hongjiu.lu@intel.com>
87202         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87204         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87205         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87206         _mm_alignr_epi8 with _mm_loadu_si128.
87207         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87208         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87209         (__m128i_shift_right): Removed.
87210         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87211         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87212         * sysdeps/x86_64/multiarch/varshift.h: New file.
87213         * sysdeps/x86_64/multiarch/varshift.S: New file.
87215 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87217         * configure.in: Move assembler checks to before sysdep dir checking.
87219 2010-08-20  Petr Baudis  <pasky@suse.cz>
87221         * LICENSES: Sync the sunrpc license.
87223 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87225         * sunrpc/auth_des.c: Update copyright notice once again.
87226         * sunrpc/auth_none.c: Likewise.
87227         * sunrpc/auth_unix.c: Likewise.
87228         * sunrpc/authdes_prot.c: Likewise.
87229         * sunrpc/authuxprot.c: Likewise.
87230         * sunrpc/bindrsvprt.c: Likewise.
87231         * sunrpc/clnt_gen.c: Likewise.
87232         * sunrpc/clnt_perr.c: Likewise.
87233         * sunrpc/clnt_raw.c: Likewise.
87234         * sunrpc/clnt_simp.c: Likewise.
87235         * sunrpc/clnt_tcp.c: Likewise.
87236         * sunrpc/clnt_udp.c: Likewise.
87237         * sunrpc/clnt_unix.c: Likewise.
87238         * sunrpc/des_crypt.c: Likewise.
87239         * sunrpc/des_soft.c: Likewise.
87240         * sunrpc/get_myaddr.c: Likewise.
87241         * sunrpc/getrpcport.c: Likewise.
87242         * sunrpc/key_call.c: Likewise.
87243         * sunrpc/key_prot.c: Likewise.
87244         * sunrpc/openchild.c: Likewise.
87245         * sunrpc/pm_getmaps.c: Likewise.
87246         * sunrpc/pm_getport.c: Likewise.
87247         * sunrpc/pmap_clnt.c: Likewise.
87248         * sunrpc/pmap_prot.c: Likewise.
87249         * sunrpc/pmap_prot2.c: Likewise.
87250         * sunrpc/pmap_rmt.c: Likewise.
87251         * sunrpc/rpc/auth.h: Likewise.
87252         * sunrpc/rpc/auth_unix.h: Likewise.
87253         * sunrpc/rpc/clnt.h: Likewise.
87254         * sunrpc/rpc/des_crypt.h: Likewise.
87255         * sunrpc/rpc/key_prot.h: Likewise.
87256         * sunrpc/rpc/netdb.h: Likewise.
87257         * sunrpc/rpc/pmap_clnt.h: Likewise.
87258         * sunrpc/rpc/pmap_prot.h: Likewise.
87259         * sunrpc/rpc/pmap_rmt.h: Likewise.
87260         * sunrpc/rpc/rpc.h: Likewise.
87261         * sunrpc/rpc/rpc_des.h: Likewise.
87262         * sunrpc/rpc/rpc_msg.h: Likewise.
87263         * sunrpc/rpc/svc.h: Likewise.
87264         * sunrpc/rpc/svc_auth.h: Likewise.
87265         * sunrpc/rpc/types.h: Likewise.
87266         * sunrpc/rpc/xdr.h: Likewise.
87267         * sunrpc/rpc_clntout.c: Likewise.
87268         * sunrpc/rpc_cmsg.c: Likewise.
87269         * sunrpc/rpc_common.c: Likewise.
87270         * sunrpc/rpc_cout.c: Likewise.
87271         * sunrpc/rpc_dtable.c: Likewise.
87272         * sunrpc/rpc_hout.c: Likewise.
87273         * sunrpc/rpc_main.c: Likewise.
87274         * sunrpc/rpc_parse.c: Likewise.
87275         * sunrpc/rpc_parse.h: Likewise.
87276         * sunrpc/rpc_prot.c: Likewise.
87277         * sunrpc/rpc_sample.c: Likewise.
87278         * sunrpc/rpc_scan.c: Likewise.
87279         * sunrpc/rpc_scan.h: Likewise.
87280         * sunrpc/rpc_svcout.c: Likewise.
87281         * sunrpc/rpc_tblout.c: Likewise.
87282         * sunrpc/rpc_util.c: Likewise.
87283         * sunrpc/rpc_util.h: Likewise.
87284         * sunrpc/rpcinfo.c: Likewise.
87285         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87286         * sunrpc/rpcsvc/key_prot.x: Likewise.
87287         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87288         * sunrpc/rpcsvc/mount.x: Likewise.
87289         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87290         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87291         * sunrpc/rpcsvc/rex.x: Likewise.
87292         * sunrpc/rpcsvc/rstat.x: Likewise.
87293         * sunrpc/rpcsvc/rusers.x: Likewise.
87294         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87295         * sunrpc/rpcsvc/spray.x: Likewise.
87296         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87297         * sunrpc/rtime.c: Likewise.
87298         * sunrpc/svc.c: Likewise.
87299         * sunrpc/svc_auth.c: Likewise.
87300         * sunrpc/svc_authux.c: Likewise.
87301         * sunrpc/svc_raw.c: Likewise.
87302         * sunrpc/svc_run.c: Likewise.
87303         * sunrpc/svc_simple.c: Likewise.
87304         * sunrpc/svc_tcp.c: Likewise.
87305         * sunrpc/svc_udp.c: Likewise.
87306         * sunrpc/svc_unix.c: Likewise.
87307         * sunrpc/svcauth_des.c: Likewise.
87308         * sunrpc/xcrypt.c: Likewise.
87309         * sunrpc/xdr.c: Likewise.
87310         * sunrpc/xdr_array.c: Likewise.
87311         * sunrpc/xdr_float.c: Likewise.
87312         * sunrpc/xdr_mem.c: Likewise.
87313         * sunrpc/xdr_rec.c: Likewise.
87314         * sunrpc/xdr_ref.c: Likewise.
87315         * sunrpc/xdr_sizeof.c: Likewise.
87316         * sunrpc/xdr_stdio.c: Likewise.
87318         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87319         handling.
87321 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87323         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87325 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87327         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87328         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87329         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87330         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87331         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87332         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87333         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87334         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87335         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87336         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87337         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87338         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87339         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87340         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87342 2010-07-26  Anton Blanchard  <anton@samba.org>
87344         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87345         * malloc/arena.c (heap_trim): Likewise.
87347 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87349         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87350         here.  Not...
87351         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87352         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87354 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87356         * sysdeps/i386/elf/Makefile: New file.
87358 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87360         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87361         from fanotify_init.
87362         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87363         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87365 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87367         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87368         of strncasecmp_l.
87369         * sysdeps/multiarch/strcmp.S: Likewise.
87371 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87373         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87374         strncase_l-nonascii.
87375         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87376         Add strncase_l-ssse3.
87377         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87378         * sysdeps/x86_64/strcmp.S: Likewise.
87379         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
87380         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
87381         * sysdeps/x86_64/strncase.S: New file.
87382         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
87383         * sysdeps/x86_64/strncase_l.S: New file.
87384         * string/Makefile (strop-tests): Add strncasecmp.
87385         * string/test-strncasecmp.c: New file.
87387         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
87388         warning.
87390         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
87391         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
87393 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87395         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
87397 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
87399         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
87400         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
87401         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
87403 2010-05-01  Alan Modra  <amodra@gmail.com>
87405         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
87406         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
87407         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
87408         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
87409         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
87410         tidying.  Don't tail-call __sigjmp_save for static lib.
87411         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
87412         save location.
87413         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
87414         (CALL_MCOUNT): Add eh info, and nop after bl.
87415         (TAIL_CALL_SYSCALL_ERROR): New macro.
87416         (PSEUDO_RET): Use it.
87417         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
87418         Correct save location of integer regs and cr.
87419         (_dl_profile_resolve): Correct cr save location.  Delete nops
87420         after bl when SHARED.  Reduce cfi size a little by better
87421         placement of cfi directives.
87422         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
87423         make a stack frame.  Instead use parm save area as a temp.
87424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
87425         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
87426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
87427         Don't make a stack frame for parent, use parm save area.
87428         Increase child stack frame to 112 bytes.  Don't save unused reg,
87429         and adjust reg usage.  Set up cfi on error recovery and
87430         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
87431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
87432         (__makecontext): Add dummy nop after jump to exit.
87433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
87434         Use correct parm save area and cr save, reduce stack frame.
87435         Correct cfi for possible PSEUDO_RET frame setup.
87436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
87437         Branch to local label emitted by PSEUDO_RET rather than
87438         __syscall_error.
87440 2010-08-12  Andreas Schwab  <schwab@redhat.com>
87442         [BZ #11904]
87443         * locale/programs/locale.c (print_assignment): New function.
87444         (show_locale_vars): Use it.
87446 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
87448         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
87449         field.
87450         (struct statfs64): Likewise.
87451         (_STATFS_F_FLAGS): Define.
87452         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
87453         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87454         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
87455         (ST_VALID): Define locally.
87456         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87457         __statvfs_getflags, use the provided value.
87458         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87459         __ASSUME_STATFS_F_FLAGS.
87461         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87463         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87464         Add sys/fanotify.h.
87465         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87466         fanotify_mask for GLIBC_2.13.
87467         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87468         fanotify_init and fanotify_mark.
87469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87470         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87472         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87473         Add prlimit.
87474         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87475         prlimit64 for GLIBC_2.13.
87476         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87477         prlimit64.
87478         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87479         syscall.
87480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87481         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87482         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87483         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87485         add prlimit alias.
87486         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87488         [BZ #11903]
87489         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87490         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87492         * nss/Makefile: Add rules to build and run tst-nss-test1.
87493         * shlib-versions: Add entry for libnss_test1.
87494         * nss/nss_test1.c: New file.
87495         * nss/tst-nss-test1.c: New file.
87497         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87498         (__nss_configure_lookup): Set appropriate entry in
87499         __nss_configure_lookup to true.
87500         * nss/nsswitch.h: Define enum with indeces of databases in
87501         databases and __nss_database_custom arrays.  Declare
87502         __nss_database_custom.
87503         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87504         to avoid using nscd when custom rules are installed.
87505         * nss/getXXbyYY_r.c: Likewise.
87506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87508         * nss/nss_files/files-parse.c: Whitespace fixes.
87510 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87512         [BZ #11883]
87513         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87514         * posix/fnmatch_loop.c: Likewise.
87516 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87518         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87519         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87520         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87521         * Versions.def [GLIBC_2.13]: Add.
87523 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87525         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87526         Also fail if tpwd after pwuid call is NULL.
87528 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87530         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87531         when converting to ms.
87533 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87535         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87536         EOPNOTSUPP errors with ENOTTY.
87537         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87538         EOPNOTSUPP errors with ENOTTY.
87540 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87542         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87543         Add strcasecmp_l-ssse3.
87544         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87545         strcasecmp.
87546         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87547         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87548         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87550 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87552         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87554         * string/Makefile (strop-tests): Add strcasecmp.
87555         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87556         strcasecmp_l-nonascii.
87557         (gen-as-const-headers): Add locale-defines.sym.
87558         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87559         * sysdeps/x86_64/strcasecmp.S: New file.
87560         * sysdeps/x86_64/strcasecmp_l.S: New file.
87561         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87562         * sysdeps/x86_64/locale-defines.sym: New file.
87563         * string/test-strcasecmp.c: New file.
87565         * string/test-strcasestr.c: Test both ends of the range of characters.
87566         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87568 2010-07-29  Roland McGrath  <roland@redhat.com>
87570         [BZ #11856]
87571         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87573 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87575         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87576         for ld.so.
87578 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87580         * manual/memory.texi (Malloc Tunable Parameters): Document
87581         M_PERTURB.
87583 2010-07-26  Roland McGrath  <roland@redhat.com>
87585         [BZ #11840]
87586         * configure.in (-fgnu89-inline check): Set and substitute
87587         gnu89_inline, not libc_cv_gnu89_inline.
87588         * configure: Regenerated.
87589         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87591 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87593         * string/test-strnlen.c: New file.
87594         * string/Makefile (strop-tests): Add strnlen.
87595         * string/tester.c (test_strnlen): Add a few more test cases.
87596         * string/tst-strlen.c: Better error reporting.
87598         * sysdeps/x86_64/strnlen.S: New file.
87600 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87602         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87603         lower-latency instructions.
87605 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87607         * string/test-strcasestr.c: New file.
87608         * string/test-strstr.c: New file.
87609         * string/Makefile (strop-tests): Add strstr and strcasestr.
87610         * string/str-two-way.h: Don't undefine MAX.
87611         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87613 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87615         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87616         strcasestr-nonascii.
87617         (CFLAGS-strcasestr-nonascii.c): Define.
87618         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87619         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87620         Remove unused attribute.
87622 2010-07-20  Roland McGrath  <roland@redhat.com>
87624         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87625         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87626         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87627         like LD_HWCAP_MASK can disable hwcaps.
87629 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87631         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87633 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87635         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87636         call in strcasestr.
87637         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87638         __strcasestr_sse42_nonascii.
87639         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87640         strcasestr-nonascii.c.
87641         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87643 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87645         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87646         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87647         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87648         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87650 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87652         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87653         fcntl.
87655 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87657         [BZ #11577]
87658         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87659         dl_signal_cerror.
87661 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87663         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87664         _PC_PIPE_BUF using F_GETPIPE_SZ.
87666 2010-07-05  Roland McGrath  <roland@redhat.com>
87668         * manual/arith.texi (Rounding Functions): Fix rint description
87669         implicit in round description.
87671 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87673         * elf/Makefile: Fix linking for a few tests to make recent linker
87674         happy.
87676 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87678         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87679         $(common-objpfx)libc_nonshared.a.
87681 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87683         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87684         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87685         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87686         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87687         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87688         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87689         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87690         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87705         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87706         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87707         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87708         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87709         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87710         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87711         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87712         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87713         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87714         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87715         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87716         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87732 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87734         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87735         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87736         * string/memmove.c (memmove): Renamed to ...
87737         (MEMMOVE): ...this.  Default to memmove.
87738         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87739         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87740         (END_CHK): Define.
87741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87742         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87743         mempcpy-ssse3-back memmove-ssse3-back.
87744         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87745         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87746         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87747         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87748         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87749         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87750         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87751         * sysdeps/x86_64/multiarch/memmove.c: New file.
87752         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87753         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87754         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87755         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87756         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87757         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87758         Define.
87759         (index_Fast_Copy_Backward): Define.
87760         (HAS_ARCH_FEATURE): Define.
87761         (HAS_FAST_REP_STRING): Define.
87762         (HAS_FAST_COPY_BACKWARD): Define.
87764 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87766         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87767         Restore proper fallback handling.
87769 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87771         [BZ #11701]
87772         * posix/group_member.c (__group_member): Correct checking loop.
87774         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87775         OOM in getpwuid_r correctly.  Return error number when the caller
87776         should return, otherwise -1.
87777         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87778         call returning > 0 value.
87779         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87781 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87783         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87784         libc_nonshared.a from targets in modules-names.
87786 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87788         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87789         requires it.
87791 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87793         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87794         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87796         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87798 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87800         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87802 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87804         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87805         and F_GETPIPE_SZ.
87806         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87807         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87810         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87811         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87813 2010-06-14  Roland McGrath  <roland@redhat.com>
87815         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87817 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87819         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87820         __REDIRECT followed by __THROW.
87821         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87822         * posix/getopt.h (getopt): Likewise.
87824 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87826         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87827         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87828         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87829         in AT_FLAGS.
87830         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87831         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87833 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87835         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87837 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87839         [BZ #11640]
87840         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87841         Properly check family and model.
87843 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87845         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87847 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87849         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87851 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87853         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87854         symbol reference.
87856 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87858         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87859         symbol reference.
87861 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87863         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87864         and internal_recvmmsg.
87865         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87866         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87867         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87868         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87870         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87871         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87872         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87874 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87876         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87878 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87880         POWER7 optimizations.
87881         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87882         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87884 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87886         * version.h: Update for 2.13 development version.
87888 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87890         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87891         exceptions.  Return 0.
87893 2010-05-07  Roland McGrath  <roland@redhat.com>
87895         * elf/ldconfig.c (main): Add a const.
87897 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87899         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87900         (args_options): Add no-idn option.
87901         (ahosts_keys_int): Add idn_flags to ai_flags.
87902         (parse_option): Handle 'i' option to clear idn_flags.
87904         * malloc/malloc.c (_int_free): Possible race in the most recently
87905         added check.  Only act on the data if no current modification
87906         happened.
87908 See ChangeLog.17 for earlier changes.